r/PhilosophyofMath • • 11d ago

Why do we keep accepting Lean code as proofs?

Sorry if this is a dumb question but lately huge ai companies been churning out proofs left and right and I couldn’t find an answer to this.
From my understanding even if we assume the lean code is proving what it claims to prove and we assume Lean kernel is bug free (which is already a lot!) I haven’t found any source that proves that Lean representations are sound, so how can we trust them? I fear that even tho a proof compiles and is derivable in Lean that doesn’t mean it is automagically true? Or am I missing something? Would love to hear your opinion if you are or aren’t convinced by a bundle of code some LLM produced

213 Upvotes

409 comments sorted by

View all comments

Show parent comment

3

u/Embarrassed_Range356 8d ago edited 8d ago

Exactly. This is the whole point of mathematics, to formalize logic and come up with a formal system that describes the world. It is ONLY natural that such a logical, formal system would be done on computers, and that computers could then more rigorously do.

Computer proofs are the holy grail and future of mathematics

0

u/r_search12013 8d ago

that's more computer science than it is mathematics for a reason once there's computers involved .. computability and all

2

u/Embarrassed_Range356 8d ago

Computer science really has nothing to do with computers, except that it resulted in building machines that could compute. Fundamentally the two fields are hard to distinguish at the theoretical level.

Every effective formal mathematical system is computational, and every formal proof within such a system is a mechanically verifiable computational object.

1

u/r_search12013 8d ago

I'm absolutely open to have algebraic k-theory of the integers lean computed for me .. I don't see that happening though