Reference. Proof Repair Infrastructure for Supervised Models: Building a Large Proof Repair Dataset

We report on our efforts building a new, large proof-repair dataset and benchmark suite for the Coq proof assistant. The dataset is made up of Git commits from open-source projects with old and new versions of definitions and proofs aligned across commits. Building this dataset has been a significant undertaking, highlighting a number of challenges and gaps in existing infrastructure. We discuss these challenges and gaps, and we provide recommendations for how the proof assistant community can address them. Our hope is to make it easier to build datasets and benchmark suites so that machine-learning tools for proofs will move to target the tasks that matter most and do so equitably across proof assistants.

Cite

Cite as @reichel-2023-proof (helia, typst) · \cite{reichel-2023-proof} (LaTeX)
BibTeX
bibtex · 14 lines
@inproceedings{reichel-2023-proof,
  doi = {10.4230/LIPICS.ITP.2023.26},
  url = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ITP.2023.26},
  author = {Reichel, Tom and Henderson, R. Wesley and Touchet, Andrew and Gardner, Andrew and Ringer, Talia},
  keywords = {proof repair, datasets, benchmarks, machine learning, formal proof, Computing methodologies → Machine learning, Software and its engineering → Software maintenance tools, Security and privacy → Logic and verification},
  language = {en},
  title = {Proof Repair Infrastructure for Supervised Models: Building a Large Proof Repair Dataset},
  volume = {268},
  pages = {26:1-26:20},
  publisher = {Schloss Dagstuhl – Leibniz-Zentrum für Informatik},
  year = {2023},
  copyright = {Creative Commons Attribution 4.0 International license},
  booktitle = {14th International Conference on Interactive Theorem Proving (ITP 2023)}
}
hayagriva YAML (typst)
yaml · 19 lines
reichel-2023-proof:
  type: article
  title: 'Proof Repair Infrastructure for Supervised Models: Building a Large Proof Repair Dataset'
  author:
  - Reichel, Tom
  - Henderson, R. Wesley
  - Touchet, Andrew
  - Gardner, Andrew
  - Ringer, Talia
  date: 2023
  page-range: 26:1-26:20
  url: https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ITP.2023.26
  serial-number:
    doi: 10.4230/LIPICS.ITP.2023.26
  parent:
    type: proceedings
    title: 14th International Conference on Interactive Theorem Proving (ITP 2023)
    publisher: Schloss Dagstuhl – Leibniz-Zentrum für Informatik
    volume: 268
Cited by (1)

HybridProver: Augmenting Theorem Proving with LLM-Driven Proof Synthesis and Refinement hu-2025-hybridprover

Formal methods play a crucial role in ensuring the reliability of critical systems through rigorous mathematical verification. However, their adoption remains limited due to the labor-intensive nature of manual proof construction. Recent advances in large language models (LLMs) have opened new opportunities for automated theorem proving. Two main paradigms have emerged: stepwise tactic-based generation and whole-proof synthesis. While both approaches have complementary strengths, existing work largely treats them in isolation. In this work, we propose HybridProver, a unified framework that integrates whole-proof synthesis and tactic-based generation through proof sketches as an intermediate representation. This design enables the reuse of partially correct proof structures while effectively combining high-level planning with fine-grained reasoning. We implement HybridProver in Isabelle/HOL and post-train two 7B-scale LLMs on our optimized Isabelle datasets. Experiments on the miniF2F Isabelle benchmark achieved a 73.8% success rate and improved upon the previous state of the art (61.9%), demonstrating that lightweight models, when combined with our approach, can effectively generate Isabelle/HOL proofs without relying on very large LLMs. Ablation studies further analyze the impact of dataset quality, training configurations, and sampling strategies on proof generation.
arXiv
Cites 56 works (4 here)
With notes (4)

Proof repair across type equivalences ringer-2021-proof

PDF · DOI · pldb

REPLica: REPL instrumentation for Coq analysis ringer-2020-replica

PDF · DOI · pldb

Ornaments for Proof Reuse in Coq ringer-2019-ornaments

Ornaments express relations between inductive types with the same inductive structure. We implement fully automatic proof reuse for a particular class of ornaments in a Coq plugin, and show how such a tool can give programmers the rewards of using indexed inductive types while automating away many of the costs. The plugin works directly on Coq code; it is the first ornamentation tool for a non-embedded dependently typed language. It is also the first tool to automatically identify ornaments: To lift a function or proof, the user must provide only the source type, the destination type, and the source function or proof. In taking advantage of the mathematical properties of ornaments, our approach produces faster functions and smaller terms than a more general approach to proof reuse in Coq.
DOI

Adapting proof automation to adapt proofs ringer-2018-adapting

PDF · DOI · pldb
External (52)
reichel-2023-proof reference entries/refs/reichel-2023-proof/reichel-2023-proof.hel