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 · 1 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.

Finite bit random streams and variate generation — Examples

1 · Prerequisites

2 · Summary

These examples make the limits of finite random streams concrete: a full-period LCG can alternate its low bit, midpoint Box–Muller has a finite radial cutoff, and a raw zero endpoint makes its logarithm undefined. The inverse-CDF example shows why a small CDF residual gives no uniform linear spatial error bound near a vanishing density. Each example records the endpoint or distributional caveat needed to interpret the corresponding theorem.

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 full-period LCG can alternate its low bit

Example

Take w=3, a=5, c=1, and seed x0=0. The recurrence visits every residue modulo 8 before returning to 0, yet its least significant bit alternates at every step.

Facts & Assumptions

Given: The LCG recurrence with modulus 8, multiplier 5, increment 1, and a seed chosen uniformly from the eight states.

[F1]

Under a≡1(mod4) and odd increment, every seed has full period 2w, but a uniform seed does not make adjacent states independent. The power-of-two mixed LCG has full period but dependent adjacent states

[F2]

The state update is xn+1=[axn+c]2w. Linear congruential generator modulo a power of two

[F3]

The uniform law on eight states assigns mass 1/8 to each state. The uniform probability space on a nonempty finite set

Verification

1.1givenF1F2algebra

Direct iteration gives 0,1,6,7,4,5,2,3,0. These are the eight residues modulo 8, so the cycle is full. The parameters satisfy 5≡1(mod4) and 1 is odd, also verifying [F1]'s hypotheses.

2.1F1F2F3step 1.1algebra∎

Reducing [F2] modulo 2 gives xn+1≡xn+1(mod2), because 5≡1(mod2) and c=1. Thus the low bit alternates deterministically. By [F3], a uniform seed gives each state mass 1/8; since the update is a permutation, each time marginal is uniform. The adjacent pair lies on the eight-point graph of the recurrence rather than the 64-point product space, so the pair is dependent.

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

Eight-bit Box–Muller has a finite radial cutoff

Example

For b=8, a midpoint uniform is at least 1/512=2−9. The exact real-arithmetic Box–Muller reference transform therefore has radius at most 18log⁡2. Its radial target law assigns probability 1/512 beyond that radius, while the finite midpoint grid attains the cutoff at K=0 but never exceeds it.

Facts & Assumptions

Given: Two independent 8-bit midpoint uniforms and the exact Box–Muller map used as a mathematical reference.

[F1]

A b-bit midpoint has the form (K+1/2)2−b with integer 0≤K<2b. Its smallest value, at K=0, is 2−b−1; this is finite arithmetic, independent of any countable-bit-stream realization.

[F2]

Under the ideal Box–Muller transform, P(R>r)=e−r2/2. Box–Muller has a product Gaussian density and Rayleigh second moment

[F4]

A square root is nonnegative and squares to its argument; squaring is order-preserving on nonnegatives. Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0}, Squaring is monotone on the nonnegatives

[F5]
[A1]

The exact Box–Muller change-of-variables supplier assumes Countable Choice. The Axiom of Countable Choice (ACω)

Verification

1.1givenF1algebra

For b=8, 2b=256 and the smallest midpoint is (0+1/2)/256=1/512=2−9 by [F1].

2.1F1F2F3F4F5A1step 1.1algebra∎

For 0<u≤v≤1, [F3] gives 0≤−2log⁡v≤−2log⁡u. Their nonnegative square roots satisfy −2log⁡v≤−2log⁡u by [F4]; thus r(u)=−2log⁡u is nonincreasing, and the largest radius occurs at u=2−9 and equals 18log⁡2. The logarithm laws [F3] give log⁡(2−9)=−9log⁡2. By [F2] and [F5], the ideal radial tail beyond the cutoff is e−18log⁡2/2=elog⁡(2−9)=2−9=1/512, while no finite midpoint input has a larger radius.

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

A raw zero uniform breaks Box–Muller but the midpoint avoids it

Example

A raw grid value K/2b can equal zero, so the Box–Muller logarithm is undefined on that input. Its midpoint version (K+1/2)2−b is always strictly positive; an ideal uniform input equals zero only on a null event.

Facts & Assumptions

Given: An integer K uniform on {0,…,2b−1} and the Box–Muller radius formula r(u)=−2log⁡u for u>0.

[F1]

The midpoint value is (K+1/2)2−b and belongs to (0,1). Midpoint bit discretization has bounded coupling and CDF error

[F2]

An ideal bit-stream uniform has CDF t on [0,1] and hence assigns probability zero to {0}. Disjoint streams of independent fair bits produce independent uniform variables

[F3]

For 0<u<1, the exact Box–Muller reference radius is r(u)=−2log⁡u. Box–Muller has a product Gaussian density and Rayleigh second moment

Verification

1.1givenF3algebra

The raw endpoint event is exactly K=0, which has probability 2−b; the radius expression [F3] has an undefined logarithm at that input.

2.1F1F2F3A1algebra∎

By [F1], the midpoint input is at least 2−b−1>0 and is less than 1, so its logarithm is finite. By [F2], the ideal stream hits 0 with probability zero; a software interface still needs an explicit endpoint convention if it accepts closed-interval inputs.

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

A vanishing density prevents a uniform linear spatial inverse bound

Example

Let F(x)=0 for x≤0, F(x)=x2 for 0≤x≤1, and F(x)=1 for x≥1. Its density f(x)=2x on (0,1) has no positive lower bound near zero. At target u=0, the endpoint inverse is Q(0):=0 by convention; for each 0<ε≤1, the point x^=ε has CDF residual ε but spatial error ε.

Facts & Assumptions

Given: The CDF and points in the Example.

[F1]

A nonnegative real ε has a unique nonnegative square root whose square equals ε. Square roots exist: a unique a≥0 with (a)2=a; the positives are {x2:x≠0}

[F2]

For u∈(0,1), a CDF residual at most ε yields the spatial bound ∣x^−Q(u)∣≤ε/m if both points lie in the bracket, F(y)−F(x)=∫xyf(t) dt there, and f≥m>0 almost everywhere. This is a sufficient condition for a linear bound. Certified bisection controls CDF residual, spatial error, and distribution error

Verification

1.1givenF1algebra

For 0<ε≤1, [F1] gives x^=ε≥0 and x^2=ε>0, so x^>0. If x^>1, then x^2>1, contradicting ε≤1; hence x^∈[0,1] and F(x^)=x^2=ε. Under the stated endpoint convention, the target is 0, so the residual is ε while the spatial error is ε.

2.1F1F2step 1.1algebra∎

The ratio ε/ε=1/ε is unbounded as ε↓0: for any M>0, take 0<ε<min⁡(1,1/(M+1)2), so [F1] gives ε<1/(M+1) by comparing nonnegative squares, and the ratio exceeds M. Thus no constant C independent of ε gives ∣x^−Q(0)∣≤Cε for these points; their nonlinear error is exactly ε. The density f(x)=2x has essential infimum 0 on every [0,h] with 0<h≤1, so the sufficient positive-density condition in [F2] fails near zero. The endpoint computation uses the declared convention Q(0)=0, independently of [F2]'s interior-target theorem.

Sources