Hacker News new | ask | show | jobs
by nulld3v 7 days ago
There is a Lean checker called con-leche whose implementation is formally verified. The 17M GRH proof has passed con-leche verification.

Con-leche (and it's proof) are themselves implemented in Lean so there is some recursion here, and therefore some possible sources of bugs:

- The proof of con-leche could be invalid. This is unlikely considering the proof has been checked by multiple other Lean implementations. But at least the proof of con-leche is easier to check by hand than the 17M monster GRH proof...

- The Lean runtime might have a bug that affects the execution of con-leche in such a way that it falsely accepts an invalid proof. Also unlikely considering:

a. con-leche tries to use a small subset of the entire Lean runtime that is more well-tested

b. There is a port of con-leche to assembly named con-agua that has been formally verified (again using Lean) on a mathematical model of an x64 CPU

c. There are ports of con-leche to other runtimes (e.g. Rust) and those ports return the same result as con-leche on the GRH proof