Open-weight agent refactors Lean proofs inside a 48-hour job
Original title: A Self-Hosted, Time-Budgeted Agent for Lean Proof Refactoring with an Open-Weight Model
Untuned Qwen3.8-Flash-Next FP8 on four A100s scored 79.25 Combined, and Lean’s kernel checked every proof.
The authors describe an open-track Lean Refactor Arena entry: a tool-calling agent harness, not a trained prover, that edits any Lean 4 proof, including Mathlib projects. One untuned Qwen3.8-Flash-Next FP8 model, served with vLLM on four A100 80 GB GPUs, compiles and scores candidates in each problem’s project. The job finished in 47.8 hours, within the 48-hour limit, at 79.25 Combined, and every submitted proof was kernel-checked.
Unconfirmed: Scores and timings are the authors’ report of their own contest submission.
- Reported reductions: 62.48% length, 76.96% heartbeat, 98.3% zero-shot.
- Run used a 60k context with CPU KV offloading.
- At 80k and 60 problems, output throughput fell from about 1,700 to 530 tokens/s.
- Self-hosting on A100 needed three compatibility fixes.
- Code is at github.com/grenadeComing/lean-refactor-arena.
- AI models
- Qwen3.8-Flash-Next
From the original article
1 min read at arxiv.orgWe describe our open-track entry in the Lean Refactor Arena, a general LLM agent harness for formal theorem proving and proof refactoring rather than a trained model: it applies to any Lean 4 proof (including Mathlib-based projects), and its prompts contain no proof techniques or content written for particular problems. A single open-weight LLM, Qwen3.
By Ke Zhang · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.