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.
Finite exact comparison of real cyclotomic values
Statement
For an integer , let and let be given coefficient lists such that and are real. There is a terminating deterministic exact procedure to decide which of these two real numbers is larger, or whether they are equal. Its bit-operation cost is charged to the classical cost model; no polynomial bound is asserted.
Facts & Assumptions
Given: The integer , rational polynomials , and the promise that their values at are real.
The cyclotomic polynomial is irreducible over and is the minimal polynomial of a primitive th root ( is irreducible in for every ).
Write . The arctangent theorem gives , and the alternating-series test gives . For any rational width , increasing until gives the rational interval of width below containing ; exact rational comparisons suffice, and the loop terminates because the natural numbers are unbounded (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).
Sine and cosine are given by their convergent power series (Sine and cosine defined by their real power series).
Rational arithmetic and exact comparisons are part of the separately charged classical bit-operation model (Classical bit-operation cost).
for real (, , and ).
For an alternating series whose nonnegative terms decrease to zero, the remainder after terms is at most the first omitted term (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 ).
Proof
Form and divide it by over . By irreducibility in [F1], exactly when the remainder is the zero polynomial; that finite rational coefficient test decides equality.
If the remainder is nonzero, then is a nonzero real algebraic number. Put , using and . For any rational tolerance , refine the pi enclosure from [F2] until the scaled interval for lies in and has width below ; this terminates because . For and , successive cosine-term magnitudes have ratio at most , and successive sine-term magnitudes have ratio at most . Thus [F3] and [F6] bound the cosine and sine tails after truncation through index by and . The ratios of these bounds at successive are and , both below for , so exact rational comparisons find an with both bounds below . For this fixed , refine until the rational interval evaluations of both truncation polynomials have widths below ; this exact test terminates because they are fixed polynomials and interval addition and multiplication preserve shrinking widths. Use those intervals with the alternating remainders to enclose and , then evaluate using rational complex interval arithmetic and Euler's formula [F5]. The resulting real intervals contain and have widths tending to zero as , since each sine/cosine interval width and tail bound tends to zero and is a finite polynomial.
Because , its distance from zero is positive. Repeatedly refine the rational interval from step 2.1 until it lies strictly above or below zero; convergence of the interval widths guarantees finite termination, and its sign decides the strict order. Equality was already decided in step 1.1, so this procedure terminates on every promised input. Its finitely many rational operations are charged under [F4].
Depends on
- $\Phi_n$ is irreducible in $\mathbb Q[t]$ for every $n\ge1$
- Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz series
- Rational bounds for pi used in finite schedules
- Sine and cosine defined by their real power series
- $\exp(x+iy)=e^x(\cos y+i\sin y)$, $|\exp(x+iy)|=e^x$, and $e^{i\pi}+1=0$
- Classical bit-operation cost
- 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$
- Every complete ordered field is Archimedean
Used by
- Iterative no-QFT amplitude estimation by finite-grid likelihood Algorithm
- Median confidence amplification for amplitude estimation Algorithm
- QFT-based amplitude estimation Algorithm
- Relative estimation of a promised coherent success probability Algorithm
- Terminating certified rounding for a counting estimate Lemma
- Amplitude-estimation additive error and success probability Theorem
- Exact query count for the finite-grid iterative estimator Theorem
- Explicit median confidence guarantee for amplitude estimation Theorem
- Relative probability estimation with a charged finite cap Theorem
Dependency tree · two levels
70 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)