logoalt Hacker News

simianwords • today at 10:02 AM • 1 reply • view on HN

As far as I know, this is false. Even if the Lean code is 200k Loc, you just need to verify that the original statement is true (and the axioms they depend on) and that lean compiles. You don’t have to check all 200 loc.

For checking the original statement (that it’s true to the intention of the hypothesis) this is already done once per hypothesis. So this cost is one time and amortises.

I only know this from casual reading and reading other mathematicians opinions. If someone thinks I’m wrong, pls point out.


Replies

croemer • today at 10:24 AM

You're totally correct about no need to verify the code at all. Only need to ensure the problem formulation is correct (and that Lean is).

You're wrong about Axioms needing to be try. Axioms by definition are the fundamental assumptions that can't be true/false.

(I'm not a mathematician but have read enough about Lean to be confident about my answer).