mlsanityData to 26 Nov 2026

How Stable Are LLM-Generated Proofs Under Program Refactoring? A Stress Test for Verifiable Code Generation

arXiv 2610.36328 ↗Submitted 26 Oct 2026cs.AI cs.LO cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Benchmarks for verifiable code generation usually test a proof against one fixed implementation. We ask whether the same proof remains valid after a program refactoring that preserves behavior. We introduce RefactorProof, which derives 458 Lean-certified variants from the 185 VERINA tasks that compile in our pinned environment while holding the specification and evaluated proof fixed byte-for-byte. VERINA supplies reference proofs for 46 tasks, all from its basic split; the primary model-versus-reference comparisons further match on 21-25 short, non-recursive tasks. Structural refactorings expose substantial brittleness across proof sources: task-normalized structural PSR is 4.3% for the supplied references and 13.3-26.8% for the specialized provers. On the matched tasks, specialized prover proofs nevertheless have higher overall unchanged-proof survival than the supplied reference artifacts: +15.6 points for DeepSeek-Prover-V2-7B, +18.8 for Goedel-Prover-V2-32B, and +20.3 for Goedel-Prover-V2-8B; all three 95% CIs exclude zero. The ordering persists after excluding universally survived T1 variants, under family-balanced aggregation, and under alternative deployable valid-proof selection rules. However, unchanged-proof failure is not the same as high repair cost: predefined one-identifier edits repair 51/54 eligible reference structural failures and 58/85 eligible prover failures. RefactorProof therefore measures unchanged-proof stability under program refactoring, not the cost of maintaining a proof after it breaks.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 21 of its 31 references that are in the map. Submitted 26 Oct 2026.

Builds on

21 of 31 references.

References · 21

  1. 2025Qwen3 Technical Reportcited by 10,000
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  3. 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 335
  4. 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 182
  5. 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Provingcited by 144
  6. 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 133
  7. 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 114
  8. 2023An In-Context Learning Agent for Formal Theorem-Provingcited by 91
  9. 2024Lean Copilot: Large Language Models as Copilots for Theorem Proving in Leancited by 69
  10. 2024DafnyBench: A Benchmark for Formal Software Verificationcited by 66
  11. 2025VERINA: Benchmarking Verifiable Code Generationcited by 43
  12. 2025CLEVER: A Curated Benchmark for Formally Verified Code Generationcited by 35
9 more
  1. 2025A benchmark for vericoding: formally verified program synthesiscited by 28
  2. 2024miniCodeProps: a Minimal Benchmark for Proving Code Propertiescited by 21
  3. 2025Proving the Coding Interview: A Benchmark for Formally Verified Code Generationcited by 21
  4. 2020QED at Large: A Survey of Engineering of Formally Verified Softwarecited by 17
  5. 2026AlgoVeri: An Aligned Benchmark for Verified Code Generation on Classical Algorithmscited by 17
  6. 2020Proof Repair across Type Equivalencescited by 11
  7. 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generationcited by 9
  8. 2026Evaluating the Robustness of Proof Autoformalization in Lean 4cited by 3
  9. 2026BlueprintRepair: Typed Local Edits for Failed Lean Proof Blueprintscited by 3

Built on by

Not cited yet.