gpt-6.1-sol 智能体如何在精确编译器反馈下压缩 Lean 4 证明
Par for the Proof: Agentic Compression of Lean 4 Proofs under Exact Compiler Feedback
AI 导读
团队参加 Lean Refactor Arena 闭轨赛,将 Lean 4 证明重写为更短、更省 heartbeat 且仍能通过全部工具链编译的形式,以 gpt-6.1-sol 提出候选证明、Lean metaprogram 精确计分,再用确定性优化器打磨。
正文 · 原文
Abstract: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. 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.
| Subjects: | Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2611.36985 [cs.AI] |
| (or arXiv:2611.36985v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.36985 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Supreeth Rao [view email]
[v1]
Fri, 27 Nov 2026 06:47:39 UTC (140 KB)
来源:arXiv cs.AI · arxiv.org