by CJefferson · 2w ago · 0 comments
If 'Challenge.lean' states the theorem, the solution can't change the theorem. The only thing it can do is do a 'sorry', just skip proving some part, but that's printed out very clearly when it happens.
As in the infamous 2=1 (https://en.wikipedia.org/wiki/Mathematical_fallacy#Division_...). We ignore that division by zero is undefined, and boom, we get a "proper" solution to the stated theorem.
That's what the article means by "how do we know for sure that somewhere in the millions of lines of code there is no hack which changes the meaning of the statement, changes the rules from just the axioms of mathematics".
As for the meaning of the statement, I don't know how it is easy in maths. But in code, I've had Claude try and contort the definition of "function accepts integers" to "anything that can look as an integer e.g. a string containing an integer is accepted" and twist the solution to that.
It can. For two reasons. One reason is that the proofs themselves depend on on unchecked and unverified definitions and statements:
--- start quote ---
An example of this right now is a PR to DeepMind’s Formal Conjectures repository containing a Lean formalisation of the statement of the Hodge conjecture. At the time of writing, the statement relies on over 10,000 lines of code sitting on top of Mathlib, because Mathlib does not yet have the definitions of things like the cycle class map needed to make the statement.
Another example is Axiom’s recent announcement of a formally-verified proof of the classification of finite simple groups. The statement which Axiom’s system proved is here in Tau Ceti, an AI-generated library of Lean code. The file containing the statement imports over 250K lines of Lean code in Tau Ceti (over 900 files). Of these, around 5600 lines of code are crucial because they contain all the relevant definitions
--- end quote ---
And the second reason is why `lake comparator` exists.