Metraipolis › archive › dc_dc3957a3df90

Can Open-Weight LLMs Produce Kernel-Verified Coq Proofs? A Pilot Study — arXiv:2608.05420

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.05420
License (as archived)
CC0-1.0
Archived
2026-10-31T10:50:24.806Z
SHA-256 of the archived text
f1426b9ab78010b3194d0efb7390a2286408eaa2063bd3a0977481b8ab661c9c
Stable URL of this page
https://metraipolis.com/documento/dc_dc3957a3df90

How to cite

Can Open-Weight LLMs Produce Kernel-Verified Coq Proofs? A Pilot Study — arXiv:2608.05420 — arXiv (en), https://arxiv.org/abs/2608.05420 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_dc3957a3df90 (Metraipolis archive dc_dc3957a3df90, sha256 f1426b9ab78010b3194d0efb7390a2286408eaa2063bd3a0977481b8ab661c9c)
BibTeX
@misc{dcdc3957a3df90,
  title = {Can Open-Weight LLMs Produce Kernel-Verified Coq Proofs? A Pilot Study — arXiv:2608.05420},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.05420},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_dc3957a3df90; sha256 f1426b9ab78010b3194d0efb7390a2286408eaa2063bd3a0977481b8ab661c9c},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.05420. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models (LLMs) can generate text that resembles a mathematical proof, but resemblance does not establish correctness. A formal proof checker verifies whether each proof step follows established logical rules. Coq bases its rules on the Calculus of Inductive Constructions, a logical framework that defines which proof steps the system may accept. This pilot study evaluated six open-weight LLMs on the same 100 theorems from CoqStoq, a benchmark derived from real Coq projects. Each LLM received one attempt per theorem with the temperature set to 0, and Coq checked every proposed proof in the theorem's original project environment. We counted a proof as successful only if the Coq kernel accepted it. Gemma 4 verified 12 of 100 theorems, Llama 3.3 verified 8, and DeepSeek Coder V2 Lite verified 1. Qwen 3.5, Mistral Small 3.1, and GPT-OSS verified none. The 21 successful model-theorem results covered 15 distinct theorems, 11 of which were not solved by a baseline of standard Coq tactics. All verified theorems had short or medium human-written reference proofs; no model verified a theorem with a long reference proof. Because the proof-length analysis was exploratory, this pattern does not establish that proof length caused the difference. For the three models with at least one success, the total generation cost per verified proof ranged from 741 to 36,193 output tokens, 14.9 to 178.0 seconds, and 0.0167 to 0.2000 aggregate GPU hours. We could not calculate these ratios for models with no verified proofs. Across 600 attempts, the models produced 21 kernel-verified proofs, giving an overall success rate of 3.5%. The study reports descriptive differences among the models but does not statistically test whether one model outperforms another. Therefore, the results do not establish a universal ranking of the six models.

Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-08-07 in cs.LO).
Categorie arXiv: Logic in Computer Science (cs.LO) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2608.05420 — 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-31T10:38:07.096Z dalla pagina https://arxiv.org/catchup/cs.LO/2026-08-07?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).