Scaling Lean Theorem Proving for Real-World Code Verification
Debargha Ganguly, Divya Raghunathan, Dejan Jovanović, Vikash Singh, Soonho Kong, Aaron Tomb, Aman Goel, Ferhat Erata and 1 others
Amazon Web Services · Case Western Reserve University
Published October 28, 2026 · on the feed October 30, 2026 · ▲ 7 · arXiv 2610.38174
The abstract
We present EasyProver, a Lean proving system built from recursive agents with isolated contexts, asynchronous search, parallel tactic probing, and an elastic elaboration service. Using an off-the-shelf frontier model with no additional training, it proves 669/672 PutnamBench problems and all six IMO 2026 formalizations and resolves 597/600 NTP4VC verification conditions and all 189 VERINA tasks by proof or refutation. Because these benchmarks are close to saturation, we also introduce Aegis, which converts competitive programming problems into much harder verification tasks over real implementations. The pipeline writes safe Rust solutions, translates them into Lean with Aeneas, generates specifications, and labels each frozen statement with a kernel-checked proof or refutation. It produces 2,045 differentially validated Rust-Lean program pairs and 11,533 candidate specifications. Unlike hand-written benchmarks, these tasks carry implementation-level obligations from fixed-width arithmetic, explicit failure, generated loops, casts, and functionalized mutation. On a stratified sample of 2,000 statements, EasyProver proves 1,054 (52.7%) within a 30-minute budget per statement. The same tasks can also be used to benchmark other provers and as rewards for reinforcement learning.
The Brief
2:13A short podcast summary of the paper. Written and voiced by AI.
Transcript
Scaling Lean Theorem Proving for Real-World Code Verification. By Debargha Ganguly and eight others, from Amazon Web Services and Case Western Reserve University. Published on the twenty-eighth of October.
Proving theorems in Lean, and verifying code with those proofs, is measured on a handful of standard benchmarks. The authors' own results suggest those benchmarks are close to saturation, which leaves a second problem beside the first: how to keep measuring progress on proofs about real implementations.
The paper answers both. EasyProver is a Lean proving system built from recursive agents with isolated contexts. Aegis is a pipeline that converts competitive programming problems into much harder verification tasks over real implementations.
EasyProver combines four pieces: those recursive agents with isolated contexts, asynchronous search, parallel tactic probing, and an elastic elaboration service. It runs on an off-the-shelf frontier model with no additional training.
Aegis works in stages. It writes safe Rust solutions, translates them into Lean with Aeneas, generates specifications, and labels each frozen statement with a kernel-checked proof or refutation. Because the tasks come from real implementations, they carry obligations that hand-written benchmarks do not: fixed-width arithmetic, explicit failure, generated loops, casts, and functionalized mutation.
On existing benchmarks, EasyProver proves six hundred and sixty-nine of six hundred and seventy-two PutnamBench problems, and all six IMO two thousand and twenty-six formalizations. It resolves five hundred and ninety-seven of six hundred NTP4VC verification conditions, and all one hundred and eighty-nine VERINA tasks, by proof or refutation.
Aegis produces two thousand and forty-five differentially validated Rust-Lean program pairs, along with eleven thousand five hundred and thirty-three candidate specifications. On a stratified sample of two thousand statements, with a budget of thirty minutes per statement, EasyProver proves one thousand and fifty-four of them: fifty-two point seven percent. Near-perfect on the old benchmarks, about half on the new one.
The two halves of the paper feed each other. A stronger prover makes the existing tests nearly full marks, so a harder test is built from real code, and that test is not tied to this prover: the same tasks can benchmark other provers and serve as rewards for reinforcement learning.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free