scimeatlas

Research map / Large language models / Agents, code and math

Curriculum proof repair with learned counterexamples

Yuechun Sun, Jun Yang, Kexin Pei

NeurIPS 2026Large language models › Agents, code and mathapproach: Retrieval-augmented formal theorem provingopen problems in this approach0 citations (OpenAlex)

University of Science and Technology of China · University of Chicago

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
6improved
3hurt
1mixed
In one sentence

Proposes a curriculum-based approach to training language models for formal proof repair using learned counterexamples, evaluated on verifier-in-the-loop proof repair.

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Problem

Proof development in formal verification is difficult because verifier errors are coarse and failed proof obligations must be repaired; existing LM-based verifier-in-the-loop repair relies on hand-engineered prompts, retrieved examples, or sparse pass/fail feedback.

Approach

Uses learned counterexamples arranged in a curriculum to provide richer repair signal than sparse pass/fail feedback, instead of hand-engineered prompts or retrieval. Details beyond the abstract are not available.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use counterexample output format instead of chain-of-thought diagnostics (SFT) (ablation)QwQ-32B repairer · weighted avg of 7 Verus benchmarksSafe-Pass@1 (%): 39.3 -> 50.5Improved
add binary-reward GRPO on top of CTX-Init (ablation)QwQ-32B CTX-Init · weighted avg of 7 Verus benchmarksSafe-Pass@1 (%): 50.5 -> 53.7Mixed
replace binary reward with topological graph reward in GRPO (ablation)QwQ-32B CTX-Binary · weighted avg of 7 Verus benchmarksSafe-Pass@1 (%): 53.7 -> 61.6Improved
replace binary reward with topological graph reward in GRPO (ablation)QwQ-32B CTX-Binary · ObfsBenchSafe-Pass@1 (%): 58.6 -> 69.9 (+11.3)Improved
replace binary reward with topological graph reward in GRPO (ablation)QwQ-32B CTX-Binary · VerusBenchSafe-Pass@3 (%): 96.2 -> 88.5Hurt
replace binary reward with topological graph reward in GRPO (ablation)QwQ-32B CTX-Binary · LeetCodeSafe-Pass@3 (%): 40.0 -> 20.0Hurt
use TopoVerus counterexamples instead of CoT-Init diagnostics for frozen repairerSonnet-4.5 · 118 hard failed statesrepair success (%): 31.4 -> 39.0 (+24.3% relative)Improved
use TopoVerus counterexamples instead of CoT-Init diagnostics for frozen repairerDeepSeek-V4 · 118 hard failed statesrepair success (%): 11.9 -> 19.5 (+64.3% relative)Improved
use CTX-Init counterexamples instead of CoT-Init diagnostics for frozen repairerQwen3-Coder · 118 hard failed statesrepair success (%): 13.6 -> 12.7 (-6.2% relative)Hurt
use CTX-Dep counterexamples instead of CoT-Init diagnostics for frozen repairerQwen3-Coder · 118 hard failed statesrepair success (%): 13.6 -> 15.3 (+12.5% relative)Improved

Open problems in retrieval-augmented formal theorem proving

Can retrieval-based provers move past easy and in-distribution theorems to IMO-level and research-level problems?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy