Talk: 13:00–13:45 (English)
How to Believe a Machine-Checked Proof
If someone (or something) hands you a few million lines of formal proof and says that they have verified your software, how do you assess that claim?
In 1997, Robert Pollack published a paper entitled How to Believe a Machine-Checked Proof. He observed that there are two parts to the problem: deciding that the given document contains a valid derivation of a statement in some formal system, and deciding whether that statement is actually the statement we care about.
Thirty years later, formal proofs in Lean have become a commodity, and deciding whether they mean anything is an important bottleneck for wider adoption of formal methods. Lean code can be deceiving: syntax can be changed at compile time, there is arbitrary code execution at compile time, and checkers could have bugs. The Lean community has developed robust tools to address these issues, including a standard process of separating code into trusted and untrusted parts, sandboxed building and checking of untrusted code, and a multitude of proof checkers, some of which are themselves formally verified. Curated libraries that can be used to construct correct mathematical statements are more important than ever.
In my talk, I will show how verifying a claimed Lean proof works today, both philosophically and practically, and discuss best practices for formal verification of real-world software.
Julia Himmel
Julia is a tech lead at the Lean Focused Research Organization, the non-profit behind the Lean theorem prover and programming language. She leads the standard library team, helping advance Lean as a tool for developing production-ready formally verified software.