r/PhilosophyofMath • • 13d 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

216 Upvotes

409 comments sorted by

View all comments

Show parent comment

1

u/TapEarlyTapOften 9d ago

Math is not a science. The test for truth or false  in science is experiment. 

1

u/brandon1997fl 9d ago

Experimental science is not all of science.

1

u/RusselsParadox 9d ago

The test for truth or false in maths is whether a proof is valid. How do we know whether or not it is valid? We conduct an experiment. We give it to independent checkers (usually human, in this case autonomous) and see if they can find mistakes. If they can’t we say it’s likely a valid proof. If they do find one we say it’s an invalid proof. Much like Popper would describe the scientific method.

1

u/bcamanitu 9d ago

No. Math proofs are not "likely true". They are either absolutely true and able to be derived from the axioms of the system or they are not true. There is no uncertainty.

1

u/RusselsParadox 9d ago

There is uncertainly in whether they have been derived or simply appear to have been derived. Where is this perfect logician that can derive things without any doubt they made no mistakes?