Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedPipeline-generated
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 of QSP phase synthesis

Statement

Let p be supplied in the rational/exact-algebraic target representation of Real bounded-polynomial QSP phase synthesis, with any supplied real complement represented through its explicitly charged ideal-real interface, with degree bound d≥0, parity d mod 2, ∣p(x)∣≤1 on [−1,1], and rational tolerance δ>0. On a SUCCESS output of Real bounded-polynomial QSP phase synthesis, the exact phase list has an ideal QSP matrix whose upper-left matrix entry P satisfies Re⁡P=p in exact mode and ∣Re⁡P(x)−p(x)∣≤δ0/8≤δ/8 in numerical mode, for every x∈[−1,1], where δ0=min⁡(δ,8). If numerical phase gates are used, each compiled phase error is at most δ0/(8(d+1)) in operator norm, so the implemented upper-left matrix entry has real-part error at most δ0/4≤δ. This is a matrix-entry accuracy claim; no measurement or scalar-extraction circuit is included. The algorithm terminates on every promised input when its optional compiler terminates with a certificate or an explicit failure result; failed exact checks return their declared non-success branch.

In efficient-numerical mode without a supplied complement or finite-basis compiler, the algorithm requires poly⁡(d,1+log⁡+(1/δ)) charged arithmetic operations, ideal exact algebraic field/equality/order tests, root-descriptor operations, and polynomially many written tower/DAG certificate bits. Here log⁡+(x)=max⁡(0,log⁡x). Input reading and conversion from an arbitrary original coefficient encoding, expanded minimal-polynomial conversion, operation implementation bit cost, and optional compiler work are separate resource coordinates. This is the explicit exact-algebraic arithmetic model of the algorithm; complete modes retain finite termination without the same height-independent bound.

Facts & Assumptions

Given: An exact polynomial, degree/parity declaration, interval promise, rational δ>0, and the optional terminating phase compiler allowed by the algorithm's input contract.

[F1]

Real bounded-polynomial QSP phase synthesis: validates degree/parity and the interval bound; constructs or verifies B,C with 1−p02=B2+(1−x2)C2; sets P=p0+iB,Q=C; peels a phase list; approximates each phase; and returns SUCCESS, INVALID, CERTIFICATE_ERROR, or IMPLEMENTATION_ERROR as specified.

[F2]

Certified complex-polynomial root isolation in exact algebraic arithmetic and Correctness and termination of certified complex-polynomial root isolation: REALROOTS(p') returns every real critical point in [−1,1] and terminates; ROOTS returns a complete exact algebraic root list and terminates.

[F6]

Completion of a bounded real parity polynomial: the exact complement construction produces an admissible pair with real upper-left component p0.

[F7]

Constructive factorization of an admissible QSP polynomial pair: every admissible pair has the stated exact phase factorization.

[F8]

Correctness and arithmetic resource bound for buffered phase approximation: each returned rational phase approximates its exact unit-circle phase with its certified operator error.

[F9]

Hybrid bound for imperfect QSP phase rotations: complete product error is at most the sum of the individual phase and signal errors.

[F10]

QSP signal matrix and ordered phase sequence and Admissible polynomial pair for Hermitian-reflection QSP fix the reflection signal, coefficient conjugation, and exact sequence matrix convention.

[F12]

The reals form a totally ordered field: R is a totally ordered field.

[F13]

Finite registers and their ordered computational bases and The computational basis is orthonormal: the signal register's ordered computational basis is orthonormal and its coordinates use the declared standard basis.

[F14]

The norm ∥v∥=⟨v,v⟩ induced by a real or complex inner product: vector length is the square root of the inner product with itself.

[F15]

The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||: the operator norm bounds the output norm on every unit input vector.

[F16]

Exact interval boundedness by multiplicity strata and Sturm counts decides the original interval promise exactly in O((d+1)4) field/order operations without isolating its critical points.

[F17]

Polynomial arithmetic cost for rounded-input bounded-grid root isolation proves parity-preserving rounded-target error at most 5δ0/64, strict interior bound 1−3δ0/64, coefficient height O(dlog⁡(d+1)+log⁡+(1/δ)+1), and polynomial arithmetic cost of bounded-grid root isolation of the rounded complement.

[F18]

Arithmetic cost of exact tower completion and QSP phase peeling proves the polynomial arithmetic and tower-descriptor costs of completion and peeling once that bounded-height exact root list is supplied, including the explicit unit-square-root choice.

Proof

1.1F1F2F3F4F5F10F11F12algebra

First verify the interval check. In efficient-numerical mode [F16] proves exact acceptance of the interval promise on the original unrounded target. For the complete modes the existing critical-point argument applies as follows. If the formal derivative is zero, write p=∑k=0nakxk. By [F3] and [F11], kak=0 for each k≥1. In the ordered field [F12], k⋅1>0 for each positive integer k, by repeated addition of 1>0; therefore k⋅1 is nonzero and invertible, so every ak=0 for k≥1 and p is constant. Its endpoint value is then its value everywhere, so the algorithm's single endpoint check is sufficient. Otherwise p is nonconstant. If p(x)>1 somewhere, its maximum on [−1,1] is greater than 1 by [F4]. Since both endpoints were checked and are at most 1, this maximum is attained at an interior point c. By [F5], p′(c)=0, and by [F3] this is a root of the formal derivative used by the algorithm. The complete list from [F2] therefore includes c, where the algorithm would detect p(c)>1, contrary to a successful check. The same argument applied to a value p(x)<−1 and the attained minimum detects every lower-bound violation. Conversely, when ∣p∣≤1 on the interval, every endpoint and critical-point comparison passes. Thus the validation branch accepts exactly the promised interval-bounded inputs.

1.2F1F6F10algebra

On a valid input, the generated or checked complement identity and the degree/parity checks make P=p0+iB,Q=C admissible by [F6] and [F10]. In the supplied-complement branch the same conclusion follows from the exact identity and parity certificate, which is checked before use.

1.3F1F6F7F17F18givenalgebra

By [F7], that admissible pair has an exact phase list whose sequence matrix has upper-left entry P. Its real part is p0, since B has real coefficients. Hence exact mode gives Re⁡P=p; complete-numerical mode gives ∣Re⁡P−p∣=∣(1−δ0/8)p−p∣≤δ0/8 because ∣p∣≤1. In efficient-numerical mode [F17] gives ∣Re⁡P−p∣=∣p0−p∣≤5δ0/64<δ0/8. Thus the stated ideal error holds in either numerical mode. The explicit alternative square root in its peel has square r and unit modulus by [F18], so the cancellation and factorization in [F7] apply unchanged.

1.4F1F8F9F10F13F14F15algebra

In numerical mode the angle approximation contributes at most δ0/(16(d+1)) per phase by [F8], and a supplied compiler contributes at most the same amount by its checked output certificate. Their sum is therefore at most δ0/(8(d+1)) per phase. With exact signal calls, [F9] bounds the full unitary error by (d+1)δ0/(8(d+1))=δ0/8. Let A=U~−U and write Ae0=A00e0+A10e1 in the orthonormal signal basis of [F13]. Then [F14] gives ∥Ae0∥2=∣A00∣2+∣A10∣2≥∣A00∣2, while [F15] and ∥e0∥=1 give ∥Ae0∥≤∥A∥op. Thus the upper-left entry error satisfies ∣A00∣≤∥A∥op, and its real-part error is no larger. It differs from p by at most the shrink error δ0/8 plus phase error δ0/8, at most δ0/4≤δ. Exact mode has zero shrink error. This identifies a matrix entry only and asserts no physical scalar-extraction procedure.

1.5F1F2F7F8F17F18giveninduction

ROOTS and REALROOTS terminate by [F2], and their efficient-mode replacement terminates by [F17]. Root classification and multiplication process finite lists, the phase peel decreases nominal degree at every nonconstant step, and each phase approximation terminates by [F8], including for ideal-real coordinates: its rational buffered comparisons use the declared interface and contract every bracket by at least one half independently of equality. The supplied-complement path never invokes ROOTS on its coefficients; it checks its finite identity before any zero-complement branch and proceeds directly to the admissible pair. For its positive-root nodes, a positive real radicand has a finite rational upper bound, so doubling eventually succeeds; bisection then halves the width to the requested positive tolerance, with equality returning a singleton. In a unit peel ratio r=x+iy, x=−1 gives square root i; otherwise s2=(1+x)/2>0, ω=s+iy/(2s) has imaginary-square contribution y2/(4s2)=(1−x)/2, so ∣ω∣=1 and ω2=x+iy. Thus these nodes give the same valid cancellation over real coefficients. No algebraic encoding of the real parameters is assumed. The optional compiler either returns a certificate or its declared failure. Consequently every promised execution terminates or returns the explicit IMPLEMENTATION_ERROR branch, and no failed certificate is reported as SUCCESS.

1.6F1F16F17algebra

Put S=d+1+log⁡+(1/δ). Degree/parity validation scans at most d+1 coefficients on promised input. [F16] bounds its exact interval decision by O((d+1)4) operations, independent of original coefficient heights. [F17] bounds rounding by polynomially many charged coefficient operations/comparisons, gives a rounded rational target of polynomial coefficient height in S, and bounds its complete bounded-grid complement-root list at fixed isolator precision by poly⁡(S) rational operations. Root classification, multiplicity grouping, descriptor sorting and symmetry checks use polynomially many exact equality/order tests on that finite list. No complete-mode root isolation of the original target or its critical points occurs in this branch.

1.7F1F6F7F18algebra

[F18] bounds every positive-root descriptor in completion by a polynomial number of exact comparisons and rational operations using root-bound-based upper endpoints. In particular the norm-product leading coefficient has absolute value one, so the final scale has a known polynomial-height upper bound. Polynomial-array multiplication and full identity checks take polynomially many operations. Phase peeling, its identity checks, fixed convention conversion and padding require polynomially many field operations and at most O(d+1) quadratic tower descriptors; no generic algebraic-coefficient ROOTS call occurs. The explicit half-angle formula divides only after checking that its positive root is nonzero. Its possible tiny numerical value does not alter a charged exact-field operation count.

2.1F1F8F17F18step 1.6step 1.7algebra∎

There are d+1 phases, each requested to precision η=δ0/[16(d+1)]. [F8] gives O((1+log⁡(1/min⁡(η,1)))2) rational operations and linear-in-that-log exact algebraic comparisons per phase, polynomial in S. Buffered comparisons contract the angular bracket in every case, including equality, so no hidden input-conditioned coordinate refinement is used. Each returned dyadic angle has polynomially many bits. Root isolators and their rational defining polynomials have polynomial height by [F17]; each completion/peel intermediate is a referenced field-operation or quadratic-extension node rather than an expanded minimal polynomial. The polynomial operation count thus gives polynomially many tower/DAG nodes and index bits. Angular bracket endpoints are obtained by fixed dyadic affine operations for polynomially many steps; Machin partial-sum denominators have polynomial bit length in the number of terms (multiplying their polynomially many integer denominators suffices as a common denominator). Their phase certificates also have polynomial size. The root, completion identity and peel certificates can reference these same nodes without duplicating expanded expressions. Together these bounds prove the resource assertion, while leaving the separately named encoding, implementation, conversion and optional compiler coordinates unclaimed.

Depends on

Used by

Cited to discharge well-definedness by Real bounded-polynomial QSP phase synthesis.

Dependency tree · two levels

118 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