upvote
I was talking about this. This assembly code implementation of a lean-compatible checker is formally verified to be correct. The x86/ARM/Risc-V version of lean is not.

> con-agua is con-leche reimplemented at the level of x86-64 assembly: a close clone of con-ron's checker, written in a small first-order language, compiled by a verified compiler, and shipped as one committed assembler file together with a C harness of about two hundred lines that reads the input and calls it.

> The code the CPU executes is the code the theorem is about, so neither a compiler nor a language runtime is trusted; what is trusted is Kraken's x86 semantics, the assembler and loader, and the C harness.

https://arena.lean-lang.org/checker/con-agua/

reply