Receipts / How it works

What a receipt certifies

A proof assistant splits trust in two. The kernel is a small program that checks every step; if it accepts, the proof is correct relative to the axioms. The statement is what was proved, and only a reader can say whether it means what we think. A receipt covers the first part completely and makes the second easy to check.

What we check

Build. The project compiles with the pinned toolchain, warnings as errors where possible.

Axioms. #print axioms for every headline theorem. Lean's standard three are propext, Classical.choice, Quot.sound; anything else, including sorryAx, is printed on the receipt.

Statement matching. The theorems are compared with a challenge file that states them using only Mathlib, so a proof cannot quietly prove something else under the same name.

Independent kernels. For large proofs, the exported proof is checked again by separately written kernels such as nanoda, con-leche or lean4lean.

Isolation. Building Lean code can run arbitrary programs (macros, #eval, build scripts). We build untrusted code only inside a throwaway sandbox with no network and no secrets.

Mirrored receipts

When a trusted checker has already published logs, as Andrew Sutherland did for the Riemann hypothesis, we mirror the results with attribution and links, and say so. We do not claim to have run what we did not run.