Goedel-Prover-V2-8B-EI-campaign1-r3
Round 3 of an expert-iteration (rejection-sampling self-distillation) campaign on
Goedel-LM/Goedel-Prover-V2-8B, trained with the
align post-training stack on 4 GPUs and verified by a strict Lean 4 kernel check.
This is a published negative result. On miniF2F-valid, round 3 solves 185/226 problems at 8 samples, compared
with 188/226 for the untrained base under the same sampling protocol (exact McNemar p = 0.51; the base row used 2 Lean verifier workers, the campaign rows 8, see Section 6). The campaign's
pre-registered stop rule stopped after this round with reason regression and selected round 1 as the best round.
This checkpoint is released so the hill-climb (base, r1, r2, r3) can be reproduced and audited. It is not a recommended
model. If you want a prover, use the base model.
1. TL;DR product sheet
| What it is | Full bf16 weights (Qwen3 architecture, 8.19B parameters, 36 layers) of a Lean 4 whole-proof generator |
| Base | Goedel-LM/Goedel-Prover-V2-8B @ dfd02e6271a58375dfbf3ece0175277cf6b6a89a (Apache-2.0) |
| Lineage | base → r1 → r2 → r3 (this repo). Each round's LoRA starts from the previous round's averaged model, and each average is anchored on the original base |
| Method | Expert iteration: select 300 statements, sample 8 proofs each at a 16k-token cap, Lean-kernel-verify, keep ≤ 4 shortest verified proofs per statement, LoRA SFT (r 64, α 128, 2 epochs), merge to bf16, average with the original base at weight 0.7 |
| Round-3 training data | 398 verified proofs of 127 statements; 1,523,369 completion tokens + 96,571 prompt tokens. Every target is the model's own Lean-verified proof, and no upstream proof text is used |
| Statement pool | 5,940 decontaminated statements from 5 open datasets. 0 overlap with miniF2F-valid, miniF2F-test or mobench (re-checked for this card) |
| Compute (round 3) | 12.0 h of stage wall time on 4× NVIDIA L4 (24 GB): 6.9 h generation + verification, 0.6 h SFT, 0.1 h export + average, 4.4 h evaluation. The whole campaign took 27.2 h of recorded stage time |
| Headline (miniF2F-valid, n = 8, 30k cap) | solved@8 185/226 (81.86%); mean pass@1 71.96% [95% CI 66.9, 76.9] |
| Base under the same protocol | solved@8 188/226 (83.19%); mean pass@1 71.85% [66.7, 77.0] |
| Verdict | No detectable change against the base (Δ solved@8 −3, p = 0.51; Δ pass@1 +0.11 pp [−1.49, +1.77]). The differences between rounds are smaller than the spread between seeds (4 problems: 187 to 191 across 4 runs of r1) |
| Not measured | miniF2F-test, PutnamBench, ProofNet, pass@32 or higher, a second training seed, KL to the base |
2. Model details and mechanism
| Architecture | Qwen3ForCausalLM, hidden 4096, 36 layers, 32 query / 8 KV heads (GQA), head dim 128, vocab 151,936, RoPE θ 1e6, max positions 40,960 (unchanged from the base) |
| Precision | bf16 weights, 17 safetensors shards, 399 tensors |
| Prompt format | Goedel's format (prompt_format = goedel): a Qwen chat user turn Complete the following Lean 4 code: followed by a ```lean4 block (Mathlib header + statement ending in := by sorry) and a request for a proof plan; see Section 9. The model writes a plan and then a complete Lean 4 proof |
| Developer | viai957 (align / ProofForge projects) |
| License | Apache-2.0 (inherited from the base). The training statements carry their own licences (Section 3) |
Mechanism: one expert-iteration round
flowchart LR
P[("Pool: 5,940 decontaminated<br/>Lean 4 statements")] --> S["select_by_band<br/>in-band p in (0, 0.75], then unmeasured,<br/>then never-solved ≤60, truncate at 300"]
S --> G["vLLM 0.26, TP=4<br/>8 samples / statement<br/>T=1.0, top-p 0.95, cap 16,384"]
G --> V{"Strict Lean verifier<br/>Lean 4.9.0-rc1 + Mathlib d1d1e4b7<br/>kernel recheck, axiom whitelist,<br/>lexical gate, 180 s"}
V -- accepted --> D["SFT data: ≤4 shortest proofs<br/>per statement; drop too-easy 8/8,<br/>drop unfaithful statements"]
V -- rejected --> X["discarded<br/>(no negative signal)"]
D --> T["LoRA SFT r64 α128<br/>FSDP2 4 ranks, 2 epochs<br/>lr 2e-5 cosine"]
T --> M["merge LoRA into input model<br/>bf16 export + vLLM parity check"]
M --> A["weight average with ORIGINAL base<br/>θ = 0.7·θ_ft + 0.3·θ_0"]
A --> E["eval miniF2F-valid<br/>n=8, cap 30k, seed 0"]
E --> R{"stop rule<br/>min_gain 2, patience 2,<br/>max_regress 3"}
R -- continue --> S
R -- stop --> B["best round = 1"]
V -. pass rates .-> S
Composition of this checkpoint. Let $\theta_0$ be the base and $\Delta_t$ the bf16-merged LoRA delta of round $t$ relative to that round's input model. With averaging weight $w = 0.7$ anchored on $\theta_0$:
$$\theta_t = w(\theta_{t-1} + \Delta_t) + (1-w),\theta_0 ;;\Rightarrow;; \theta_3 = \theta_0 + 0.343,\Delta_1 + 0.49,\Delta_2 + 0.7,\Delta_3 .$$
This assumes exact linear interpolation. The averaged model is written in bf16, which adds a further rounding step. The round-1 delta survives only at weight 0.343, so the three rounds compound weakly by construction.
3. Training data
3.1 Statement pool (shared by all rounds)
The pool was streamed from the mirror viai957/lean-prover-data
(problems/train_pool.jsonl and supply/screen_v1.jsonl) by scripts/p2/stream_pool.py. It read 6,000 rows and kept
5,940: it dropped 57 informal-text overlaps with protected sets and 3 duplicates, and found 0 exact protected matches.
| Source | Hub id @ revision | Licence | Pool rows | Round-3 SFT rows |
|---|---|---|---|---|
| Goedel-Pset-v1 | Goedel-LM/Goedel-Pset-v1 @ 79fc4fbe | MIT | 1,992 | 214 |
| RL-Goedel-Pset-Level-4-5 | HangHor/RL-Goedel-Pset-Level-4-5 @ 0c588300 | MIT | 997 | 37 |
| NuminaMath-LEAN-Sol | iiis-lean/NuminaMath-LEAN-Sol @ d2052841 | Apache-2.0 | 989 | 64 |
| Nemotron-Math-Proofs-v1 | nvidia/Nemotron-Math-Proofs-v1 @ 97229c59 | CC-BY-SA-4.0 | 989 | 49 |
| FormalMATH-All | SphereLab/FormalMATH-All @ 8eea2550 | MIT | 973 | 34 |
| Total | 5,940 | 398 |
The statements are the only upstream content used. The training targets are the model's own kernel-verified proofs.
Share-alike notice: 49 round-3 rows use statements from nvidia/Nemotron-Math-Proofs-v1 (CC-BY-SA-4.0, by NVIDIA).
Any dataset released from these rows must carry CC-BY-SA-4.0.
3.2 Decontamination
- Protected sets in the campaign: miniF2F-test (244 problems) and mobench (135). Protection covers statement hashes plus informal-text overlap. The EI driver refuses test-split selection (
allow_test_selection = false). - Re-check for this card (
_tools/decontam_check.py): there is 0 overlap between the 5,940 pool statements and miniF2F-valid, miniF2F-test or mobench. Bothstatement_shaand whitespace-, comment- and name-normalised theorem text were compared. - Caveat: miniF2F-valid is not in the protected list. It is clean of the pool by the check above, but it is also the campaign's stop-rule development set. It is therefore not held out from model selection.
3.3 Round-3 selection and filtering
The selector's 300 statements were 96 in-band and 204 unmeasured. No never-solved statement was selected in any round:
the 60 permitted never-solved slots were pushed past the 300 cut every time. Of the 5,940 pool statements, 4,422 were
never reached (over_max_problems).
| Step | Count |
|---|---|
| statements selected | 300 |
| generations (300 × 8 at a 16,384-token cap, sampled by the round-2 model) | 2,400 |
| Lean-accepted generations | 755 (31.5%) |
| statements with ≥ 1 accepted proof | 156 |
| too-easy statements excluded (8/8 accepted) | 29 (232 samples) |
| accepted candidates after the easy filter | 518 |
| dropped: over the 4-per-statement cap or duplicate | 120 |
| dropped: statement not faithful | 5 |
| SFT rows / statements with rows | 398 / 127 |
Figure 1. Composition of the 300 selected statements per round. Source: align/runs/campaign1/ei/round_0{1,2,3}/round_manifest.json → /selection/counts/{in_band,unmeasured}.
Figure 2. Left: selected statements, statements solved ≥ 1/8 in generation, and statements that contributed SFT rows. Right: kernel accept rate of the 2,400 generation samples per round. Each round draws different statements, so the falling accept rate (39.1% → 35.5% → 31.5%) describes the selected statements, not the models. Sources: round_0*/gen/ver_r0.jsonl and round_0*/sft_data/manifest.json (parsed by _tools/pool_stats.py).
4. Training procedure
4.1 Objective
Expert-iteration filter. For statement $x$ with samples $y^{(1..8)} \sim \pi_{\theta_{t-1}}(\cdot\mid x)$ and verifier $V(x,y) \in {0,1}$, the kept set is $\mathcal{D}_t = \bigcup_x \operatorname{shortest}_4{, y^{(i)} : V(x,y^{(i)}) = 1 ,}$. Statements solved 8/8 are excluded. This amounts to policy improvement with a binary reward and zero weight on failures. A timeout counts as no signal, never as a negative.
SFT loss. Cross-entropy on completion tokens only (prompt and padding have labels −100), with global token mean
normalisation across the accumulation window and all 4 ranks (loss_normalization = "global_token_mean"):
$$\mathcal{L}(\phi) = -\frac{1}{\sum_{b\in\mathcal{W}}\sum_{j} m_{b,j}} \sum_{b\in\mathcal{W}}\sum_{j} m_{b,j},\log \pi_{\theta+\Delta(\phi)}!\left(y_{b,j}\mid x_b, y_{b,<j}\right),$$
Here $m_{b,j}=1$ on completion tokens, and $\mathcal{W}$ is the 8 micro-batches of one optimizer step (2 accumulation × 4 ranks).
LoRA. For each target matrix $W \in {q,k,v,o,\text{gate},\text{up},\text{down}}$ in all 36 blocks (252 matrices),
$W' = W + \frac{\alpha}{r} BA$ with $r = 64$ and $\alpha = 128$. The adapters hold 174.6M fp32 parameters (4 × 43.65M
per-rank shards, from train.log).
Evaluation statistics. For $n=8$ samples with $c$ accepted, the unbiased pass@k is $\widehat{\text{pass@}k} = 1 - \binom{n-c}{k}/\binom{n}{k}$, averaged over problems. The paired comparisons use the exact two-sided McNemar test on solved@8: a binomial test on the discordant problems with $p=\tfrac12$. Confidence intervals come from 10,000 problem-level bootstrap resamples (seed 0).
No RL objective (PPO, GRPO, CISPO or DPO), no KL penalty, no reward model and no PRM were used in this model. The verifier's binary accept is the only "reward", and it acts only through data selection.
4.2 Hyperparameters
| Group | Setting | Value |
|---|---|---|
| Selection | pool / selected per round / band | 5,940 / 300 / 0 < p ≤ 0.75, include_zero with max_zero 60 |
| Generation | samples, cap, temperature, top-p, top-k | 8, 16,384, 1.0, 0.95, off |
| Verifier | Lean / Mathlib / REPL | v4.9.0-rc1 / d1d1e4b7 / 7df77c0a; strict statement mode, kernel recheck, lexical gate, axioms {propext, Quot.sound, Classical.choice}, 180 s, 8 workers (campaign rounds; the ProofForge eval rows in Section 6 used 2) |
| SFT data | max per statement, ranking, max seq len, keep easy | 4, shortest, 18,432, no |
| LoRA | r, α, dropout, targets | 64, 128, 0.0, all attention + MLP projections |
| Optimizer | type, lr, betas, wd, clip | in-repo block-wise AdamW8bit, 2e-5 peak, (0.9, 0.95), 0.0, 1.0 |
| Schedule | warmup, decay, epochs | 10% linear warmup, cosine to 0, 2 epochs |
| Batch | world × accum × micro | 4 × 2 × 1 (token budget 18,432 per micro-batch, length-grouped packing) |
| Steps (round 3) | micro / optimizer | 54 / 27 (data exhausted) |
| Parallelism | FSDP2, 36 per-block units, bf16 params, fp32 reduce, activation checkpointing, SDPA flash attention | |
| Averaging | ft weight, anchor | 0.7, original base |
| Stop rule | min_gain, patience, max_regress | 2, 2, 3 problems on miniF2F-valid solved@8 |
Config file: configs/p2_sft.toml. The campaign parameters are in round_manifest.json → /params.
4.3 Compute
| Round-3 stage | Wall time (s) |
|---|---|
| generation + verification (2,400 samples, 16.55M tokens) | 24,777.7 |
| SFT data build | 11.0 |
| LoRA SFT (4 GPUs) | 2,168.2 |
| merge / export + parity check | 206.0 |
| weight average | 209.7 |
| evaluation (1,808 samples, 8.15M tokens) | 15,824.5 |
| total | 43,201.2 (12.0 h) |
The hardware was 4× NVIDIA L4 (23,034 MiB, sm_89) over PCIe with no NVLink, on a shared host. Jobs ran under cgroup caps
(hostguard.py, 40 cores). Round-1 generation ran during earlier failed attempts and is not in its stage marker, so the
campaign total of 27.2 h (97,928 s) undercounts it.
Figure 3. Stage wall time per round. Source: round_0*/round_manifest.json → /stages/*/seconds.
5. Training curves
All curves come from the campaign's W&B sidecar log. It was decoded from the local transaction file
align/runs/campaign1/wandb/wandb/run-20261023_212613-0ca1a6eafc40/run-0ca1a6eafc40.wandb by _tools/wandb_dump.py,
which outputs _data/wandb_a.jsonl. The sidecar copies the trainer's history.jsonl rows; the raw history.jsonl files
were pruned with the round checkpoints. Each micro-step has 4 rows, one per data-parallel rank. Their summed
tokens_in_loss for round 3 is 3,027,578, close to 2 epochs × 1,523,369 completion tokens.
Figure 4. LoRA SFT cross-entropy per micro-step for rounds 1 to 3, with round 3 in violet. The line is the token-weighted mean of the 4 rank rows. Token-weighted mean loss by round: r1 0.174, r2 0.138, r3 0.119. The loss is flat inside each round (r3 first 5 steps 0.123, last 5 0.118). Source: _data/wandb_a.jsonl keys sft/loss, sft/tokens_in_loss.
Figure 5. Left: learning rate (10% warmup to 2e-5, cosine to 0). Right: pre-clip gradient norm per optimizer step. The round-3 range was 0.017 to 0.030, so the 1.0 clip never binds. Source: _data/wandb_a.jsonl keys sft/lr, sft/grad_norm.
Reading the curves. The per-token loss starts low (≈ 0.12 to 0.17 nats) because the targets are the model's own samples. It barely moves within a round. The drop between rounds mostly reflects data that is closer to the distribution of the model that generated it, not learning progress. Reward, KL and value curves do not exist: this is SFT with no RL objective. The generation accept rate (Figure 2) is the closest analogue of a reward curve.
Merge fidelity (an important negative finding). qwen3_export_check.py measured the bf16 merge of each round's LoRA
into its input model:
| Round | cosine(exported Δ, intended Δ) | relative error | Δ elements rounded to zero | mean ‖W′−W‖/‖W‖ | vLLM parity check |
|---|---|---|---|---|---|
| 1 | 0.500 | 0.880 | 87.9% | 3.49e-4 | pass |
| 2 | 0.475 | 0.892 | 88.7% | 3.03e-4 | pass |
| 3 | 0.473 | 0.894 | 88.6% | 2.98e-4 | pass |
The LoRA update is about 3e-4 of the weight norm, which is below bf16 resolution for most elements, so about 89% of the
update is lost when it is written into bf16 weights. The deployed and evaluated model is therefore not base +
adapter. The parity check only tests first-token log-prob and argmax agreement on 2 prompts (thresholds 0.25 and 0.95),
so it passes despite this. Source: round_0*/logs/export.log → merge_delta_retention, merge_relative_weight_change, verdict.
6. Evaluation
Protocol: miniF2F-valid (226 problems, align/.tmp/p2/problems/minif2f_valid.jsonl); 8
samples per problem; 30,000-token cap; T 1.0, top-p 0.95; vLLM 0.26.0 with TP 4; seed 0 unless noted. The strict
verifier (same pins + config hash) ran with a 180 s budget, and TIMEOUT, memory and crash count as failures.
The rows were not all run the same way. The campaign rows (EI r1, r2, r3, from
align/runs/campaign1/ei/round_0*/eval/) used the campaign driver with 8 Lean workers in align/.venv. The base row and the
three r1 noise-floor rows (from ProofForge/runs/p5_eval/) were launched by ProofForge/runs/p5_eval/launch_eval.py
from align/.venv-rollout with 2 Lean workers under 8-core / 60 GB caps. TIMEOUT is wall-clock based, so the
verifier worker count can change outcomes, and the headline "r3 vs base" comparison crosses this difference. All numbers were re-scored for this
card from the raw ver_n8_c30000.jsonl files by _tools/analyze.py, and they match the campaign manifests.
6.1 Hill-climb table
| Model | Seed | solved@8 | pass@1 % [95% CI] | pass@2 % | pass@4 % | pass@8 % | mean tokens | length-capped |
|---|---|---|---|---|---|---|---|---|
| base (Goedel-Prover-V2-8B) | 0 | 188 | 71.85 [66.7, 77.0] | 77.64 | 80.66 | 83.19 | 4,153 | 1.8% |
| EI r1 | 0 | 188 | 71.90 [66.8, 76.8] | 78.19 | 81.59 | 83.19 | 4,225 | 3.4% |
| EI r2 | 0 | 187 | 71.13 [65.9, 76.2] | 77.20 | 80.49 | 82.74 | 4,323 | 4.2% |
| EI r3 (this repo) | 0 | 185 | 71.96 [66.9, 76.9] | 77.92 | 80.48 | 81.86 | 4,506 | 5.0% |
| r1 noise floor: r1 seed-0 rerun | 0 | 187 | 72.57 [67.5, 77.5] | 77.94 | 80.90 | 82.74 | 4,134 | 2.9% |
| r1 | 1 | 191 | 72.35 [67.2, 77.3] | 78.30 | 81.74 | 84.51 | 4,137 | 3.1% |
| r1 | 2 | 187 | 72.29 [67.1, 77.3] | 77.78 | 80.82 | 82.74 | 4,134 | 3.0% |
Figure 6. Hill-climb from base to r3. Left: solved@8 for seed 0, plus three extra runs of r1 (circles) that show the run-to-run spread. Right: mean pass@1 with a 95% problem-level bootstrap CI. Sources: ProofForge/runs/p5_eval/{base,campaign_r1,g1_r1_seed1,g1_r1_seed2}/ver_n8_c30000.jsonl and align/runs/campaign1/ei/round_0{1,2,3}/eval/ver_n8_c30000.jsonl.
Figure 7. Unbiased pass@k for k = 1, 2, 4, 8 from n = 8. Same sources as Figure 6.
6.2 Paired comparisons (exact McNemar on solved@8; paired bootstrap on Δpass@k)
| Comparison | only A | only B | p (exact, 2-sided) | Δ pass@1 pp [95% CI] | Δ pass@8 pp [95% CI] |
|---|---|---|---|---|---|
| r3 vs base | 6 | 3 | 0.508 | +0.11 [−1.49, +1.77] | −1.33 [−3.98, +1.33] |
| r3 vs r1 | 5 | 2 | 0.453 | +0.06 [−1.44, +1.60] | −1.33 [−3.54, +0.88] |
| r3 vs r2 | 5 | 3 | 0.727 | +0.83 [−0.66, +2.27] | −0.88 [−3.54, +1.33] |
| r2 vs r1 | 3 | 2 | 1.000 | −0.77 [−2.43, +0.94] | −0.44 [−2.21, +1.33] |
| r1 vs base | 2 | 2 | 1.000 | +0.06 [−1.49, +1.60] | 0.00 [−1.77, +1.77] |
| r1 seed 1 vs r1 seed 2 (same model) | 3 | 7 | 0.344 | +0.06 [−1.60, +1.71] | +1.77 [−0.88, +4.87] |
In each row, A is the second model named and B the first. Two runs of the same r1 weights differ by 4 problems (seed 1: 191, seed 2: 187), which is more than any difference between rounds. With the same seed, r1 gave 188 (campaign eval, 8 Lean workers; 55 timeouts, 1 memory kill) and 187 (ProofForge rerun, 2 Lean workers; 61 timeouts, 6 memory kills); sampling nondeterminism and verifier-load differences are both possible causes.
Figure 8. Joint distribution of accepted samples per problem (of 8), base against r3. 96 problems are 8/8 under both models, and 35 are 0/8 under both. Source: _data/per_problem.json, built from the two ver_n8_c30000.jsonl files.
Figure 9. Verifier outcome per eval sample. For r3: 1,301 accepted, 359 compile errors, 90 with no code block, 52 timeouts, 3 memory kills, 3 banned (sorry). no_code rises from 32 (base) to 90 (r3). Source: the ver_n8_c30000.jsonl files, field reasons[0].
Figure 10. Mean completion length and share of samples stopped at the 30k cap. Both rise each round (4,153 → 4,506 tokens; 1.8% → 5.0% capped). Source: gen_n8_c30000.jsonl, len(completion_ids) and finish_reason.
6.3 External reference points (base model only, not this model)
| Measurement | Value | Source |
|---|---|---|
| Base, miniF2F-test pass@32, 40k cap (our reproduction) | 82.8% (202/244) | align/docs/evidence/sota_repro_2026-10-14/report.md |
| Base, miniF2F-test pass@32, published | 84.6% | Goedel-Prover-V2 technical report, quoted in align/docs/SOTA_TARGETS.md |
This model was not evaluated on miniF2F-test or any other benchmark.
7. Results discussion and lessons
- No gain was detected over the base at any round. Measured on valid, r1 = base = 188, r2 = 187 and r3 = 185. None of the paired tests come near significance, and the pass@1 CIs overlap almost entirely. The campaign's own write-up (
align/docs/SOTA_PLAN.md§4.1) called round 2 "flat". This card adds the base baseline, which that write-up lacked, and round 3. - The update was tiny, and most of it was then discarded. About 400 rows per round, an LR of 2e-5, 27 optimizer steps and a relative weight change of about 3e-4 make a very small update. About 89% of the delta was then rounded away in the bf16 merge, and averaging with the base at 0.7 shrank the rest. Two remedies are an fp32 or delta-preserving export (or serving the adapter unmerged) and an update large enough to survive bf16 rounding.
- The selector never trained on hard problems. Every round took in-band plus unmeasured statements. Never-solved statements were always truncated, so the loop re-fit what the model could already do. This is consistent with published experience on this base: vanilla RL is about −0.4 pp, and the gains come from new supply or self-correction (
align/docs/SOTA_TARGETS.md). - Side effects compound across rounds. Mean length (+8.5% base to r3), length-capped samples (1.8% to 5.0%) and no-code completions (32 to 90) all rose monotonically. Training on the shortest proofs did not shorten generations, and the extra failures concentrate in samples that run out of budget.
- Seed noise dominates. A 4-problem spread between runs of the same weights means that single-seed round decisions (
min_gain2,max_regress3) are mostly noise-driven. Future stop rules should use pooled seeds or larger n. - The infrastructure mostly worked, after manual intervention in round 1. The driver gave up after 8 round-1
gen_verifyfailures (2026-10-24 01:40; bug fixed infe887a6), the round-1 train crash was fixed inde55434, and the campaign was relaunched by hand twice (05:27, then 05:35 after a STOP file). The round-1 export was then SIGTERM'd at 06:12:53 by the host watchdog (align/.tmp/hostguard/events.jsonl:term_largest, PSI full 21.3 with MemAvailable 154.3 GB) and resumed from markers at 06:19. Rounds 2 and 3 then ran unattended under hostguard caps (40 cores), and the campaign stopped on its pre-registered rule. That export kill is the only watchdog kill event logged in the campaign window.
8. Intended use, limitations, risks
- Intended use: research on expert iteration and self-distillation for Lean provers, as one point of a reproducible negative hill-climb. For actual proving, the base model is at least as good on the evidence here.
- Out of scope: informal mathematics answers, natural-language chat, and any setting where an unverified proof would be trusted. Always check outputs with the Lean kernel.
- Limitations:
- Only miniF2F-valid was evaluated (n = 8, one seed per round), and it was also the stop-rule set.
- There is no held-out test number.
- Only one training seed exists.
- The evaluated weights are a lossy bf16 merge (Section 5).
- Verifier dependence: the numbers assume the pinned toolchain (Lean 4.9.0-rc1, Mathlib
d1d1e4b7) and the strict verifier configuration recorded in the eval rows (pins + config hash5436607061c6…). Separately, the frozen ProofForge verifier source (hashf1dd9e78…) scored 178/179 on its ceiling test (align/docs/SOTA_PLAN.md§4.3); the eval records do not record a verifier source revision, so that ceiling result is not tied to these runs. Other toolchains will not compile some proofs. - Risks: low. The model emits Lean code and mathematical prose, and it inherits the base model's behaviour. It may produce long or non-terminating proof attempts.
9. Reproducibility
| Item | Value |
|---|---|
| Code | github.com/viai957/align Round-1 generation + verification (the data r1 trained on) ran in the first campaign attempt (2026-10-23 18:55 IST) on the code at HEAD then: b568eed (the last commit before 18:55; uncommitted state not recorded). Later attempts skipped that stage as done. All later stages (round-1 SFT onward, rounds 2 and 3) ran at de5543454e51e1def90a78609c4799d3b8771db8 (attempt started 2026-10-24 06:19 IST). Two later commits on 2026-10-25 07:40 touched only RL code and docs. Uncommitted tree state at run time was not recorded |
| Driver | scripts/p2/campaign.sh --hours 72 --run-dir runs/campaign1 → scripts/p2/expert_iteration.py |
| SFT config | configs/p2_sft.toml |
| Base snapshot | Goedel-LM/Goedel-Prover-V2-8B @ dfd02e6271a58375dfbf3ece0175277cf6b6a89a |
| Verifier pins + config hash | 5436607061c6902afe00d3721d0a675ed63ba66242ff79719d7817d712e7dee8 |
| Weight-average fingerprint (r3) | 0b5463f825b5abfa8e5a58d9166a782e5a5987e213d17500e6b5e58d24295929 |
| Run artefacts | align/runs/campaign1/ei/round_03/{round_manifest.json, sft_data/manifest.json, logs/*.log, eval/*.jsonl} |
Round-3 training command (from round_03/stages/train.done.json):
python -m torch.distributed.run --standalone --nproc_per_node=4 scripts/sft.py configs/p2_sft.toml \
--data.shard_dir=runs/campaign1/ei/round_03/sft_data/shards \
--data.manifest_path=runs/campaign1/ei/round_03/sft_data/manifest.json \
--paths.checkpoint_dir=runs/campaign1/ei/round_03/sft \
--paths.model_snapshot=runs/campaign1/ei/round_02/avg
python -m align.model.weight_average --base <Goedel-Prover-V2-8B snapshot> --ft runs/campaign1/ei/round_03/export # ft_weight 0.7
Round-3 evaluation, verbatim from round_03/logs/eval.log (2026-10-25 04:29:34; line breaks added):
/apps/development/rlhf/align/.venv/bin/python /apps/development/rlhf/align/scripts/p2/pipeline_gen_verify.py \
--run-dir /apps/development/rlhf/align/runs/campaign1/ei/round_03/eval/run \
--gen-args '--problems .tmp/p2/problems/minif2f_valid.jsonl --out /apps/development/rlhf/align/runs/campaign1/ei/round_03/eval/gen_n8_c30000.jsonl --model /apps/development/rlhf/align/runs/campaign1/ei/round_03/avg --model-rev campaign-r3 --n 8 --cap-tokens 30000 --round 0 --tp 4 --seed 0' \
--problems .tmp/p2/problems/minif2f_valid.jsonl \
--verify-out /apps/development/rlhf/align/runs/campaign1/ei/round_03/eval/ver_n8_c30000.jsonl \
--workers 8
The r1 and r2 campaign rows used the same command with their own round paths. The base row and the r1 noise-floor rows
were launched by ProofForge/runs/p5_eval/launch_eval.py, which builds the same pipeline_gen_verify.py call with
--workers 2 and hostguard caps of 8 cores / 60 GB.
Minimal inference:
from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "viai957/Goedel-Prover-V2-8B-EI-campaign1-r3"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="bfloat16", device_map="auto")
stmt = ("/-- Expand the following expression: $7(3y+2)$ Show that it is 21y+14.-/\n"
"theorem mathd_algebra_182\n (y : ℂ) :\n 7 * (3 * y + 2) = 21 * y + 14 := by sorry")
header = "import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology Rat\n\n"
prompt = (f"Complete the following Lean 4 code:\n\n```lean4\n{header}{stmt}```\n\n"
"Before producing the Lean 4 code to formally prove the given theorem, provide a detailed proof plan outlining "
"the main proof steps and strategies.\nThe plan should highlight key ideas, intermediate lemmas, and proof "
"structures that will guide the construction of the final formal proof.")
ids = tok.apply_chat_template([{"role": "user", "content": prompt}], add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=30000, do_sample=True, temperature=1.0, top_p=0.95)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))
The user message above is copied verbatim from an evaluation record (round_03/eval/gen_n8_c30000.jsonl, mathd_algebra_182). The evaluation's prompt-rendering hash is
83d0bbb991e99eb897681f5297ba79a3dfd94fbab76309e66b96fa7ddca0c155 (prompt_render_sha256 in the eval manifest).
The per-file sha256 table of the uploaded weights is in this repo's previous README revision, generated by ProofForge's
publish.py at tool commit 17f47bef.
10. Related repositories, licence, citation
| Repo | Relation |
|---|---|
| viai957/Goedel-Prover-V2-8B-EI-campaign1-r1 | round 1 (the stop rule's best round) |
| viai957/Goedel-Prover-V2-8B-EI-campaign1-r2 | round 2 (input to this round's LoRA) |
| viai957/lean-prover-data | statement pool mirror |
viai957/proofforge-eval-vault (private, not publicly accessible) | ProofForge evaluation records |
| viai957/align · GitHub | training / verification code |
| Goedel-LM/Goedel-Prover-V2-8B | base model |
Licence: Apache-2.0, as for the base. The statement sources keep their own licences (Section 3.1), including CC-BY-SA-4.0 for the Nemotron-Math-Proofs-v1 statements.
@misc{viai957_goedel8b_ei_campaign1_r3_2026,
title = {Goedel-Prover-V2-8B-EI-campaign1-r3: a negative expert-iteration result on miniF2F-valid},
author = {viai957},
year = {2026},
howpublished = {\url{https://huggingface.co/viai957/Goedel-Prover-V2-8B-EI-campaign1-r3}},
note = {Round 3 of 3; LoRA rejection-sampling SFT with Lean 4 kernel verification; base Goedel-LM/Goedel-Prover-V2-8B}
}
@misc{goedelproverv2_8b,
title = {Goedel-Prover-V2-8B},
author = {{Goedel-LM}},
year = {2025},
howpublished = {\url{https://huggingface.co/Goedel-LM/Goedel-Prover-V2-8B}},
note = {Base model; cite the Goedel-Prover-V2 technical report as listed on its model card}
}
Every number in this card is mapped to its source file and field in evidence.json, stored alongside this card.