News for hackers. Stuff that matters.
Re:Fermat's Last Theorem in Lean – Imperial College London by wizzwizz4 on Monday August 04, 2025 @06:04AM (#44783813)
Steps to reproduce:

1. Load a complex data structure, e.g. from JSON. (I do not consider typing out the JSON to be part of the human's job.)

2. Process the data, using the magic of functional programming. (Performance? What's that? Performance is not a priority.)

3. Add some helpful lemmas.

4. Prove the data processing stage was correct… but proving this in general is haaaard, so just make automation that's capable of proving it for most cases… eventually.

5. Great! It takes 3 minutes to run on my tiny examples. Now run it on the real data.

And that's where hours come from!

Re:Fermat's Last Theorem in Lean – Imperial College London by UltraSane on Monday August 04, 2025 @09:49PM (#44793484)
This is NOT what Lean 4 is designed to do. You seem to be using Lean 4 for what TLA+ is much better suited for.
Re:Fermat's Last Theorem in Lean – Imperial College London by wizzwizz4 on Wednesday August 06, 2025 @06:33PM (#44818637)
If it is not suitable for programming, then it should not be branded as a programming language. Heck, its homepage says:

> Lean's metaprogramming capabilities enable users to extend the language with domain-specific notations and new proof automation techniques.