← All papers
First page of Eureka: Lean Proofs as a Public Research Service

Eureka: Lean Proofs as a Public Research Service

Debargha Ganguly, Vikash Singh, Wei Zhang, Joe Stubbs, Sreehari Sankar, Mohsen Hariri, Weicong Chen, Yanyan Zhang, Shouren Wang, Wang Yang, Chaoda Song, Alexander Nemecek, Osama Zafar, Idan Davidovich, Yuting Shao, Kai Ye, Biyao Zhang, Xinpeng Li, Vipin Chaudhary

cs.CL Nov 30, 2026 · v1 cs.AI cs.LG cs.LO
Public agentic service where an open-weight LLM completes Lean proofs and programs, verified by Comparator and Lean's kernel across eight Lean benchmarks.
Eureka is a public service that completes proofs in Lean. It runs an open-weight model, DeepSeek-V4.1-Flash, with no task-specific training, on research computing at the Texas Advanced Computing Center (TACC). A proof is returned after an independent checker confirms that the user's statements are unchanged and replays the proof in Lean's kernel. Across eight benchmarks in competition mathematics, graduate stochastic processes and program verification, Eureka proves 1,896 of 2,012 entries (94.2%; the 12 Putnam 2025 problems also appear in PutnamBench). On PutnamBench it proves 670 of 672 problems for $0.17 per problem, counting failed attempts and pricing tokens at DeepSeek's off-peak list rates. This ties the lowest cost reported at this level of coverage; the other systems that reach it report $3.52 to $74 per problem. Eureka also proves all 12 Putnam 2025 problems, all 77 AlgoVeri tasks (writing each program as well as its proof), 188 of 189 VERINA tasks and 585 of 600 NTP4VC verification conditions, and refutes the remaining VERINA task and nine of the NTP4VC conditions. In the recorded runs, the model does most of its reasoning in the first third of a search and then tests candidate steps in Lean; model generation takes 86% of single-agent run time, and cached context accounts for 97% of tokens and 20% of cost. The harness and Lean tooling are open source, and all recorded runs are released.

Many of the strongest Lean provers rely on closed models and are not offered as services. Their costs and reasoning traces are also rarely reported.

Eureka is a public proving service that runs the open-weight DeepSeek-V4.1-Flash, with no task-specific training, in an agent harness on TACC's Vista supercomputer. A shared pool of Lean workers that keeps Mathlib loaded checks the model's candidate steps. Before a proof is returned, Comparator rebuilds the original statements, confirms they are unchanged, rejects sorry and non-standard axioms, and replays the proof in the kernel. The system is evaluated on eight Lean benchmarks covering competition math, graduate stochastic processes and program verification.

Figure 8: Tool use on solved entries. (a) Calls per solved entry against mean latency; bubble area is the share of tool time, and shell calls are split by command. (b) Probability of the lead’s next tool given the current one ( 96{,}327 transitions); cells of 15\% or more are labelled.

Eureka proves 1,896 of 2,012 entries (94.2%), including 670/672 PutnamBench problems at $0.17 per problem, all 12 Putnam 2025 problems, all 77 AlgoVeri tasks, 188/189 VERINA tasks and 585/600 NTP4VC conditions. In the recorded runs, reasoning is concentrated early in a search, and model generation takes 86% of run time. The harness, Lean tooling and all recorded runs are released.

Figure 5: Reasoning is concentrated early in a run. Lead conversations with at least ten turns ( 86{,}229 turns in 2{,}083 runs), position scaled to [0,1] . (a) Density of reasoning tokens per turn, with median and 90th percentile; the bottom row holds the 25\% of turns with no reasoning. (b) Median reasoning per tenth of a run (bootstrap 95\% intervals). (c) Share of turns above 4{,}000 reasoning
Figure 10: Cost, time and helper use. (a) All-in cost against proving time for every solved entry, with marginal densities; hollow markers are solves that used helpers ( n=149 ). (b) Median cost per benchmark with and without helpers (bootstrap 95\% intervals; counts shown). AlgoVeri searches never used helpers.
BenchmarknProvedAll-in cost/entry (USD)
PutnamBench672670 (99.7%)0.168
StochBench450354 (78.7%)0.205
VERINA189188 (99.5%)0.056
NTP4VC600585 (97.5%)0.098
All2,0121,896 (94.2%)0.153
Eureka coverage and all-in cost per entry on selected benchmarks