Fermat's Last Theorem in Lean 4

github.com

56 points by aaraujo002 6 hours ago


black_knight - 3 hours ago

I wonder if any piece of the lean code is in a shape which means it could be contributed to one of the existing Lean libraries.

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)

RantyDave - 41 minutes ago

I love that “grind” is a keyword.

abhv - 3 hours ago

This is a very impressive result. Bravo to that team.

rawling - 5 hours ago

Front-page discussion: https://news.ycombinator.com/item?id=49568506

ks2048 - 4 hours ago

Now we have what Fermat tried to write in the margin: aa2d8b34692b16c70f699536de0d8e75b9a3e9ef

DoctorOetker - 6 hours ago

Mine is much shorter though...