Fermat's Last Theorem in Lean 4
Posted by aaraujo002 4 days ago
Comments
Comment by black_knight 4 days ago
My experience is that it takes a lot of human input to make Fable write code nice enough for a formalisation library others can work on. But since this is certainly a lot of prerequisites formalised as well, it would be nice if not all of the effort was wasted on one capstone proof! (Repost of a earlier comment, but I feel it fits better here)
Comment by kmoser 4 days ago
Comment by michael0church 3 days ago
Kernel bugs, like compiler bugs, exist. As of now, a prover is considered good if it has no known bugs that would thwart a mathematician working in good faith. It’s not considered responsible yet for being impervious to adverse users, but that may change in the age of Ai.
Comment by torginus 3 days ago
Comment by ToValueFunfetti 3 days ago
Comment by qbit42 3 days ago
Comment by DoctorOetker 3 days ago
Comment by dwheeler 3 days ago
Comment by jibal 3 days ago
https://www.youtube.com/watch?v=RxV4PQcJ1fw ("The Proof in the Code: How Lean Is Quietly Rewriting Trust in Math")
Comment by ezwoodland 4 days ago
Lean is called that because the hope is the part that has to be correct by inspection ("the kernel") is small or "lean".
The kernel does have bugs sometimes.
Comment by DoctorOetker 3 days ago
Comment by arlort 3 days ago
Comment by Jblx2 3 days ago
Comment by Jhsto 4 days ago
Comment by black_knight 4 days ago
Comment by refulgentis 4 days ago
Comment by wyager 3 days ago
Comment by Jhsto 2 days ago
Comment by mcapodici 3 days ago
https://github.com/anthropics/fermats-last-theorem/blob/main...
Comment by chvid 3 days ago
Comment by superposeur 3 days ago
Comment by rawling 4 days ago
Comment by abhv 4 days ago
Comment by ks2048 4 days ago
Comment by RantyDave 3 days ago
Comment by michael0church 3 days ago
Comment by laylomo2 3 days ago
Comment by DoctorOetker 4 days ago
Comment by morpheos137 3 days ago
Comment by sebzim4500 3 days ago
1. There is a much shorter proof that would also be accepted by lean, we just aren't thinking about the problems in the right way so we can't find it.
On one level this is obviously true, Anthropic did not put any effort in to minimising the length of the proof during its development or afterwards.
2. There is a much shorter proof if we took different axioms instead of the ones built into lean.
I find this much harder to believe, unless your new axiom is basically just FLT. Otherwise all reasonable axioms are not too hard to show as equivalent to each other (in terms of what they prove in PA anyway), so such an equivalence proof would be a small portion of the 13 million lines of lean.
Comment by RGamma 3 days ago
Comment by perching_aix 3 days ago
Comment by morpheos137 3 days ago