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.
Terminating certified rounding for a counting estimate
Statement
Given integers , even , and , let . There is a terminating deterministic rational-interval procedure that produces an integer with . Its arithmetic work is a classical bit cost; no polynomial bit bound is asserted.
Facts & Assumptions
Given: Integers , even , and a phase label .
, and . After terms, the alternating-series error gives , where . Increasing until is below a requested rational width yields the rational interval ; termination follows from the Archimedean property (Rational bounds for pi used in finite schedules, Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz 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 , Every complete ordered field is Archimedean).
Cosine is represented by its everywhere-convergent power series (Sine and cosine defined by their real power series).
Rational arithmetic, interval comparison, and output writing are charged classical bit operations (Classical bit-operation cost).
For and , the exponential addition law gives (, and the complex exponential extends the real exponential). Euler's formula, , and give (, , and ). Together with [F5], this proves for every integer , including and non-dyadic .
The cosine double-angle identity gives (Double-angle and quadratic power-reduction identities).
For and , factoring gives .
The alternating-series remainder bounds the tail by the first omitted term when magnitudes decrease to zero (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 ).
For , . The ratio test gives convergence of , and the term test then gives (Ratio test: gives absolute convergence and hence convergence, and gives divergence, If a series converges then its terms tend to ).
For every real , there is an integer with (Integer part: for every real there is exactly one integer with ).
The real absolute value is defined by for and for (Absolute value in an ordered field).
The exact rational-interval instructions, including the branch, the and enclosure-index loops, and the output for the final interval , are defined in Rational-interval rounding of a counting output.
Proof
If , [F11] returns , so assume . Since , the true argument lies in . For any accepted enclosure index in [F11], write , and for its output interval. For every , the cosine terms after index alternate with decreasing magnitudes, so the omitted tail is bounded by . For each integer , [F6] bounds by ; summing with the factorial coefficients gives . Thus , and the endpoints in [F11] enclose in .
The ratio of successive bounds tends to zero, so and a finite satisfies . For that , the enclosure-index loop in [F11] refines the alternating arctangent enclosure of until its propagated argument interval is contained in and : this terminates because the true argument is strictly inside , is finite, and the enclosures become arbitrarily narrow. The cosine interval has width at most , so its interval has width . Both loops terminate.
Apply [F9] to and set . Then , so and [F10] gives . If contains and has width below , every satisfies ; adding these bounds gives . Thus the closed radius- interval about contains all of , so an eligible integer exists. Eligibility is exactly , so the least eligible integer is , as returned by [F11]. It gives because . All rational operations and output work are charged by [F3]. The identity follows from the cosine double-angle identity, and its exact encoding is covered by [F4] using [F5].
Depends on
- Rational-interval rounding of a counting output
- Rational bounds for pi used in finite schedules
- Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz series
- Sine and cosine defined by their real power series
- Classical bit-operation cost
- Integer part: for every real $x$ there is exactly one integer $m$ with $m \le x < m + 1$
- Ratio test: $\limsup |a_{k+1}/a_k| < 1$ gives absolute convergence and hence convergence, and $\liminf |a_{k+1}/a_k| > 1$ gives divergence
- 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 addition formulas for sine and cosine
- Double-angle and quadratic power-reduction identities
- Finite exact comparison of real cyclotomic values
- $\exp(x+iy)=e^x(\cos y+i\sin y)$, $|\exp(x+iy)|=e^x$, and $e^{i\pi}+1=0$
- $\exp(z+w)=\exp z\,\exp w$, and the complex exponential extends the real exponential
- If a series converges then its terms tend to $0$
- Absolute value in an ordered field
- Every complete ordered field is Archimedean
Used by
- Relative approximate counting with unknown marked count Algorithm
- Relative approximate counting success guarantee Theorem
Cited to discharge well-definedness by Rational-interval rounding of a counting output.
Dependency tree · two levels
92 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)