Re:Yes, 17M lines of Lean is a lot
by gus_massa on Monday November 23, 2026 @08:22AM
(#50611212)
I don't expect a napkin proof, but the 17M lines proof is horrible. Dead code, obvious repetitions, reproving known facts. As a sibling comment note, people is already trying to fix that.
Once that is fixed, there is a second step to remove unnecessary detours and find shortcuts.
Then isolate intermediate results, give then catchy names and perhaps write a book about them. Export the interesting intermediate parts to their own libraries.
And after reading the cleaned proof, it may be possible to use other mathematical theories to replace some parts with other than are shorter.
After all the refactoring, we will have a nice proof. Check again in 20 years.
Once that is fixed, there is a second step to remove unnecessary detours and find shortcuts.
Then isolate intermediate results, give then catchy names and perhaps write a book about them. Export the interesting intermediate parts to their own libraries.
And after reading the cleaned proof, it may be possible to use other mathematical theories to replace some parts with other than are shorter.
After all the refactoring, we will have a nice proof. Check again in 20 years.