paper-with-me

홈 › Papers

CAPRI: Contract-Aware Proof Repair for Isabelle

2026-08-13 · Jim Woodcock, Gabriel Leite, Augusto Sampaio, Ran Wei arxiv

We address the use of large language models (LLMs) to help discover Isabelle proofs. An Isabelle build establishes that the submitted theory is accepted, but not that an LLM changed only what the developer authorised. We present CAPRI, a contract-aware repair workflow in which Isabelle checks the proof and an independent checker enforces a machine-readable edit contract. Prompts, proposals, candidate repositories, diagnostics, verdicts, and hashes are retained for audit. We evaluate five workflows on twelve failed proofs from four developments, with three replicates per task and condition, giving 180 runs and 138 valid repairs. Of 144 terminal candidates accepted by Isabelle, six had modified protected text; all arose in iterative workflows that could edit a complete theory. A proof-body-only interface produced 29/36 valid repairs and no contract violations, compared with 31/36 for the corresponding full-theory workflow. One-shot repair produced 22/36, while a later prospectively frozen iterative workflow produced 32/36; these figures compare complete workflows rather than individual mechanisms. A separate post hoc OpenRouter campaign found no improvement in the designated Luna comparisons. A Sol configuration with matched demonstrations produced 33/36 repairs, compared with 29/36 in the frozen OpenAI Responses condition, but the difference was not statistically significant in a one-sided exact McNemar test ($p=0.0625$).

📄 PDF Abstract BibTeX arXiv:2608.13459

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Vibe Coding an LLM-powered Theorem Prover

2026-01-08 · Zhe Hou arxiv

We present Isabellm, an LLM-powered theorem prover for Isabelle/HOL that performs fully automatic proof synthesis. Isabellm works with any local LLM on Ollama and APIs such as Gemini CLI, and it is designed to run on con…

Code Generation

Baldur: Whole-Proof Generation and Repair with Large Language Models

2023-03-08 · Emily First, Markus N. Rabe, Talia Ringer, Yuriy Brun

Formally verifying software properties is a highly desirable but labor-intensive task. Recent work has developed methods to automate formal verification using proof assistants, such as Coq and Isabelle/HOL, e.g., by trai…

Neuro-Symbolic Proof Generation for Scaling Systems Software Verification

2026-03-20 · Baoding He, Zenan Li, Wei Sun, Yuan Yao 외 arxiv

Formal verification via interactive theorem proving is increasingly used to ensure the correctness of critical systems, yet constructing large proof scripts remains highly manual and limits scalability. Advances in large…

Mathematical Reasoning

On Exams with the Isabelle Proof Assistant

2023-03-10 · Frederik Krogsdal Jacobsen, Jørgen Villadsen

We present an approach for testing student learning outcomes in a course on automated reasoning using the Isabelle proof assistant. The approach allows us to test both general understanding of formal proofs in various lo…

Teaching Higher-Order Logic Using Isabelle

2024-04-08 · Simon Tobias Lund, Jørgen Villadsen

We present a formalization of higher-order logic in the Isabelle proof assistant, building directly on the foundational framework Isabelle/Pure and developed to be as small and readable as possible. It should therefore s…