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.
Rejection sampling is uniform, almost surely terminating, and has expected linear bit cost
Statement
For every , the procedure in Exact uniform sampling from the nonzero residue representatives halts almost surely and returns each with probability exactly . If , its expected random-bit use is at most and its expected total classical bit transitions are .
Facts & Assumptions
Given: , , , and the rejection procedure in Exact uniform sampling from the nonzero residue representatives.
Countable choice and dependent choice are assumed only to form the countable product of fair-bit probability spaces used by the random tape (The Axiom of Countable Choice (), The axiom of dependent choice: a relation in which every element is related to something admits an -indexed chain, Assuming countable and dependent choice, countable products of arbitrary probability spaces). The finite probability branches of the number-theoretic proofs do not use this axiom branch.
Each bit has probability for both values, finite blocks have their product law under the countable product measure, and disjoint blocks are independent (Assuming countable and dependent choice, countable products of arbitrary probability spaces, Finite probability spaces, outcome weights, events, and event probabilities, Coordinate random elements of a countable product are independent).
For a decreasing sequence of events in a probability space, the probability of the intersection is the limit of the probabilities (Continuity from above when one set has finite measure).
For a nonnegative random variable, expectation is the tail integral (Expectation of a nonnegative or integrable random variable, Layer-cake formulas for random variables).
The multitape bit-cost convention charges random-bit generation, binary arithmetic, comparisons and output writing (Classical bit-operation cost, Shor factoring cost-accounting branches).
Proof
A block is accepted with probability . By the definition of , , and either or ; hence . If , every block is accepted and each valid is output with probability . If , for a fixed valid the probability that the algorithm outputs on block is by [F1], and summing gives .
The events that the first blocks are all rejected decrease with and have probability by [F1]. Their intersection is the event that the algorithm never halts, and [F2] gives that event probability . Thus the procedure halts almost surely.
Let be the number of blocks read before the first acceptance. For integer , . The tail function is constant on each interval , so [F3] gives , with the case interpreted as . Computing as the binary length of takes transitions. Each block reads and stores bits in transitions; comparing that -bit integer with takes transitions, and incrementing an accepted value and writing the output use at most bits. Since , these operations also take transitions, so the nonrandom work per block is . By [F4], these transitions and the random-bit generations are charged. Thus expected random-bit use is at most and expected total bit transitions are .
Depends on
- Exact uniform sampling from the nonzero residue representatives
- 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
- Assuming countable and dependent choice, countable products of arbitrary probability spaces
- Coordinate random elements of a countable product are independent
- Finite probability spaces, outcome weights, events, and event probabilities
- Continuity from above when one set has finite measure
- Expectation of a nonnegative or integrable random variable
- Layer-cake formulas for random variables
- Shor factoring cost-accounting branches
- Classical bit-operation cost
Used by
Dependency tree · two levels
47 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
- Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (standard reference, not scraped)
- Ronald de Wolf, Quantum Computing: Lecture Notes (standard reference, not scraped)