Metraipolis › archive › dc_6c7115dde56d
KAPPA: Checking the Proofs in Statistics Papers with Lean 4 and Language Model Agents — arXiv:2610.35596
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.35596
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-27T08:03:19.603Z
- SHA-256 of the archived text
6755b1423cf80550a5aeea7c5b452cf5a8c2e1431194f5be9b71da9dfc29c0e2- Stable URL of this page
https://metraipolis.com/documento/dc_6c7115dde56d
How to cite
KAPPA: Checking the Proofs in Statistics Papers with Lean 4 and Language Model Agents — arXiv:2610.35596 — arXiv (en), https://arxiv.org/abs/2610.35596 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6c7115dde56d (Metraipolis archive dc_6c7115dde56d, sha256 6755b1423cf80550a5aeea7c5b452cf5a8c2e1431194f5be9b71da9dfc29c0e2)
BibTeX
@misc{dc6c7115dde56d,
title = {KAPPA: Checking the Proofs in Statistics Papers with Lean 4 and Language Model Agents — arXiv:2610.35596},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.35596},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6c7115dde56d; sha256 6755b1423cf80550a5aeea7c5b452cf5a8c2e1431194f5be9b71da9dfc29c0e2},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.35596. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Papers in statistical theory rest on long proofs that few readers check line by line. We present KAPPA (Kit of Agents for Proof-checking Papers with a proof Assistant), open-source software that organizes language model agents, run by Claude Code, to translate the proofs of a LaTeX paper into the proof assistant Lean 4 with its library Mathlib and check them there, result by result. Each numbered result receives one of four verdicts: verified unconditionally; verified conditionally, with every cited or unproved input stated as a named hypothesis; issue recorded, with its place in the paper and the side at fault; or unfinished, with the reason. The kit follows the paper's own proof step by step, rather than finding a new one. Separate agents write and review, each statement is compared with the paper before it is proved and fingerprinted afterwards, and every verdict rests on evidence that can be rerun without a language model. The kit runs unattended for hours, waits out usage limits, re-checks only what a revision changed and reports its cost by role, model and result. We describe the design, walk through a complete run, and apply the kit to four example papers with answer keys and to three published statistical papers, checked blind in their versions from before public corrections. In all three, the kit found the published error at the step that the correction names, together with further problems that we confirmed by hand. Given the same papers directly, the same language model working with Lean classified fewer results correctly on the longest paper and reported some statements narrower than the paper's as proved; no verdict of the kit claimed more than its Lean evidence showed. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Computation (stat.CO) ; Artificial Intelligence (cs.AI); Logic in Computer Science (cs.LO). Pagina del lavoro: https://arxiv.org/abs/2610.35596 — 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-10-27T07:55:31.001Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).