logoalt Hacker News

Fermat's Last Theorem in Lean 4

38 pointsby aaraujo002today at 6:57 PM9 commentsview on HN

Comments

black_knighttoday at 9:37 PM

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)

show 2 replies
abhvtoday at 9:37 PM

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

ks2048today at 8:35 PM

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

DoctorOetkertoday at 7:00 PM

Mine is much shorter though...