VeriBench: End-to-End Formal Verification Benchmark for AI Coding Agents in Lean 4
Brando MirandaSrivatsava Daruru…
Rylan SchaefferVeriBench is an 884-task benchmark for end-to-end Python-to-Lean 4 autoformalization by AI coding agents, covering HumanEval-style programs, classical algorithms, standard-library functions, introductory tasks, and a security-critical subset from MIT 6.858. It argues that trustworthy verification benchmarks must be agentic, scoring the full path from developer source code to a verified formal artifact under verifier feedback, and must aggregate stages conjunctively so weakness at any stage penalizes the score while retaining partial credit. Evaluation separates agent skill—Lean file typechecking, theorem verification without "sorry", and semantic coverage of the gold reference—from gold-side quality; under a verifier-feedback loop, Codex, Claude Code, and Leanstral v2 reach agent-skill scores of 0.29, 0.22, and 0.10, with all-file typechecking yet theorem–gold coverage at most 0.105, estimated by an LLM judge calibrated against human raters.

OpenReview · May 5, 2026