mlsanityData to 7 Oct 2026

CLEVER: A Curated Benchmark for Formally Verified Code Generation

arXiv 2505.13938 ↗First posted 20 May 2025cs.LG cs.AI cs.LOcited by 27

Not on the map. Why?

Abstract (arXiv)

We introduce rm Csmall LEVER, a high-quality, curated benchmark of 161 problems for end-to-end verified code generation in Lean. Each problem consists of (1) the task of generating a specification that matches a held-out ground-truth specification, and (2) the task of generating a Lean implementation that provably satisfies this specification. Unlike prior benchmarks, rm Csmall LEVER avoids test-case supervision, LLM-generated annotations, and specifications that leak implementation logic or allow vacuous solutions. All outputs are verified post-hoc using Lean's type checker to ensure machine-checkable correctness. We use rm Csmall LEVER to evaluate several few-shot and agentic approaches based on state-of-the-art language models. These methods all struggle to achieve full verification, establishing it as a challenging frontier benchmark for program synthesis and formal reasoning. Our benchmark can be found on GitHub(https://github.com/trishullab/clever) as well as HuggingFace(https://huggingface.co/datasets/amitayusht/clever). All our evaluation code is also available online(https://github.com/trishullab/clever-prover).

Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 21 of its 51 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

21 of 51 references.

References · 21

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  4. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  5. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
  6. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
  7. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  8. 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
  9. 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learningcited by 173
  10. 2019The Lean mathematical librarycited by 127
  11. 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Provingcited by 126
  12. 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 80
9 more
  1. 2023An In-Context Learning Agent for Formal Theorem-Provingcited by 78
  2. 2024DafnyBench: A Benchmark for Formal Software Verificationcited by 54
  3. 2023Verus: Verifying Rust Programs using Linear Ghost Types (extended version)cited by 50
  4. 2024miniCTX: Neural Theorem Proving with (Long-)Contextscited by 35
  5. 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinementcited by 33
  6. 2024Automated Proof Generation for Rust Code via Self-Evolutioncited by 31
  7. 2024FVEL: Interactive Formal Verification Environment with Large Language Models via Theorem Provingcited by 22
  8. 2024miniCodeProps: a Minimal Benchmark for Proving Code Propertiescited by 18
  9. 2025Proving the Coding Interview: A Benchmark for Formally Verified Code Generationcited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 9; 2026: 18.

27 papers.

Sort:

By area:

  1. 2025VERINA: Benchmarking Verifiable Code Generationcited by 30
  2. 2025A benchmark for vericoding: formally verified program synthesiscited by 16
  3. 2025StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs through Knowledge-Reasoning Fusioncited by 15
  4. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
  5. 2026AlgoVeri: An Aligned Benchmark for Verified Code Generation on Classical Algorithmscited by 11
  6. 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verificationcited by 10
  7. 2025VeriEquivBench: An Equivalence Score for Ground-Truth-Free Evaluation of Formally Verifiable Codecited by 7
  8. 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Leancited by 6
  9. 2025Towards Verified Code Reasoning by LLMscited by 4
  10. 2026Neural Theorem Proving for Verification Conditions: A Real-World Benchmarkcited by 4
  11. 2026Agentic Code Reasoningcited by 4
  12. 2026Agentic Proving for Program Verificationcited by 3
15 more
  1. 2025SysMoBench: Evaluating AI on Formally Modeling Complex Real-World Systemscited by 2
  2. 2025MINIF2F-DAFNY: LLM-Guided Mathematical Theorem Proving via Auto-Active Verificationcited by 2
  3. 2026CodeSpecBench: Benchmarking LLMs for Executable Behavioral Specification Generationcited by 2
  4. 2026Certified Program Synthesis with a Multi-Modal Verifiercited by 2
  5. 2026s2n-bignum-bench: A practical benchmark for evaluating low-level code reasoning of LLMscited by 1
  6. 2026Intent-aligned Formal Specification Synthesis via Traceable Refinementcited by 1
  7. 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generationcited by 1
  8. 2026P3: Joint Program-and-Proof Planning for Verified Code Generationcited by 1
  9. 2026Vero: Can AI Agents Build Formally Verified Software Repositories?cited by 1
  10. 2025BRIDGE: Building Representations In Domain Guided Program Synthesiscited by 0
  11. 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Languagecited by 0
  12. 2026Teaching LLMs Program Semantics via Symbolic Execution Tracescited by 0
  13. 2026VeriScale: Adversarial Test-Suite Scaling for Verifiable Code Generationcited by 0
  14. 2026FVSpec: Real-World Property-Based Tests as Lean Challengescited by 0
  15. 2026Self-Spec Verifiable Code Generationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-Proof: Can Language Models Resolve Real-World Issues with Machine-Checked Proofs?
  2. 2026Automating Formal Verification with Agent-Guided Tree Search
  3. 2026WybeCoder: Verified Imperative Code Generation
  4. 2024Evaluating the Ability of Large Language Models to Generate Verifiable Specifications in VeriFast
  5. 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation
  6. 2026Beyond Type-checking: Towards Holistic Evaluation of Formal Specification Generation
  7. 2026CoRE: A Fine-Grained Code Reasoning Benchmark Beyond Output Prediction
  8. 2026FORALL-LEAN-AGENT for Auditable Reasoning in Formal Mathematics and Software Verification