Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generatedjudge pass (gpt-6-luna)
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 ω=u+iv 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 h=min⁡(η,1). Reject a failed unit promise as INVALID.

  1. Compute a rational interval Iπ of width at most h/8 for π=16arctan⁡(1/5)−4arctan⁡(1/239). For each arctangent use consecutive partial sums of ∑j≥0(−1)jr2j+1/(2j+1) as the enclosure. Increment N≥1 until 20⋅5−(2N+1)≤h/8 and use sums through indices N−1,N. Combine the two intervals outward.
  2. Check coordinates for exact zero. If v=0,u>0, set J=[0,0]; if v=0,u<0, set J=Iπ; if u=0,v>0, set J=Iπ/2; if u=0,v<0, set J=−Iπ/2. In these axis branches proceed to instruction 5. The zero vector returns INVALID.
  3. Set a=∣u∣,b=∣v∣ and [L,U]=[0,2]. While w=U−L>h/8, set m=(L+U)/2 and ε=w/96. Compute rational Taylor sums c,s for cosine and sine at m with error at most ε. Retain at least indices 0,1,2; increment until twice the next absolute term is at most ε. The successive-term ratios after this index are at most 1/2. Form the exact real expression q=bc−as. If q>2ε, set L=m. Otherwise if q<−2ε, set U=m. Otherwise set [L,U]=[L,U]∩[m−12ε,m+12ε]. Equality takes this last branch.
  4. If u>0,v>0, set J=[L,U]; if u<0,v>0, set J=Iπ−[L,U]; if u<0,v<0, set J=−Iπ+[L,U]; if u>0,v<0, set J=−[L,U].
  5. Set t0 to the rational midpoint of J. Find k≥0 by repeated halving until 2−k≤h/16. Round t0 to a multiple of 2−k within 2−k, obtaining t; this can be done by binary search among the dyadic grid points in [−4,4], charging every comparison and written bit. Return t, J, and the rounding bound as the phase certificate.

Use the returned rational phase in Z(t) 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

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