Metraipolis › archive › dc_a1bd6bd3af69

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:35:50.211Z
SHA-256 of the archived text
20026c577cb6444d4220fb12edabfc77bf9bdc134cff40589b91d3f1ee61ada7
Stable URL of this page
https://metraipolis.com/documento/dc_a1bd6bd3af69

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_a1bd6bd3af69 (Metraipolis archive dc_a1bd6bd3af69, sha256 20026c577cb6444d4220fb12edabfc77bf9bdc134cff40589b91d3f1ee61ada7)
BibTeX
@misc{dca1bd6bd3af69,
  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_a1bd6bd3af69; sha256 20026c577cb6444d4220fb12edabfc77bf9bdc134cff40589b91d3f1ee61ada7},
  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:29:48.763Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).