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.
Relative approximate counting success guarantee
Statement
For the dyadic relative-counting procedure with rational , if its integer output is within of with probability at least . If , every rough and final Count output is exactly zero, the loop stops at its finite cutoff, and the output is zero with certainty.
For every stated input, both dyadic scheduling loops terminate and the final certified integer rounding terminates. The final scale is the least dyadic value at least , hence and . Fresh preparations and all controlled access and bit costs remain as declared.
Facts & Assumptions
Given: The relative-counting algorithm, , integer marked addresses, and rational .
The rough loop doubles , stops on nonzero label or , and uses final (Relative approximate counting with unknown marked count).
Fresh Count has zero-label probability , with exact zero endpoint (Exact zero-label probability for counting).
The final Count raw error has the bound and probability at least (Quantum counting error and boundary cases).
For , , and for , (Sine chord and linear bounds).
The cosine power series and alternating-series remainder apply at (Sine and cosine defined by their real power series, The alternating series test: if is nonincreasing with then converges, the sum lies between any two consecutive partial sums, and the error after terms is at most ).
, sine is nonnegative on , cosine is nonnegative and decreasing there, and the mean value theorem turns a nonnegative derivative into monotonicity (The derivatives of sine and cosine are cosine and minus sine, Signs, monotonicity intervals, and ranges of sine and cosine, The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ).
The sine double-angle formula is (The addition formulas for sine and cosine).
Count is defined for every power-of-two label size and uses the explicit controlled membership reflection (Quantum counting by uniform-state amplitude estimation).
The exact zero-label probability is the kernel in Exact zero-label probability for counting.
The rational upper bound exceeds (Rational bounds for pi used in finite schedules).
Certified integer rounding returns an integer within of the raw algebraic value (Terminating certified rounding for a counting estimate).
The exact label and interval operations are classical postprocessing (Classical bit-operation cost).
The real field is Archimedean, natural powers obey , and induction holds on the naturals (Every complete ordered field is Archimedean, Exponentiation of natural numbers, , and its agreement with the integer power in , The principle of mathematical induction).
Proof
The rough loop starts at and doubles each round. By [F26] choose a natural . Induction gives for every natural : it is equality at , and . Thus after at most rounds the scale has been reached, so ; the other stopping condition can only make the loop stop earlier. By [F21]–[F22], is exactly a nonzero raw estimate test.
Suppose and put . Let be the largest nonnegative index such that for every ; the condition is vacuous for . This index is finite because and the powers of two are unbounded by [F26]. For each rough scale with , one has and , because . Thus cutoff cannot occur during these rounds.
The threshold is a positive rational. By [F26] and the induction argument in step 1.1, some power of two exceeds , so the doubling loop terminates; its first value is the least such power and satisfies . Since and , , so is even and at least , as required by Count and the rounding lemma. Since , and . The rounding step [F24] terminates and makes the integer output explicit; its bit work is covered by [F25].
For , define . By [F7], and , so the mean value theorem gives . At each rough scale , this and yield by [F2]. Fresh runs make their zero events independent. If , then and [F8] gives , using , , , and the decrease of nonnegative cosine from [F7]. If , the empty product is .
On the event that the first rough labels are zero, the loop cannot terminate before rough scale : none of scales , , triggers the cutoff by step 1.2, and the first labels are zero. By maximality of , , so . The loop therefore terminates at some scale , whether by a nonzero label or by the cutoff. Thus [F1] gives , in particular . Applying [F3], using and , gives . The trigonometric inequality follows from [F4] with .
Each Count call uses a fresh preparation; the algorithm uses only the supplied access capabilities in [F21]. It is a finite procedure with exact finite stopping tests and certified final output, but no success or query-cost bound follows from this definition alone.
Since by the alternating cosine series [F6], [F5] gives , where the last comparison is after cross multiplication. The final Count is a fresh run, so conditionally on the rough outcomes it succeeds with probability at least ; multiplying by the rough-event probability proves joint probability greater than .
The output integer differs from by at most by [F1]. If , raw error plus rounding is at most , so the integer equals . If , then and , so total error is at most .
If , every Count phase is exactly zero by [F2], so rough labels are zero and cutoff eventually terminates. The final Count is also exactly zero, and certified rounding returns zero. This proves the zero-count branch and completes the success guarantee.
Depends on
- Relative approximate counting with unknown marked count
- Quantum counting error and boundary cases
- Exact zero-label probability for counting
- Rational bounds for pi used in finite schedules
- Sine chord and linear bounds
- Sine and cosine defined by their real power series
- The alternating series test: if $(b_k)$ is nonincreasing with $b_k \to 0$ then $\sum_{k} (-1)^{k} b_k$ converges, the sum lies between any two consecutive partial sums, and the error after $n$ terms is at most $b_n$
- The derivatives of sine and cosine are cosine and minus sine
- The addition formulas for sine and cosine
- Signs, monotonicity intervals, and ranges of sine and cosine
- 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)$
- Quantum counting by uniform-state amplitude estimation
- Terminating certified rounding for a counting estimate
- Classical bit-operation cost
- Exponentiation of natural numbers, $m^{n}$, and its agreement with the integer power in $\mathbb{R}$
- The principle of mathematical induction
- Every complete ordered field is Archimedean
Used by
Nothing in the library uses this result yet.
Cited to discharge well-definedness by Relative approximate counting with unknown marked count.
Dependency tree · two levels
86 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
- Brassard, Høyer, Mosca, and Tapp, Quantum Amplitude Amplification and Estimation, complete article, §§4–5, Theorems 11–18 (standard reference, not scraped)
- Andrew M. Childs, Lecture Notes on Quantum Algorithms, complete lecture notes, §§19.1–19.3 (standard reference, not scraped)
- Ronald de Wolf, Quantum Computing: Lecture Notes, complete 239-page notes, §7.3 (standard reference, not scraped)