by tsimionescu · 3y ago · 0 comments
The difficulty and verbosity of formal proofs is huge even with the very concise mathematical notation. And learning the notation itself is a very small stumbling block compared to learning the actual theorems and logic that you need to use.
So while I am not a fan of mathematical notation for general programming (which is often quite un-mathematical in fact) formal proofs are a place where this notation absolutely shines. I can't even imagine how much uglier the proof above would become if you had to replace `∀ (n : ℕ)` with something like `for any natural number n`.
I can still do theorem proving in Idris excluding the mathematical notation and still learn concepts such as totality, covering, equality etc
Is perfectly reasonable.
If conciseness was that important theorem provers would have syntax like APL.