News for hackers. Stuff that matters.
Re:Doing a math assignment with the Lean theorem prover by dhosek on Sunday April 05, 2020 @10:52PM (#22790559)
It's a pity that the author's high school didn't use geometry as the means of introducing the concept of mathematical proof. The classical high school two-column proof is in many ways quite similar to the methods of Lean, albeit with a different structure.
Re:Doing a math assignment with the Lean theorem prover by Smaug123 on Monday April 06, 2020 @03:41AM (#22791620)
I greatly recommend Lockhart's Lament (https://www.maa.org/external_archive/devlin/LockhartsLament....) which says exactly the opposite.

I didn't personally undergo "two-column proof" education, and learned what the phrase means from Lockhart's Lament itself, but it sounds miserable; I say this as an MMath who specialised in set theory and logic, and who has been side-project formalising maths in Agda for the last two years.

Re:Doing a math assignment with the Lean theorem prover by JadeNB on Monday April 06, 2020 @05:53PM (#22798272)
> I didn't personally undergo "two-column proof" education, and learned what the phrase means from Lockhart's Lament itself, but it sounds miserable; I say this as an MMath who specialised in set theory and logic, and who has been side-project formalising maths in Agda for the last two years.

As a professional mathematician who did go through two-column proof, you're not the only one who finds them miserable. Personally, abstract algebra was what won me over to the beauty of proof (probably that old standby, the irrationality of sqrt(2), was the first); but everyone will find a different experience.

Re:Doing a math assignment with the Lean theorem prover by dhosek on Tuesday April 07, 2020 @11:46AM (#22804267)
Aesthetically, two-column proofs are miserable, but they have the advantage that the logic is very clearly laid out. There's no chance to hand-wave when every step of the proof needs to be explicitly justified.
Re:Doing a math assignment with the Lean theorem prover by 0az on Monday April 06, 2020 @11:02AM (#22794332)
I personally credit my own geometry education, as much as I disliked it, with giving me the tools I needed to succeed in Calculus. That Calculus final involved proving part two of the FTC. Fun times.

AP Calculus? It's much less helpful, in its computational focus.

Re:Doing a math assignment with the Lean theorem prover by lordnacho on Monday April 06, 2020 @03:01AM (#22791448)
Does Lean allow you to put in geometric proofs? Say someone draws some circles and some lines and wants to prove that some property of the intersection points is true, eg that are always on the same straight line?
Re:Doing a math assignment with the Lean theorem prover by h91wka on Monday April 06, 2020 @11:15AM (#22794456)
Quick search reveals that some people have encoded Euclid's axioms in Coq (Lean and Coq are based on roughly the same theory):

http://geocoq.github.io/GeoCoq/

Re:Doing a math assignment with the Lean theorem prover by aadams on Sunday April 05, 2020 @11:18PM (#22790661)
Will you provide links?