Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedPipeline-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.

The Rz approximation procedure is correct when it returns

Statement

For θ∈R and ε>0, every word returned by Ancilla-free Clifford+T Rz approximation satisfies ∥Rz(θ)−W∥op≤ε, provided each accepted norm output is exact and the exact compiler returns the requested matrix. When ε≥c=∣1−eiπ/8∣, the algorithm returns its direct zero-T Clifford word. When 0<ε<c, it returns only after the scaled-grid and exact norm-solver branch succeeds. If its total candidate limit is unbounded, either the complete finite-search norm mode is used or the complete factorization-based mode receives valid factorizations in finite time, and the required exact-real comparisons terminate, then it terminates for every such input. With the efficient randomized factored norm mode and independent random bits it terminates with probability one under those assumptions. A finite candidate limit can return TIMEOUT.

Facts & Assumptions

Given: The exact Rz approximation procedure, the exact epsilon-region criterion, and the finite coefficient bound for each denominator layer.

[F1]

Ancilla-free Clifford+T Rz approximation: if ε≥c it returns the direct zero-T Clifford; otherwise, for a candidate u and an exact solution t†t=1−u†u, it forms U=(u−tˉtuˉ) and U′=TUT†, then returns an exact compilation of one of them.

[F2]

The exact operator-norm epsilon region for determinant-one Rz candidates: a determinant-one matrix of the displayed form is within ε of Rz(θ) exactly when Re⁡(eiθ/2u)≥1−ε2/2.

[F3]

Every Rz epsilon region contains an exact norm-solvable grid point: for every 0<ε<1/2 there exists a grid candidate u and an exact t∈D solving its norm equation.

[F4]

Finite coefficient bounds for the scaled cyclotomic grid: every grid candidate at fixed exponent k has coefficients in a finite explicit box, and every candidate has a finite nonnegative exponent.

[F5]

The exact single-qubit compiler returns the input matrix: the exact compiler returns a word with matrix exactly the requested unitary.

[F6]

Clifford+T gate library and exact matrices: T is diagonal and commutes with Rz(θ).

[F7]
[A2]

In the correctness clause, every successful norm-solver outcome used by the procedure supplies an exact t satisfying t†t=1−u†u.

[F8]

Constructive decision of the dyadic cyclotomic norm equation proves that the finite-search norm mode terminates, decides solvability exactly, and returns an exact solution whenever one exists.

[F9]

Complete scaled-grid enumeration with expected polynomial prefix cost proves complete, nonduplicating increasing-exponent enumeration, with finite layer completion for every sequence of iterator random bits.

[F10]

Efficient exact cyclotomic norm solving with a supplied integer factorization proves that the efficient norm mode is exact and complete and terminates almost surely on every valid algebraic input with its supplied factorization.

[F11]

Determinant-one reduction for optimal Rz approximation: for every ε≥c there is a determinant-one Clifford word of T-count zero within ε of Rz(θ).

[A1]

In the termination clause, any requested factoring oracle returns a valid factorization in finite time, the exact integer-part operation used by the direct branch terminates when that branch is taken, and the exact-real comparisons required by the grid enumerator terminate with correct answers.

Proof

1.1A2F1F2givenconstruct

If ε≥c, the direct branch returns the zero-T Clifford word whose error bound is proved in [F11]. Suppose instead 0<ε<c. If the procedure returns, its successful candidate satisfies the scaled-grid real-part inequality by construction and [A2] gives the exact norm equation. Thus ∣u∣2+∣t∣2=1; multiplying the displayed matrix by its conjugate transpose gives U∗U=I and det⁡U=∣u∣2+∣t∣2=1. Therefore U is in the form required by [F2], which gives ∥Rz(θ)−U∥op≤ε.

2.1F1F2F6F7step 1.1algebra

Since T and Rz(θ) are diagonal, they commute. By [F7], unitary left and right multiplication preserve the operator norm: the left factor preserves every vector norm, and the right factor bijects the unit sphere to itself. Thus ∥Rz(θ)−TUT†∥op=∥T†Rz(θ)T−U∥op=∥Rz(θ)−U∥op. Thus both compiler inputs meet the same error bound.

2.2A1F3F4F8F9step 1.1algebra

If ε≥c, [A1] makes the direct integer-part operation terminate, so the zero-T word is returned. Suppose 0<ε<c. Then ε<1/2, and [F3] gives a solvable grid candidate with some finite exponent k. By [F4], each layer from 0 through k has finitely many coefficient vectors. The finite-search alternative checks them all; the default iterator enumerates precisely the candidates and finishes each preceding layer by [F9]. By [F8], each norm call terminates and it succeeds when that candidate is reached; the finitely many comparison and oracle calls terminate by [A1]. Therefore the unbounded loop terminates after finitely many earlier layers and candidates. A finite candidate limit may instead cause TIMEOUT before this point.

3.1F1F5step 1.1step 2.1algebra

The exact compiler conclusion [F5] makes each returned word's matrix equal its selected input. Since the procedure chooses between U and U′, step 2.1 proves the returned word satisfies the required bound.

4.1A1F3F4F9F10step 2.2algebra∎

For efficient factored mode, take a fixed exponent k for one solvable candidate from [F3]. There are only finitely many candidates in layers through k, independent of their within-layer order. The iterator finishes each preceding layer for every random-bit sequence by [F9]. On each of these finitely many algebraic inputs, the norm call terminates with probability one by [F10]. With fresh independent solver bits this remains true conditional on the history, so the finite union of nontermination events has probability zero. On its complement the same candidate argument as in step 2.2 gives successful return.

Remarks

The finite-search mode has no polynomial runtime assertion. The efficient factored mode has almost-sure termination and its separate proved polynomial expected algebraic cost. A finite factor-attempt budget may skip every solvable candidate; this theorem does not infer termination with a circuit from that branch.

Depends on

Used by

Cited to discharge well-definedness by Ancilla-free Clifford+T Rz approximation.

Dependency tree · two levels

56 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