[Paper Review] VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Lean
VeriSoftBench provides a benchmark of 500 Lean 4 proof obligations from open-source formal-methods projects, preserving repository context to evaluate prover performance on project-specific, multi-file dependencies; results show limited transfer from math-centric benchmarks and strong impact of transitive dependencies.
Large language models have achieved striking results in interactive theorem proving, particularly in Lean. However, most benchmarks for LLM-based proof automation are drawn from mathematics in the Mathlib ecosystem, whereas proofs in software verification are developed inside definition-rich codebases with substantial project-specific libraries. We introduce VeriSoftBench, a benchmark of 500 Lean 4 proof obligations drawn from open-source formal-methods developments and packaged to preserve realistic repository context and cross-file dependencies. Our evaluation of frontier LLMs and specialized provers yields three observations. First, provers tuned for Mathlib-style mathematics transfer poorly to this repository-centric setting. Second, success is strongly correlated with transitive repository dependence: tasks whose proofs draw on large, multi-hop dependency closures are less likely to be solved. Third, providing curated context restricted to a proof's dependency closure improves performance relative to exposing the full repository, but nevertheless leaves substantial room for improvement. Our benchmark and evaluation suite are released at https://github.com/utopia-group/VeriSoftBench.
Motivation & Objective
- Assess how provers handle repository-scale Lean proofs with project-specific abstractions and cross-file dependencies.
- Evaluate the impact of curated vs. full repository context on prover success.
- Characterize how transitive repository dependencies affect proof automation performance.
- Provide a benchmark and evaluation suite to drive improvement in repository-scale formal verification.
Proposed method
- Construct VeriSoftBench from 23 Lean repositories covering verification domains.
- Preserve repository context including cross-file dependencies and project-specific abstractions.
- Define two context regimes: curated (focused dependencies) and full repository (entire local repo).
- Evaluate frontier LLMs and specialized provers using a generate-check-repair loop for LLMs and end-to-end use for provers like Aristotle.
- Analyze correlation between proof success and repository dependency structure (direct vs transitive, depth).
- Release benchmark and results to GitHub for community use.

Experimental results
Research questions
- RQ1How well do Mathlib-centric provers transfer to repository-scale verification tasks?
- RQ2What is the relationship between transitive repository dependencies and proof success?
- RQ3Does providing curated local context improve prover performance over full repository context?
- RQ4What are the common patterns and dependency structures that influence proof automation in large codebases?
Key findings
- Frontier LLMs and specialized provers show modest success on VeriSoftBench tasks.
- Performance drops when transitive, multi-hop, repository-local dependencies are needed to discharge goals.
- Curated context improves performance relative to full repository context, but substantial room for improvement remains.
- Mathlib-centric benchmarks poorly predict performance on repository-scale verification tasks.
- Full context may provide hints via recurring structural patterns beyond the directly required dependencies.
- Aristotle achieves 69% on a subset with same-file lemmas included; Gemini-3-Pro reaches 65% on that subset, indicating easier subsetting.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.