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.

✓ 3 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 3 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

F-Divergences, Rényi Information, and Hypothesis Testing — Examples

1 · Prerequisites

2 · Summary

The examples calculate binary KL, Rényi, and total-variation divergences, then check how zero coordinates determine singular divergence values. The testing example uses P as the null, Q as the alternative, and a rejection function whose value is the probability of rejecting P. It computes the type-I budget, the alternative acceptance error, and the likelihood-ratio boundary randomization exactly.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passOpen item page →

A binary Neyman–Pearson boundary randomization

Example

Let the null law be P=(2/3,1/3) and the alternative law be Q=(1/3,2/3) on X={a,b}. For the type-I bound ϵ=1/2, the optimal test rejects with probability 1/4 at a and probability 1 at b.

Facts & Assumptions

Given: The displayed null P, alternative Q, and ϵ=1/2.

[F1]

Randomized tests: ϕ(x)∈[0,1] is the probability of rejecting the null after observing x; 1−ϕ(x) is the acceptance probability.

[F2]

Test size and power: for a simple null P the type-I error is EPϕ, and under the alternative Q the rejection probability is the power EQϕ.

[F3]

Finite type-II testing function with explicit orientation: βϵ(P,Q) is the infimum of EQ[1−ϕ] over all rejection functions with EPϕ≤ϵ.

[F4]

Finite probability vectors: P,Q are probability vectors on {a,b} with the displayed coordinates.

[F5]

Finite probability spaces, outcome weights, events, and event probabilities and Expectation of a real random variable on a finite probability space: the displayed vectors give finite laws, with EPh=∑xpxh(x) and EQh=∑xqxh(x).

Verification

Given: P=(2/3,1/3) is the null, Q=(1/3,2/3) is the alternative, and the test function is a rejection probability.

1.1F1F2F3F4F5constructalgebra

Define ϕ(a)=1/4 and ϕ(b)=1. By [F1], this is a valid randomized test. Its type-I error is (2/3)(1/4)+(1/3)(1)=1/2, and its type-II error is (1/3)(3/4)+(2/3)(0)=1/4 by [F2, F3, F5].

2.1F1F2F3F4F5step 1.1algebra

Consider any feasible test and put u=ϕ(a), v=ϕ(b). If u≤1/4, then its alternative rejection probability is EQϕ=u/3+2v/3≤1/12+2/3=3/4 by [F5]. If u>1/4, the constraint 2u/3+v/3≤1/2 gives v≤3/2−2u, hence EQϕ≤u/3+(2/3)(3/2−2u)=1−u<3/4 by [F5]. Thus no feasible test has smaller type-II error than the candidate in step 1.1, proving β1/2(P,Q)=1/4.

3.1F1F2step 1.1algebra∎

The alternative-to-null likelihood ratios are qa/pa=1/2 and qb/pb=2. The test of step 1.1 rejects fully at the larger ratio b and randomizes at the smaller ratio a to exhaust the remaining type-I budget. This verifies the threshold direction for H0:P against H1:Q.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passOpen item page →

Binary f-, KL-, and Rényi divergences

Example

On X={0,1}, take P=(3/4,1/4) and Q=(1/4,3/4). Their supports agree and all coordinates are positive.

Facts & Assumptions

Given: The displayed P,Q and the definitions of f-, KL-, and Rényi divergence below.

[F1]

Finite probability vectors: a finite probability vector has nonnegative coordinates summing to one.

[F2]

Finite Kullback–Leibler divergence: D(P∥Q)=∑x:px>0pxlog⁡(px/qx) with natural logarithms.

[F3]

Finite Rényi divergence: for α≠1, Dα(P∥Q)=log⁡Sα(P,Q)/(α−1) with the support conventions stated in its Definition.

[F4]

Finite f-divergence with support conventions: the generator must be finite and convex on (0,∞) and satisfy f(1)=0; its coordinate terms here are qxf(px/qx).

[F5]

Absolute value in an ordered field and Basic properties of the absolute value: absolute value is real-valued, ∣c∣=c for c≥0, and ∣cz∣=∣c∣∣z∣.

[F6]

The triangle inequality: ∣u+v∣≤∣u∣+∣v∣.

[F7]

Convex and strictly convex functions on Euclidean convex sets: a function is convex when it lies below each two-point chord.

Verification

Given: P=(3/4,1/4) and Q=(1/4,3/4).

1.1F1F2algebra

By [F2], D(P∥Q)=34log⁡3+14log⁡(1/3)=12log⁡3. The direction is P to Q; reversing the vectors gives the same value here by symmetry.

1.2F3algebra

For order 1/2, each affinity term is pxqx, so S1/2=23/16=3/2 by [F3]. Therefore D1/2=−2log⁡(3/2)=log⁡(4/3).

1.3F3algebra

For order 2, [F3] gives S2=(9/16)/(1/4)+(1/16)/(3/4)=9/4+1/12=7/3, so D2=log⁡(7/3).

1.4F4F5F6F7algebra

Put f(t)=12∣t−1∣ for t>0. It is finite-valued and f(1)=0. For x,y>0 and s∈[0,1], (1−s)x+sy>0, so [F5] and [F6] give f((1−s)x+sy)=12∣(1−s)(x−1)+s(y−1)∣≤(1−s)f(x)+sf(y). Thus [F7] proves that f is convex, so it is an admissible generator in [F4].

2.1F1F4step 1.4algebra∎

The generator in [F4] now gives Df(P∥Q)=12∑x∣px−qx∣=12(1/2+1/2)=1/2.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passOpen item page →

Disjoint supports and singular divergence values

Example

Let X={a,b}, P=(1,0), and Q=(0,1). The two laws have disjoint supports.

Facts & Assumptions

Given: The displayed P,Q, the total-variation generator f(t)=12∣t−1∣, and the KL and Rényi conventions.

[F1]

Finite probability vectors: coordinates may be zero, and supp⁡P={x:px>0}.

[F2]

Finite f-divergence with support conventions: the generator must be finite and convex on (0,∞) and satisfy f(1)=0; a coordinate with qx>0=px contributes qxf(0), while one with px>0=qx contributes pxf∞.

[F3]

Finite Kullback–Leibler divergence: any coordinate with px>0=qx makes D(P∥Q)=+∞; zero P-mass contributes zero.

[F4]

Finite Rényi divergence: below order one a px>0=qx coordinate contributes zero to the affinity; above order one it makes the affinity infinite.

[F5]

Absolute value in an ordered field and Basic properties of the absolute value: absolute value is real-valued, ∣c∣=c for c≥0, and ∣cz∣=∣c∣∣z∣.

[F6]

The triangle inequality: ∣u+v∣≤∣u∣+∣v∣.

[F7]

Convex and strictly convex functions on Euclidean convex sets: a function is convex when it lies below each two-point chord.

Verification

Given: P=(1,0) and Q=(0,1) on {a,b}.

1.1F2F5F6F7algebra

Put f(t)=12∣t−1∣ for t>0. It is finite-valued and f(1)=0. For x,y>0 and s∈[0,1], (1−s)x+sy>0, so [F5] and [F6] give f((1−s)x+sy)=12∣(1−s)(x−1)+s(y−1)∣≤(1−s)f(x)+sf(y). Thus [F7] proves that f is convex, so it is an admissible generator in [F2].

1.2F3algebra

Since pa=1>0=qa, [F3] gives D(P∥Q)=+∞. This records the singular direction; D(Q∥P) is also infinite by the same support calculation with a,b exchanged.

2.1F1F2step 1.1algebra

For 0<t<1, f(t)=12(1−t), so f(0)=lim⁡t↓0f(t)=1/2. For t>1, f(t)/t=12(1−1/t), so f∞=lim⁡t→∞f(t)/t=1/2. The coordinate a contributes paf∞=1/2 by [F2], and coordinate b contributes qbf(0)=1/2. Thus Df(P∥Q)=1.

3.1F3F4step 1.2algebra∎

If 0<α<1, the only coordinate with qx>0 is b, where pb=0, so Sα(P,Q)=0 and Dα(P∥Q)=+∞ by [F4] and the definition. If α>1, coordinate a gives infinite affinity by [F4]. At α=1, KL is infinite by step 1.2.

Sources