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.
Correctness and arithmetic resource bound for buffered phase approximation
Statement
Given exact real coordinates represented in either model of Buffered certified rational phase approximation with and rational , let . In a model charging one operation for each ideal exact field operation and order/equality comparison, the procedure Buffered certified rational phase approximation returns a certified rational angle with . It requires rational arithmetic operations and exact field operations/comparisons. It does not refine an algebraic isolator. The rational output has bits after a final dyadic rounding. This is not a claim about algebraic operation implementation, intermediate rational bit lengths, parameter-oracle implementation, or Turing time. The ideal-real conclusion is conditional on the stated equality/order interface, not on arbitrary Cauchy-name access. If , then .
Facts & Assumptions
Given: The algorithm Buffered certified rational phase approximation, the exact unit vector and tolerance above, and access to the charged exact field operations, including comparison with rational numbers.
Sine is positive and cosine is strictly decreasing on (0,2), with cos 2 at most -1/3 gives for ; parity gives for .
The subtraction formulas for sine and cosine gives the determinant identity used below.
Sine and cosine defined by their real power series and The sine and cosine power series converge absolutely for every real argument supply the series. Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz series, The principal inverse tangent , and Cofunction, supplementary, quarter-turn, and reflection identities for the six trigonometric functions supply principal arctangent, its integral and series, and . If on then for every partition ; in particular every constant function is integrable, with supplies Darboux integral bounds.
Euler's formula: for every real , , and the complex exponential extends the real exponential, and Conjugation is an involutive real-field automorphism, , and modulus is definite, multiplicative, and subadditive identify the complex unit scalar and give the triangle/product modulus laws.
QSP signal matrix and ordered phase sequence defines as the diagonal with entries . The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||, The norm induced by a real or complex inner product, and The computational basis is orthonormal fix the operator norm and the orthonormal signal basis.
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 decreasing nonnegative terms tending to zero, the alternating-series remainder lies between zero and the first omitted signed term; consecutive partial sums enclose the sum.
The complex exponential by its power series defines , and The complex exponential series converges absolutely for every complex argument states this series converges absolutely for every .
Proof
First compute rational sine and cosine approximations at any rational to absolute error . For each series, retain at least the terms through index and use the recurrence of successive terms. Subsequent absolute-term ratios are at most and decrease: for cosine they are , and for sine they are . Twice the first omitted absolute term bounds the tail. Increment the index until this rational bound is at most . The geometric decrease gives terms and arithmetic operations, uniformly in . The returned partial sums therefore satisfy .
The integral formula and in [F4] give : on the two cells of the partition , the decreasing integrand has lower sum and upper sum . Thus . First check the coordinates for exact zero; an axis input takes instruction 2 of the algorithm. Otherwise set , by exact comparisons and signs, and initialize . It contains by [F1] and . While its width exceeds , set , , and compute as in step 1.1. Form the exact real expression . If , replace by . If , replace by . Otherwise replace the bracket by . These are two exact comparisons against rational buffers; equality belongs to the third branch. No comparison with an exact transcendental value is made.
Let by [F3]. Since , . Also because . By [F2], the sign of is the sign of , and . Thus either definite comparison in step 2.1 retains and halves the bracket. In the third branch, implies , so the intersection also retains and has width at most . It is nonempty. Every iteration contracts by at least a factor , independently of how close the unknown phase is to a midpoint.
Obtain a rational enclosure for of width at most by Machin's identity . For completeness, put , . The integral in [F4] gives , so by step 2.1. Sine/cosine addition and their quotient give , , and . Injectivity of the principal tangent gives . For each arctangent the positive terms decrease to zero for , so [F7] shows that consecutive alternating partial sums enclose its value, and their separation is at most after the first terms. Choose by incrementing until and take the outward linear combination of the two enclosures. This uses rational operations. All displayed denominators are positive; all angles in these tangent identities are in its nonsingular principal range.
The loop terminates in iterations, returning rational containing with . Its comparison count is linear in the number of iterations. In an iteration with width , step 1.1 needs rational operations. The total is therefore . The exact real expressions compared are only rational linear combinations of the fixed coordinates . No algebraic-coordinate approximation, root isolation, normalized-vector division, or sensitivity bound occurs in these instructions.
On an axis, the explicit OP0 branches build as follows: if , use ; if , use ; if , use ; if , use . The zero vector is excluded by the unit promise (the general atan2 procedure returns INVALID there). No angular bisection is needed on an axis. Otherwise use the exact signs of to build a rational interval for a phase of : if use ; if use ; if use ; if use . Reflection, quarter-turn and parity identities give , and . Let be its rational midpoint. Choose the least nonnegative integer with by repeated halving, and round to a multiple of , obtaining with . Thus . Put . By [F8], the exponential series converges absolutely and . By [F5], and , so . The phase lies in a fixed bounded interval, so this dyadic has bits. The constructed interval and rounding bound are the certificate.
Put . By [F5] and [F6], has diagonal entries . On a vector with orthonormal coordinates , its squared output norm is . Thus every unit vector has output norm , and the operator norm is exactly . Together with the operation counts and termination above, this proves all claims.
Depends on
- 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$
- Buffered certified rational phase approximation
- The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||
- The norm $\lVert v\rVert=\sqrt{\langle v,v\rangle}$ induced by a real or complex inner product
- The computational basis is orthonormal
- QSP signal matrix and ordered phase sequence
- $t\mapsto(\cos t,\sin t)$ is a bijection from $[0,2\pi)$ onto the real unit circle
- Signs, monotonicity intervals, and ranges of sine and cosine
- Sine is positive and cosine is strictly decreasing on (0,2), with cos 2 at most -1/3
- The subtraction formulas for sine and cosine
- Sine and cosine defined by their real power series
- The sine and cosine power series converge absolutely for every real argument
- Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz series
- The principal inverse tangent $\arctan:\mathbb R\to(-\pi/2,\pi/2)$
- Cofunction, supplementary, quarter-turn, and reflection identities for the six trigonometric functions
- Quarter-turn values and shifts by pi/2 and pi
- If $m \le f \le M$ on $[a,b]$ then $m(b-a) \le L(f,P) \le \underline{\int_a^b} f \le \overline{\int_a^b} f \le U(f,P) \le M(b-a)$ for every partition $P$; in particular every constant function is integrable, with $\int_a^b c = c(b-a)$
- Euler's formula: $\exp(i\theta)=\cos\theta+i\sin\theta$ for every real $\theta$
- $\exp(z+w)=\exp z\,\exp w$, and the complex exponential extends the real exponential
- The complex exponential by its power series
- The complex exponential series converges absolutely for every complex argument
- Conjugation is an involutive real-field automorphism, $z\overline z=|z|^2$, and modulus is definite, multiplicative, and subadditive
Used by
Cited to discharge well-definedness by Buffered certified rational phase approximation.
Dependency tree · two levels
102 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
- Gilyén et al., Quantum singular value transformation and beyond (standard reference, not scraped)