TSR Desk · mathematics · 1 December 2026, 01:01 UTC
Par for the Proof: Agentic Compression of Lean 4 Proofs under Exact Compiler Feedback
- What
- Par for the Proof: Agentic Compression of Lean 4 Proofs under Exact Compiler Feedback
- Who
- arxiv.org
- When
- 27 November 2026, 06:47 UTC
- Category
- Mathematics
- Primary source
- https://arxiv.org/abs/2611.36985
- What is not known
- This brief does not claim independent replication. Claims that appear only on X and not in the primary source stay unknown.
We describe our closed-track entry to the Lean Refactor Arena, where Lean 4 proofs must be rewritten to be shorter (fewer tokens) and cheaper to check (fewer heartbeats) while still compiling on every listed toolchain, for at most \$3 of API spend per problem. It comes from a paper posted to arXiv on 27 November 2026. We treat the task as a search against an exact, compiler-defined cost. A frontier model (gpt-6.1-sol) proposes proofs. A Lean metaprogram inserted into the target file measures each candidate as the competition does, at the cost of elaborating one declaration, and the best candidate so far is replaced only by one with a strictly higher three-axis score. A deterministic Lean optimizer then polishes the winner with verified local rewrites, and a reproduction of the competition scorer judges it. On the 60-problem final benchmark, our submission scores a combined 87.88 on the arena (length -80.2%, heartbeats -83.4%, all 67 cross-toolchain checks passed), at \$2.83 per problem on average and \$2.97 at most. The score tracked the number of verified evaluations the budget bought: a cheaper model per turn, a session policy that spends the whole allowance, and half-price Flex tokens each raised it, while more information, more structure, or forced diversity did not.
Why it counts
We describe our closed-track entry to the Lean Refactor Arena, where Lean 4 proofs must be rewritten to be shorter (fewer tokens) and cheaper to check (fewer heartbeats) while still compiling on every listed toolchain, for at most \$3 of API spend per problem.
Sources
Primary source: primary source
What is not known
This brief does not claim independent replication. Claims that appear only on X and not in the primary source stay unknown.
No clip. The article still stands.