Lean's kernel proves 39,994 floating-point theorems with zero errors
So, how fast is numerical computation in Lean?
FloatLib, a Lean library for verified floating-point arithmetic, was benchmarked on eleven external suites. It proved all 39,994 Wintersteiger conformance tests and 281 of 291 LLM2Cert proof obligations with a single `by interval` tactic, cutting proof time from 13.6 hours to 43.8 minutes. But nonlinear real arithmetic lags: only 56 of 66 solvable instances were proved, far slower than Z3 or cvc5. A replay of 5,737 VNN-COMP counterexamples also exposed subtle numerical semantics issues.
Let the model figure out what the certificate ought to be, and let the numerical tactic deal with the ensuing inequalities.