Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedPipeline-generatedprecheck pass
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.

Certified finite-bit Box–Muller has explicit BL and W1 error

Statement

Let b≥1, δb=2−b−1, and 0<δ with δ+δb≤1. Form the exact Box–Muller vector from the same ideal uniforms, assigning Z=(0,0) when U1=0 so the null endpoint is defined. Run Finite-bit Box–Muller with certified elementary-function evaluators with one fixed deterministic configuration that succeeds for every one of the 22b possible midpoint input pairs. Let ηℓ,ηs,ηt be fixed finite upper bounds for its respective reported certificates over all those calls. Such bounds can be obtained as maxima over that finite set after every call has certified success; success on a single sampled input or conditioning on a random success event does not meet this hypothesis. Put Rδ=2log⁡(1/δ),Rb=2(b+1)log⁡2,p=δ+δb, e=2δbδ+2πRδδb+(2ηℓ+ηs)(1+ηt)+Rδηt. For the exact ideal Box–Muller vector Z and the computed midpoint output Z^, the bounded-Lipschitz distance, defined by the supremum over functions with supremum norm and Lipschitz constant at most 1, is at most e+2p. The 1-Wasserstein distance, defined as the infimum of E∥X−Y∥2 over couplings, is at most e+2p+(Rb+ηr)(1+ηt),ηr=2ηℓ+ηs. The finite-bit output has finite support and bounded radius, so its total-variation distance from the continuous law with density (2π)−1e−(x2+y2)/2 is 1, where total variation is sup⁡A∣μ(A)−ν(A)∣. A successful finite transform consumes exactly 2b random bits and makes three top-level evaluator calls (log, root, and phase); the phase call may perform multiple internal evaluations. These bounds do not assert exact Gaussian output.

Facts & Assumptions

Given: The bit budget, δ, the certified evaluator bounds, and the exact/finite procedures in the Statement.

[F1]

Coupling a bit-stream uniform to its b-bit midpoint gives coordinate error at most δb. Midpoint bit discretization has bounded coupling and CDF error

[F2]

The exact Box–Muller vector has product Gaussian density, radial tail e−r2/2, and E∥Z∥22=2. Box–Muller has a product Gaussian density and Rayleigh second moment

[F3]

For square-integrable random variables, Cauchy–Schwarz bounds E[∣XY∣] by the product of their L2 norms. Cauchy-Schwarz for random variables

[F4]

On every midpoint input pair the fixed deterministic finite transform succeeds and returns r^,t^ with its stated certificates, bounded by the fixed uniform constants ηℓ,ηs,ηt. Finite-bit Box–Muller with certified elementary-function evaluators

[F5]

Total variation between probability laws is the supremum of event-probability differences. Total variation distance for probability laws

[A2]

The exact Box–Muller law uses Countable Choice for Borel change of variables and the null-axis calculation. The Axiom of Countable Choice (ACω)

Proof

1.1givenF1F6F7A1A2algebra

The all-input-success hypothesis makes the computed output a deterministic function of the two finite bit blocks on the original probability space; no conditioning changes their law. Couple each ideal uniform input Uj to its midpoint Uj,b using the same bits. On the event G={U1≥δ+δb}, both U1 and U1,b are at least δ. The mean-value theorem and logarithm derivative [F6] give ∣log⁡U1−log⁡U1,b∣≤δb/δ. For x≥y≥0, [F7] and (x−y)(x+y)=x−y give (x−y)2≤x−y; interchanging x,y proves ∣x−y∣≤∣x−y∣. Thus the radial change before evaluator error is at most 2δb/δ. The angular unit vector changes by at most 2π∣U2−U2,b∣≤2πδb, and the midpoint radius is at most Rδ. Thus the exact transform difference on G is at most 2δb/δ+2πRδδb.

2.1F4step 1.1algebra

Put rb=−2log⁡U1,b and tb=(cos⁡(2πU2,b),sin⁡(2πU2,b)). The certified log interval [L−,L+] contains log⁡U1,b, so q=−2L−≥0 and ∣q−rb2∣=2∣L−−log⁡U1,b∣≤2ηℓ. The certified root interval contains q and has width at most ηs, hence ∣r^−q∣≤ηs. The square-root inequality from step 1.1 yields ∣r^−rb∣≤ηs+2ηℓ=ηr. The phase certificate gives ∥t^−tb∥2≤ηt, so ∥t^∥2≤1+ηt. Therefore the evaluator perturbation satisfies ∥r^ t^−rbtb∥2≤∣r^−rb∣∥t^∥2+rb∥t^−tb∥2≤ηr(1+ηt)+Rδηt, using [F4] and ∥tb∥2=1. Combining with step 1.1 gives ∥Z−Z^∥2≤e on G.

3.1F1A1step 2.1algebra

Since U1 is uniform by [F1], P(Gc)=p. For every bounded-Lipschitz test function the difference on G is at most e, and on Gc it is at most 2. Taking expectations and then the supremum gives dBL(L(Z),L(Z^))≤e+2p.

3.2F2F3F4A1A2step 2.1

By [F2], E∥Z∥22=2, so [F3] gives E[∥Z∥21Gc]≤2p. The smallest midpoint is 2−b−1, hence every exact midpoint radius is at most Rb; [F4] gives ∥Z^∥2≤(Rb+ηr)(1+ηt). Therefore the expected coupled error is at most e+2p+(Rb+ηr)(1+ηt), which bounds W1.

4.1F2F4F5A1A2step 3.2∎

The instructions take exactly b bits from each of two subsequences and, on success, call the log evaluator, root evaluator, and phase evaluator once each; hence the stated bit count and three top-level calls. There are only 22b possible pairs of bit blocks, so Z^ is supported on a finite set. The exact Gaussian law has a density and assigns that set probability zero; by [F5], the distance is 1. The radius bound in step 3.2 proves bounded support.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

65 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources