Metraipolis › archive › dc_115a668c6821
ProofPatch: Reviewing Lean Statements and Keeping the Reviews Valid as Formalizations Evolve — arXiv:2611.01357
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.01357
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-03T10:26:21.422Z
- SHA-256 of the archived text
1050a7756ee4e6cde612a5fc186d5e1caedc74c43fa664928ca7d22a689f0938- Stable URL of this page
https://metraipolis.com/documento/dc_115a668c6821
How to cite
ProofPatch: Reviewing Lean Statements and Keeping the Reviews Valid as Formalizations Evolve — arXiv:2611.01357 — arXiv (en), https://arxiv.org/abs/2611.01357 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_115a668c6821 (Metraipolis archive dc_115a668c6821, sha256 1050a7756ee4e6cde612a5fc186d5e1caedc74c43fa664928ca7d22a689f0938)
BibTeX
@misc{dc115a668c6821,
title = {ProofPatch: Reviewing Lean Statements and Keeping the Reviews Valid as Formalizations Evolve — arXiv:2611.01357},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.01357},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_115a668c6821; sha256 1050a7756ee4e6cde612a5fc186d5e1caedc74c43fa664928ca7d22a689f0938},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.01357. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The kernel of the Lean proof assistant checks that a proof establishes its statement. Whether the statement says what was intended is left to human reviewers. This is the old problem of validating a specification, and it grows more pressing as language models write formal statements in bulk and agents edit formal developments continuously. We present ProofPatch, a tool that helps reviewers judge Lean statements and keeps their judgments valid while the development changes. A reviewer can ask the kernel targeted questions about a statement, such as whether a hypothesis is needed or whether a counterexample exists. Each decision is stored with fingerprints of the statement as Lean elaborated it and of the definitions it depends on, and any declaration can be pinned so that a patch changing it is blocked, whether a person or an agent built on a large language model (LLM) wrote the patch. Working on elaborated terms rather than source text is the central design choice: notation and formatting changes leave a decision intact, and a changed definition reaches every theorem that uses it. On 229 pairs of consecutive revisions of Mathlib, Lean's mathematics library, ProofPatch sends 118 of 12,898 synthetic decisions back for review. Every text-based alternative misses at least 38 of these or sends back at least 13 times as many. On 1,527 labeled statements, kernel evidence flags unfaithful ones with precision 0.88 to 0.96, and in 344 runs of an LLM agent no change to a pinned statement got through. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Logic in Computer Science (cs.LO) ; Artificial Intelligence (cs.AI); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2611.01357 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-03T10:19:50.073Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).