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 , , and with . Form the exact Box–Muller vector from the same ideal uniforms, assigning when 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 possible midpoint input pairs. Let 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 For the exact ideal Box–Muller vector and the computed midpoint output , the bounded-Lipschitz distance, defined by the supremum over functions with supremum norm and Lipschitz constant at most , is at most . The 1-Wasserstein distance, defined as the infimum of over couplings, is at most The finite-bit output has finite support and bounded radius, so its total-variation distance from the continuous law with density is , where total variation is . A successful finite transform consumes exactly 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.
Coupling a bit-stream uniform to its -bit midpoint gives coordinate error at most . Midpoint bit discretization has bounded coupling and CDF error
The exact Box–Muller vector has product Gaussian density, radial tail , and . Box–Muller has a product Gaussian density and Rayleigh second moment
For square-integrable random variables, Cauchy–Schwarz bounds by the product of their norms. Cauchy-Schwarz for random variables
On every midpoint input pair the fixed deterministic finite transform succeeds and returns with its stated certificates, bounded by the fixed uniform constants . Finite-bit Box–Muller with certified elementary-function evaluators
Total variation between probability laws is the supremum of event-probability differences. Total variation distance for probability laws
On positive reals, ; the real mean-value theorem bounds a differentiable function's increment by its derivative on an interval. The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t, The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with
Every nonnegative real has a unique nonnegative square root. Square roots exist: a unique with ; the positives are
The fair-bit product probability model requires Countable Choice and Dependent Choice. The Axiom of Countable Choice (), The axiom of dependent choice: a relation in which every element is related to something admits an -indexed chain
The exact Box–Muller law uses Countable Choice for Borel change of variables and the null-axis calculation. The Axiom of Countable Choice ()
Proof
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 to its midpoint using the same bits. On the event , both and are at least . The mean-value theorem and logarithm derivative [F6] give . For , [F7] and give ; interchanging proves . Thus the radial change before evaluator error is at most . The angular unit vector changes by at most , and the midpoint radius is at most . Thus the exact transform difference on is at most .
Put and . The certified log interval contains , so and . The certified root interval contains and has width at most , hence . The square-root inequality from step 1.1 yields . The phase certificate gives , so . Therefore the evaluator perturbation satisfies , using [F4] and . Combining with step 1.1 gives on .
Since is uniform by [F1], . For every bounded-Lipschitz test function the difference on is at most , and on it is at most . Taking expectations and then the supremum gives .
By [F2], , so [F3] gives . The smallest midpoint is , hence every exact midpoint radius is at most ; [F4] gives . Therefore the expected coupled error is at most , which bounds .
The instructions take exactly 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 possible pairs of bit blocks, so is supported on a finite set. The exact Gaussian law has a density and assigns that set probability zero; by [F5], the distance is . The radius bound in step 3.2 proves bounded support.
Depends on
- The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t
- The mean value theorem, as the case $g(x) = x$ of Cauchy's: for $f$ continuous on $[a,b]$ with $a < b$ and differentiable on $(a,b)$ there is $c \in (a,b)$ with $f(b) - f(a) = f'(c)(b-a)$
- Square roots exist: a unique $\sqrt{a} \ge 0$ with $(\sqrt{a})^2 = a$; the positives are $\{x^2 : x \neq 0\}$
- Finite-bit Box–Muller with certified elementary-function evaluators
- Midpoint bit discretization has bounded coupling and CDF error
- Box–Muller has a product Gaussian density and Rayleigh second moment
- Cauchy-Schwarz for random variables
- Total variation distance for probability laws
- The Axiom of Countable Choice ($\mathrm{AC}_\omega$)
- The axiom of dependent choice: a relation in which every element is related to something admits an $\mathbb{N}$-indexed chain
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
- Luc Devroye, Non-Uniform Random Variate Generation, Chapter V §4.4 (standard reference, not scraped)
- E. M. Raz, Lecture Notes in Probability, Chapter 5, Exercise 5.2 (standard reference, not scraped)