OPAL introduces repository-level optimization of Lean proofs with coding agents
OPAL is presented as the first repository-level, metric-driven proof-optimization task, in which an agent refactors Lean blueprint repositories toward repository-level objectives. It uses six metrics based on human maintenance patterns, including proof length, import closure, mathlib duplication, and elaboration cost. The work releases OPAL-Bench with 162 task instances from 18 real-world Lean blueprint projects and an executable semantic-preservation checker that uses blueprint links to define which theorem statements must remain intact. Experiments report that coding agents can achieve optimization gains beyond single human commits, while ablations show that without the preservation contract, nearly half of accepted improvements fail semantic verification.
It provides a concrete benchmark and evaluation method for AI coding agents working on large-scale formal proof maintenance, a setting where correctness-preserving refactoring is critical.
Comments & Questions (0)
No comments yet
Be the first to comment!