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.
Buffered certified rational phase approximation
Definition
PHASEAPPROX(ω,η) takes a unit scalar and positive rational tolerance . Coordinates may be exact algebraic, or exact real expression-DAG nodes in the following explicitly selected ideal-real model. A finite input table labels real constants by their stipulated values; a constant is a parameter with an oracle interface, not a finite rational encoding of an arbitrary real. DAG nodes denote rational constants, those parameters, field operations (division only by a tested nonzero value), and uniquely specified nonnegative square roots. The interface supplies exact equality and order tests on all such expressions, including comparisons with rationals; each call and each field/node operation is charged, together with rational arithmetic and written descriptors. An implementation may additionally return certified rational enclosures, but no enclosure-based equality decision is presumed. This ideal interface is an explicit resource assumption; arbitrary Cauchy names alone do not supply it. Algebraic inputs retain the original exact-algebraic operation model. Implementation and parameter-oracle costs are separate, with no Turing-time claim. Put . Reject a failed unit promise as INVALID.
- Compute a rational interval of width at most for . For each arctangent use consecutive partial sums of as the enclosure. Increment until and use sums through indices . Combine the two intervals outward.
- Check coordinates for exact zero. If , set ; if , set ; if , set ; if , set . In these axis branches proceed to instruction 5. The zero vector returns INVALID.
- Set and . While , set and . Compute rational Taylor sums for cosine and sine at with error at most . Retain at least indices ; increment until twice the next absolute term is at most . The successive-term ratios after this index are at most . Form the exact real expression . If , set . Otherwise if , set . Otherwise set . Equality takes this last branch.
- If , set ; if , set ; if , set ; if , set .
- Set to the rational midpoint of . Find by repeated halving until . Round to a multiple of within , obtaining ; this can be done by binary search among the dyadic grid points in , charging every comparison and written bit. Return , , and the rounding bound as the phase certificate.
Use the returned rational phase in from QSP signal matrix and ordered phase sequence. All branches and operation counts are explicit; no coordinate-isolator refinement or equality test involving a transcendental sine/cosine value is invoked. In the ideal-real variant all coordinate equality/order calls use the explicitly supplied interface. This definition makes no Turing-time or finite-basis compilation claim.
Depends on
- 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
- Conjugation is an involutive real-field automorphism, $z\overline z=|z|^2$, and modulus is definite, multiplicative, and subadditive
Used by
Dependency tree · two levels
81 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)