betaFeedback

WorksComputer Science

LeanPRM: Lean-Grounded Process Supervision for Natural Language Proof Verification

Abstract

AI systems now write long and difficult mathematical proofs, and checking their step-by-step validity is becoming a bottleneck. A learned verifier could check proofs cheaply, but training one requires a correctness label on every step, and such labels are hard to obtain for open-ended proofs. Existing methods take them from human annotators, which is costly, or derive them from final answers, which proofs do not have, and formalizing each proof in Lean requires expert effort. We introduce LeanPRM, a framework that uses the Lean proof assistant to create step-level labels for natural-language proofs. A model writes a natural-language proof together with a paired formal proof, without feedback from Lean. Lean then labels every step, and a second model discards failures caused only by the formal syntax, so that the negative labels mark errors in the mathematics. LeanPRM contains 10,634 proofs with 152K labeled steps and no human annotation. A Qwen3-4B verifier trained on LeanPRM raises exact step-label accuracy on a held-out set of 200 proofs (LeanPRM-Bench) from 48.2 to 74.7, as opposed to 60.3 when the same base model is trained on PRM800K. It also selects better proofs in best-of-N selection on IMO-level problems, and outperforms the PRM800K-trained verifier on three of four external verification benchmarks. Training on LeanPRM improves verifiers at every size from 0.6B to 8B parameters on LeanPRM-Bench, Hard2Verify and IMO-GradingBench. Given the labels need no human annotation, LeanPRM can grow with the supply of formal statements, offering a path to step-level feedback on AI-generated proofs that are hard for humans to check.

Introduction

As AI systems become more capable, they are increasingly able to produce long and difficult mathematical proofs, including solutions to long-standing open problems [1, 30]. At the same time, it is becoming harder to verify the correctness of these proofs. Existing verifiers, including outcome and process reward models, were built for problems with a short checkable final answer [19, 34, 47], whereas a proof has no final answer to check; its correctness lies in whether every step follows from the ones before it. Formal verification in a proof assistant such as Lean offers an alternative, but translating an informal proof into a formal language is itself difficult and requires expert-level effort. As a result, evaluating the proofs that AI systems produce is hard, especially for non-experts, and reliable supervision for training future systems is scarce.

A verifier trained on natural-language proofs could work well, but training it requires a correctness label on every step, and such labels are scarce for open-ended proofs. Human annotation is expensive even for short math problem solutions, as PRM800K needed about 800,000 step labels [19]. To address this challenge, we introduce LeanPRM, a framework that uses the Lean proof assistant [8], an exact mechanical checker, to create correctness labels for informal math proofs. In LeanPRM, each natural-language step is paired with a formal step; we use Lean to check the formal step, and the result becomes the label of the corresponding natural-language step. Lean is used only to build the training data, and the trained verifier works directly with natural language.

We explain how we build the data in Figure 1 and give the full procedure in § 2. For each theorem statement we ask a model to prove it in a single pass, writing each step in natural language together with its corresponding Lean step. The model never sees the output of running the Lean step it generated. If it could, it would repair its mistakes or give up, and we would lose the genuine errors we wish to label. As a result, the errors in LeanPRM are the model’s own, and we don’t have to prompt it in order to induce them. Following this we run Lean verification on the formal proof. Steps before the first failing Lean step are labeled correct, and the failing step and every later step are labeled incorrect. A step can also fail for purely formal reasons while the mathematics is sound, so we use a second model call to read the Lean error message, repair syntax errors once and classify the failure. We keep only proofs whose first failure is a mathematical error. In total we obtain 10,634 labeled proofs with 152,005 step labels and no human annotation, which we release together with LeanPRM-Bench, a held-out benchmark of 200 proofs.

Figure 1. Overview of LeanPRM, with one example from the corpus running through it. Top row: In Stage 1 an LLM writes a proof attempt from the theorem statement alone, where each natural-language step is paired with its formal step; we use Lean to check the step correctness in order. Bottom row: Stage 2 decides whether the first failure lies in the mathematics or only in the formal syntax (syntax failures are patched and rechecked once); the verifier model is trained on the natural-language steps and their labels only. Here step 5 asserts without justification that conjugation by yy fixes xx, so steps 1 to 4 are labeled correct and steps 5 and 6 incorrect.

In our experiments, we use LeanPRM to train verifier models for natural language. The results show improved performance relative to the same training process applied to the human labels of PRM800K. With the same model, training recipe and number of updates, LeanPRM-Verifier-4B beats the PRM800K-trained verifier on four of five benchmarks, by 14.4 points of exact step-label accuracy on LeanPRM-Bench and by 9.7 and 9.4 points on Hard2Verify and IMO-GradingBench. It also picks correct proofs more often than random selection in best-of-N on IMO-level problems, where the PRM800K verifier stays close to chance. Training on LeanPRM improves verifiers at every size we tried, from 0.6B to 8B parameters, on LeanPRM-Bench, Hard2Verify and IMO-GradingBench. We provide detailed results in § 3.

We make three contributions.

  • LeanPRM, to our knowledge the first framework that uses Lean to produce step-level correctness labels for natural-language proofs at scale, and its corpus of 10,634 labeled proofs (§ 2).

  • LeanPRM-Bench, a held-out benchmark of 200 natural-language proofs with step labels, which we release for evaluating proof verifiers (§ 2.2).

  • A controlled evaluation showing that, with the same recipe and training budget, verifiers trained on LeanPRM outperform verifiers trained on existing human-labeled verification data on four of five benchmarks, select better proofs at test time on IMO-level problems, and improve at every model size from 0.6B to 8B on three of the five benchmarks (§ 3).

Because LeanPRM needs no human in the loop, the difficulty of its data is set by the prover rather than by the availability of expert annotators: as stronger provers write longer and harder proofs, the same pipeline can supervise stronger verifiers. More broadly, LeanPRM shows that a formal checker can supervise a model that never sees formal language at test time, so that synthetic data grounded in Lean transfers to informal reasoning. In future work, we hope to extend this formal-to-informal generalization beyond mathematics, to domains where parts of an argument can be checked mechanically even when the argument as a whole is written in natural language.

LeanPRM: Lean-Grounded Process Supervision

We introduce LeanPRM, a framework for generating natural-language proofs with correctness labels on every step, grounded in Lean. Lean is a proof assistant that checks formal proofs and tactics are commands used to construct them [8]. The framework has two stages (Figure 1): (i) a model writes a natural-language proof together with a formal proof in Lean, pairing each natural-language step with the corresponding Lean tactic, and (ii) Lean compiles the formal proof and a second model reviews the result. If compilation failed, the second model decides whether the failure is a mathematical error or only a syntax error, which it attempts to repair once. If compilation succeeded, it checks that the natural-language steps state the same mathematics as the formal proof. Up to the first failure, each natural-language step is labeled by the outcome of its tactic. Every step subsequent to the first failure is labeled incorrect.

Stage 1: Proof generation. We start from about 17,800 distinct theorem statements from public formal corpora, mostly from NuminaMath-LEan [46] and Lean-Workbook [Lin et al., 2025a, Ying et al., [53]] (Figure 2, with all sources listed in Appendix § 9). The seed statements span algebra, inequalities, number theory, and existence problems, with some calculus and combinatorics. NuminaMath statements are selected from the “hard” tier assigned by Gemini Flash-Lite, and Lean-Workbook is sampled by statement category without difficulty labels. For each statement, one model call writes a proof attempt as numbered steps, each a sentence of ordinary mathematical prose paired with the formal step that carries it out (prompt in Appendix § 16). The model sees only the statement and generates a proof in one shot, without receiving feedback from the checker. The model is always asked to prove the theorem and is never instructed to make a mistake, so every error in LeanPRM is one the model made while genuinely trying to produce a proof. Because many statements were selected for difficulty (Appendix § 9), many of these genuine attempts fail. We used Claude Sonnet 5 for most theorems and Claude Opus 4.8 for an earlier subset.

Figure 2. Composition of LeanPRM. Left: sources of the 10,634 theorems. Right: error class of the first failing step in each of the 4,264 incorrect proofs. Bars show percentages of incorrect proofs. Every incorrect proof fails first at a mathematical error, most often an unjustified assumption.

Stage 2: Verification and error classification. The frozen formal proof is compiled with Lean 4 and Mathlib (both v4.25.0-rc2), and no compiler output is shown to the generator. Because each sentence was written with its own formal step, a compilation error points to exactly one step. A formal step can fail to compile even when the mathematics is right, so a second and final model call reads the statement, the steps and the compiler output and returns a verdict on the step. The verdict may be correct (the proof compiled and its natural language description is faithful to it), mathematical error (the call names the first failing step and assigns it an error class), or syntax error (the call gets a single attempt to patch the corresponding Lean step without changing the mathematics, and the patched proof is kept only if it then compiles). At this stage, the proof may also be discarded due to an ill-posed statement, malformed output, or prose and formal proof that disagree. A proof that compiles is labeled correct at every step. Otherwise, the first failing step and every step after it are labeled incorrect. On steps that are true but inadequately justified, this approach can differ from ProcessBench [Zheng et al., [58]], which counts a missing justification as an error only when it affects the validity of the solution (Appendix § 14).

LeanPRM Corpus

Stage 2 produces a labeled proof for 13,940 of these statements, and 13,007 remain after the lexical filters and the removal of duplicate and empty proofs. After the quality control described below, LeanPRM contains 10,634 natural-language proofs, 6,370 correct and 4,264 incorrect, with 152,005 labeled steps, obtained with no human annotation. Of these, 98% come from NuminaMath-LEAN and Lean-Workbook. Table 4 in Appendix § 9 breaks the corpus down by source and split.

CorrectIncorrectTotal
NuminaMath1,3343,9785,312
Lean-Workbook4,7872845,071
Pythagoras2301231
Herald13114
ProofNet606
Training6,1704,09410,264
Validation10070170
LeanPRM-Bench100100200
LeanPRM6,3704,26410,634

Table 4. Size of LeanPRM by source (top) and by split (bottom); each theorem contributes one proof. NuminaMath supplies most of the incorrect proofs and Lean-Workbook most of the correct ones.

Error taxonomy. Stage 2 assigns each reasoning error one of ten classes. Six describe mathematical faults: unjustified assumptions, invalid inequality bounds, wrong witnesses or constructions, missing cases or side conditions, faulty algebraic identities, and errors in modular or divisibility reasoning. The other four describe failures of the formalization rather than of the mathematics. Examples of these errors include a lemma applied where its formal hypotheses do not hold, a rewrite in the wrong direction, automation asked to close a goal it cannot, and a residual class for anything else. Appendix § 8 gives the definitions the classifier works from.

Quality control. Because the corpus has no human annotations, we checked the automatic Stage 2 labels with two blind audits using Claude Opus 5 as the judge. The judge never saw our labels (prompts in Appendix § 16). In the first audit, the judge read 100 stratified proofs from the unfiltered pool and named the first incorrect step, if any. It returned a usable answer for 99 of them. It disputed 1 of the 52 proofs we label correct. Of the 47 we label incorrect, it found an error in 27 and none in 20. The second audit shows where that disagreement comes from (Table 1). Among 30 flagged steps per class, steps in the formalization-side classes, 35.8% of the incorrect attempts in the pool, were judged sound in 77% to 93% of cases, while steps in the mathematical classes were judged sound less than half the time. We therefore remove every attempt whose first failure is formalization-side, so every negative in LeanPRM carries a mathematical error class.

First-error classJudged soundShare of errors
Formalization-side
Wrong rewrite direction28/302.7%
Theorem misapplication26/309.2%
Other26/309.5%
Automation misuse23/3013.4%
Mathematical
Unjustified assumption13/3021.3%
Invalid inequality bound13/3011.3%

Table 1. Blind audit of flagged steps, 30 per class (all formalization-side classes and the two largest mathematical ones). Judged sound: correct and justified. Share of errors: fraction of incorrect proofs in the unfiltered pool. Formalization-side steps are mostly sound. Mathematical steps are mostly not sound.

We additionally use lexical filters to make sure the natural language proofs do not reference Lean and remove incorrect proofs whose failing step states its own error (Appendix § 9). Mathematical steps are judged sound in 13 of 30 cases because these are mostly correct steps whose Lean step failed for formal reasons and that Stage 2 classified as mathematical errors, as noted in § 5.

LeanPRM-Bench

LeanPRM-Bench is a held-out set of 200 theorems, 100 with a correct proof and 100 with an incorrect one. No benchmark theorem appears in the training data. A proof is labeled correct if its Lean code compiles and a reviewing model confirms that the natural-language steps match the formal proof. Every incorrect proof first fails at a mathematical error (Appendix § 9). The benchmark is hard for current models: prompted with the same instructions, four commercial models (Claude Sonnet 5, Claude Opus 5, Claude Fable 5.1 and GPT-5.6 Sol) reach 71.7 to 80.3 mean exact step-label accuracy over three independent runs (Table 2). In their original reference runs, all four mislabel the same 26 proofs (Appendix § 10). We report exact step-label accuracy, the fraction of proofs labeled correctly at every step (Table 2). We release LeanPRM-Bench with its step labels, error classes and formal proofs.

LeanPRM-Bench exactHard2Verify response BAProcessBench avg. F1PRMBench first err.IMO-GB BA
Qwen3-4B (initial policy)48.2 ±\pm1.337.1 ±\pm4.574.3 ±\pm0.542.5 ±\pm0.553.8 ±\pm0.1
PRM800K-Verifier-4B60.3 ±\pm1.663.1 ±\pm0.683.0 ±\pm0.343.3 ±\pm0.357.0 ±\pm0.4
NuminaMath-Solver-4B48.3 ±\pm1.033.6 ±\pm3.471.2 ±\pm0.941.5 ±\pm0.252.4 ±\pm0.4
LeanPRM-Verifier-4B (ours)74.7 ±\pm1.872.8 ±\pm0.974.9 ±\pm0.447.4 ±\pm0.266.4 ±\pm1.1
LeanPRM-Verifier-4B†78.7 ±\pm1.379.0 ±\pm0.772.6 ±\pm0.348.3 ±\pm0.271.8 ±\pm1.0
Claude Sonnet 571.7 ±\pm0.283.1 ±\pm0.484.9 ±\pm0.448.6 ±\pm0.180.7 ±\pm0.4
Claude Opus 580.3 ±\pm1.281.0 ±\pm0.284.5 ±\pm0.147.6 ±\pm0.281.8 ±\pm0.3
Claude Fable 5.178.3 ±\pm0.686.0 ±\pm0.784.7 ±\pm0.048.6 ±\pm0.185.4 ±\pm0.8
GPT-5.6 Sol75.3 ±\pm1.285.5 ±\pm1.479.8 ±\pm0.247.1 ±\pm0.383.2 ±\pm0.4

Table 2. Verification accuracy. Open-weight models use temperature 1. Commercial-model settings are given in Appendix § 12. LeanPRM-Bench is scored by exact step-label accuracy (§ 2.2), and the other columns use the metrics of § 3. The top block compares 4B models trained for 500 updates with the same recipe, with the untrained model for reference, and bold marks the best value in that block. The bottom block holds reference rows: †a separate 4B run of 1,582 updates, only the last 300 of them on LeanPRM (Appendix § 11), and commercial models prompted rather than trained for the task. At equal training, LeanPRM-Verifier-4B is best on four of the five benchmarks. Entries report mean ±\pm population standard deviation over three evaluation runs (Appendix § 12).

Experiments

Training. The verifier reads a theorem and its numbered steps, writes its reasoning, and then gives each step a label, correct or incorrect, and the proof an overall verdict (prompt in Appendix § 16). We train Qwen3 models [50] with 0.6B, 4B and 8B parameters, in thinking mode, with group relative policy optimization [GRPO, [38]]. For each proof we sample eight responses at temperature 1, normalize their rewards within the group, and use the normalized reward as the advantage of every token in the response. The importance ratio is clipped to [0.8, 1.26], and a KL penalty with coefficient 10−310^{-3} keeps the policy close to the initial model. Each update uses 64 proofs and a learning rate of 10−610^{-6}. Every trained model in the main comparison gets 500 updates with this configuration. The PRM800K baseline changes the training data. The NuminaMath solver also replaces the verification reward with a final-answer reward. Those 500 updates cover 32, 000 proofs: 3.12 passes over the 10,264 LeanPRM training proofs and 0.45 over the 70,502 PRM800K training proofs. Appendix § 17 lists every hyperparameter.

Reward. Let RcR_c be the fraction of truly correct steps that the verifier labels correct and RiR_i the fraction of truly incorrect steps that it labels incorrect, each set to 1 when there are no such steps. With predicted verdict v^\hat{v} and true verdict vv, the reward is

r=0.7⋅Rstep+0.3⋅1[v^=v],r = 0.7 \cdot R_{\mathrm{step}} + 0.3 \cdot1[\hat{v}=v],
Rstep={RcRiif the proof contains an error,1[every step labeled correct]otherwise.(1)R_{\mathrm{step}} = \begin{cases} R_c R_i & \text{if the proof contains an error},\\ 1[\text{every step labeled correct}] & \text{otherwise}. \end{cases} \tag*{(1)}

On a proof containing both correct and incorrect steps, the product rules out both constant-label shortcuts. Labeling every step correct gives Ri=0R_i = 0, and labeling every step incorrect gives Rc=0R_c = 0. If the first step is incorrect, all steps are incorrect under our labeling convention and the empty-class recall is 1. For the proof in Figure 1, whose steps 5 and 6 are incorrect, a verifier that flags only step 6 gets Rc=1R_c = 1 and Ri=1/2R_i = 1/2, so Rstep=0.5R_{\mathrm{step}} = 0.5 and, with the verdict necessarily incorrect, r=0.65r = 0.65. The reward is 0 when the output is malformed, has no reasoning section, or gives a verdict that contradicts its own step labels.

Evaluation. We evaluate on LeanPRM-Bench and on four external benchmarks, each on its full evaluation set, apart from the 13 context-length exclusions on IMO-GradingBench described in Appendix § 12, and with one metric per benchmark. We use Hard2Verify [32] (response-level balanced accuracy), ProcessBench [58] (F1, the harmonic mean of accuracy on errors and correct solutions, averaged over its four subsets, 3,400 test cases), PRMBench [42] (first-error accuracy over 6,216 rows, not its default PRMScore, which marks only the erroneous steps as incorrect and so would penalize every model for following our instruction to label all steps after the first error incorrect) and IMO-GradingBench [26] (balanced accuracy on the grade binarized to fully correct or not, instead of its four-way accuracy, since our verifiers give a binary verdict and only about 30% of its proofs are graded correct). All models get the same prompt layout and label parser, with hosted-response formatting normalization described in Appendix § 12. A response that fails to parse counts as wrong. We report means over three runs, using decoding seeds 42, 43, and 44 at temperature 1 for open-weight models and independent hosted runs for commercial models (Appendix § 12).

Baselines. We compare with the untrained Qwen3-4B and with two models trained by the same recipe on other data: one on PRM800K [19], converted to our step-label format (PRM800K-Verifier-4B), and one with reinforcement learning on solving 19,200 NuminaMath problems with a final-answer reward (NuminaMath-Solver-4B), which tests whether verification ability comes from mathematical reinforcement learning alone. For reference we also prompt four commercial models with the same instructions: Claude Sonnet 5, Opus 5 and Fable 5.1 through the Anthropic API with extended thinking, and GPT-5.6 Sol through the Codex command-line interface with every tool disabled (Appendix § 12). Both trained baselines change little on their own validation data over the second half of their 500 updates (Figure 4, middle), so the 500 step budget is a reasonable setting.

Figure 4. Training curves and test-time selection. Left: exact step-label accuracy on the LeanPRM validation split during training, for the verifiers trained from Qwen3 base models of three sizes; the 4B point at update 300 was measured separately with the same greedy protocol. Middle: the two trained baselines on their own validation splits, PRM800K-Verifier-4B by exact accuracy and NuminaMath-Solver-4B by final-answer accuracy. Right: best-of-NN selection on IMO-GradingBench, the share of selected proofs graded correct, averaged over the 30 problems and three decoding seeds (shaded band: one standard deviation); the dotted line is random selection. LeanPRM-Verifier-4B picks better proofs as NN grows, while PRM800K-Verifier-4B stays near chance.

Results

Process verification benchmarks. Table 2 and Figure 3 give the main comparison. At the same budget, LeanPRM-Verifier-4B beats PRM800K-Verifier-4B on four of the five benchmarks: by 14.4 points on LeanPRM-Bench, 9.7 on Hard2Verify, 4.1 on PRMBench and 9.4 on IMO-GradingBench. PRM800K-Verifier-4B keeps a 8.1-point lead on ProcessBench, whose short solutions come from the same distribution as its training data and whose labels, unlike ours, count a missing justification as an error only when it affects the validity of the solution (Appendix § 14). Reinforcement learning on solving does not produce a verifier: NuminaMath-Solver-4B raises final-answer accuracy on its own validation problems from 30.0% to 47.5%, yet stays within a point of the untrained model on LeanPRM-Bench and falls below it on every external benchmark. We additionally report results for a longer LeanPRM training run denoted as LeanPRM-Verifier-4B†: 532 updates on proofs from an earlier joint-generation procedure, 750 on the unfiltered pool and 300 on LeanPRM (Appendix § 11). Its data differ as well as its length, so we report it only for reference. We report results for the commercial models as a reference too. They lead on Hard2Verify, ProcessBench and IMO-GradingBench, and Appendix § 10 discusses the 26 LeanPRM-Bench proofs that all four mislabel in their original reference runs. Standard deviations across seeds are at most 3.2 points for the trained verifiers across decoding seeds.

Figure 3. The top block of Table 2 per benchmark: 4B models trained for 500 updates with the same recipe, and the untrained model. Bars are means over three decoding seeds with one standard deviation as error bars. LeanPRM-Verifier-4B is best on four of the five benchmarks and PRM800K-Verifier-4B on ProcessBench.

Test-time scaling. A verifier is useful at test time if it can pick a good proof out of several attempts. We measure this on IMO-GradingBench, which has about 33 human-graded proofs for each of its 30 problems. For each problem we draw NN proofs, let the verifier pick one it accepts (at random among those it accepts, or among all of them if it accepts none), and record whether that proof is graded correct. Figure 4 (right) shows the result. At N=16N = 16, LeanPRM-Verifier-4B picks a correct proof 35.9% of the time, against 32.4% for random selection, and its advantage grows with NN up to

N=8N = 8. PRM800K-Verifier-4B, trained with the same recipe and budget, reaches 33.2%: it accepts about 79% of all proofs although only 30% are graded correct, so its picks differ little from chance.

Model scale. We compare verifiers trained from Qwen3 base models of 0.6B, 4B and 8B parameters in Figure 5, with the numbers in Appendix § 13. Training helps at every size on LeanPRM-Bench, Hard2Verify and IMO-GradingBench. After 500 updates the gain on LeanPRM-Bench over the untrained model is 31 points at 0.6B, 27 at 4B and 29 at 8B. The untrained 8B model starts 2.5 points below the untrained 4B model on LeanPRM-Bench (45.7 against 48.2), so its larger gain only brings it level with the 4B model. The 0.6B model nevertheless stays far behind. Before training it produces well-formed labels for fewer than one proof in five on Hard2Verify, ProcessBench and PRMBench, and after training it is 21 points below the 4B model on LeanPRM-Bench. The 4B and 8B models reach nearly the same LeanPRM-Bench accuracy, 74.7 and 75.0, and are within 0.8 points of each other on PRMBench and IMO-GradingBench; the 8B model is 4.4 points ahead on ProcessBench and the 4B model is ahead on Hard2Verify. Formatting failures contribute to that gap. The 8B model returns an unparsable answer for 9% of Hard2Verify proofs, against 2% for the 4B model, and on the answers that parse the two score 74.7 and 75.1. On ProcessBench and PRMBench, the 8B model starts highest (79.5 and 47.6) and ends within 0.4 points of its untrained scores. Figure 4 (left) shows validation accuracy during training for the three sizes.

Figure 5. Accuracy before and after training on LeanPRM, by model size. Each panel is one benchmark; open circles are the untrained Qwen3 models and filled circles the trained verifiers after 500 updates. Training improves every model on LeanPRM-Bench, Hard2Verify and IMO-GradingBench; the untrained 0.6B model scores near zero on three benchmarks because it rarely produces well-formed labels. Points and error bars show the mean and population standard deviation over three decoding seeds.

Related Work

LeanPRM draws on two lines of work. Process supervision trains verifiers on step-level labels, which mostly come from human annotators or from the outcomes of sampled continuations. Formal mathematics offers exact checking, which has mainly been used to train and evaluate provers that write Lean. We connect the two by using Lean only to label natural-language proofs, and the verifier we train never sees a formal proof.

MethodStep labels fromNo human step labelsOpen-ended proofsError classesTrained verifier
PRM800K [19]Human annotators✗✗✗✓
Math-Shepherd [47]Rollouts✓✗✗✓
OmegaPRM [25]Rollouts (tree search)✓✗✗✓
FoVer [14]Z3, Isabelle✓✗✗✓
Safe [23]Lean 4✓✗✗✗
TP-as-a-Judge [17]Lean 4 (per solution)✓✗✗✗
LeanTutor [33]Lean 4✓✓✓✗
LeanPRM (ours)Lean 4✓✓✓✓

Table 3. Sources of step-level labels in prior work and in LeanPRM. For each method we give the origin of its step labels and whether they avoid human annotation, cover open-ended natural-language proofs, give each failing step a mathematical error type, and train a verifier that reads the proof text. Only LeanPRM does all four.

Process supervision. Lightman et al. [ [19] scaled up process supervision for mathematical reasoning with human step-level annotations. Subsequent work reduces this annotation cost by deriving process supervision from outcome signals: Math-Shepherd estimates step quality from the correctness of sampled continuations [47], OmegaPRM scales such annotation using tree search [25], and RL Tango trains a generative process verifier directly from outcome-level rewards [54]. Outcome-trained verifiers were introduced for word problems by Cobbe et al. [ [7], and Uesato et al. [ [45] ran the first comprehensive comparison of process- and outcome-based feedback on a natural-language task; later work scales automated step labels through rollouts and value estimates [24, 37], casts verification as generation [55], and distills practical lessons for training process reward models [56], and such verifiers are what makes test-time search effective [27, 41], since models struggle to correct their own reasoning without external feedback [12].

These approaches obtain labels from the model-generated solution distribution, either through human judgment or through rollout statistics. We instead obtain them from an external decision procedure, which makes the correctness criterion explicit and independent of the model being supervised. In this direction, FoVer [14] is closely related. It trains process reward models on formal reasoning traces labeled with Z3 and Isabelle, then evaluates their transfer to natural-language reasoning. LeanPRM instead trains directly on natural-language competition proofs paired with Lean tactics and distinguishes mathematical errors from formalization failures. Safe [23] checks each step of a natural-language solution in Lean 4 to score solutions at inference, and Theorem Prover as a Judge [17] uses Lean verdicts on whole solutions to select fine-tuning data.

Formal mathematics. Lean 4 [8] and Mathlib [43] have been widely used to construct data and train formal theorem provers [21, 51] and autoformalizers [10]. Provers such as DeepSeek-Prover [35, 49], Kimina-Prover [46], Goedel-Prover-V2 [22] and Seed-Prover [6] learn from proof-assistant feedback, Lean-Star interleaves informal thoughts with tactics [20], and miniF2F and PutnamBench track their progress [44, 59]. Autoformalization [48] and formalized problem sets such as Lean Workbook [53] supply the statements, informal proofs can be mapped to formal proof sketches [13], and Yang et al. [ [52] survey the field.

Recent work also uses formal verification to evaluate natural-language reasoning [60], to check key steps during inference [31], or to provide training signals for natural-language reasoning [5] and formal proof generation [15]. DeepTheorem uses automatically verifiable theorem outcomes [57], while DeepSeekMath-V2 trains natural-language provers with a learned proof verifier [39]. LeanTutor [33] checks student proofs step by step in Lean to give feedback. Ananthula and Kumarappan [2026] train language models so that their written explanations carry a verifier’s verdict, such as whether Lean accepts a proof, and find that the explanations can carry this information and still not reflect how the model reached its answer. Our work instead uses such step labels, at scale, as training data for a verifier that reads only natural language, providing supervision that is more scalable than expert annotation and more mechanically grounded than model judgments. Our use of the checker differs in that the object being supervised is natural-language reasoning: the formal proof is never the model’s output and never appears in its input.

Verifier training and evaluation. Our verifiers are trained with group-relative policy optimization [38], a variant of PPO [36] that DeepSeek-R1 scaled to reasoning [9], implemented in VERL [40]. The prover-verifier framing follows Anil et al. [2021], as applied to language models by Kirchner et al. [2024], and critic models that surface errors in model outputs [29] are the closest analog outside mathematics.

Evaluation of step-level verifiers has been addressed by ProcessBench [58], which measures identification of the first erroneous step in short solutions to grade-school, competition and Olympiad-level problems, including GSM8K and MATH [7, 11], PRMBench [42], which probes specific failure modes of process reward models, and Hard2Verify [32], which targets proofs whose correctness is difficult to establish. Appendix G discusses how a benchmark’s annotation convention can interact with the convention used in training.

Conclusion

We introduced LeanPRM, a framework that uses Lean to label every step of natural-language proofs, trained verifiers on its corpus of 10,634 proofs, and released a held-out benchmark, LeanPRM-Bench. With the same recipe and training budget, these verifiers outperform verifiers trained on the human labels of PRM800K on four of five benchmarks, and they pick better proofs at test time. A formal tool can therefore be used to train verifiers for informal reasoning, without autoformalization. Lean is needed only once, offline, to build the training data, and the verifier it produces checks natural language directly.

Limitations. LeanPRM separates failures of the formal encoding from errors in the mathematics, and the audit in § 2.1 shows that the classes it removes consist mostly of sound steps. The separation itself relies on a model’s classification, checked with a single judge model on a sample, so some borderline steps may still carry the wrong label. We compared Lean labels with the human labels of PRM800K but did not train on the same proofs labeled by an LLM judge, so we cannot yet say how much of the gain comes from the labels and how much from training on proof-style data. LeanPRM-Bench comes from the same pipeline and the same Claude generators as the training data, so the four external benchmarks carry most of the evidence that the verifiers generalize. Because negative examples come from Claude’s own mistakes, they may cover a narrower range of errors than a proof verifier should detect.

Future work. We believe the same methodology for generating verifier training data could carry over to other open-ended tasks that have no final answer but contain parts an exact checker can verify, such as test suites for code or simulators for science. Within mathematics, generating new theorem statements would let the corpus grow beyond existing formal collections in size and difficulty. Verifiers trained on LeanPRM could also serve as reward models, for training provers and for giving step-level feedback on proofs too hard for people to check, which becomes more important as models approach and exceed human expertise.

Acknowledgments

We thank Tengyu Ma, Yuhong Geng, Siyan Zhao, and Liwei Jiang for helpful discussions, feedback, and suggestions throughout the development of this project. This work was funded in part by the DARPA expMath program (Agreement No. HR0011262E029). Pavel Izmailov and Salman Rahman were supported by a grant from the Alignment Project, funded by the UK AI Security Institute (grant APS2-100141). Saadia Gabriel was supported by a Google ML & Systems Junior Faculty Award. Any opinions, findings, conclusions, or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of DARPA, or the authors’ affiliated institutions.

Appendix

Appendix § 8 defines the ten error classes of § 2.1, and Appendix § 9 gives the data sources, the lexical filters and the splits behind § 2.1. Appendix § 10 examines the LeanPRM-Bench proofs that the commercial models mislabel (§ 3.1). Appendices § 11 and § 12 give the training and evaluation details of § 3, and Appendix § 14 discusses the ProcessBench result. Appendix § 13 gives the model-scale numbers behind Figure 5. Appendix § 15 shows further corpus examples, Appendix § 16 lists every prompt, and Appendix § 17 gives the hyperparameters.

Error classes

Stage 2 assigns each reasoning error one of ten classes, defined in its instructions as follows. The mathematical classes are: algebraic identity error, a false or invalid algebraic manipulation; invalid inequality bound, a bound with the wrong direction or without justification; bad witness or construction, a wrong witness for an existential claim or an invalid construction; modular or divisibility error, incorrect modular arithmetic or divisibility reasoning; missing case or side condition, a required case or side condition that is omitted; and unjustified assumption, a claim asserted without support from the preceding steps. The formalization-side classes are: theorem misapplication, a lemma applied where its hypotheses do not hold as stated; wrong rewrite direction, an invalid or reversed rewrite or substitution; automation misuse, a claim that automation discharges a goal it cannot; and other, a failure not captured by the classes above. Attempts whose failure was recorded without a class are reported as unclassified.

Data sources, filtering and splits

Theorem statements come from a difficulty-filtered subset of NuminaMath-LEAN [46], Lean-Workbook [21, 53], Pythagoras [18], Herald [10], ProofNet [Azerbayev et al., 2023] and FormalQualBench [28]. Table 4 gives the composition of LeanPRM by source and by split.

Theorem identity is defined modulo the declaration name, and every split is drawn by theorem group so that alpha-renamed restatements cannot cross a boundary. The training split holds 10,264 theorems, 6,170 with a correct proof and 4,094 with an incorrect one; within each source the smaller verdict cell is oversampled to parity, giving a training view of 17,670 rows. The validation split holds 170 theorems (100 correct, 70 incorrect) and LeanPRM-Bench 200, 100 of each verdict. LeanPRM-Bench was fixed before the class-based filter of § 2.1, and 30 of its incorrect proofs turned out to have a formalization-side first error. We replaced them with 30 incorrect proofs from the validation split whose first error is mathematical, which is why the validation split holds 170 theorems, and re-evaluated every system on the replaced items. The validation curves in Figure 4 were recorded during training on the original 200-theorem validation split, which still contained those 30 proofs. No model was trained on them, and none of the models compared at 500 updates was selected on validation. LeanPRM-Verifier-4B† is the exception. Its second stage was stopped at the best checkpoint on an earlier validation split that held 17 of these 30 proofs.

Lexical filters. Two lexical checks guard the prose. During generation, an attempt is regenerated if any natural-language step uses one of the following terms as a whole word, matched case-insensitively: lean, tactic, compiler, syntax, solver, automation, automated, verifier, engine, linarith, nlinarith, field_simp, norm_num, aesop, omega. No proof in LeanPRM contains any of them. When the splits are built, an incorrect proof is removed if its first failing step announces its own error with phrases such as unjustified, invalid, false or does not follow, since such text would give the label away. This second check removed 55.2% of the incorrect proofs from the earlier joint procedure and 2.3% of those from the blind procedure. The Lean lines written in Stage 1 are not filtered for sorry, admit or native_decide, which appear in 605 proofs of LeanPRM. Lean accepts sorry/admit as placeholders. native_decide is not one. A lexical audit found one positive training proof with explicit sorry, retained in the experiments, and no explicit placeholders in positive validation or benchmark proofs. Transitive dependencies were not checked. Only the repairs made in Stage 2 are barred from using any of the three.

Proofs the frontier models misjudge

In the original reference run of each commercial system, 26 of the 200 proofs in LeanPRM-Bench are mislabeled by all four systems. LeanPRM-Verifier-4B† labels 8 of them exactly, six incorrect proofs and two correct ones, and over three decoding seeds it labels 29.5% of the 26 exactly, against 7.7% for the untrained model and 11.5% for PRM800K-Verifier-4B. The reverse case, all four commercial systems right and the trained model wrong, covers 12 of the 128 proofs on which all four are right. Figure 6 and Figure 7 show two of the eight and Figure 8 one of the twelve; the remaining cases follow the checker’s conventions, such as treating an argument that stops before its conclusion as incorrect at its last step.

Figure 6. A proof the trained verifier labels exactly and no commercial system does. Step 5 asserts, by an unelaborated strong induction, that any smooth set of nn numbers yields at least (n−512)/2(n - 512)/2 disjoint pairs with equal parity vectors; the argument as written does not justify the count, the checker fails at this step, and the class is unjustified assumption. Sonnet 5, Fable 5.1 and PRM800K-Verifier-4B accept every step, Opus 5 and GPT-5.6 Sol first object at step 6, and LeanPRM-Verifier-4B† flags step 5.

Figure 7. An incomplete proof. The argument establishes the summed inequality and defines SS at step 19, then stops without producing the two distinct zeros. Under the convention of § 2 the final step of an argument that stops short is incorrect; every other system accepts all nineteen steps, and LeanPRM-Verifier-4B† flags the last.

Figure 8. The reverse case. Step 8 claims a Lagrange-type identity with the wrong coefficient on the first square, so the checker’s ring normalization fails and the class is algebraic identity error. All four commercial systems and PRM800K-Verifier-4B flag step 8; LeanPRM-Verifier-4B† accepts the proof.

Theorem We must show that for positive reals aa, bb, cc, the expression a3b+b3c+c3a+4(ab3+bc3+ca3)a^3b+b^3c+c^3a+4(ab^3+bc^3+ca^3) is at least 4(a2b2+b2c2+c2a2)4(a^2b^2+b^2c^2+c^2a^2) plus abc(a+b+c)abc(a+b+c).

theorem lean_workbook_hf_36056 (a b c : ℝ) (ha : 0 < a) (hb : 0 < b) (hc : 0 < c) : a ^ 3 * b + b ^ 3 * c + c ^ 3 * a + 4 * (a * b ^ 3 + b * c ^ 3 + c * a ^ 3) ≥ 4 * (a ^ 2 * b ^ 2 + b ^ 2 * c ^ 2 + c ^ 2 * a ^ 2) + a * b * c * (a + b + c) := by
Natural-language stepLean 4Label
First we note that the sum a+b+ca+b+c is positive, since aa, bb, cc are each positive.have hx : a + b + c > 0 := by positivity✓
Likewise, the product abcabc is positive, being a product of three positive numbers.have habc : a * b * c > 0 := by positivity✓
⋮⋮⋮
Similarly, cc times the square of (ry−qz)(r y-q z) is nonnegative, where ry−qzr y-q z is b(b−2c)−a(c−2a)b(b-2c)-a(c-2a).have hsq2 : p * (r*y - q*z)^2 ≥ 0 := by positivity✓
Also, aa times the square of (px−rz)(p x-r z) is nonnegative, where px−rzp x-r z is c(a−2b)−b(c−2a)c(a-2b)-b(c-2a).have hsq3 : q * (p*x - r*z)^2 ≥ 0 := by positivity✓
There is an algebraic identity (a form of Lagrange's identity underlying the Cauchy-Schwarz inequality): (p+q+r)(qrx2+rpy2+pqz2)−pqr(x+y+z)2(p+q+r)(qr x^2+rp y^2+pq z^2)-pqr(x+y+z)^2 equals exactly the sum b(rx−py)2+p(ry−qz)2+q(px−rz)2b(rx-py)^2+p(ry-qz)^2+q(px-rz)^2, as can be checked by expanding both sides.have hidentity : (p+q+r) * (q*r*x ^ 2 + r*p*y ^ 2 + p*q*z ^ 2) - p*q*r*(x+y+z)^2 = b * (r*x - p*y)^2 + p * (r*y - q*z)^2 + q * (p*x - r*z)^2 := by simp only [p, q, r, x, y, z]; ring✗
Since the right-hand side of that identity is a sum of three nonnegative terms (as shown above), the left-hand side (p+q+r)(qrx2+rpy2+pqz2)−pqr(x+y+z)2(p+q+r)(qr x^2+rp y^2+pq z^2)-pqr(x+y+z)^2 is also nonnegative.have hCS : (p+q+r) * (q*r*x ^ 2 + r*p*y ^ 2 + p*q*z ^ 2) - p*q*r*(x+y+z)^2 ≥ 0 := by rw [hidentity] have := add_nonneg (add_nonneg hsq1 hsq2) hsq3 linarith [this]✗

Training details

Given the theorem and its numbered natural-language steps, the verifier writes a reasoning section, one label per step, and a verdict, and the verdict must be incorrect whenever any step is labeled incorrect. Let RecC\mathrm{Rec}_{C} and RecI\mathrm{Rec}_{I} denote label recall on the steps that are truly correct and truly incorrect. The step reward is RecCRecI\mathrm{Rec}_{C}\mathrm{Rec}_{I} when the proof contains an error and otherwise the indicator that every step is predicted correct; the task reward is 0.7Rstep+0.3Rverdict0.7 R_{\mathrm{step}} + 0.3 R_{\mathrm{verdict}} with RverdictR_{\mathrm{verdict}} the verdict accuracy, and malformed output, a missing reasoning section, or an inconsistent verdict scores zero. On an incorrect proof with both label classes, the product penalizes both the all-correct and the all-incorrect prediction.

All models are optimized with group-relative policy optimization, eight responses per prompt sampled at temperature 1, batch size 64, learning rate 10−610^{-6}, KL coefficient 10−310^{-3}, and a 6,656-token response limit, on four H100 80GB GPUs, with validation and checkpoints every 50 updates. LeanPRM-Verifier-4B† is a single run continued across three stages of data: 532 updates on an earlier pool of 3,449 training proofs produced by a joint generation procedure, 750 updates on the unfiltered pool of § 2.1 (its best validation checkpoint of 808), and 300 updates on LeanPRM, 1,582 updates in total. Every LeanPRM verifier in Table 5, and PRM800K-Verifier-4B and NuminaMath-Solver-4B, trains from its base checkpoint for 500 updates. The 8B model uses the same configuration with parameter and optimizer offloading and rollouts tensor-parallel across two GPUs.

LeanPRM-Bench exactHard2Verify response BAProcessBench avg. F1PRMBench first err.IMO-GB BA
Qwen3-0.6B base22.7 ± 0.23.6 ± 1.73.2 ± 0.23.5 ± 0.548.4 ± 0.2
Qwen3-4B (initial policy)48.2 ± 1.337.1 ± 4.574.3 ± 0.542.5 ± 0.553.8 ± 0.1
Qwen3-8B base45.7 ± 1.952.4 ± 1.279.5 ± 0.347.6 ± 0.258.4 ± 0.6
LeanPRM-Verifier-0.6B54.0 ± 2.561.8 ± 1.834.9 ± 1.027.7 ± 0.258.4 ± 1.8
LeanPRM-Verifier-4B74.7 ± 1.872.8 ± 0.974.9 ± 0.447.4 ± 0.266.4 ± 1.1
LeanPRM-Verifier-8B75.0 ± 0.766.7 ± 1.879.3 ± 0.248.0 ± 0.367.2 ± 0.5

Table 5. Model scale at a fixed budget: LeanPRM verifiers trained from Qwen3 base models of three sizes for 500 updates each with the same recipe, with the untrained models for comparison; mean ± population standard deviation over three decoding seeds. The 4B and 8B models are close on LeanPRM-Bench, PRMBench and IMO-GradingBench, and the 0.6B model is far behind.

Evaluation details

The held-out split is scored by exact step-label accuracy, the fraction of proofs whose every label is predicted correctly. Hard2Verify is scored by response-level balanced accuracy over its 200 problems, ProcessBench by the mean F1 over its four subsets on all 3,400 test cases, and PRMBench by first-error accuracy on all 6,216 rows. On IMO-GradingBench the four-way human grade is binarized as fully correct against everything else, candidates are split into steps at paragraph boundaries with an even merge above thirty steps, and 13 of the 1,000 candidates exceed the context budget and are dropped, leaving 987. Every model receives the same prompt layout and label parser. Hosted responses are normalized for Markdown formatting before failed parses count as incorrect. We report mean and population standard deviation over three runs, using seeds 42, 43, and 44 at temperature 1 and fixed checkpoints for open-weight models and independent hosted runs without controlled seeds for commercial models. The Claude models are run through the Anthropic API with extended thinking at high effort and a 16,000-token budget, retrying truncations or refusals once at 32,000 tokens. Fable’s system prompt omits the thinking-end tag. GPT-5.6 Sol is run through the Codex command-line interface on a ChatGPT subscription, one non-interactive call per item at high reasoning effort with the shell, web search and every other tool disabled. Codex prepends its own agent instructions to the paper’s prompt and does not return the reasoning, so this row is prompted through Codex rather than through the bare API; all 33,009 evaluations across its three runs completed without tool use.

Model scale results

Table 5 gives the numbers behind Figure 5.

Labeling conventions and ProcessBench

We think most of the ProcessBench gap comes from labeling convention, but we have not tested this directly. Our labels mark the first step that is not justified, while ProcessBench counts a missing justification as an error only when it affects the validity of the solution, so on a true but unjustified step our verifier should flag earlier than the reference. Across three checkpoints of the run behind LeanPRM-Verifier-4B1, after 532, 1,282 and 1,332 updates, flags placed strictly before the reference step rise from 158 to 236 to 379. Only the last two checkpoints share training data, so the trend fits the explanation without isolating it; an audit of the early flags would settle it.

Further LeanPRM examples

Three further training examples in the format of Figure 1, chosen to show the three kinds of attempt the pipeline produces.

Figure 9. A correct attempt: for real tt, 2t≤1+t22t \le1 + t^2. Every step elaborates, so every step is labeled correct. The argument is the standard completion of the square, written as four claims each realized by one tactic. Attempts of this kind account for 6,370 of the 10,634 theorems in LeanPRM.

Theorem

We must show that for every real number tt, twice tt is at most one plus tt squared.

theorem lean_workbook_hf_52853 (t : ℝ) : 2 * t ≤ 1 + t ^ 2 := by

Natural-language stepLean 4Label
The square of any real number is nonnegative, so in particular (t−1)2≥0(t - 1)^2 \ge0.have h1 : (t - 1) ^ 2 ≥ 0 := sq_nonneg (t - 1)✓
Expanding the square, we have the algebraic identity (t−1)2=t2−2t+1(t - 1)^2 = t^2 - 2t + 1.have h2 : (t - 1) ^ 2 = t ^ 2 - 2 * t + 1 := by ring✓
Substituting this identity into the nonnegativity fact gives t2−2t+1≥0t^2 - 2t + 1 \ge0.rw [h2] at h1✓
Since t2−2t+1≥0t^2 - 2t + 1 \ge0, rearranging terms yields 2t≤t2+12t \le t^2 + 1, which is exactly the desired inequality 2t≤1+t22t \le1 + t^2.linarith [h1]✓

Theorem. We must show that for every exponent kk at least 2, and for every bound NN, there exists a natural number nn exceeding NN such that nn divides the sum of the kk-th powers of all of its divisors.

theorem number_theory_7562 {k : ℕ} (hk : 2 ≤ k) : ∀ N : ℕ, ∃ n : ℕ, n > N ∧ n ∣ ∑ d ∈ n.divisors, d ^ k := by

Natural-language stepLean 4Label
Fix an arbitrary bound NN; we must produce some nn greater than NN with the required divisibility property.intro N✓
As a first attempt, consider the candidate n=1n = 1, whose only divisor is 1 itself.use 1✓
We split the remaining goal into the two required parts: showing n=1n = 1 exceeds NN, and showing the divisibility statement for n=1n = 1.constructor✓
We check whether 1 is greater than NN; since NN is arbitrary this claim need not hold in general, so we attempt to derive the needed inequality by direct evaluation, which stands as the weak point of this attempted construction.· exact absurd rfl (by decide)✗
For n=1n = 1, the divisor set is exactly {1}\{1\}, so the sum of kk-th powers of divisors is 1 raised to the kk, which equals 1, and 1 trivially divides 1.· simp [Nat.divisors_one]✗

Figure 10. A reasoning error whose text shows the slip. The statement asks, for k≥2k \ge2 and every bound NN, for some n>Nn > N dividing the sum of the kk-th powers of its divisors. The attempt proposes n=1n = 1, which cannot exceed an arbitrary NN, and step 4 concedes as much while trying to discharge the bound anyway. Elaboration fails at that step; Stage 2 assigns the class invalid inequality bound, and steps 4 and 5 are labeled incorrect.

Figure 11. An attempt from the labeled pool that is not part of LeanPRM. The statement is that d∣nd \mid n implies 2d−1∣2n−12^d - 1 \mid2^n - 1. Step 3 invokes the true fact that x−yx-y divides xm−ymx^m-y^m; the mathematics is sound, but the Lean line names the library lemma in a form the pinned Mathlib does not accept, so elaboration fails there and Stage 2 assigns theorem misapplication. The audit judged steps of this class sound in 26 of 30 cases, which is why the formalization-side classes are excluded from the corpus.

Prompts

The prompts below are reproduced from our code. Stage 1 receives the system prompt and a user prompt that contains the theorem statement, the requirements listed, a worked example, and the JSON schema of the expected output.

````text System prompt

You are an expert Lean 4 and mathematics proof writer. Generate Lean proofs for dataset construction. Each proof must be a sequence of small tactic steps, and every step must have a matching mathematical natural language explanation that does not mention Lean syntax, tactic names, formal verification, or code.

The Lean code and the natural-language proof must be faithful to each other: the Lean proof should implement the same mathematical argument described in the natural language, not skip over several natural-language claims with one opaque automation call.

Do not ban arithmetic discharge tactics outright, but do not use linarith, nlinarith, or omega as opaque one-shot proofs of the main argument. If one of these tactics is used, the preceding steps must expose the concrete mathematical facts, identities, cases, or inequalities it relies on. Never use sorry, admit, or any placeholder proof term.

Two hard requirements for the natural language:

  1. Each NL description must be 1:1 with its corresponding Lean step -- describing exactly what that step does mathematically, not a higher-level summary and not a vague gloss.

  2. Concatenating all NL descriptions in order must read as a complete, standalone mathematical proof that a student could have written and a mathematician could follow without ever seeing the Lean code. It must not read like comments about code or a list of tactic explanations.

User prompt

Generate one independent proof attempt for this Lean theorem:

{lean_statement}

Requirements:

  • Use Lean 4 with Mathlib.

  • Keep the theorem name and statement exactly as given.

  • Do not use linarith, nlinarith, or omega as opaque one-shot proofs. They are allowed only as final arithmetic discharge after the preceding steps have made the algebraic situation, case split, divisibility fact, modular computation, or inequality combination explicit enough that the NL remains 1:1 and mathematically informative.

  • Do not use sorry, admit, by_contra! as a placeholder, or any unfinished proof placeholder.

  • Do not use one opaque tactic to hide the main argument. If a proof needs algebra, inequalities, case splits, contradiction, divisibility facts, or modular arithmetic, introduce those facts as explicit intermediate have, calc, rw, or case-analysis steps before any final arithmetic discharge.

  • The proof must be step-by-step: step 0 is the theorem line ending in := by, and each later step is one Lean tactic or one tightly scoped Lean proof line.

  • Keep the proof concise. Aim for at most 40 steps and do not split routine ````

rewriting or arithmetic into dozens of tiny steps.
- Each step must include a natural-language mathematical explanation matching
  that exact Lean step 1:1 (see rules and example below).
- Natural language must explain the mathematics only. Do not mention Lean,
  tactics, automation, syntax, or the compiler.
- The natural language must not describe a stronger or more detailed argument
  than the Lean line actually proves. If the NL says "we write k = 4q + 1",
  the Lean line must actually establish that statement in the corresponding
  case; if the NL cites an algebraic identity, the Lean line must establish that
  identity or use it directly.
- It is acceptable if the proof attempt is mathematically wrong, but avoid
  syntax errors and malformed Lean where possible.
- Return only JSON.  No Markdown fences.

[the natural-language rules, a worked example, and the JSON schema follow]

Stage 2 receives the following instructions together with the ten error classes of Appendix § 8, the Lean statement, the compiler output, the frozen steps, and a JSON schema for its verdict.

Classify this immutable Stage-1 Lean/NL proof attempt after Lean verification and, only when
appropriate, return minimal surface-form Lean syntax patches.

Stage 1 is the true blind attempt. Its natural-language descriptions and
mathematical plan are frozen. You MUST NOT rewrite, improve, complete, or correct
them. Compiler feedback is available only for classification and private syntax
repair;
it must never leak into the natural-language trajectory.

This is the second and final LLM call for this datapoint. Decide one verdict:

- "correct": Lean verification already SUCCEEDED and the natural-language proof is
  faithful to the Lean proof.
- "reasoning_error": Lean verification FAILED because the mathematical proof
  attempt is false, unjustified, or incomplete at the first failing step. This
  includes a missing branch, missing direction, unclosed goal, or an argument
  that stops before proving the theorem. These are valuable natural solver
  failures and MUST be retained as reasoning errors, not discarded. If the
  attempt simply stops with an unclosed goal, use its final provided step as
  `first_error_step`, not step 0.
- "repair": Lean verification FAILED for a purely MECHANICAL/code reason while the
  underlying mathematics is VALID, such as punctuation, parentheses, namespace,
  a renamed identifier with exactly the same proposition, or an explicit type or
  coercion annotation expressing the same term. Return only the changed Lean lines.
- "discard": the statement is ill-posed, the output is malformed, or the NL and
  Lean silently describe different mathematics. Do NOT discard merely because
  the proof is incomplete or would need substantial new mathematics to finish.

REPAIR RULES (only when verdict is "repair"):
- Fix ONLY surface-form Lean syntax or elaboration. Do NOT change the mathematics.
- Do NOT alter step 0 in any way.
- Do NOT weaken the theorem, and do NOT use `sorry`, `admit`, `native_decide`, or any
  placeholder/cheat tactic.
- Do NOT add, remove, merge, split, or reorder steps.
- Do NOT change a proposition, expression, witness, assumption, case split,
  intermediate claim, tactic kind, tactic strategy, or tactic arguments that carry
  mathematical content.
- Do NOT swap tactics or add hints, facts, automation, or "small nudges."
- If it cannot compile without adding or changing substantive mathematics, use
  "reasoning_error" when the attempt is incomplete or mathematically invalid.
For any verdict other than "repair", return no syntax patches.

[the list of ten error classes, the Lean statement, the compiler output, the steps, and the JSON schema follow]

The verifier is trained and evaluated with the prompt below; every benchmark is rendered into the same layout, and the parser reads the label lines after the thinking section.

System prompt

You are a mathematical proof verifier. Reason carefully about every numbered natural-language step.
Once a step is incorrect, every later step is incorrect because it depends on an invalid proof state.
Use your thinking section for the analysis. After </think>, return only the requested labels with no explanation.

User prompt

Problem:
<problem statement>

Solution:
<step1>...</step1>
<step2>...</step2>
...

Label all 11 steps. Then give the overall proof verdict.
Use exactly this format:
Step 1: correct or incorrect
Step 2: correct or incorrect
...
Overall: correct or incorrect

The proof-level audit of § 2.1 uses the first prompt below and the per-class audit the second; in both the judge never sees our labels.

You are auditing a dataset of natural-language mathematical proofs with step-level correctness labels.
You will see a problem statement and a proof split into numbered steps. Do NOT assume the proof is
correct or incorrect.

Tasks:
1. Read every step. Decide the index of the FIRST step that is mathematically incorrect or unjustified
(a false claim, an invalid inference, a missing case, or a step that does not follow from what
precedes it). If every step is valid and the proof is complete, answer 0.
2. If you found an error, rate how natural it is on a 1-5 scale (5 = the kind of mistake a strong
student would plausibly make; 1 = obviously artificial, e.g. a random symbol change, a contradiction
of the previous line, or a nonsensical claim).
3. Say whether the text leaks formalization artefacts (mentions of Lean, Mathlib, tactics,
`theorem`/`lemma` declarations, sorry, type annotations) that a natural proof would not contain: yes
or no.
4. One sentence explaining the first error, or "none".
Answer with exactly this JSON object and nothing else:
{"first_incorrect_step": <int>, "naturalness": <int or null>, "leak": "yes"|"no", "explanation": "<one
sentence>"}
You are auditing step-level labels on natural-language mathematical proofs. A proof checker flagged
ONE step as the first incorrect step. Judge that step on its mathematical merits only.

You will see the problem, the steps before the flagged step (assume they are correct), and the flagged
step.

Answer:
1. valid: is the flagged step's claim mathematically true AND adequately justified by what precedes it
(a strong grader would accept it)? "yes" or "no".
2. If "no", naturalness of the mistake on a 1-5 scale (5 = a plausible student mistake, 1 = artificial
or nonsensical); null if "yes".
3. One sentence: what is wrong, or why it is fine.

Answer with exactly this JSON object and nothing else:
{"valid": "yes"|"no", "naturalness": <int or null>, "explanation": "<one sentence>"}

Hyperparameters

Table 6 lists the training configuration. Every trained model in the paper, the baselines included, uses it; only the training data and, for the scaling runs, the base model differ, and the 8B runs also use offloading and tensor parallelism to fit in memory.

Base modelsQwen3-0.6B, Qwen3-4B, Qwen3-8B, thinking mode enabled
OptimizerGRPO as implemented in VERL, learning rate 10−610^{-6}
Batch64 prompts per update, 8 responses per prompt
Clippingratio clipped at 0.20 below and 0.26 above, dual-clip constant 10
RegularizationKL coefficient 10−310^{-3}, low-variance estimator, no entropy bonus
Loss aggregationsequence mean of token means
Sequence lengths8,192 prompt tokens, 6,656 response tokens
RolloutsvLLM at temperature 1; validation greedy, one response per prompt
Schedulecheckpoints and validation every 50 updates
Hardwarefour H100 80GB GPUs
8B model with parameter and optimizer offloading
and rollouts tensor-parallel over two GPUs

Table 6. Training configuration shared by every trained model.

References

  1. [1]Josh Alman and Virginia Vassilevska Williams. Truly subquadratic 3sum and truly subcubic apsp via triangles in sparse lopsided graphs. arXiv preprint arXiv:2610.06783, 2026.arxiv.org/abs/2610.06783
  2. [5]Chuxue Cao, Jinluan Yang, Haoran Li, Kunhao Pan, Zijian Zhao, Zhengyu Chen, Yuchen Tian, Lijun Wu, Conghui He, Sirui Han, and Yike Guo. Pushing the boundaries of natural reasoning: Interleaved bonus from formal-logic verification. arXiv preprint arXiv:2601.22642, 2026. URL https://arxiv.org/abs/2601.22642.
  3. [6]Luoxin Chen, Jinming Gu, Liankai Huang, Wenhao Huang, Zhicheng Jiang, Allan Jie, Xiaoran Jin, Xing Jin, Chenggang Li, Kaijang Ma, Cheng Ren, Jiawei Shen, et al. Seed-Prover: Deep and broad reasoning for automated theorem proving. arXiv preprint arXiv:2507.23726, 2025.arxiv.org/abs/2507.23726
  4. [7]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.arxiv.org/abs/2110.14168
  5. [8]Leonardo de Moura and Sebastian Ullrich. The Lean 4 theorem prover and programming language. In Automated Deduction – CADE 28, pages 625–635. Springer, 2021. doi: 10.1007/978-3-030-79876-5_37.DOI
  6. [9]DeepSeek-AI, Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, Xiaokang Zhang, et al. DeepSeek-R1: Incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.DOI
  7. [10]Guoxiong Gao, Yutong Wang, Jiedong Jiang, Qi Gao, Zihan Qin, Tianyi Xu, and Bin Dong. Herald: A natural language annotated Lean 4 dataset. arXiv preprint arXiv:2410.10878, 2024. URL https://arxiv.org/abs/2410.10878.
  8. [11]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the MATH dataset. arXiv preprint arXiv:2103.03874, 2021.
  9. [12]Jie Huang, Xinyun Chen, Swaroop Mishra, Huaixiu Steven Zheng, Adams Wei Yu, Xinying Song, and Denny Zhou. Large language models cannot self-correct reasoning yet. arXiv preprint arXiv:2310.01798, 2023.arxiv.org/abs/2310.01798
  10. [13]Albert Q. Jiang, Sean Welleck, Jin Peng Zhou, Wenda Li, Jiacheng Liu, Mateja Jamnik, Timothée Lacroix, Yuhuai Wu, and Guillaume Lample. Draft, sketch, and prove: Guiding formal theorem provers with informal proofs. arXiv preprint arXiv:2210.12283, 2022.arxiv.org/abs/2210.12283
  11. [14]Ryo Kamoi, Yusen Zhang, Nan Zhang, Sarkar Snigdha Sarathi Das, Ranran Haoran Zhang, Wenpeng Yin, and Rui Zhang. Efficient PRM training data synthesis via formal verification. arXiv preprint arXiv:2505.15960, 2025.arxiv.org/abs/2505.15960
  12. [15]Minsu Kim and Se-Young Yun. Process-verified reinforcement learning for theorem proving via Lean. arXiv preprint arXiv:2606.20068, 2026.arxiv.org/abs/2606.20068
  13. [17]Joshua Ong Jun Leang, Giwon Hong, Wenda Li, and Shay B. Cohen. Theorem prover as a judge for synthetic data generation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics, pages 29941–29977, 2025.
  14. [18]Joshua Ong Jun Leang, Zheng Zhao, Mihaela Catalina Stoian, Qiyuan Xu, Haonan Li, Wenda Li, Shay B. Cohen, and Eleonora Giunchiglia. Pythagoras-Prover: Advancing efficient formal proving via augmented Lean formalisation. arXiv preprint arXiv:2606.12594, 2026.arxiv.org/abs/2606.12594
  15. [19]Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step. arXiv preprint arXiv:2305.20050, 2023. URL https://arxiv.org/abs/2305.20050.
  16. [20]Haohan Lin, Zhiqing Sun, Sean Welleck, and Yiming Yang. Lean-StaR: Learning to interleave thinking and proving. arXiv preprint arXiv:2407.10040, 2024.arxiv.org/abs/2407.10040
  17. [21]Yong Lin, Shange Tang, Bohan Lyu, Jiayun Wu, Hongzhou Lin, Kaiyu Yang, Jia Li, Mengzhou Xia, Danqi Chen, Sanjeev Arora, and Chi Jin. Goedel-Prover: A frontier model for open-source automated theorem proving. arXiv preprint arXiv:2502.07640, 2025a.arxiv.org/abs/2502.07640
  18. [22]Yong Lin, Shange Tang, Bohan Lyu, Ziran Yang, Jui-Hui Chung, Haoyu Zhao, Lai Jiang, Yihan Geng, Jiawei Ge, Jingruo Sun, Jiayun Wu, Jiri Gesi, et al. Goedel-Prover-V2: Scaling formal theorem proving with scaffolded data synthesis and self-correction. arXiv preprint arXiv:2508.03613, 2025b.arxiv.org/abs/2508.03613
  19. [23]Chengwu Liu, Ye Yuan, Yichun Yin, Yan Xu, Xin Xu, Zaoyu Chen, Yasheng Wang, Lifeng Shang, Qun Liu, and Ming Zhang. Safe: Enhancing mathematical reasoning in large language models via retrospective step-aware formal verification. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics, 2025.arxiv.org/abs/2506.04592
  20. [24]Jianqiao Lu, Zhiyang Dou, Hongru Wang, Zeyu Cao, Jianbo Dai, Yingjia Wan, and Zhijiang Guo. AutoPSV: Automated process-supervised verifier. arXiv preprint arXiv:2405.16802, 2024.arxiv.org/abs/2405.16802
  21. [25]Liangchen Luo, Yinxiao Liu, Rosanne Liu, Samrat Phatale, Meiqi Guo, Harsh Lara, Yunxuan Li, Lei Shu, Yun Zhu, Lei Meng, et al. Improve mathematical reasoning in language models by automated process supervision. arXiv preprint arXiv:2406.06592, 2024.arxiv.org/abs/2406.06592
  22. [26]Thang Luong, Dawsen Hwang, Hoang H. Nguyen, Golnaz Ghiasi, Yuri Chervonyi, Insuk Seo, Junsu Kim, Garrett Bingham, Jonathan Lee, Swaroop Mishra, Alex Zhai, Huiyi Hu, Henryk Michalewski, Jimin Kim, Jeonghyun Ahn, Junhwi Bae, Xingyou Song, Trieu Hoang Trinh, Quoc V. Le, and Junehyuk Jung. Towards robust mathematical reasoning. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng, editors, Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 35418–35442, Suzhou, China, November 2025. Association for Computational Linguistics. doi: 10.18653/v1/2025.emnlp-main.1794. URL https://aclanthology.org/2025.emnlp-main.1794/.DOI
  23. [27]Qianli Ma, Haotian Zhou, Tingkai Liu, Jianbo Yuan, Pengfei Liu, Yang You, and Hongxia Yang. Let’s reward step by step: Step-level reward model as the navigators for reasoning. arXiv preprint arXiv:2310.10080, 2023.arxiv.org/abs/2310.10080
  24. [28]Math Inc. FormalQualBench. https://github.com/math-inc/FormalQualBench, 2026.
  25. [29]Nat McAleese, Rai Michael Pokorny, Juan Felipe Ceron Uribe, Evgenia Nitishinskaya, Maja Trebacz, and Jan Leike. LLM critics help catch LLM bugs. arXiv preprint arXiv:2407.00215, 2024.arxiv.org/abs/2407.00215
  26. [30]OpenAI. Ten advances in mathematics and theoretical computer science. https://cdn.openai.com/pdf/ten-proofs-oai.pdf, 2026. Technical report.DOI
  27. [31]Azim Ospanov, Zijin Feng, Jiacheng Sun, Haoli Bai, Xin Shen, and Farzan Farnia. HERMES: Towards efficient and verifiable mathematical reasoning in LLMs. arXiv preprint arXiv:2511.18760, 2025.
  28. [32]Shrey Pandit, Austin Xu, Xuan-phi Nguyen, Yifei Ming, Caiming Xiong, and Shafiq Joty. Hard2Verify: A step-level verification benchmark for open-ended frontier math. arXiv preprint arXiv:2510.13744, 2025. URL https://arxiv.org/abs/2510.13744.
  29. [33]Manooshree Patel, Rayna Bhattacharyya, Thomas Lu, Arnav Mehta, Niels Voss, Narges Norouzi, and Gireeja Ranade. LeanTutor: Towards a verified AI mathematical proof tutor. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 40670–40678, 2026.
  30. [34]Salman Rahman, Sruthi Gorantla, Arpit Gupta, Swastik Roy, Nanyun Peng, and Yang Liu. ScalePRM: Training process reward models by scaling verification compute without ground truth. arXiv preprint arXiv:2512.03244, 2025.arxiv.org/abs/2512.03244
  31. [35]Z. Z. Ren, Zhihong Shao, Junxiao Song, Huajian Xin, Haocheng Wang, Wanjia Zhao, Liyue Zhang, Zhe Fu, Qihao Zhu, Dejian Yang, Z. F. Wu, Zhibin Gou, et al. DeepSeek-Prover-V2: Advancing formal mathematical reasoning via reinforcement learning for subgoal decomposition. arXiv preprint arXiv:2504.21801, 2025.arxiv.org/abs/2504.21801
  32. [36]John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.arxiv.org/abs/1707.06347
  33. [37]Amrith Setlur, Chirag Nagpal, Adam Fisch, Xinyang Geng, Jacob Eisenstein, Rishabh Agarwal, Alekh Agarwal, Jonathan Berant, and Aviral Kumar. Rewarding progress: Scaling automated process verifiers for LLM reasoning. arXiv preprint arXiv:2410.08146, 2024.arxiv.org/abs/2410.08146
  34. [38]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. URL https://arxiv.org/abs/2402.03300.
  35. [39]Zhihong Shao, Yuxiang Luo, Chengda Lu, ZZ Ren, Jiewen Hu, Tian Ye, Zhibin Gou, Shirong Ma, and Xiaokang Zhang. DeepSeekMath-V2: Towards self-verifiable mathematical reasoning. arXiv preprint arXiv:2511.22570, 2025.arxiv.org/abs/2511.22570
  36. [40]Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, and Chuan Wu. HybridFlow: A flexible and efficient RLHF framework. arXiv preprint arXiv:2409.19256, 2024.DOI
  37. [41]Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. Scaling LLM test-time compute optimally can be more effective than scaling model parameters. arXiv preprint arXiv:2408.03314, 2024.arxiv.org/abs/2408.03314
  38. [42]Mingyang Song, Zha ochen Su, Xiaoye Ou, Jiawei Zhou, and Yu Cheng. PRMBench: A fine-grained and challenging benchmark for process-level reward models. arXiv preprint arXiv:2501.03124, 2025. URL https://arxiv.org/abs/2501.03124.
  39. [43]The mathlib Community. The Lean mathematical library. In Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs, pages 367–381, 2020. doi: 10.1145/3372885.3373824.DOI
  40. [44]George Tsoukalas, Jasper Lee, John Jennings, Jimmy Xin, Michelle Ding, Michael Jennings, Amitayush Thakur, and Swarat Chaudhuri. PutnamBench: Evaluating neural theorem-provers on the Putnam mathematical competition. arXiv preprint arXiv:2407.11214, 2024.arxiv.org/abs/2407.11214
  41. [45]Jonathan Uesato, Nate Kushman, Ramana Kumar, Francis Song, Noah Siegel, Lisa Wang, Antonia Creswell, Geoffrey Irving, and Irina Higgins. Solving math word problems with process- and outcome-based feedback. arXiv preprint arXiv:2211.14275, 2022.arxiv.org/abs/2211.14275
  42. [46]Haiming Wang, Mert Unsal, Xiaohan Lin, Mantas Bakšys, Junqi Liu, Marco Dos Santos, Flood Sung, Marina Vinyas, Zhenzhe Ying, Zekai Zhu, Jianqiao Lu, Hugues de Saxcé, et al. Kimina-Prover preview: Towards large formal reasoning models with reinforcement learning. arXiv preprint arXiv:2504.11354, 2025.arxiv.org/abs/2504.11354
  43. [47]Peiyi Wang, Lei Li, Zhihong Shao, R. X. Xu, Damai Dai, Yifei Li, Deli Chen, Y. Wu, and Zhifang Sui. Math-Shepherd: Verify and reinforce LLMs step-by-step without human annotations. arXiv preprint arXiv:2312.08935, 2023. URL https://arxiv.org/abs/2312.08935.
  44. [48]Yuhuai Wu, Albert Q. Jiang, Wenda Li, Markus N. Rabe, Charles Staats, Mateja Jamnik, and Christian Szegedy. Autoformalization with large language models. arXiv preprint arXiv:2205.12615, 2022.arxiv.org/abs/2205.12615
  45. [49]Huajian Xin, Z. Z. Ren, Junxiao Song, Zhihong Shao, Wanjia Zhao, Haocheng Wang, Bo Liu, Liyue Zhang, Xuan Lu, Qiushi Du, Wenjun Gao, Qihao Zhu, et al. DeepSeek-Prover-V1.5: Harnessing proof assistant feedback for reinforcement learning and Monte-Carlo tree search. arXiv preprint arXiv:2408.08152, 2024.arxiv.org/abs/2408.08152
  46. [50]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengang Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025. URL https://arxiv.org/abs/2505.09388.
  47. [51]Kaiyu Yang, Aidan M. Swope, Alex Gu, Rahul Chalamala, Peiyang Song, Shixing Yu, Saad Godil, Ryan Prenger, and Anima Anandkumar. LeanDojo: Theorem proving with retrieval-augmented language models. In Advances in Neural Information Processing Systems, 2023. URL https://arxiv.org/abs/2306.15626.
  48. [52]Kaiyu Yang, Gabriel Poesia, Jingxuan He, Wenda Li, Kristin Lauter, Swarat Chaudhuri, and Dawn Song. Formal mathematical reasoning: A new frontier in AI. arXiv preprint arXiv:2412.16075, 2024.arxiv.org/abs/2412.16075
  49. [53]Huaiyuan Ying, Zijian Wu, Yihan Geng, Zheng Yuan, Dahua Lin, and Kai Chen. Lean Workbook: A large-scale Lean problem set formalized from natural language math problems. arXiv preprint arXiv:2406.03847, 2024.arxiv.org/abs/2406.03847
  50. [54]Kaiwen Zha, Zhengqi Gao, Maohao Shen, Zhang-Wei Hong, Duane S. Boning, and Dina Katabi. RL Tango: Reinforcing generator and verifier together for language reasoning. arXiv preprint arXiv:2505.15034, 2025. URL https://arxiv.org/abs/2505.15034.
  51. [55]Lunjun Zhang, Arian Hosseini, Hritik Bansal, Mehran Kazemi, Aviral Kumar, and Rishabh Agarwal. Generative verifiers: Reward modeling as next-token prediction. arXiv preprint arXiv:2408.15240, 2024.arxiv.org/abs/2408.15240
  52. [56]Zhenru Zhang, Chujie Zheng, Yangzhen Wu, Beichen Zhang, Runji Lin, Bowen Yu, Dayiheng Liu, Jingren Zhou, and Junyang Lin. The lessons of developing process reward models in mathematical reasoning. arXiv preprint arXiv:2501.07301, 2025a.arxiv.org/abs/2501.07301
  53. [57]Ziyin Zhang, Jiahao Xu, Zhiwei He, Tian Liang, Qiuzhi Liu, Yansi Li, Linfeng Song, Zhenwen Liang, Zhuosheng Zhang, Rui Wang, et al. DeepTheorem: Advancing LLM reasoning for theorem proving through natural language and reinforcement learning. arXiv preprint arXiv:2505.23754, 2025b.arxiv.org/abs/2505.23754
  54. [58]Chujie Zheng, Zhenru Zhang, Beichen Zhang, Runji Lin, Keming Lu, Bowen Yu, Dayiheng Liu, Jingren Zhou, and Junyang Lin. ProcessBench: Identifying process errors in mathematical reasoning. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics, 2025. URL https://arxiv.org/abs/2412.06559.
  55. [59]Kunhao Zheng, Jesse Michael Han, and Stanislas Polu. miniF2F: A cross-system benchmark for formal Olympiad-level mathematics. arXiv preprint arXiv:2109.00110, 2021.
  56. [60]Kuo Zhou and Lu Zhang. Step-wise formal verification for LLM-based mathematical problem solving. arXiv preprint arXiv:2505.20869, 2025.arxiv.org/abs/2505.20869

Paper details

vlnc:W_ffq3gana
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 3

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents