Large language models often solve a theorem forward yet fail to disprove a closely related false one: a falsification gap that supervised fine-tuning does not close and can actively worsen. We frame counterexample generation as constrained witness emission against a deterministic per-theorem Python verifier, and release SymCE, a corpus of 4,707 false undergraduate-algebra and real-analysis conjectures, each paired with executable verifiers. The verifier also serves as the reward function, making SymCE a training environment. Training Qwen3-4B with SFT followed by GRPO under this oracle reveals an imitation trap: counterexample-only SFT collapses true-theorem recognition from 0.27 to 0.00, while RLVR with a sparse outcome-only reward repairs this and exceeds the base, to 0.66. The collapse replicates across four seeds and on Gemma-3-4B. Sparse and dense rewards yield statistically indistinguishable in-domain success yet diverge by 33 points on a held-out calibration probe, a dissociation we trace to the partial-credit term. Our 4B model outperforms every evaluated 7B open-weights math specialist, remains competitive with six frontier commercial APIs, and transfers under unchanged prompting to GSM8K, MATH-500 and MMLU-college-math. A human audit of 177 verifier decisions finds 97.7% accuracy. Code, data, verifier modules and annotations: https://github.com/ce-rlvr/SymCE.
Figures & tables
Domain
Strict
SFT
RLVR
Test
GroupTheory
874
366
434
74
RingTheory
565
237
280
48
NumberTheory
392
164
195
33
LinearAlgebra
233
98
115
20
FieldTheory
166
70
82
14
RealAnalysis
159
67
79
13
Table 1: Domain-stratified allocation of the strict pool: the 2,389 records whose teacher-generated canonical witness passes its own verifier at generation time. Rounding the split targets and one oracle-gating drop move three records from SFT and test into the RLVR prompt set, so the final split sizes are SFT 1,000, test 201, and RLVR 1,188+2,318=3,506 ; the 2,318 loose records have a working verifier but no oracle-confirmed canonical witness. Pipeline total: 4,707 records over 3,485 unique theorems; canonical-witness positive-reward rate 0.98.
Model
Pass@1 (greedy)
Pass@8 (sampled)
Concl.-pass
Format-OK
Parse-OK
Qwen3-4B base
0.30 [0.24, 0.37]
0.49 [0.42, 0.56]
0.30
0.45
0.42
+ SFT
0.35 [0.28, 0.41]
0.64 [0.57, 0.70]
0.41
1.00
0.82
+ RLVR (dense)
0.50 [0.43, 0.57]
0.68 [0.61, 0.74]
0.61
0.98
0.94
+ RLVR (sparse)
0.50 [0.43, 0.57]
0.67 [0.61, 0.74]
0.59
0.97
0.95
Best open-weights 7B (Eurus-2-7B-PRIME)
0.30 [0.24, 0.36]
0.57 [0.50, 0.64]
0.34
0.87
0.70
Frontier APIs (range over 6) a
0.42 – 0.58
up to 0.77
—
—
—
Table 2: In-domain counterexample benchmark (n=201), reference seed 42. Greedy Pass@1 is the headline metric; 95 % bootstrap CIs in brackets. Conclusion-pass is the relaxed criterion q¬=1 of § 5.2 . Four-seed means for the trained variants are in Table 5 . a Range across six DeepSeek/Gemini frontier APIs. The full per-model open-weights table is in Appendix G .
Model
SymCE -prompt
truth-classify
Qwen3-4B base
0.27
0.36
+ SFT
0.00
0.21
+ RLVR (dense)
0.34
0.73
+ RLVR (sparse)
0.65
0.84
Table 3: Theorem-truth probe (n=347), reference seed 42. Pass@1 (greedy) = fraction of true theorems correctly recognised as true, under the answer-extraction rules of § 5.2 . Four-seed means are in Table 5 . The base column is conservative: on 62 % of items the base states no verdict at all, exhausting the token budget mid-reasoning, and it asserts FALSE on only 2.6 %. SFT reverses this, asserting FALSE for 70 % of true theorems. Four-seed spread for both columns is in Table 5 .
Figure 2: Per-sample outcome distribution on the counterexample benchmark (greedy, n=201). The oracle assigns each rollout exactly one outcome: success ( q¬=1 and all hypotheses satisfied), ¬ Q only ( q¬=1 but not all hypotheses), abstain (the NONE sentinel on a false conjecture), hyp-only (all hypotheses satisfied but q¬=0 , so the policy asserts the false conjecture is true), partial , parse error and no tag . The released records carry these as the codes success , neg_q_only , none_on_false , hyp_only , partial , oracle_parse_error and no_tag .
Figure 3: Per-domain counterexample Pass@1 (greedy) with 95 % bootstrap CIs. Annotations on top: number of test items per domain. The largest absolute gain is on LinearAlgebra (+0.30); the most striking result is on RealAnalysis, where RLVR-sparse gains +0.23 absolute despite the domain being only 6.7 % of the RLVR training distribution.
Benchmark (n)
base
SFT
dense
sparse
GSM8K (1319)
0.83
0.82 ± .03
0.88 ± .02
0.88 ± .01
MATH-500 (500)
0.13
0.55 ± .01
0.65 ± .02
0.65 ± .01
MMLU-CM (100)
0.34
0.54 ± .03
0.70 ± .05
0.72 ± .04
AIME-2024 (30)
0.00
0.07 ± .03
0.08 ± .03
0.08 ± .02
Table 4: Out-of-domain transfer under standard chain-of-thought prompting (greedy, Pass@1), mean ± sd over all four training seeds. Identical prompt template across all four models; our SFT/RLVR pipeline contains no examples or answer-format training from these benchmarks.
Metric
base
SFT
dense
sparse
Qwen3-4B, mean ± sd over 4 seeds
SymCE Pass@1
0.30
0.34 ± .02
0.49 ± .02
0.46 ± .03
SymCE Pass@8
0.49
0.62 ± .02
0.66 ± .02
0.64 ± .02
Truth SymCE -prompt
0.27
0.00 ± .00
0.33 ± .04
0.66 ± .04
Truth-classify
0.36
0.16 ± .05
0.71 ± .09
0.75 ± .13
Gemma-3-4B, seed 56
Table 5: Robustness of the headline findings. SymCE Pass@ k is the counterexample benchmark (n=201); the two Truth rows are the theorem-truth probe (n=347) under the two prompt styles of § 5.2 . Qwen3-4B seeds are 42, 19, 31 and 64; the base is training-seed independent. Bold marks the best value in a row.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 4: Per-step training curves for the dense and sparse RLVR runs at the reference seed ( ≈ 1,752 steps over four epochs of 3,506 prompts). Mean reward rises monotonically and crosses zero by step ∼ 240 for both variants; KL to the SFT reference decays smoothly; loss is bounded and oscillatory but stable.
Supervised fine-tuning (SFT)
Base model
unsloth/Qwen3-4B
Chat template
qwen-3
Max sequence length
2048
Precision
bfloat16
LoRA rank r / scale α
16 / 16
LoRA dropout
0
Appendix
Table 6: Hyperparameters used for SFT and both RLVR variants, as recorded by the reference-seed runs. The one setting that is not uniform is the SFT epoch count: seed 42 uses 3 epochs, and seeds 19, 31 and 64 use 2, after we checked that the two schedules performed equivalently and preferred the shorter one. SFT wall-clock on a single RTX 5090 32 GB is under five minutes; each RLVR run is approximately nine hours.
Domain
accepted
rejected
total
GroupTheory
31
27
58
RingTheory
20
15
35
NumberTheory
23
8
31
LinearAlgebra
11
11
22
FieldTheory
8
8
16
RealAnalysis
8
7
15
Appendix
Table 7: Composition of the human audit, split by the verifier’s verdict. Decision accuracy: 99/101 accepted witnesses confirmed valid, 74/76 rejected witnesses confirmed invalid, 173/177 = 97.7 % overall. Annotations are released at human_eval/ .
SymCE -prompt
truth-classify
Model
strict
permissive
strict
permissive
Qwen3-4B base
0.27
0.86
0.36
0.71
+ SFT
0.00
0.00
0.21
0.23
+ RLVR (dense)
0.34
0.37
0.73
0.76
+ RLVR (sparse)
0.65
0.69
0.84
0.84
Appendix
Table 8: Theorem-truth probe under both answer-extraction rules (reference seed 42, n=347). “Permissive” reproduces what the original evaluation harness recorded; the paper reports the strict column throughout.
Metric
Arm
42
19
31
64
SymCE Pass@1
SFT
0.348
0.358
0.323
0.338
dense
0.502
0.478
0.458
0.502
sparse
0.497
0.438
0.463
0.453
SymCE Pass@8
SFT
0.637
0.617
0.592
0.632
dense
0.677
0.632
0.672
0.662
sparse
0.672
0.622
0.632
0.637
Appendix
Table 9: Per-seed values. The sparse-over-dense gap on the SymCE -prompt probe is positive in every seed ( +0.31 , +0.42 , +0.35 , +0.22 ); on truth-classify it is not ( +0.11 , +0.01 , +0.19 , −0.15 ), which is why § 6.6 restricts the claim to the SymCE -prompt probe.
Model
unseen
seen
Δ
Qwen3-4B base
0.244
0.307
+0.063
+ SFT
0.000
0.000
+0.000
+ RLVR dense
0.274
0.433
+0.159
+ RLVR sparse
0.614
0.707
+0.092
Appendix
Table 10: SymCE -prompt Pass@1 by subset (greedy, strict scoring, reference seed 42). Δ = seen − unseen.
Model
Pass@1 (greedy)
Pass@1 (sampled)
Pass@3 (sampled)
Pass@8 (sampled)
Eurus-2-7B-PRIME
0.299 [0.24, 0.36]
0.292 [0.24, 0.34]
0.458 [0.40, 0.52]
0.567 [0.50, 0.64]
Qwen2.5-Math-7B-Instruct
0.199 [0.14, 0.25]
0.063 [0.05, 0.08]
0.155 [0.12, 0.19]
0.289 [0.23, 0.35]
DeepSeek-Math-7B-RL
0.105 [0.06, 0.15]
0.072 [0.05, 0.09]
0.171 [0.13, 0.21]
0.308 [0.25, 0.37]
Abel-7B-002
0.045 [0.02, 0.07]
0.052 [0.04, 0.07]
0.124 [0.09, 0.16]
0.224 [0.17, 0.28]
MAmmoTH2-7B-Plus
0.000 [0.00, 0.00]
0.040 [0.03, 0.05]
0.106 [0.08, 0.14]
0.219 [0.16, 0.28]
Qwen2.5-Math-1.5B (smaller ref.)
0.010 [0.00, 0.02]
0.017 [0.01, 0.03]
0.045 [0.03, 0.07]
0.095 [0.05, 0.13]
Appendix
Table 11: Open-weights baselines on the counterexample benchmark (n=201). All numbers Pass@ k with 95 % bootstrap CIs over problem ids. Sampled decoding uses n=8 , temperature 0.7. Regenerated by build_camera_ready_tables.py .
Model
Pass@1 (greedy)
Pass@1 (sampled)
Pass@3 (sampled)
Pass@8 (sampled)
Gemini-3.1-Flash-Lite
0.577 [0.51, 0.64]
0.565 [0.50, 0.63]
0.638 [0.57, 0.70]
0.687 [0.62, 0.75]
Gemini-3.5-Flash
0.493 [0.42, 0.56]
—
—
—
Gemini-3-Flash-Preview
0.468 [0.40, 0.54]
0.489 [0.44, 0.53]
0.708 [0.65, 0.76]
0.771 [0.71, 0.83]
Gemini-3.1-Pro
0.433 [0.36, 0.50]
—
—
—
DeepSeek-Pro
0.428 [0.36, 0.49]
0.437 [0.38, 0.49]
0.551 [0.49, 0.61]
0.622 [0.55, 0.69]
DeepSeek-Flash
0.423 [0.35, 0.49]
0.432 [0.38, 0.49]
0.562 [0.50, 0.62]
0.637 [0.57, 0.70]
Appendix
Table 12: Frontier commercial APIs on the counterexample benchmark (n=201). Dashes indicate sampled passes that were not run because token-budget constraints prevented an 8-sample run within the budget. Regenerated by build_camera_ready_tables.py .
Figure 6: Counterexample Pass@1 (greedy) for all comparators evaluated. Our trained 4B models are in colour; open-weights 7B specialists are in grey; the shaded yellow band shows the range across six frontier commercial APIs.
Mathematical reasoning demands two critical, complementary skills: constructing rigorous proofs for true statements and discovering counterexamples that disprove false ones. However, current AI efforts in mathematics focus almost exclusively on proof construction, often neglecting the equally important task of finding counterexamples. In this paper, we address this gap by fine-tuning large language models (LLMs) to reason about and generate counterexamples. We formalize this task as formal counterexample generation, which requires LLMs not only to propose candidate counterexamples but also to produce formal proofs that can be automatically verified in the Lean 4 theorem prover. To enable effective learning, we introduce a symbolic mutation strategy that synthesizes diverse training data by systematically extracting theorems and discarding selected hypotheses, thereby producing diverse counterexample instances. Together with curated datasets, this strategy enables a multi-reward expert iteration framework that substantially enhances both the effectiveness and efficiency of training LLMs for counterexample generation and theorem proving. Experiments on three newly collected benchmarks validate the advantages of our approach, showing that the mutation strategy and training framework yield significant performance gains.
Reasoning language models are trained to produce solutions, not to refuse them, and this bias persists when the problem they are handed is false. Asked to prove a corrupted theorem, a strong model will typically comply and produce a confident derivation of something untrue. We present Euston, an 8B mathematical claim-verification model trained to resist exactly this. Training data were generated with GraphSynth, a probabilistic factor-graph generator that couples attribute-level diversity to decode-time structural masking and span-synchronized verification, yielding 3{,}026 matched true/corrupted statement pairs (6,052 statements) drawn from arXiv papers spanning 2010--2025. We fine-tuned DeepSeek-R1-8B with GRPO under a rule-based, zero-API reward for 189 steps on four H100 GPUs. On a balanced 200-true/200-false held-out split, balanced accuracy rises from 29.50% to 63.75% and the discrimination gap---the difference between the rate of calling false statements false and the rate of calling true statements false moves from -0.5% (z=-0.1) to +27.5% (z=+6.0). Critically, the gain is not purchased with general mathematical ability: AIME 2026 accuracy under official semantics is 65.00% against a 69.17% base, a difference of -4.17% that is not statistically significant, whereas an earlier run of the same recipe on a smaller GraphSynth corpus collapsed to 40.00%. Median response length also falls from 19,217 to 18,296 tokens and the truncation rate from 25.8% to 8.3%, so the improvement does not come from thinking longer. We report the result together with the confounds that bound its interpretation, principally the all-false composition of the official evaluation sets and the low precision implied at realistic error prevalence.
We present a new approach for benchmarking Large Language Model (LLM) capabilities on research-level mathematics. Existing benchmarks largely rely on static, hand-curated sets of contest or textbook-style problems as proxies for mathematical research. Instead, we establish an updatable benchmark evaluating models directly on the latest research results in mathematics. This consists of an automatic pipeline that extracts lemmas from arXiv and rewrites them into self-contained statements by making all assumptions and required definitions explicit. It results in a benchmark that can be updated regularly with new problems taken directly from human mathematical research, while previous instances can be used for training without compromising future evaluations. We benchmark current state-of-the-art LLMs, which obtain around 10-15% accuracy in theorem proving (pass@1) depending on the model, showing that there is currently a large margin of progression for LLMs to reach human-level proving capabilities in a research context.
Antoine Peyronnet, Fabian Gloeckle, Amaury Hayat
1Ecole Normale Superieure de Rennes · 2Ecole des Ponts Paris · 3Korean Institute for Advanced Study