r/PhilosophyofMath • • 4d ago

What does a compiled Lean proof actually certify?

/r/mathematics/comments/1y1a9hv/what_does_a_compiled_lean_proof_actually_certify/
3 Upvotes

2 comments sorted by

4

u/huphelmeyer 4d ago edited 4d ago

As you highlight, Lean verifies that a conclusion follows logically from the definitions and assumptions encoded in the system. It does not independently verify that those definitions and assumptions accurately capture the informal mathematical claim we intended to prove. That's ultimately a matter of human scrutiny.

I also think we should distinguish between proving something and explaining why it's true. A 100,000-line formal proof can provide extraordinary confidence in logical correctness without offering much mathematical insight. Ideally, major results should come with both a machine-verified proof and a human-readable exposition.

I wouldn't dismiss a Lean proof for lacking the latter, but I wouldn't confuse formal verification with mathematical understanding either. They're complementary accomplishments, not interchangeable ones.

3

u/DifficultAvocado6185 4d ago

Well put, and it reminds me of Boltzmann's picture theory. Following Hertz, he saw a theory not as nature itself but as a picture we build, judged by whether the consequences inside the picture match the consequences outside it, and he accepted that several valid pictures can coexist. Formal verification lives entirely inside one picture it guarantees the consequences follow, but it can't tell you whether the picture is the right one, or what it shows. Understanding is seeing the picture. My own stance goes one step further: ontology is a byproduct of the model. We don't verify what mathematics really is we build models, and what exists comes out of them as a guide, not as reality. That's why a readable proof matters it's where the model, and so its ontology, becomes visible.