Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 4 results · all verified · 0 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Verifiable generation, group-relative updates, and test-time sampling

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Finite truncated response spaces, correctness predicates, and verifiers

Definition

Fix a finite nonempty set Q of prompts. For each q∈Q, fix a finite nonempty ordinary-token alphabet V, a positive integer generation budget Lq, an end-of-sequence token e∉V, and a truncation marker τ∉V∪{e}. Generate at most Lq tokens from V∪{e}. A permitted response is the sampled prefix through its first e if e occurs within the budget; otherwise it is the full Lq-token prefix followed by the unsampled marker τ. Fix a nonempty finite ordered list of distinct permitted responses (yq,1,…,yq,mq) and let Yq be its underlying set. The prompt set, tokenizer alphabet, budget, terminal markers, and response list are part of the evaluation protocol; changes to these data may change the response distribution being evaluated. Merely reordering the response list while keeping its underlying set and policy masses fixed leaves that distribution unchanged.

For each q, fix a strict total order ≺q on Yq, meaning an irreflexive, transitive relation for which either y≺qz or z≺qy holds for every pair of distinct responses y,z. Let U⊆Rd be open. For each q∈Q, a parameterized sampling policy is a probability mass function πθ(⋅∣q) on Yq, for θ∈U, with a fixed nonempty support Bq⊆Yq: πθ(y∣q)>0 for y∈Bq, πθ(y∣q)=0 for y∉Bq, and ∑j=1mqπθ(yq,j∣q)=1. Each mass is totally differentiable in θ. Write the support in the inherited order as (bq,1,…,bq,nq). At a fixed prompt this is the finite-action policy of a one-decision finite Markov decision process, with response strings as actions. Its score vector on the support is

Sθ(q,y):=∇θlog⁡πθ(y∣q),y∈Bq.

For finite sums over supported responses, write Eθ[f(Y)∣q]:=∑k=1nqπθ(bq,k∣q)f(bq,k).

For each prompt, let Cq:Yq→{0,1} be a supplied correctness predicate and Aq:Yq→{0,1} a supplied verifier. The finite response set has its power-set sigma-algebra, so both maps are measurable. Cq(y)=1 means that response y is correct for the stated task criterion; Aq(y)=1 means that the verifier accepts it. A false acceptance is an output with Aq(y)=1 and Cq(y)=0. The verifier is not assumed to equal the correctness predicate.

Also fix a finite real reward rq(y) and a finite real selection score uq(y) on Yq, when a training or best-of-N procedure uses them. The total order ≺q resolves equal selection scores by choosing the ≺q-least maximizer. Independent draws from πθ(⋅∣q) mean that the joint mass of any finite tuple (y1,…,yN) is ∏i=1Nπθ(yi∣q).

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Budgeted verifier-guided generation and best-of-N sampling

Definition

For a fixed prompt q, take the finite truncated response set Yq, sampling policy πθ(⋅∣q), verifier Aq, and selection score uq from the generation protocol. Given an integer budget N≥1, choose exactly one of the following modes. Response draws, verifier and score evaluations, and comparisons of real scores and of the supplied tie order are supplied terminating exact operations with finite per-call costs. Each draw returns a response from the specified policy support with the stipulated independent law; no construction of a random source is asserted.

  1. Rejection search. Draw responses one at a time independently from πθ(⋅∣q). Return the first response y for which Aq(y)=1, together with status accepted. If no sampled response is accepted after N draws, return failure and no response. Stop at the first acceptance or after the Nth draw, whichever occurs first.

  2. Best-of-N. Draw exactly N responses independently from πθ(⋅∣q). Return a response with maximal value of uq; if several responses have maximal score, return the ≺q-least one. Return status selected. This mode does not use the verifier to select its output and does not declare the selected response correct.

Its output law is the one induced by the specified prompt, finite response set, length budget, truncation marker, policy, verifier or score, and tie order.

Definition references

LemmaStatement: AI-adaptedProof: AI-generatedOpen item page →

Budgeted verifier generation terminates with bounded response and selection calls

Statement

For every input of budgeted verifier-guided generation, with integer N≥1 and its supplied terminating exact operations, rejection search terminates with the first verifier-accepted response and status accepted, or with failure and no response exactly when all N responses are rejected. It uses at most N response draws and at most N verifier evaluations. For a complete presampled tuple (y1,…,yN), it succeeds exactly when at least one Aq(yi)=1.

Best-of-N terminates after exactly N response draws and can return the stipulated least maximizer using N score evaluations, at most N−1 score comparisons and at most N−1 tie-order comparisons. It returns status selected and makes no correctness or verifier-acceptance assertion. Both modes therefore use finitely many supplied calls and have finite total cost equal to their finite bookkeeping cost plus the sum of actual finite per-call costs. The draw-count and output conclusions hold for every realized response tuple; independence is needed only for probabilistic calculations that separately assume it.

Statement references

Budgeted verifier-guided generation and best-of-N sampling: gives the two modes, stopping instructions and supplied-operation model.

Facts & Assumptions

Given: A fixed prompt, finite nonempty response set, its policy law, binary verifier, finite real scores, strict total tie order, integer N≥1, and the supplied terminating calls in the algorithm input.

[F1]

Budgeted verifier-guided generation and best-of-N sampling: rejection checks the current draw, stops at its first acceptance, and otherwise stops after draw N; best-of-N draws exactly N candidates and returns the least score maximizer.

[F2]

Finite truncated response spaces, correctness predicates, and verifiers: verifier values are binary, scores are finite reals, and the tie relation is a strict total order on the finite response set.

Proof

1.1givenF1F2inductionalgebra

In rejection mode, after i<N rejected draws the procedure either accepts the next response or advances its counter to i+1. Each draw and verifier evaluation terminates by the supplied-call assumption. Thus no more than N such pairs of calls occur. If one is accepted, the stop rule returns the first such response; if none is accepted, it stops after the Nth rejection with failure. For a presampled tuple this is exactly the event that some verifier value is one.

1.2givenF1F2inductionconstruct

In best-of-N, initialize a running best response with the first draw and its score. For each further candidate, compare its score with the running maximum, replace the running best on a strict increase, and on equality keep the lesser response in the supplied tie order. Induction on the scanned prefix shows the running best is its least score maximizer. Repeated identical responses cause no ambiguity: when two responses are equal, retaining either occurrence returns the same response.

2.1givenF1step 1.1step 1.2algebra∎

After the finite scan in step 1.2, the result is the stipulated least maximizer. There were N draws and score evaluations and only N−1 scan steps, with at most one score comparison and one tie-order comparison each. Rejection has the bounds in step 1.1. All other bookkeeping traverses finite lists; summing the finitely many supplied finite call costs proves finite total cost and termination in both modes. No pointwise step uses independence or equates the verifier with correctness.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Independent generation success and verifier false-acceptance bounds

Statement

Fix a prompt q, a budget N≥1, and the finite response law, correctness predicate, and verifier from the generation protocol. In part 1, Y1,…,YN are independent draws from that law and p:=Pr⁡(Cq(Y1)=1) is their common one-draw correctness probability. Parts 2 and 3 state their own sampling hypotheses.

  1. If Aq=Cq, rejection search returns an accepted response with probability 1−(1−p)N.

  2. For any rule that selects one of these N candidates and reports it as accepted only when its verifier value is 1, if each draw satisfies Pr⁡(Aq(Yi)=1, Cq(Yi)=0)≤ϵ, then the probability of outputting an accepted but incorrect response is at most Nϵ. This bound does not require independent draws.

  3. For an adaptive sampler, let p∈[0,1]. Suppose that for every i≤N and every positive-probability history h=(Y1,…,Yi−1) with no earlier correct response, the conditional probability of correctness at draw i is at least p. Then the probability of no correct response in the first N draws is at most (1−p)N.

Facts & Assumptions

Given: The finite response law, correctness predicate Cq, verifier Aq, and budget N. Part 1 assumes independent policy draws; part 2 assumes only the stated per-draw false-acceptance bounds; part 3 assumes the stated adaptive conditional-success bounds.

[F1]

Finite truncated response spaces, correctness predicates, and verifiers: at fixed q, the response set is finite, its mass function is normalized, and Cq,Aq take values in {0,1}.

[F2]

Budgeted verifier-guided generation and best-of-N sampling Budgeted verifier generation terminates with bounded response and selection calls: rejection search returns the first sample with Aq=1 or fails after at most N draws.

[F3]

Probability measures and probability spaces and Measures on sigma-algebras: probabilities are countably additive measures of total mass one. Finite additivity follows by padding a finite disjoint family with empty sets; finite subadditivity follows by disjointifying a finite union.

[F4]

Independent random elements and Independent sigma-algebras and independent events: independent draws generate independent sigma-algebras; for events Ei determined by distinct draws, Pr⁡(⋂iEi)=∏iPr⁡(Ei).

[F5]

Finite sums and finite products, by recursion: finite sums recurse from 0 by adding one term. Ordered field: its positive cone is closed under addition and multiplication; induction on a finite list therefore preserves a termwise inequality after multiplying by nonnegative weights and summing.

[A1]

In part 3, p∈[0,1] and for each positive-probability no-success history h at draw i, Pr⁡(Cq(Yi)=1∣h)≥p. For finite histories, this conditional probability is Pr⁡(Cq(Yi)=1, h)/Pr⁡(h).

Proof

Given: The Statement hypotheses, including the finite sample space of at most N responses.

1.1givenF1F2F3F4algebra

Under Aq=Cq, rejection search succeeds exactly on the event ⋃i=1N{Cq(Yi)=1}. Its complement is the intersection of the N failure events. By independence [F4], that complement has probability (1−p)N, so the success probability is 1−(1−p)N.

1.2givenA1F1F3F5algebrainduction

Let Fi be the event that the first i adaptive responses are all incorrect, with F0 the whole sample space. Enumerate the finite response histories lexicographically using the fixed response list in [F1], and partition Fi−1 into its positive-probability histories h. By [A1], Pr⁡(Cq(Yi)=0∣h)≤1−p for each such history. Multiplying by the nonnegative Pr⁡(h) and summing over this finite partition preserves the inequality by [F5]; finite additivity gives Pr⁡(Fi)≤(1−p)∑hPr⁡(h)=(1−p)Pr⁡(Fi−1). Induction from Pr⁡(F0)=1 yields Pr⁡(FN)≤(1−p)N.

2.1givenF1F3F5algebra∎

For each draw let Bi={Aq(Yi)=1, Cq(Yi)=0}. Any accepted incorrect output selected from the N candidates lies in ⋃i=1NBi. For every outcome, 1∪iBi≤∑i=1N1Bi; summing this pointwise inequality against the nonnegative finite outcome masses gives Pr⁡(⋃iBi)≤∑i=1NPr⁡(Bi)≤Nϵ. Thus the false-acceptance probability is at most Nϵ. No factorization or independence is used in this step.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Finite response likelihood ratios change measure by cancellation

Statement

Let Y be a finite nonempty response set with a fixed enumeration (y1,…,ym), and let p and q be probability mass functions on Y satisfying p(y)>0⇒q(y)>0. Define ρ(y)=p(y)/q(y) when q(y)>0 and ρ(y)=0 when q(y)=0. Then, for every real-valued function f on Y,

∑j=1mq(yj)ρ(yj)f(yj)=∑j=1mp(yj)f(yj).

In particular, ∑j=1mq(yj)ρ(yj)=1. This is a finite response identity; it asserts no change-of-measure result on an arbitrary trajectory space.

Facts & Assumptions

Given: The finite response set Y, probability masses p,q, the support inclusion, and a real-valued function f.

[F1]

Probability measures and probability spaces: a probability law is a measure of total mass one; its nonnegative singleton masses on the finite response set sum to one.

[F2]

Finite truncated response spaces, correctness predicates, and verifiers: every prompt has a finite response set and a normalized policy mass function on its fixed support.

[F3]

Finite sums and finite products, by recursion: a sum of m real terms is the recursively defined finite sum over indices 1,…,m.

Proof

Given: The objects and hypotheses in the Statement.

1.1givenF1F2algebra

For each index j, if q(yj)=0, support inclusion forces p(yj)=0 and the definition gives q(yj)ρ(yj)=p(yj)=0. If q(yj)>0, the quotient is defined and q(yj)ρ(yj)=p(yj). Thus this equality holds for every j=1,…,m.

2.1givenF1F3step 1.1algebra∎

Multiplying the pointwise equality in step 1.1 by f(yj) and summing over j using [F3] gives the stated identity. Taking f(yj)=1 gives ∑j=1mq(yj)ρ(yj)=∑j=1mp(yj)=1. Every operation is a finite sum, so no choice or sigma-finite measure hypothesis is used.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Finite-budget group-relative policy update

Definition

Fix a nonempty finite ordered prompt list (q1,…,qM) with no repeated prompt. For each prompt qℓ, take the finite truncated response set Yqℓ, ordered policy support Bqℓ, and policy family πθ(⋅∣qℓ) from the generation protocol, with open parameter domain U. Fix a reference probability mass function πref(⋅∣qℓ) that is positive on exactly Bqℓ, a finite reward function rqℓ:Bqℓ→R, an initial parameter θ0∈U, group size G≥2, a positive integer number T of outer iterations, a positive integer number K of inner steps per outer iteration, a clipping threshold ϵ∈(0,1), a penalty weight β≥0, and positive step sizes ηt,k for 1≤t≤T and 1≤k≤K. The prompt weights are uniform. Response draws, reward and policy-mass evaluations, scalar arithmetic, square roots, logarithms and comparisons are supplied terminating exact operations with finite per-call costs. Draws return supported responses with the specified independent law. Also supply an exact total domain oracle MU:Rd→{0,1}, returning 1 exactly on U, and an exact objective-gradient oracle: given the frozen outer-iteration data and a parameter in U, it returns the Euclidean gradient of Ft when that total derivative exists and returns undefined-gradient otherwise. Both oracles terminate on every call with finite per-call cost. The gradient oracle includes the fixed finite objective data and any policy evaluations needed for its decision. This is a supplied-oracle model; it asserts neither an algorithm for deciding differentiability of arbitrary functions nor a general membership algorithm for arbitrary open sets.

At outer iteration t, freeze θt−1 and, for each prompt qℓ, draw G independent responses Yℓ,1,…,Yℓ,G from πθt−1(⋅∣qℓ). Compute the finite rewards Rℓ,i:=rqℓ(Yℓ,i), their mean

R‾ℓ:=1G∑i=1GRℓ,i,

and their population standard deviation

sℓ:=1G∑i=1G(Rℓ,i−R‾ℓ)2.

Set Aℓ,i:=(Rℓ,i−R‾ℓ)/sℓ when sℓ>0, and set Aℓ,i=0 for every i when sℓ=0. Hold the responses, rewards, and advantages fixed through the K inner steps. For a candidate parameter θ∈U, use the sequence-level ratio

ρℓ,i(θ):=πθ(Yℓ,i∣qℓ)πθt−1(Yℓ,i∣qℓ).

The denominator is positive. Define clip⁡(x,1−ϵ,1+ϵ):=min⁡(1+ϵ,max⁡(1−ϵ,x)), and use the exact finite-distribution forward KL penalty

DKL(πθ(⋅∣qℓ)∥πref(⋅∣qℓ)):=∑j=1nqℓπθ(bqℓ,j∣qℓ)log⁡πθ(bqℓ,j∣qℓ)πref(bqℓ,j∣qℓ),

where (bq,1,…,bq,nq) is the ordered support from the generation protocol. The empirical objective is

Ft(θ):=1M∑ℓ=1M[1G∑i=1Gmin⁡{ρℓ,i(θ)Aℓ,i,clip⁡(ρℓ,i(θ),1−ϵ,1+ϵ)Aℓ,i}−βDKL(πθ(⋅∣qℓ)∥πref(⋅∣qℓ))].

For each outer iteration, set θ(0):=θt−1. For each inner step k, call the supplied objective-gradient oracle at θ(k−1). If it returns a gradient, form the proposed update

θ(k):=θ(k−1)+ηt,k∇Ft(θ(k−1))

and call MU at that proposal. If MU returns 1, apply it; the stipulated fixed positive support then holds on U. If the gradient oracle returns undefined-gradient, stop and return the last valid parameter with status undefined-gradient. If MU returns 0, stop and return the last valid parameter with status invalid-update. After K successful inner steps set θt:=θ(K) and continue to the next outer iteration. After T successful outer iterations return θT with status complete. This procedure asserts no monotone improvement, unbiasedness, or convergence guarantee.

LemmaStatement: AI-adaptedProof: AI-generatedOpen item page →

Finite group-relative updates preserve admissibility and have bounded oracle calls

Statement

For every input of the finite group-relative policy-update procedure, under its supplied exact terminating operation and oracle model, every formed advantage, sequence ratio and objective value at a parameter in U is a finite real number. Zero group standard deviation uses the stated zero-advantage branch, without division by zero. The last valid parameter always lies in U and retains the stipulated fixed positive support.

The procedure terminates with one of its specified statuses after at most TMG response draws, TMG reward evaluations, TK objective-gradient attempts and TK domain-oracle calls. An undefined gradient returns the previous valid parameter with status undefined-gradient; a rejected candidate returns it with status invalid-update; if all iterations succeed it returns θT∈U with status complete. All these bounds hold pathwise and allow early exit. The work consists of finite arithmetic over the prescribed finite lists and the sum of the finite costs of the actual supplied calls. In particular it is finite, but no uniform bound on the internal cost of arbitrary objective-gradient or open-set membership oracles is claimed. No unbiasedness, monotone-improvement or convergence conclusion is asserted.

Statement references

Finite-budget group-relative policy update: gives the finite loops, full clipped objective and exact gradient/domain oracle model.

Facts & Assumptions

Given: All algorithm inputs: finite prompt and support lists, θ0∈U with arbitrary open U, fixed positive policy/reference support, finite rewards, integers T,K≥1 and G≥2, ϵ∈(0,1), β≥0, positive finite step sizes, and supplied terminating exact draws, scalar/evaluation operations and oracles. Returned draws lie in the supported finite response lists.

[F1]

Finite-budget group-relative policy update: each outer iteration draws G responses per prompt, freezes their rewards and advantages, and attempts at most K gradient-oracle updates, accepting only when the exact U oracle accepts the proposal. Otherwise it returns the previous valid parameter with the specified status.

[F2]

Finite truncated response spaces, correctness predicates, and verifiers: supported policy masses are finite and positive, the support lists are finite and fixed, and rewards are finite reals. Finite-budget group-relative policy update additionally requires a reference probability mass function positive on exactly the policy support.

[F3]

Multiplication by zero: 0⋅a=0 and Sign rules for products and monotonicity of multiplication: each real square is nonnegative, including the zero case. Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0}: every nonnegative real has a unique finite nonnegative square root.

[F4]

The natural logarithm as the inverse of the exponential function: the logarithm is a finite real on positive inputs.

[F5]

Finite sums and finite products, by recursion gives the recursive finite-sum clauses, and Ordered field gives closure of positive elements under addition. Canonical naturals are positive and strictly increasing and Inverses of positives are positive, and reciprocation reverses order imply 1/G>0 for the input G≥2.

Proof

1.1givenF1F2F3F5inductionalgebra

Fix an outer iteration begun at a valid parameter. Every returned response belongs to its finite fixed support, so the G rewards and their mean are finite. Each squared deviation is nonnegative by [F3]. Let Sk be the sum of the first k squared deviations, with S0=0. If Sk or the next term is zero, Sk+1 is the other nonnegative term; if both are positive, [F5] makes their sum positive. Induction gives SG≥0. Since 1/G>0 by [F5], the standard-deviation radicand is finite and nonnegative. Thus [F3] gives a finite nonnegative standard deviation. If it is positive, the normalized advantages are finite quotients; if it is zero, the explicit branch sets them to zero and makes no division.

1.2givenF1F2F4algebra

At any candidate parameter in U, old and new supported policy masses are positive by [F2], so each sampled sequence ratio is finite and has a nonzero denominator. The positive reference masses make every KL log ratio a finite real by [F4]; its sum over each finite support is finite. Clipping, products, minima and finite averages in the exact displayed objective therefore produce a finite real value. This requires no differentiability of the clipped minimum at a boundary.

2.1givenF1F2step 1.1step 1.2inductionalgebra

Initially the last valid parameter is θ0∈U. Suppose it is valid before an inner attempt. The supplied exact gradient oracle terminates; if the total derivative does not exist, it reports undefined-gradient and the procedure returns the unchanged valid parameter. Otherwise its gradient is a finite vector in Rd, so the finite step size gives a finite proposal. The supplied exact domain oracle terminates and returns zero or one. A zero returns the previous parameter with invalid-update; a one places the new parameter in U, where fixed positive support holds. Induction over inner and outer iterations proves the invariant and stated return statuses. The frozen data and objective are well-defined by steps 1.1 and 1.2.

3.1givenF1step 2.1algebra∎

Each reached outer iteration uses exactly MG supported response draws and reward evaluations, followed by at most K inner attempts. Every attempt makes one gradient-oracle call and at most one domain-oracle call. There are at most T reached outer iterations, so the respective counts are at most TMG, TMG, TK and TK. Every support, group and coordinate computation is finite, and every supplied call has finite cost. Thus the finite sum of actual call costs and finite bookkeeping costs is finite; the procedure completes the prescribed loops or exits earlier as described in step 2.1. This argument decides neither arbitrary differentiability nor arbitrary open-set membership without the supplied oracles.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Finite-response score mean and reward-gradient identities

Statement

Fix a prompt q, an open parameter set U⊆Rd, and the finite response policy with nonempty fixed support (b1,…,bm) and score vectors Sθ(q,bj) from the generation protocol. For any fixed finite reward function r on that support, define

J(θ):=∑j=1mπθ(bj∣q)r(bj).

Then, for every θ∈U,

Eθ[Sθ(q,Y)∣q]=0,Eθ[r(Y)Sθ(q,Y)∣q]=∇θJ(θ).

Facts & Assumptions

Given: A fixed prompt q, its finite response list and support, the differentiable normalized policy, and a fixed finite-valued reward function r.

[F1]

Finite truncated response spaces, correctness predicates, and verifiers: the support (b1,…,bm) is finite and fixed; each supported mass is positive and totally differentiable, the masses sum to one, and Sθ(q,bj)=∇θlog⁡πθ(bj∣q).

[F2]

Differentiable stationary stochastic policies and score vectors: a supported policy mass is positive and totally differentiable on its open parameter domain, and its score is the gradient of its logarithm.

[F3]

The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a) and The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t: for positive πθ(bj∣q), the chain rule gives ∇θlog⁡πθ(bj∣q)=∇θπθ(bj∣q)/πθ(bj∣q).

[F4]

Finite sums and finite products, by recursion and Sums and scalar multiples of totally differentiable maps are totally differentiable with the expected derivatives: a sum over m terms is defined by recursion, and induction using the binary sum rule differentiates it term by term.

[F6]

Use one-based coordinate labels Xa:=X(a−1) for vectors in Rd, 1≤a≤d, and ∂θa:=∂a−1 in the supplier gradient convention. Every score vector lies in Rd; write Sθ,a(q,bj):=(Sθ(q,bj))a for its ath coordinate. For a finite random vector X, write Xa for its ath coordinate and define Eθ[X∣q] as the vector whose ath coordinate is the finite scalar sum ∑j=1mπθ(bj∣q)Xa(bj) for a=1,…,d; vector sums and equalities are coordinatewise.

Proof

Given: The objects and hypotheses in the Statement.

1.1givenF1F2F3algebra

For each coordinate a=1,…,d and supported response bj, [F2] supplies differentiability and positive mass, so [F3] and [F1] give πθ(bj∣q)Sθ,a(q,bj)=∂θaπθ(bj∣q). This holds for every coordinate of each score vector.

2.1F1F4F5F6step 1.1algebra

Fix a coordinate a. By [F4], differentiate the finite normalization identity ∑j=1mπθ(bj∣q)=1 in coordinate a term by term. Using step 1.1 and [F6], the ath coordinate of the expected score is ∑j=1mπθ(bj∣q)Sθ,a(q,bj)=∑j=1m∂θaπθ(bj∣q)=∂θa1=0. This holds for every a, proving the vector identity.

3.1givenF1F4F5F6step 1.1algebra∎

Fix a coordinate a. Since r(bj) is fixed and finite, [F4] differentiates J(θ)=∑j=1mπθ(bj∣q)r(bj) in coordinate a term by term. Substituting step 1.1, the ath coordinate of ∇θJ(θ) is ∑j=1mr(bj)∂θaπθ(bj∣q)=∑j=1mπθ(bj∣q)r(bj)Sθ,a(q,bj). By [F6], these are the coordinates of the stated vector expectation; since this holds for every a, the vector identity follows.

Remarks

This finite proof uses only the normalized mass function and finite sums. It uses no trajectory law, dominated interchange, conditional expectation, or choice principle.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

The group-centered score estimator has factor one minus one over G

Statement

Fix a prompt q, a parameter θ in the open domain of its finite response policy, a finite real reward function r on the policy support, and an integer G≥2. Let Y1,…,YG be independent responses with common law πθ(⋅∣q), let Ri:=r(Yi), let Si:=∇θlog⁡πθ(Yi∣q), and set R‾:=G−1∑j=1GRj and J(θ):=Eθ[r(Y)∣q]. Then Eθ[1G∑i=1G(Ri−R‾)Si∣q]=(1−1G)∇θJ(θ). If instead R‾−i:=(G−1)−1∑j≠iRj, then Eθ[1G∑i=1G(Ri−R‾−i)Si∣q]=∇θJ(θ).

Facts & Assumptions

Given: The finite policy at q, its fixed positive support, a finite reward r, and independent draws Y1,…,YG from that same policy.

[F1]

Finite truncated response spaces, correctness predicates, and verifiers: Yq is finite, πθ is normalized and positive on its fixed support, Sθ(q,y)=∇θlog⁡πθ(y∣q) there, and independent draws have the product joint mass.

[F2]

Finite-response score mean and reward-gradient identities: Eθ[Sθ(q,Y)∣q]=0 and Eθ[r(Y)Sθ(q,Y)∣q]=∇θJ(θ).

[F3]

Probability measures and probability spaces, Expectation of a real random variable on a finite probability space, Linearity, monotonicity, and the modulus bound for expectation, and Finite sums and finite products, by recursion: the finite group sample law is a probability measure, scalar expectations are finite weighted sums, and finite sums are recursively defined. Each variable is bounded and integrable because it is a real-valued function on the finite group response space, so the expectation linearity rule applies. Field supplies distributivity for the finite expansions below.

[F4]

Independent random elements and Independent sigma-algebras and independent events: singleton response events from distinct independent draws have product probabilities; together with [F1]'s finite response law this gives the product pair masses used below.

[F5]

Use the one-based coordinate labels X(a):=X(a−1) and ∂θa:=∂a−1, 1≤a≤d, as in the score-identity supplier. Every score vector lies in Rd; write Si(a):=(Si)a for its ath coordinate. Each vector expectation in this proof is defined coordinatewise by the finite scalar expectation in that coordinate; vector sums and equalities are coordinatewise. Accordingly, [F3] is applied to scalar coordinates, and the finite-sum factorization below is shown in each coordinate.

Proof

Given: The Statement hypotheses and the scalar finite-expectation convention in [F3], extended coordinatewise as specified in [F5].

1.1givenF2F3F5algebra

For each coordinate a=1,…,d, [F2] gives E[RiSi(a)∣q]=∂θaJ(θ) and E[Si(a)∣q]=0 for every i. Scalar linearity from [F3] yields E[G−1∑iRiSi(a)∣q]=∂θaJ(θ). Since this holds in every coordinate, [F5] gives E[G−1∑iRiSi∣q]=∇θJ(θ).

1.2F1F2F3F4F5algebrainduction

For i≠j and each coordinate a, expand the finite expectation over response pairs (Yi,Yj)=(bq,k,bq,ℓ). By [F1] and [F4], their joint mass is πθ(bq,k∣q)πθ(bq,ℓ∣q). The recursive finite-sum clauses in [F3] and field distributivity in [F3] factor the pair sum: induction over the ℓ-list first extracts the fixed πθ(bq,k∣q)Sθ,a(q,bq,k), and induction over the k-list then gives E[RjSi(a)∣q]=(∑k=1nqπθ(bq,k∣q)Sθ,a(q,bq,k))(∑ℓ=1nqπθ(bq,ℓ∣q)r(bq,ℓ))=0 by [F2]. This proves the zero cross expectation in every coordinate under [F5].

2.1givenF2F3F5step 1.1step 1.2algebra

Expand R‾=G−1∑jRj, so G−1∑iR‾Si=G−2∑i,jRjSi. For each coordinate a, scalar linearity from [F3], the G diagonal expectations ∂θaJ(θ) from [F2], and the zero cross expectations from step 1.2 give E[G−1∑iR‾Si(a)∣q]=G−2G∂θaJ(θ)=G−1∂θaJ(θ). By [F5] this is the coordinatewise vector identity. Subtracting it from step 1.1 proves the first identity.

3.1givenF3F5step 1.1step 1.2algebra∎

For each i and coordinate a, every term in R‾−iSi(a) has the form RjSi(a) with j≠i, so scalar linearity and step 1.2 give E[R‾−iSi(a)∣q]=0. This holds for every coordinate, so [F5] gives the zero vector expectation. Subtracting these zero means from step 1.1 proves the leave-one-out identity coordinatewise.

Remarks

This identity covers unnormalized same-policy centering and the leave-one-out center. It does not cover division by a random group standard deviation, clipped probability ratios, or samples reused from a frozen old policy; none of those modifications inherits an unbiasedness claim from this calculation alone.

RemarkRemark: Literature-sourcedProof: Not applicableOpen item page →

Reasoning-training evidence and evaluation targets

Reasoning training and evaluation targets

The finite prompt set, response support, token budget, truncation marker, verifier, reward rule, and sampling policy define the distribution to which an evaluation result applies. An empirical pass@1 is the observed fraction of prompts whose single designated sample is correct; oracle pass@N is the fraction with at least one correct response among N candidates; verifier-selected accuracy is the fraction correct among returned responses the verifier accepts. This last fraction is defined only when at least one returned response is accepted; it is undefined when none is accepted. These statistics need not agree, because the verifier can accept an incorrect response, reject a correct one, or select an incorrect candidate even when another candidate in the group is correct.

The proved group-score identity applies only to unnormalized centering under independent draws from the same finite policy. The finite-budget group update additionally divides by a random group standard deviation, clips a sequence-level policy ratio, and reuses samples from a frozen old policy for several inner steps. The identity alone proves no unbiasedness, monotone policy improvement, or convergence claim for that procedure.

For a general finite-horizon offline MDP with fixed stationary target and behavior policies, the cited trajectory-ratio lemma assumes the Axiom of Choice, a shared fixed initial state and transition/reward law, full-horizon absolute continuity, and integrability of the target return or other function being reweighted. Clipping or self-normalization alters the weights, so that exact change-of-measure identity alone does not establish the corresponding clipped or self-normalized equality or a generic offline-policy safety or performance guarantee. A verifier or benchmark score is an evaluation signal and does not certify a mathematical proof.

4 · Examples, counterexamples and false statements

None yet.

Sources