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.

Preference learning and direct preference optimization — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

A two-response Gibbs policy with exact probabilities

Example

Take Y={a,b}, reference probabilities qa=qb=1/2, any β>0, and rewards r(a)=0 and r(b)=βlog⁡3. The partition sum is Z=2, the unique maximizing policy is p∗(a)=1/4, p∗(b)=3/4, and the maximum objective value is Fq,r,β(p∗)=βlog⁡2.

Example references

Finite KL-regularized policy improvement: defines the objective and partition inputs.

Finite-action Gibbs policy theorem: gives the maximizing policy and objective-gap identity.

Natural logarithm: ensures elog⁡3=3.

Facts & Assumptions

Given: Y={a,b}, q=(1/2,1/2), β>0, and r(a)=0, r(b)=βlog⁡3.

[F1]

Finite KL-regularized policy improvement: Fq,r,β(p)=∑ypyr(y)−βD(p∥q) on the finite probability simplex.

[F2]

The finite-action Gibbs policy uniquely maximizes reward minus KL: Z=∑yqyer(y)/β, py∗=qyer(y)/β/Z, and F(p∗)−F(p)=βD(p∥p∗), with equality only at p=p∗.

Verification

1.1F2F3givenalgebra

By [F3], er(a)/β=1 and er(b)/β=elog⁡3=3. Hence Z=(1/2)1+(1/2)3=2, and [F2] gives p∗(a)=1/4 and p∗(b)=3/4.

2.1F1F2givenstep 1.1algebra∎

By [F1], the objective being maximized is Fq,r,β. Its gap identity in [F2] gives F(p∗)−F(p)=βD(p∥p∗)≥0 for every probability vector p, with equality only at p=p∗. Substituting Z=2 into F(p∗)=βlog⁡Z gives the maximum value βlog⁡2.

CounterexampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Disconnected comparison support does not identify Gibbs policy mass

Statement refuted

For one prompt with finite nonempty response set Y, reference probability vector q=(qy)y∈Y with qy>0 and ∑yqy=1, coefficient β>0, and undirected graph G=(Y,E) with E⊆{{u,v}:u,v∈Y, u≠v} and at least two connected components, the exact Bradley–Terry probabilities on every observed edge uniquely determine the Gibbs-optimal policy for every reward r:Y→R. For an edge {u,v} the two orientations have probabilities σ(r(u)−r(v)) and σ(r(v)−r(u)), where σ(t)=(1+e−t)−1. An edge is one observed pair, and two vertices lie in the same connected component exactly when a finite path of observed edges joins them.

Statement references

Finite Bradley–Terry preference model: gives the comparison probability from a reward difference.

Finite-action Gibbs policy theorem: gives the unique policy for each reward and reference.

Natural logarithm: gives elog⁡3=3 in the witness.

Facts & Assumptions

Given: The finite response set Y={a,b,c,d}, uniform reference qy=1/4, coefficient β=1, and observed edge set E={{a,b},{c,d}}.

[F1]

Finite Bradley–Terry preference model: for a distinct pair, Pr⁡(u≻v)=σ(r(u)−r(v)) with σ(t)=(1+e−t)−1.

[F2]

The finite-action Gibbs policy uniquely maximizes reward minus KL: the unique regularized policy is py∗=qyer(y)/β/Z with Z=∑yqyer(y)/β.

Counterexample

1.1F1givenalgebra

Let r0(a)=r0(b)=r0(c)=r0(d)=0 and let r1(a)=r1(b)=0, r1(c)=r1(d)=log⁡3. On each observed edge the two endpoint rewards agree under both functions, so [F1] gives the same comparison probability σ(0)=1/2.

2.1F2F3givenstep 1.1algebra

Under r0, [F2] has four unnormalized weights 1/4, so Z0=1 and p0∗=(1/4,1/4,1/4,1/4). Under r1, [F3] gives unnormalized weights (1/4,1/4,3/4,3/4), hence Z1=2 and p1∗=(1/8,1/8,3/8,3/8).

3.1givenstep 1.1step 2.1algebra∎

The observed edge probabilities are identical by step 1.1, while the two Gibbs policies differ by step 2.1. Therefore the exact comparison probabilities on this disconnected graph do not uniquely determine the policy, refuting the Statement.

Comparison graph

The vertices below are responses, and an undirected edge records one observed pair. The two connected components are {a,b} and {c,d}; there are no observed cross-component comparisons. This diagram only displays the stated edge set; the verification above uses the explicit set E and formulas.

abcd
ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

A prompt-only reward offset leaves Bradley–Terry comparisons and policy unchanged

Example

For a fixed prompt x, let Yx be finite and nonempty, let qx be a probability vector with qx(y)>0 for every y∈Yx, let β>0, and let rx:Yx→R. For any constant cx∈R, set rx′(y)=rx(y)+cx for every y∈Yx. Then every Bradley–Terry comparison probability at x and the unique Gibbs-optimal policy on Yx are unchanged.

Example references

Finite Bradley–Terry preference model: comparison probabilities depend on reward differences for a fixed prompt.

Finite KL-regularized policy improvement: defines the finite objective being optimized.

Finite-action Gibbs policy theorem: supplies the normalized policy formula.

Rafailov et al., §5.1 and Theorem 1

Purdue PrefOpt course notes, §2 and §3e

Facts & Assumptions

Given: A finite response set Yx, full-support reference qx, positive β, reward rx, and constant cx.

[F1]

Finite Bradley–Terry preference model: Pr⁡(a≻b∣x)=σ(rx(a)−rx(b)) for distinct responses.

[F2]

Finite KL-regularized policy improvement: the finite objective is Fqx,rx,β(p)=∑ypyrx(y)−βD(p∥qx).

[F3]

The finite-action Gibbs policy uniquely maximizes reward minus KL: the Gibbs policy has unnormalized weights qx(y)erx(y)/β and partition sum Zx.

Verification

1.1F1givenalgebra

For any distinct a,b∈Yx, rx′(a)−rx′(b)=(rx(a)+cx)−(rx(b)+cx)=rx(a)−rx(b).

2.1F2F3givenalgebra∎

The objective being optimized is the one in [F2], and [F3] gives its normalized weights. The shifted unnormalized weight is qx(y)erx′(y)/β=ecx/βqx(y)erx(y)/β, so Zx′=ecx/βZx. Dividing each shifted weight by Zx′ cancels the common factor and gives px∗′(y)=px∗(y) for every y.

CounterexampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Zero reference support makes the DPO reward ratio undefined

Statement refuted

The finite reward-policy identity r(y)=βlog⁡(py∗/qy)+βlog⁡Z, where Z=∑y∈Yqyer(y)/β and p∗ maximizes the extended objective Fq,r,β, remains defined and valid at every response even when the reference probability vector q has zero coordinates.

Statement references

Finite KL-regularized policy improvement: defines the extended finite objective and its support convention.

DPO reward-policy reparameterization: states the logarithmic identity under the full-support reference hypothesis.

Natural logarithm: defines log⁡ only for positive arguments.

Facts & Assumptions

Given: Y={a,b}, qa=1, qb=0, β=1, r(a)=0, and r(b)=1.

[F1]

Finite KL-regularized policy improvement: if py>0 at a coordinate where qy=0, then D(p∥q)=+∞; if p is supported on q, the finite KL sum uses only positive coordinates.

[F2]

Bradley–Terry reward-policy reparameterization and finite DPO gradient: the proved reward-policy formula assumes the reference vector is strictly positive on every response.

[F3]

The natural logarithm as the inverse of the exponential function: the real logarithm has domain (0,∞).

Counterexample

1.1F1givenalgebra

If a probability vector p on Y has pb>0, [F1] gives D(p∥q)=+∞ and hence Fq,r,1(p)=−∞, since the reward expectation is finite. If pb=0, then p=δa, D(p∥q)=0, and Fq,r,1(p)=0. Thus p∗=δa is the unique maximizer.

2.1F2F3givenstep 1.1algebra∎

At response b, pb∗=qb=0, so pb∗/qb is the undefined ratio 0/0 and is not in the domain of the logarithm in [F3]. The stated identity therefore cannot be defined at every response. This example violates the full-support hypothesis of [F2], showing that the identity cannot be extended to zero reference support as stated.

Sources