Research paperCorrectedARR-2026-6WW0M7TB2Q8D6TJD · v2 · 2026-12-06

Structural AM u SBP^{coC_=P[1 pos]} <= BQP_0 Sandwich, Exact Minimal r* = 7 Product-Copy Amplification, and Non-Asymptotic Zero-Farkas Geometric Lagrange Measures for BQP_p

Lluis Eriksson

Corrected version of a screened paper. Not peer reviewed. Screening record

Abstract

Upgrades ARR-2026-6WW0M7TB2Q8D6TJD v1 to a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/BQPpAMSandwichSharp.lean, 17/17 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an exact-Z/Q stdlib-only Python verifier (src/verify_bqpp_am_sandwich_sharp.py, pytest -W error).

Readable overview

Structure & key results

Extracted for web & scholarly indexing

Manuscript structure

  1. Introduction and Honest Scope
  2. Exact Structural Sandwich for BQP₀BQP_0
  3. Universal Product-Copy Amplification and Exact Minimality of r* = 7r* = 7
  4. Non-Asymptotic Zero-Farkas Geometric Lagrange Measures
  5. Lean 4.36.0 Formalization and Zero-Float Verification Audit

Selected results from the manuscript source

Theorem 1 — Exact Structural Sandwich for BQP₀

For every oracle O, the following relativizing inclusions hold over the exact dyadic gate set H, X, CNOT, Toffoli under Aaronson's 0⁰ = 0 convention: AM^O ∪ coAM^O ∪ (SBP^(coCP[1 pos]))^O ⊆ BQP₀^O ⊆ PP^(CP[1 q/p]^O). Specifically: · Single-copy AM^O gap: For AM^O with completeness 7/8 and soundness 1/8 on m ≥ 3 coins and b-bit witnesses, setting N_ref = 3/8 · 2^m ∈ ZZ and K = ⌈ (b + 11)/2 ⌉ (or conservatively K = m + b + 11) yields a single-copy BQP₀^O circuit whose acceptance probability satisfies beginaligned Pr₀[accept] & ≥ 7/8/(7/8 + 3/8 + 2⁻⁸) = 224/321 > 2/3 && (x ∈…

Proposition 2 — 3:1 Reference-Threshold Gap and Even-2k Gaussian-Norm Closure

· Generic 3:1 reference-threshold gap: Capturing the algebraic core of, let M_acc, M_ref, M_garb ∈ ℕ satisfy M_ref ≥ 1 and 100 M_garb ≤ M_ref. If M_acc ≥ 3 M_ref, then M_acc/(M_acc + M_ref + M_garb) ≥ 300/401 > 2/3; if 3 M_acc ≤ M_ref, then M_acc/(M_acc + M_ref + M_garb) ≤ 1/4 < 1/3. · Even-integer Gaussian-norm multiplicativity (BQP_2k = PP algebraic core): For all a, b, c, d ∈ ℕ, the Brahmagupta–Fibonacci identity (ac + bd)² + |ad - bc|² = (a² + b²)(c² + d²) holds identically.

Theorem 3 — Universal All-p Product-Copy Amplification and Exact r* = 7 Minimality

Let C be a BQP_p circuit (p ∈ [0, ∞)) preparing |ψ⟩ = ∑_z α_z |z⟩ with total accepting |·|^p-mass A = ∑_(z: out(z)=1) |α_z|^p, rejecting mass R = ∑_(z: out(z)=0) |α_z|^p, and single-copy acceptance probability q = A / (A + R). · Exact product-copy binomial law (all p ≥ 0, all r, τ ∈ ℕ): Preparing |ψ⟩^(⊗ r) ⊗ |0⟩_vote ⊗ |0^w⟩_work on r disjoint copy registers together with a clean output ancilla vote and scratch register work, and applying a Bennett-uncomputed reversible classical bijection U_(r,τ) that maps |z₁, …, z_r⟩ |0⟩_vote |0^w⟩_work longmapsto |z₁, …, z_r⟩…

Theorem 4 — Exact Non-Asymptotic Zero-Farkas Geometric Lagrange Separation

Fix any degree d ≥ 1, integer base M ≥ 2, and even integer s ≥ 2 (take s = 2 for odd integers p, or s = 4 for half-integers p = k/2). Define d + 2 exact squared-grid nodes on G_(2 M^(sd/2)) by t₀ = 0, t_j = M^(-s(d + 1 - j)) = ((2 M^(s/2)(j-1))/(2 M^((s/2)d)))² (j = 1, …, d + 1), with Lagrange divided-difference weights w_j = ∏_(i ≠ j) (t_j - t_i)⁻¹ (0 ≤ j ≤ d + 1). Then: · Exact moment matching and even-integer cancellation: ∑_(j=0)^(d+1) w_j t_j^r = 0 identically for all r = 0, 1, …, d;

Proposition 5 — Grid-Resolution Contradiction Bound for p = 0 Polynomial Methods

For all integers R ≥ 1, d ≥ 1, and B ∈ ℕ, if 25 R d² ≤ B² (e.g., B ≥ 5√R d), then the strict inequality 16 R d² < B² holds.

Theorem 6 — Constructive Zero- Classical.choice Lean 4.36.0 Kernel

All 17 public theorems in BQPpAMSandwichSharp.lean compile under Lean 4.36.0 with -DwarningAsError=true, zero sorry, zero warnings, and zero Classical.choice dependencies: · Zero axioms (empty axiom set, 2 certificates): _ r5_ insufficient_ exact and _ r_ le_ 6_ all_ thresholds_ insufficient; · [propext] only (3 finite rfl certificates): _ lagrange_ moment_ matching_ and_ ratio_ certs (5 odd-p M=64 cases), _ fractional_ p_ lagrange_ certs (5 fractional-p M=64 cases), and _ hadamard_ w1_ zero_ axiom_ cert (3-qubit W₁ unitary);

Key contributions noted in exact-version screening

  • Relativizing structural sandwich AM^O u coAM^O u (SBP^{coC_=P[1 pos]})^O <= BQP_0^O <= PP^{C_=P[1 q/p]^O} over {H, X, CNOT, Toffoli} using the 3-gate CSWAP-Hadamard scaling gadget W_K and exact 10x outer-coin padding, giving an independent structural proof of BQP_0^O not<= PP^O via Vereshchagin's oracle and the unrelativized barrier BQP_0 = PP => AM <= PP.
  • Closed-form zero-Farkas geometric Lagrange divided-difference measures on squared grids G_{2 M^{sd/2}} obeying the exact non-asymptotic adjacent-term ratio identity |w_j| t_j^alpha / (|w_{j+1}| t_{j+1}^alpha) = M^{s(j-alpha)} (1 - M^{-sj})/(1 - M^{-s(d+1-j)}) and uniform non-asymptotic ratio floor > (1/2)(1 - 2 M^{-s}) M^{s delta_alpha}, including exact-Q…
  • Exact minimality of r* = 7 (MAJ_7) across all 33 odd and even (r <= 6, tau) deterministic threshold pairs for canonical centered SBP^{coC_=P[1 pos]} parameters (1000/1701, 5/12), machine-checked with zero axioms in Lean 4.36.0 alongside a constructive zero-Classical.choice formalization of universal symbolic Lagrange annihilation and binomial tail…

Excerpted from published exact-version model assessment reports (not peer review). Full reports below →

Preview PDF on this page v2

Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.

Full manuscript text in HTML (7,404 words — searchable plain text)

AIRR.SCIENCE · ARR-2026-6WW0M7TB2Q8D6TJD v2 [Computational Complexity] · 2026-12-06

Structural AM ∪ SBPcoC=P[1 pos] ⊆ BQP0 Sandwich, Exact Minimal r∗ = 7 Product-Copy Amplification, and Non-Asymptotic Zero-Farkas Geometric Lagrange Measures for BQPp Lluis Eriksson Independent Researcher, Östersund, Sweden editor@airr.science

December 6, 2026

Abstract In Aaronson’s model of quantum computation under ℓp -norm measurement probabilities (BQPp ), it is known that PP ⊆ BQPp ⊆ PSPACE for all real p ̸= 2 and BQP2k = PP ?

for every even integer 2k ≥ 4, while the unrelativized equality BQPp = PP for non-even p ≥ 0 remains open. We establish four structural, amplification, and constructive momentmatching results for BQPp accompanied by a standalone zero-import, zero-Classical.choice Lean 4.36.0 formalization (17 public theorems) and an AST-audited zero-float Python verification suite: (1) an explicit relativizing structural sandwich AMO ∪coAMO ∪(SBPcoC= P[1 pos] )O ⊆ C= P[1 q/p]O BQPO over the exact dyadic gate set {H, X, CNOT, Toffoli} (with Bennett0 ⊆ PP style reversible uncomputation of oracle/comparator scratch ancillas), achieving a single2 1 1 copy AM acceptance gap 224 321 > 3 vs. 4 < 3 and an exact 10× outer-coin padding gap coC= P[1 pos] O 1 5 1000 , yielding an independent structural proof of BQPO 0 ̸⊆ PP 1701 > 2 > 12 for SBP via Vereshchagin’s oracle and the unrelativized barrier BQP0 = PP =⇒ AM ⊆ PP (for exact {H, X, CNOT, Toffoli} circuits); (2) universal product-copy polynomial-gap amplification for all real p ≥ 0 via disjoint tensor copies and reversible classical threshold voting Tr,τ (with all-r binomial decomposition and all-(r, τ ) tail monotonicity proved universally in Lean 4), together with the exact minimality of r∗ = 7 (τ = 4, MAJ7 ) across all r ∈ {1, . . . , 6} (both odd and even) and all deterministic thresholds τ ∈ {0, . . . , r + 1} for the canonical cen1000 5 tered SBPcoC= P[1 pos] parameters ( 1701 , 12 ); (3) an explicit zero-Farkas geometric Lagrange divided-difference measure on squared grid nodes t0 = 0, tj = M −s(d+1−j) ∈ G2M sd/2 obeyα s(j−α) ing the exact non-asymptotic adjacent-term ratio identity |wj |tα (1 − j /(|wj+1 |tj+1 ) = M −sj −s(d+1−j) M )/(1−M ) (with both universal degree-≤ d annihilation and the exact adjacentweight identity proved for all d in Lean 4), giving the uniform non-asymptotic ratio lower bound > 12 (1 − 2M −s )M sδα for every non-integer α = p/2 ∈ (0, d) and exact-Q separation on quartic nodes (s = 4) at fractional exponents p ∈ { 12 , 23 , 52 }; and (4) lifting of relativized O PPO separations to BQPO = PPP[O(log n)] as an immediate corollary of Fortnow–Reingold p ̸⊆ Ptt closure. Complexity-class semantics (circuit uniformity, uncomputation, oracle relativization, and Hoeffding/Chernoff asymptotics) are proved in prose, while Lean 4.36.0 machine-checks all 12 universal algebraic/binomial/Lagrange theorems, 2 zero-axiom minimality certificates, and 3 finite rfl certificates (0 sorry, 0 warnings, 0 Classical.choice) alongside 7/7 passing zero-float Python tests.

Keywords: fantasy quantum mechanics, BQPp , PP, AM, SBP, Lagrange divided differences, product-copy amplification, Lean 4 formal verification. MSC 2020: 68Q15, 81P68, 68V15, 41A05. 1

Introduction and Honest Scope

In his foundational study of postselection and probabilistic polynomial time, Aaronson [1] introduced the family of complexity classes BQPp (p ∈ [0, ∞)), in which a polynomial-size uniform quantum circuit over an exact algebraic gate set such as {H, X, CNOT, Toffoli} prepares a norP malized state |ψ⟩ = x αx |x⟩ and outcomes are sampled according to the ℓp Born-rule variant |αx |p Pr[x] = P , p p y |αy |

with the explicit convention 00 = 0 at p = 0 (measuring support cardinality of nonzero amplitudes; see [1, Section 4]). Aaronson proved that PP ⊆ BQPp ⊆ PSPACE for every real p ̸= 2 and that BQP2k = PP for every even integer 2k ≥ 4 (via GapP representation [6] of |αx |2k ), while leaving open whether BQPp = PP holds for non-even p ≥ 0 (see also [2] for related oracle perspectives on quantum complexity and counting classes). Unlike standard BQP = BQP2 , unitary transformations preserve ℓ2 rather than ℓp for p ̸= 2, causing coherent amplitude amplification to break down whenever amplitudes are rotated across computational-basis states. Honest scope and exact contributions. We draw a crisp boundary around what is proved in this manuscript, what is machine-checked in Lean 4.36.0, and what remains open: • Unrelativized open status and gate-set dependence at p = 0: The unrelativized ? question BQPp = PP for non-even p ≥ 0 remains open. Because x 7→ |x|0 (00 = 0) is discontinuous at x = 0, arbitrary approximate gate synthesis can perturb exact zero amplitudes to tiny nonzero values; accordingly, our BQP0 lower-bound construction (Theorem 2.1) is stated explicitly over the exact dyadic gate set {H, X, CNOT, Toffoli} (as in [1]). Under this exact gate set, Corollary 2.2(ii) proves the unrelativized barrier BQP0 = PP =⇒ AM ⊆ PP, tying the p = 0 case directly to Vereshchagin’s 1992 open problem [8]. • Grid-size scaling of explicit Lagrange measures: Our constructive zero-Farkas geometric divided-difference measure (Theorem 4.1) places d + 2 nodes on the exact squared grid G2M sd/2 (specifically G2M d for quadratic spacing s = 2 and G2M 2d for quartic spacing s = 4). This yields explicit, non-asymptotic moment-matched separation certificates with no appeal to Farkas’ lemma or Markov–Brothers bounds for fixed degree d = O(1) and linear-degree regimes d = O(n) inside grid size B = 2n ; it does not produce full superlinear d = poly(n) oracle separations for non-even p > 0 inside B = 2n , where non-constructive LP/Farkas existence methods remain necessary. • Exact prose vs. Lean 4.36.0 boundary: Complexity-class semantics—uniform circuit families, Bennett reversible uncomputation [3], oracle relativization, Hoeffding and Chernoff asymptotics, and Fortnow–Reingold closure [7]—are proved in Sections 2–4. Every algebraic, binomial, unitary-gadget, and Lagrange theorem or certificate used in those proofs is machine-checked 1:1 in our standalone zero-import Lean 4.36.0 kernel (17 public theorems: 12 universally quantified theorems, 2 literally zero-axiom minimality certificates, and 3 finite rfl certificates; 0 Classical.choice, 0 sorry, 0 warnings; Table 2).

Exact Structural Sandwich for BQP0

Custom oracle-class notation. Böhler, Glaßer, and Meister [4] introduced the complexity class SBP (Small Bounded-Error Probability) and established MA ⊆ SBP ⊆ AM. We consider two explicit bounded-query extensions with respect to the exact counting class C= P and its complement coC= P [6]:

• SBPcoC= P[1 pos] denotes the class of languages L for which there exist polynomials m(n), b(n), a polynomial-time computable integer threshold T (x) ∈ [1, 2m(n) ], and a polynomial-time predicate f (x, i, y) ∈ {0, 1} (i ∈ {0, 1}m , y ∈ {0, 1}b ) such that, defining the positive-support count (one positive coC= P test per outer random coin i) A(x) :=

i ∈ {0, 1}m :

(−1)f (x,i,y) ̸= 0 ,

y∈{0,1}b

one has A(x) ≥ T (x) for x ∈ L and A(x) ≤ T (x)/2 for x ∈ / L. • PPC= P[1 q/p] denotes the class of languages decidable by a PP machine that makes at most one query per nondeterministic computation path to a C= P oracle (clearly PPC= P[1 q/p] ⊆ PPC= P ⊆ PPPP ). Both definitions relativize to any oracle O by granting f (resp. the PP and C= P machines) oracle access to O. While unaugmented SBP sits inside AM [4], allowing a single positive coC= P query per coin immediately lifts SBPcoC= P[1 pos] to contain all of AM (since NP ⊆ coC= P). Explicitly, given an AM protocol with completeness 87 and soundness 81 on Arthur’s coins i ∈ {0, 1}m (m ≥ 3) and Merlin’s witness v ∈ {0, 1}b with predicate V (x, i, v) ∈ {0, 1}, introducing two padding bits c ∈ {0, 1, 2, 3} and setting g(x, i, c, v) :=

   0

V (x, i, v)

  1

if c = 0, if c = 1, if c ∈ {2, 3}

yields the exact Hadamard sum X

(−1)g(x,i,c,v) = 2b + 2b −2#{v : V (x, i, v) = 1} −2b+1 = −2 #{v : V (x, i, v) = 1},

c∈{0,1,2,3} v∈{0,1}b

which is nonzero if and only if ∃v ∈ {0, 1}b , V (x, i, v) = 1.

The 3-gate CSWAP-Hadamard scaling gadget WK . For a control qubit ctrl and K fresh Q ancilla pairs (At , Bt ) initialized in |00⟩, define WK = K t=1 (HAt CSWAPctrl,At ,Bt HAt ), where CSWAPctrl,a,b = CNOTb,a Toffolictrl,a,b CNOTb,a . On ctrl = 0, H 2 = I leaves |00⟩⊗K intact (support size 1); on ctrl = 1, each pair maps |00⟩ 7→ H|0⟩|0⟩ 7→ |0⟩H|0⟩ 7→ |+⟩|+⟩, expanding into 4K basis states of equal amplitude 2−K . Hence for any p ≥ 0, WK multiplies | · |p -mass on ctrl = 1 by exactly 4K · 2−pK = 2(2−p)K (in particular, 4K at p = 0), certified for K = 1 via pure rfl in Lean 4 (cswap_hadamard_w1_zero_axiom_cert). Theorem 2.1 (Exact Structural Sandwich for BQP0 ). For every oracle O, the following relativizing inclusions hold over the exact dyadic gate set {H, X, CNOT, Toffoli} under Aaronson’s 00 = 0 convention: O

C= P[1 q/p] AMO ∪ coAMO ∪ (SBPcoC= P[1 pos] )O ⊆ BQPO . 0 ⊆ PP

Specifically: (i) Single-copy AMO gap: For AMO with completeness 87 and soundness 18 on m ≥ 3 coins and b-bit witnesses, setting Nref = 38 · 2m ∈ Z and K = ⌈(b + 11)/2⌉ (or conservatively K = m + b + 11) yields a single-copy BQPO 0 circuit whose acceptance probability satisfies 224 2 7/8 = > −8 0 7/8 + 3/8 + 2 321 3 1/8 1 1 Pr[accept] ≤ = < 0 1/8 + 3/8 4 3

Pr[accept] ≥

(x ∈ L), (6) (x ∈ / L).

(ii) Exact 10× outer-coin padding for (SBPcoC= P[1 pos] )O : Padding the outer coin register i ∈ {0, 1}m by 4 auxiliary coin qubits j ∈ {0, . . . , 15} and the inner witness register by 1 parity bit y0 ∈ {0, 1} yields scaled count A′ (x) = 10A(x), exact integer threshold Nref = 7T (x) < 2m+4 , 1000 and unconditional K = ⌈(m + b + 13)/2⌉ achieving single-copy gap Pr0 [accept] ≥ 1701 > 12 5 (YES) vs. Pr0 [accept] ≤ 12 < 21 (NO) for every T (x) ∈ [1, 2m ], which amplifies strictly past 2 1 ∗ ( 3 , 3 ) in r = 7 copies by Theorem 3.1. Proof. We construct an explicit uniform circuit family over {H, X, CNOT, Toffoli} (plus standard reversible oracle XOR-queries |q, a⟩ 7→ |q, a ⊕ O(q)⟩) and verify both lower and upper inclusions. Part (i): AMO ∪ coAMO ⊆ BQPO 0 . Allocate registers (br, i, cv, work, out_p, flag, amp_ctrl, A1 . . . AK , B1 . . . BK ), all initialized to |0⟩, where br is 1 qubit, i has m qubits, cv = (c, v) has b + 2 qubits, work is a poly(n)-qubit scratch register for reversible evaluation of g O (and comparator/Toffoli ancillas), and out_p, flag, amp_ctrl are single qubits. 1. Apply H to br, H ⊗m to i, and H ⊗(b+2) to cv. 2. Bennett-uncomputed diagonal phase [3]: Controlled on br = 1, run the reversible classical circuit for g O (x, i, c, v) in (3) using work (with reversible oracle XOR-queries) to XOR g O (x, i, c, v) into out_p; apply the diagonal phase gate Z = HXH to out_p; then run the exact inverse of the forward evaluation to uncompute out_p and every oracle/scratch qubit in work identically back to |0⟩ ⊗ |0w ⟩. Because work and out_p return cleanly to |0w ⟩|0⟩ on every basis state (1, i, c, v) (and are untouched on br = 0), they factor out cleanly in tensor product with zero residual entanglement. 3. Apply H ⊗(b+2) to cv. On br = 0, H 2 = I deterministically restores cv = 0b+2 ; on br = 1, by (4), the amplitude of (1, i, 0b+2 ) is −2−(b+1) #{v : V O (x, i, v) = 1}, which is nonzero if and only if ∃v, V O (x, i, v) = 1. 4. Using work as clean ancillas and uncomputing them back to |0w ⟩ immediately afterward, compute flag ← flag ⊕ [br = 1 ∧ cv = 0b+2 ] via a multi-controlled Toffoli ladder. 5. Similarly, compute amp_ctrl ← flag ⊕ [br = 0 ∧ i < Nref ] via an O(m)-gate reversible integer comparator on i ∈ {0, . . . , 2m − 1}, uncomputing all comparator scratch ancillas back to |0w ⟩. (Since flag = 1 occurs only when br = 1, the two clauses are disjoint.) 6. Apply WK controlled on amp_ctrl to (A1 . . . AK , B1 . . . BK ) and measure flag. Under 00 = 0, every nonzero state on (br = 1, cv = 0b+2 ) has flag = amp_ctrl = 1 and expands under WK into 4K distinct nonzero basis states regardless of its nonzero amplitude magnitude, so the exact accepting | · |0 -mass is Macc = A(x) · 4K . On the rejecting side (flag = 0), the Nref states with (br = 0, i < Nref , cv = 0b+2 ) have amp_ctrl = 1 and contribute Mref = Nref · 4K , while all remaining unamplified basis states (br = 0, i ≥ Nref , cv = 0b+2 , and br = 1, cv ̸= 0b+2 ; all with work = 0w , out_p = 0) contribute at most Mgarb ≤ 2m + 2m+b+2 < 2m+b+3 . Choosing K = ⌈(b + 11)/2⌉ gives 4K = 22K ≥ 2b+11 , so Mgarb ≤ 2−8 · 2m · 4K . With Nref = 83 · 2m ∈ Z (m ≥ 3), dividing by 4K yields the exact bounds (6) (formalized universally in Lean 4 as am_ bqp0_single_copy_gap). Applying X to flag adds coAMO . Part (ii): (SBPcoC= P[1 pos] )O ⊆ BQPO 0 via 10× outer-coin padding. Given m(n), b(n), m threshold T (x) ∈ [1, 2 ], and predicate f O (x, i, y) ∈ {0, 1}, we scale the outer coin space rather than the inner witness sum: pad the outer coin register i ∈ {0, 1}m by 4 auxiliary coin qubits ′ j ∈ {0, 1}4 = {0, . . . , 15} to form i′ = (i, j) ∈ {0, 1}m (m′ = m + 4), and pad the inner register ′ y ∈ {0, 1}b by 1 parity bit y0 ∈ {0, 1} to form y ′ = (y0 , y) ∈ {0, 1}b (b′ = b + 1 ≥ 1). Define the extended predicate (

f O (x, i, y) if j < 10, ′O f x, (i, j), (y0 , y) := (7) y0 if j ≥ 10. 4

f (x,(i,j),(y0 ,y)) = For every i ∈ {0, 1}m and each of the 10 indices j ∈ {0, . . . , 9}, y0 ,y (−1) P 2 y (−1)f (x,i,y) , which is nonzero iff i is positive; for each of the 6 indices j ∈ {10, . . . , 15}, P y0 = (1 − 1)2b = 0 identically. Hence the padded positive-support count is identically y0 ,y (−1) ′ A (x) = 10A(x), with scaled threshold T ′ (x) = 10T (x) and exact positive integer reference count

7 T ′ (x) ∈ [1, 7 · 2m ] ⊂ [1, 2m − 1]. Nref := 7 T (x) = 10

Now run the exact same circuit architecture as Part (i) on the padded registers (br, i′ , y ′ , work, out_p, flag, amp_ctrl, A1 . . . AK , B1 . . . BK ) : ′

apply H ⊗H ⊗m ⊗H ⊗b to (br, i′ , y ′ ), apply the Bennett-uncomputed diagonal phase (−1)f (x,i ,y ) ′ ′ controlled on br = 1, apply H ⊗b to y ′ , set flag ← [br = 1 ∧ y ′ = 0b ] and amp_ctrl ← flag ⊕ [br = 0 ∧ i′ < Nref ] (uncomputing all ancillas in work), and apply WK controlled on amp_ctrl. The accepting mass is Macc = 10A(x) · 4K , the amplified rejecting mass is Mref = 7T (x) · 4K , and the ′ ′ ′ ′ ′ unamplified garbage mass satisfies Mgarb ≤ 2m + 2m +b ≤ 2m +b +1 . To absorb Mgarb even when T (x) = 1 ≪ 2m , choose the polynomial parameter K = ′

m′ + b′ + 8 2 ′

m + b + 13 . 2

Then 4K = 22K ≥ 2m +b +8 = 128 · 2m +b +1 > 100 Mgarb , so G := Mgarb /4K satisfies 100G ≤ 1 ≤ T (x) (equivalently 1000G ≤ T ′ (x)) unconditionally for all T (x) ∈ [1, 2m ]. Consequently: x ∈ L (A ≥ T ) =⇒ Pr[accept] ≥ 0

10T 1000 1 = > , 1 1701 2 10T + 7T + 100 T

5T 5 1 = < 0 5T + 7T 12 2 (formalized universally in Lean 4 as sbp_10x_padding_exact_gap). Applying r∗ = 7 disjoint copies with reversible classical MAJ7 via Theorem 3.1 amplifies strictly past ( 23 , 13 ), completing (SBPcoC= P[1 pos] )O ⊆ BQPO 0. x∈ / L (2A ≤ T ) =⇒ Pr[accept] ≤

C= P[1 q/p] Upper inclusion: BQPO . Let C be a BQPO 0 ⊆ PP 0 circuit on q = poly(n) qubits over {H, X, CNOT, Toffoli} containing h = poly(n) Hadamard gates, with output bit flag(z) ∈ {0, 1}. Let Macc = |{z ∈ {0, 1}q : αz ̸= 0 ∧ flag(z) = 1}|, Mrej = |{z ∈ {0, 1}q : αz ̸= 0 ∧ flag(z) = 0}|, and Z0 = 2q − Macc − Mrej . By the BQP0 promise, Macc ≥ 2Mrej (Macc > Mrej ) for x ∈ L and Mrej ≥ 2Macc (Macc < Mrej ) for x ∈ / L (since Macc + Mrej ≥ 1). Because every gate is in {H, X, CNOT, Toffoli}, the rescaled amplitude 2h/2 αz ∈ Z is a GapPO function of (x, z) [6], so O deciding αz = 0 is a single C= PO query. Our PPC= P[1 q/p] machine guesses z ∈ {0, 1}q uniformly across 2q paths, makes 1 query to C= PO on whether 2h/2 αz = 0, and then spawns 2 equal-depth leaves: (a) if αz ̸= 0, both leaves accept when flag(z) = 1 and both reject when flag(z) = 0; (b) if αz = 0, one leaf accepts and one rejects. Across all 2q+1 leaves, Nacc = 2Macc + Z0 and Nrej = 2Mrej + Z0 , so Nacc − Nrej = 2(Macc − Mrej ). Thus Nacc > 21 · 2q+1 = 2q if and only if O Macc > Mrej , deciding L in PPC= P[1 q/p] .

Corollary 2.2 (Structural Oracle Separation and Unrelativized Barrier). Over the exact dyadic gate set {H, X, CNOT, Toffoli} under 00 = 0: (i) Combining Theorem 2.1 with Vereshchagin’s oracle O satisfying AMO ̸⊆ PPO [8] yields an O immediate structural proof of BQPO 0 ̸⊆ PP independent of polynomial-degree lower bounds. (ii) Unrelativized, BQP0 = PP =⇒ AM ⊆ PP. Thus settling Aaronson’s 2005 question in the affirmative at p = 0 (for exact {H, X, CNOT, Toffoli} circuits) is at least as hard as proving AM ⊆ PP. 5

(a) Relativizing Structural Sandwich and Unrelativized Barrier for BQP0 AM ∪ coAM (1 copy:

224 vs. 14 ) 321

SBPcoC= P[1 pos]

(10× pad; r∗ =7 minimal)

BQP0 (00 = 0, exact dyadic)

PPC= P[1 q/p] ⊆ PPC= P ⊆ PPPP

PP[O(log n)] ⊆ BQP ; Vereshchagin oracle: AMO ̸⊆ PPO =⇒ BQPO ̸⊆ PPP PP = PPP 0 0 tt = P tt Unrelativized structural barrier (over {H, X, CNOT, Toffoli}): BQP0 = PP =⇒ AM ⊆ PP

−2(d+1−j) (d = 3) (b) Zero-Farkas Geometric Lagrange Weights |wj |tα j on tj = M

Even p = 4 (α = 2): exact cancellation j = 2, 3

Non-even p = 3 (α = 32 ): unique peak j ∗ = 2 peak 1

M −1

M −1

M −2

M −4

M −2

Pd+1

Analytic floor 2047 ≈ 31.984; eval. > 32 (M =64) 64

wj t2j ≡ 0 (BQP2m = PP)

Figure 1: (a) Relativizing structural sandwich for BQP0 (Theorem 2.1) and its Vereshchagin / Fortnow–Reingold consequences (Corollaries 2.2 and 4.3). (b) Geometric Lagrange term magnitudes |wj |tαj from the exact identity (10): every non-even α ∈ (m − 1, m) exhibits unique peak dominance at j ∗ = m (left), whereas every integer α = m ≤ d produces leading-order oppositesign twin peaks at j = m, m + 1 of ratio (1 − M −sm )/(1 − M −s(d+1−m) ) = 1 + O(M −s ) whose P full sum cancels identically ( wj tm j = 0, right). For completeness and 1:1 alignment with our Lean 4 formalization, we also record two elementary algebraic propositions used across Aaronson’s BQPp framework [1]: Proposition 2.3 (3:1 Reference-Threshold Gap and Even-2k Gaussian-Norm Closure). (i) Generic 3:1 reference-threshold gap: Capturing the algebraic core of [1, Prop. 3.2], let Macc , Mref , Mgarb ∈ N satisfy Mref ≥ 1 and 100Mgarb ≤ Mref . If Macc ≥ 3Mref , then Macc Macc 2 1 300 1 Macc +Mref +Mgarb ≥ 401 > 3 ; if 3Macc ≤ Mref , then Macc +Mref +Mgarb ≤ 4 < 3 . (ii) Even-integer Gaussian-norm multiplicativity (BQP2k = PP algebraic core): For all a, b, c, d ∈ N, the Brahmagupta–Fibonacci identity (ac + bd)2 + |ad − bc|2 = (a2 + b2 )(c2 + d2 ) holds identically. Consequently, for any dyadic Gaussian-integer amplitude α = 2−s (u + iv) (u, v ∈ Z) and every integer k ≥ 1, the rescaled 2k-th power |2s α|2k = (u2 + v 2 )k ∈ Z≥0 is a nonnegative integer polynomial of degree 2k in the real and imaginary parts, placing total accepting | · |2k -mass in GapP and yielding Aaronson’s collapse BQP2k = PP [1, 6]. Proof. (i) If Macc ≥ 3Mref and 100Mgarb ≤ Mref , then 2(Macc + Mref + Mgarb ) ≤ 2Macc + 202 3 300 100 Mref < 2Macc + 3Mref ≤ 3Macc (with tight bound 3+1+1/100 = 401 ). If 3Macc ≤ Mref , then 3Macc ≤ Mref < Macc + Mref + Mgarb (tight bound 41 ); this is formalized universally as aaronson_ prop32_exact_gap. (ii) Expanding both sides gives (ac)2 + 2abcd + (bd)2 + (ad)2 − 2abcd + (bc)2 = (a2 + b2 )(c2 + d2 ), formalized over N as gaussian_norm_even_2k_closure. Inducting on k yields |(u + iv)k |2 = (u2 + v 2 )k .

Universal Product-Copy Amplification and Exact Minimality of r∗ = 7

Because unitary gates preserve ℓ2 rather than ℓp (p ̸= 2), coherent amplitude amplification fails in BQPp . However, running r disjoint copies in tensor product and applying a reversible classical permutation on the computational basis preserves | · |p -masses multiplicatively for every real p ≥ 0. Theorem 3.1 (Universal All-p Product-Copy Amplification and Exact r∗ = 7 Minimality). P Let C be a BQPp circuit (p ∈ [0, ∞)) preparing |ψ⟩ = z αz |z⟩ with total accepting | · |p -mass P P A = z:out(z)=1 |αz |p , rejecting mass R = z:out(z)=0 |αz |p , and single-copy acceptance probability q = A/(A + R). (i) Exact product-copy binomial law (all p ≥ 0, all r, τ ∈ N): Preparing |ψ⟩⊗r ⊗ |0⟩vote ⊗ |0w ⟩work on r disjoint copy registers together with a clean output ancilla vote and scratch register work, and applying a Bennett-uncomputed reversible classical bijection Ur,τ that maps |z1 , . . . , zr ⟩|0⟩vote |0w ⟩work 7−→ |z1 , . . . , zr ⟩ Tr,τ (out(z1 ), . . . , out(zr )) vote |0w ⟩work , where Tr,τ (u1 , . . . , ur ) := 1[ rj=1 uj ≥ τ ] (specializing to odd majority MAJr at τ = (r + 1)/2), yields exact acceptance probability on vote P

Mr,τ (q) =

r k r−k k=τ k A R (A + R)r

r X k=τ

r k q (1 − q)r−k , k

which is monotonically nondecreasing in q for every (r, τ ). Consequently, given polynomialtime computable promise thresholds 0 ≤ q− (n) < q+ (n) ≤ 1 with inverse-polynomial gap q+ − q− ≥ 1/poly(n), setting τ = ⌈r(q+ + q− )/2⌉ (or MAJr whenever q+ > 21 > q− ) amplifies the acceptance gap to (1 − 2−poly(n) , 2−poly(n) ) using r = O((q+ − q− )−2 poly(n)) copies for every real p ≥ 0. (ii) Exact minimality of r∗ = 7 (τ = 4) for canonical centered SBPcoC= P[1 pos] parame7 ′ ters: For the canonical 10×-padded SBP parameters of Theorem 2.1(ii) (Nref = 10 T = 7T , 1000 5 −3 ′ K Mgarb ≤ 10 T · 4 ), the single-copy promise bounds are q+ ≥ 1701 (YES) and q− ≤ 12 (NO). Across every r ∈ {1, 2, 3, 4, 5, 6} (both odd and even) and every deterministic thresh1000 5 old τ ∈ {0, 1, . . . , r + 1}, Tr,τ fails to satisfy both Mr,τ ( 1701 ) > 23 and Mr,τ ( 12 ) < 13 . In particular, odd majority at r = 5 fails both thresholds simultaneously:

M5,3

1000 1701

662 2 < < , 1000 3

M5,3

5 12

346 1 > , 1000 3

whereas r∗ = 7 with unique passing threshold τ = 4 (MAJ7 ) clears both strictly (exact value M7,4 (5/12) = 2,890,625/8,957,952 = 11,562,500/127 ≈ 0.32269):

M7,4

1000 1701

686 2 > > , 1000 3

M7,4

5 12

323 1 < . 1000 3

Proof. (i) On r disjoint registers, the tensor-product amplitude of (z1 , . . . , zr ) is rj=1 αzj , whose Q Q p-th power satisfies | rj=1 αzj |p = rj=1 |αzj |p for every real p > 0, and also at p = 0 since a product of scalars is nonzero if and only if every factor is nonzero (00 = 0). Because Tr,τ is many-to-one, we implement it reversibly via Bennett’s compute–copy–uncompute method [3] using an O(r)-gate binary adder tree in work, XORing the threshold bit into the clean ancilla vote and uncomputing work back to |0w ⟩; the resulting operator Ur,τ is a permutation matrix on the full computational basis and therefore preserves the multiset of amplitude magnitudes P without interference. Grouping basis tuples (z1 , . . . , zr ) by Hamming weight k = rj=1 out(zj ) Q

gives accepting | · |p -mass rk=τ kr Ak Rr−k and total mass rk=0 kr Ak Rr−k = (A + R)r (proved inductively for all r ∈ N in Lean 4 as product_copy_binomial_invariance and binomTail_add_ prefix), yielding (8). Monotonicity of Mr,τ (q) in q for all (r, τ ) is proved universally in Lean 4 (binom_tail_monotone). Given poly-time computable promise endpoints (q+ , q− ) with q+ −q− ≥ 1/poly(n), setting τ = ⌈r(q+ + q− )/2⌉ and applying Hoeffding’s inequality to the Bin(r, q) tail Mr,τ (q) gives failure probability ≤ exp(−r(q+ −q− )2 /2) ≤ 2−poly(n) for r = O((q+ −q− )−2 poly(n)). 5 1000 (YES) and q− ≤ 12 (ii) By Theorem 2.1(ii), the 10×-padded SBP circuit satisfies q+ ≥ 1701 (NO). Exact integer evaluation over all 33 pairs (r, τ ) with 1 ≤ r ≤ 6 and 0 ≤ τ ≤ r + 1 2 5 1 proves that none satisfies both Mr,τ ( 1000 1701 ) > 3 and Mr,τ ( 12 ) < 3 (certified with zero axioms in Lean 4 as sbp_r_le_6_all_thresholds_insufficient, alongside sbp_r5_insufficient_exact for the double failure of MAJ5 ). Combining universal monotonicity (binom_tail_monotone) with 2 · 17017 < 3 maj7 (1000, 701) and 3 maj7 (5, 7) < 127 proves end-to-end strict ( 23 , 13 ) separation for every 10×-padded instance (sbp_bqp0_r7_amplification and sbp_10x_r7_end_to_end). P

Remark 3.2 (Sensitivity to Shifted Reference Parameters and Exponential-Gap Obstruction). Two clarifications sharpen Theorem 3.1: (a) Non-centered reference thresholds: Theorem 3.1(ii) proves exact r∗ = 7 minimality over all 7 ′ deterministic thresholds τ for the canonical centered parameters Nref = 10 T (which place 21 symmetrically between q+ and q− so odd majority applies). For a general factor-2 SBP gap (q+ = (1 + c)−1 vs. q− = (1 + 2c)−1 in the negligible-garbage limit, odds ratio 2), numerical inversion shows that any r ≤ 5 requires odds ratio ≥ 2.0857 > 2 and is impossible for every (c, τ ), whereas tuning a biased non-majority reference parameter specifically for even r = 6 97 and asymmetric threshold τ = 3 (e.g., c = 100 , where the required odds ratio is 1.9829 < 2) 2 1 barely clears ( 3 , 3 ) in the negligible-garbage limit. (b) Polynomial vs. exponential gaps: Theorem 3.1(i) shows that every inverse-polynomial gap ε = 1/poly(n) amplifies universally in BQPp via r = O(ε−2 poly(n)) disjoint tensor copies, whereas exponentially small gaps ε = 2−n would require r = Ω(4n ) disjoint copies and cannot be compressed by coherent Grover iterations because unitary rotations preserve ℓ2 rather than ℓp (p ̸= 2).

Non-Asymptotic Zero-Farkas Geometric Lagrange Measures

O In the polynomial method for separating BQPO p from PP at non-even p > 0, one seeks two probability distributions (µ+ , µ− ) supported on the squared grid GB = {(2k/B)2 : k ∈ {0, . . . , B/2}} that match all polynomial moments Eµ+ [tr ] = Eµ− [tr ] for r = 0, 1, . . . , d while separating fα (t) = tα (α = p/2) by a large multiplicative ratio. Rather than appealing non-constructively to Farkas’ lemma, we construct a closed-form divided-difference measure on G2M sd/2 whose exact adjacent-term ratio obeys a completely elementary, non-asymptotic identity. As noted in Section 1, because B = 2M sd/2 grows exponentially in d, this explicit construction gives zero-Farkas moment-matched separation certificates for fixed degree d = O(1) and linear degree d = O(n) inside B = 2n , while superlinear d = poly(n) inside B = 2n still requires non-constructive LP/Farkas existence proofs.

Theorem 4.1 (Exact Non-Asymptotic Zero-Farkas Geometric Lagrange Separation). Fix any degree d ≥ 1, integer base M ≥ 2, and even integer s ≥ 2 (take s = 2 for odd integers p, or s = 4 for half-integers p = k/2). Define d + 2 exact squared-grid nodes on G2M sd/2 by t0 = 0,

tj = M

−s(d+1−j)

with Lagrange divided-difference weights wj =

2M (s/2)(j−1) 2M (s/2)d

(j = 1, . . . , d + 1),

−1 (0 ≤ j ≤ d + 1). Then: i̸=j (tj − ti )

d+1 r (i) Exact moment matching and even-integer cancellation: j=0 wj tj = 0 identically P P for all r = 0, 1, . . . , d; in particular, Z := wj >0 wj = wj <0 (−wj ) > 0, so for either

sign choice σ ∈ {+1, −1} the probability distributions µ+ = Z1 σwj >0 (σwj )δtj and µ− = 1 P σwj <0 (−σwj )δtj match all moments up to degree d, and at every even exponent p = 2m Z (α = m ≤ d), fα (t) = tm vanishes identically against w. P

(ii) Exact non-asymptotic adjacent-term ratio identity: For every real α > 0 and every j ∈ {1, . . . , d}, |wj | tαj 1 − M −sj s(j−α) . (10) = M · |wj+1 | tαj+1 1 − M −s(d+1−j) (iii) Uniform non-asymptotic peak dominance and separation: For every non-integer α = p/2 ∈ (0, d) \ Z, let m = ⌈α⌉ ∈ {1, . . . , d}, δα = min(α − (m − 1), m − α) > 0, and set (σ) (σ) σ = sgn(wm ) ∈ {+1, −1} with (µ+ , µ− ) = (µ+ , µ− ). Then the single node j ∗ = m strictly dominates every other term whenever M sδα > (1 − M −s )−1 , and for all M ≥ 2, Eµ+ [tα ] 1 − 2M −s sδα > M . α Eµ− [t ] 2

(11)

· 64 = 2047 In particular, taking s = 2, M = 64 gives the uniform analytic floor 1−2/4096 2 64 = 1 31.984375 > 20 for every odd integer p = 2m−1 ≤ 2d−1 (δα = 2 ), and taking s = 4, M = 64 4

gives exact-Q separation with uniform analytic floor 1−2/64 · 64 > 31.999 > 20 for every 2 half-integer p = k/2 (k odd, ⌈k/4⌉ ≤ d, δα ≥ 41 ). Proof. (i) On any d + 2 pairwise-distinct nodes t0 , . . . , td+1 , the (d + 1)-st divided difference Pd+1 j=0 wj P (tj ) vanishes identically for every polynomial P of degree at most d (proved universally over exact rationals for arbitrary d ∈ N in Lean 4 as lagrange_divided_diff_annihilator, via the partial-fraction recursion L(1; x0 , x1 , . . . ) = (L(1; x0 , . . . ) − L(1; x1 , . . . ))/(x0 − x1 ) and P P r−1−u u t ). The r = 0 case yields wj >0 wj = head-factor cancellation tr − xr0 = (t − x0 ) r−1 u=0 x0 (σ) (σ) wj <0 (−wj ) = Z > 0, making (µ+ , µ− ) valid probability distributions matching all moments

up to d. Q (ii) For 1 ≤ j ≤ d + 1, factor the larger node out of every difference in |wj |−1 = i̸=j |tj − ti |:  −1

|wj |

= tj 

j−1 Y

tj 1 − M

−s(j−i)  

= tjj 

d+1 Y

ti 1 − M

−s(i−j) 

i=j+1

d+1 Y

ti  Pj−1 (M s ) Pd+1−j (M s ),

i=j+1

where Pk (q) := ku=1 (1 − q −u ) (P0 (q) = 1). Taking the quotient |wj+1 |−1 /|wj |−1 for 1 ≤ j ≤ d Q cancels d+1 i=j+2 ti and yields Q

tj+1 Pj (M s ) Pd−j (M s ) |wj | 1 − M −sj j+1 sj = j · = M · |wj+1 | 1 − M −s(d+1−j) tj · tj+1 Pj−1 (M s ) Pd+1−j (M s ) (formalized universally for all d, q = M s , j ∈ {1, . . . , d} in integer cross-multiplied form in Lean 4 as lagrange_adjacent_weight_ratio_exact). Multiplying by (tj /tj+1 )α = M −sα establishes (10). (iii) Set aj := |wj |tαj (a0 = 0 since α > 0) and q := M s ≥ 4. Because 1 − q −1 ≤ (1 − q −j )/(1 − q −(d+1−j) ) ≤ (1 − q −1 )−1 for all 1 ≤ j ≤ d, (10) yields sharp one-step contractions away from j ∗ = m in both directions: 9

Table 1: Summary of exact-Q and 14-qubit statevector Python verification (verify_bqpp_am_ sandwich_sharp.py, AST 0/0/0, pytest 7/7 under -W error) with transparent alignment to Lean 4.36.0 counterparts. The 14-qubit counting-validation test (Row 1) is kept strictly separate from the AM ( 78 , 81 ) promise gap (Row 2), and uniform analytic floors are distinguished from evaluated ratios. Verification suite

Exact coverage verified

Key certified values

Lean 4 counterpart

14q counting validation AM ( 78 , 18 ) promise gap SBP 10× outer padding SBP r∗ = 7 minimality Odd-p Lagrange (s = 2) Frac.-p Lagrange (s = 4) W1 , Prop. 2.3, Prop. 4.2

m=2, b=1, K=3, Nref =1 (214 amps; 3/4 pos. coins) Exact Q gap (m ≥ 3, Nref = 83 2m ) All 16 masks (m=2, b=1); T =1 K-scaling All 33 (r ≤ 6, τ ) odd+even pairs; 3-copy p=0..4 36 adj-ratio checks; 9 M =64 certs (d ≤ 4) 8 exact-Q M =64 certs (p ∈ { 12 , 32 , 25 }, d ≤ 3) 3q W1 ; 3:1 gap; 245 even-2k; 20 grid cases

2 1 K (N =0..4) YES = 192 277 > 3 , NO = 0 < 3 ; N · 4 2 1 1 YES ≥ 224 321 > 3 , NO ≤ 4 < 3 1000 1 5 ′ A = 10A exact; 1701 > 2 > 12 0/33 pass; r=7, τ =4: > 0.686, 2890625 8957952 < 0.323 Analytic floor 2047 64 > 31.984; all 9 eval. > 32 Analytic floor > 31.999; all 8 eval. > 32 1 2 2 22−p scaling; 300 401 vs. 4 ; 16Rd < B

Circuit validation (prose Thm. 2.1) am_bqp0_single_copy_gap (univ.) sbp_10x_padding_exact_gap (univ.) sbp_r_le_6_all_thresholds_insufficient Universal Thm. 4.1(i,ii) + 5 rfl Universal Thm. 4.1(i,ii) + 5 rfl cswap_hadamard_w1_zero_axiom_cert + 3 univ.

• Below m: For j = m − 1, am−1 /am ≤ q −δα /(1 − q −1 ). For each additional step j ≤ m − 2, j − α ≤ −1, so aj /aj+1 ≤ q −1 /(1 − q −1 ) ≤ 31 . Summing the geometric series gives ∞ q −1 q −δα X aj ≤ am · 1 − q −1 r=0 1 − q −1 j=1

m−1 X

= am ·

q −δα . 1 − 2q −1

• Above m: Inverting (10) gives am+1 /am ≤ q −δα /(1 − q −1 ), and for each additional step j ≥ m + 1, α − j ≤ −1, so aj+1 /aj ≤ q −1 /(1 − q −1 ). Summing the identical geometric series Pd+1 q −δα aj ≤ am · 1−2q yields j=m+1 −1 . With σ = sgn(wm ), the peak am lies on the µ+ side (Z Eµ+ [tα ] ≥ am ), while Z Eµ− [tα ] = −δα

2q < j̸=m aj ≤ 1−2q −1 am (strict because the infinite geometric tail is strictly positive). Taking the quotient yields (11), and substituting (s, M ) = (2, 64) and (4, 64) gives 2047 64 = 31.984375 and > 31.999, respectively.

σwj <0 aj

Showing searchable text extract (31,702 characters of 7,404 total words). Open or download the canonical PDF above for the complete typeset manuscript and equations.

References (8)

  1. Scott Aaronson (2005) “Quantum Computing, Postselection, and Probabilistic Polynomial-Time” Proceedings of the Royal Society A, 461, 3473–3482
  2. Scott Aaronson (2010) “BQP and the Polynomial Hierarchy” Proceedings of the 42nd Annual ACM Symposium on Theory of Computing (STOC), 141–150
  3. Charles H. Bennett (1973) “Logical Reversibility of Computation” IBM Journal of Research and Development, 17, 525–532
  4. Elmar Böhler, Christian Glaßer, Daniel Meister (2006) “Error-Bounded Probabilistic Computations Between MA and AM” Journal of Computer and System Sciences, 72, 1043–1076
  5. Stephen A. Fenner, Lance Fortnow, Stuart A. Kurtz (1994) “Gap-Definable Counting Classes” Journal of Computer and System Sciences, 48, 116–148
  6. Lance Fortnow, Nick Reingold (1996) “PP is Closed Under Truth-Table Reductions” Information and Computation, 124, 1–6
  7. Leonardo de Moura, Sebastian Ullrich (2021) “The Lean 4 Theorem Prover and Programming Language” Automated Deduction – CADE 28, 12699, 625–635
  8. Nikolai K. Vereshchagin (1992) “On the Power of PP” Proceedings of the 7th Annual IEEE Conference on Structure in Complexity Theory, 138–143
Reference this work

Cite this paper

v2 · 2026-12-06

Lluis Eriksson (2026). Structural AM u SBP^{coC_=P[1 pos]} <= BQP_0 Sandwich, Exact Minimal r* = 7 Product-Copy Amplification, and Non-Asymptotic Zero-Farkas Geometric Lagrange Measures for BQP_p. AIRR.SCIENCE, ARR-2026-6WW0M7TB2Q8D6TJD, v2. https://airr.science/papers/ARR-2026-6WW0M7TB2Q8D6TJD/versions/v2/

Use the DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.

Version history

The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.

  • v2 · major revision · source snapshot available · viewing
  • v1 · source snapshot available

Revision statement

Major revision. Upgrades ARR-2026-6WW0M7TB2Q8D6TJD v1 to a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/BQPpAMSandwichSharp.lean, 17/17 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an exact-Z/Q stdlib-only Python verifier (src/verify_bqpp_am_sandwich_sharp.py, pytest -W error).

Verification record

Frontier-model screening
Pass · 2 models
Source integrity
Pass
Bibliographic integrity
Pass
Reproducibility
Pass
Lean 4
L2

Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.

AI assistance statement

Authored by Lluis Eriksson with AI-assisted Lean 4.36.0 mechanization, exact-Z/Q verifier engineering, and LaTeX drafting (Google Antigravity). Evaluated independently in fresh isolated blind sessions by Google DeepMind/gemini-4-hydrogen (6.00/10 accept) and Google DeepMind/gemini-4-neon (6.00/10 accept) under ARR-ASSESS-1.0 with zero unresolved material objections.

Frontier-model screening

Status: pass. Any listed reports correspond to this exact version under ARR-ASSESS-1.0; no absent assessment is represented as a pass.

  • gemini-4-hydrogenGoogle DeepMind · pass
  • gemini-4-neonGoogle DeepMind · pass
Longitudinal frontier-model record

Model assessments and review context

Read the scale and limits
6.00 / 10.00Excellent
Distinct models
2
Range
6.00–6.00
Method
bounded capability-weighted mean · exact version only

Limited evidence · 0/2 benchmark matches. This is an evidence description, not a probability of correctness.

One provider; shared blind spots possible; Mathematical benchmark not applied to this subject

Score calculation and evidence

Unweighted mean: 6.00. Policy: AIRR-RATING-1.4. Method and limits.

ModelOriginal scoreWeightBasis
Google DeepMind · gemini-4-hydrogen6.001.000Benchmark outside declared mathematical scope
Google DeepMind · gemini-4-neon6.001.000Benchmark outside declared mathematical scope

Download the calculation snapshot

Google DeepMind · gemini-4-neon · High · not involved in manuscript · review context: fresh blind6.00

Recommendation: Accept · Material objections: 0

Version 2 of ARR-2026-6WW0M7TB2Q8D6TJD is a rigorous, cleanly scoped, and fully reproducible computational complexity paper studying Aaronson's l_p-norm quantum complexity classes BQP_p. It proves (1) a relativizing structural sandwich AM^O u coAM^O u (SBP^{coC_=P[1 pos]})^O <= BQP_0^O <= PP^{C_=P[1 q/p]^O} over the exact dyadic gate set {H, X, CNOT, Toffoli} using a 3-gate CSWAP-Hadamard scaling gadget W_K and exact 10x outer-coin padding, yielding an independent structural proof of BQP_0^O not<= PP^O via Vereshchagin's oracle and the unrelativized barrier BQP_0 = PP => AM <= PP; (2) universal all-p product-copy threshold amplification together with exact minimality of r* = 7 (MAJ_7) across all 33 odd/even (r <= 6, tau) pairs for the canonical centered SBP parameters (1000/1701, 5/12); (3) explicit zero-Farkas geometric Lagrange divided-difference measures on squared grids G_{2 M^{sd/2}} obeying an exact non-asymptotic adjacent-term ratio identity and uniform peak-dominance separation bound; and (4) immediate lifting to P_{tt}^{PP^O} = P^{PP[O(log n)]^O} via Fortnow-Reingold closure. Independent verification on Linux confirmed 14/14 MANIFEST.sha256 hashes, zero-warning Lean 4.36.0 compilation (lean -DwarningAsError=true) with byte-identical 17-theorem axiom audit (0 sorry, 0 Classical.choice, 0 Lean.ofReduceBool), exact zero-float Python verification (AST 0/0/0, matching CERT_SHA256), 7/7 pytest under -W error, Remark 3.2(a) odds ratios, and clean pdflatex compilation. Two tiny harmless prose slips were noted but create no material objections.

Correctness confidence
All theorems, propositions, and Remark 3.2(a) odds ratios were independently verified. Lean 4.36.0 (-DwarningAsError=true) proved all 17 public theorems with 0 sorry, 0 warnings, and 0 Classical.choice; Python AST 0/0/0 verifier and 7/7 pytest passed under -W error. Two tiny prose slips in Thm 2.1(i) and Thm 4.1(iii) leave all theorem conclusions intact.
Rigor
Clear, honest boundary between prose complexity semantics (uniformity, Bennett uncomputation, relativization, Hoeffding asymptotics) and the 17-theorem zero-import Lean 4.36.0 algebraic/combinatorial kernel. Gate-set dependence at p=0, exponential grid scaling B=2M^{sd/2}, and uniform analytic floors vs. evaluated ratios are stated transparently.
Novelty
Establishes a clean relativizing structural sandwich AM u coAM u SBP^{coC_=P[1 pos]} <= BQP_0 <= PP^{C_=P[1 q/p]} with 10x outer-coin padding, exact r*=7 threshold minimality across all 33 (r<=6, tau) pairs, and explicit zero-Farkas geometric Lagrange measures with an exact non-asymptotic adjacent-term ratio identity; some companion items are elementary.
Significance
Yields an independent structural proof of BQP_0^O not<= PP^O via Vereshchagin's oracle and the unrelativized barrier BQP_0 = PP => AM <= PP over {H, X, CNOT, Toffoli}, plus constructive non-asymptotic moment-matching measures for fixed/linear degree. Does not resolve unrelativized BQP_p ?= PP or superlinear d=poly(n) grids for non-even p>0.
Reproducibility
14/14 MANIFEST.sha256 entries match, including canonical paper.pdf SHA-256. Independent execution on Linux reproduced lean -DwarningAsError=true with byte-identical 17-theorem axiom audit, deterministic Python CERT_SHA256 (AST 0/0/0), 7/7 pytest under -W error, and warning-free pdflatex compilation with 0 overfull hboxes.

Strengths

  • Self-contained, watertight structural sandwich AM^O u coAM^O u (SBP^{coC_=P[1 pos]})^O <= BQP_0^O <= PP^{C_=P[1 q/p]^O} over {H, X, CNOT, Toffoli}, including explicit Bennett-uncomputed phase kickback, exact 10x outer-coin padding (4 coin qubits + 1 inner parity bit) valid unconditionally down to T(x) = 1, and complete 2^{q+1} leaf-count bookkeeping for the upper bound.
  • Clean, elementary, non-asymptotic geometric Lagrange divided-difference construction on G_{2 M^{sd/2}} with the exact adjacent-term ratio identity |w_j| t_j^alpha / (|w_{j+1}| t_{j+1}^alpha) = M^{s(j-alpha)} (1 - M^{-sj})/(1 - M^{-s(d+1-j)}), which transparently contrasts unique peak dominance at non-even p against twin-peak cancellation at even p = 2m and extends cleanly to exact-Q quartic nodes (s = 4) for half-integer exponents.
  • Exemplary standalone zero-import Lean 4.36.0 formalization (1,603 lines, 17 public theorems, 0 sorry, 0 warnings, 0 Classical.choice, 0 Lean.ofReduceBool) containing nontrivial universal proofs of symbolic rational Lagrange annihilation over RatQ, exact adjacent-weight ratio, binomial tail monotonicity, and end-to-end r* = 7 amplification, alongside zero-axiom exhaustive r <= 6 minimality certificates.
  • Exemplary honest scope calibration: explicitly states gate-set dependence at p = 0, exponential grid-size growth B = 2 M^{sd/2} limiting constructive Lagrange certificates to fixed/linear degree d inside B = 2^n, separation of the 14-qubit counting check from the AM (7/8, 1/8) promise gap, uniform analytic floors vs. evaluated ratios, and the exact prose-vs.-Lean boundary.
  • Complete, deterministic reproducibility bundle: 14/14 SHA-256 manifest match, byte-identical live Lean axiom audit, AST 0/0/0 zero-float Python verifier reproducing CERT_SHA256 = 935efe451e07a9f69b09dfa0e02a9c8398f790eda3c45af46febe2e0e8eae054, 7/7 pytest passing under -W error, and clean 12-page PDF.

Weaknesses

  • The BQP_0 structural lower bound and unrelativized barrier BQP_0 = PP => AM <= PP rely intrinsically on exact dyadic cancellation over {H, X, CNOT, Toffoli} under Aaronson's discontinuous 0^0 = 0 convention, and do not immediately extend to approximate gate synthesis or to p > 0.
  • Because the geometric Lagrange grid size B = 2 M^{sd/2} grows exponentially in the degree d, Theorem 4.1 yields constructive zero-Farkas moment-matching certificates only for fixed d = O(1) and linear d = O(n) inside B = 2^n, not superlinear d = poly(n) oracle separations for non-even p > 0 (honestly acknowledged by the author).
  • Companion Propositions 2.3 and 4.2 and Corollary 4.3 are elementary algebraic facts or immediate corollaries of prior work (Aaronson 2005; Fortnow-Reingold 1996) included mainly for completeness and 1:1 alignment with the Lean kernel.
  • The 14-qubit Python statevector simulator implements the diagonal phase oracle, multi-controlled X, and integer comparator as direct statevector equivalents rather than gate-level uncomputed ancilla circuits (transparently documented in Section 5 and source docstrings).

Potential errors

  • Harmless omission in Proof of Theorem 2.1(i), Step 3 (paper.tex line 161): states the amplitude of basis state (1, i, 0^{b+2}) as -2^{-(b+1)} #{v : V^O(x,i,v) = 1}, omitting the overall uniform-superposition normalization factor 2^{-(m+1)/2} from the (br, i) registers. This is the conditional amplitude on cv given (1, i) and has zero impact on non-vanishing or support cardinality at p = 0.
  • Harmless inequality-placement slip in Proof of Theorem 4.1(iii) (paper.tex line 396): writes sum_{sigma w_j < 0} a_j < sum_{j != m} a_j <= (2 q^{-delta_alpha} / (1 - 2 q^{-1})) a_m with the parenthetical '(strict because the infinite geometric tail is strictly positive)'. When d = 1 and m = 1, a_0 = 0 so the first relation is an equality (<=), while the second relation is strictly (<) due to the omitted positive infinite geometric tail. The strict lower bound (11) remains completely valid.
  • Minor Lean identifier/docstring naming artifacts (no mathematical or formal-soundness impact): theorem cswap_hadamard_w1_zero_axiom_cert depends on [propext] rather than an empty axiom set (accurately classified under [propext]-only in Table 2 and Theorem 5.1), and the docstring of sbp_r_le_6_all_thresholds_insufficient mentions 'unique r* = 7, tau = 4 success' whereas uniqueness across tau != 4 at r = 7 is verified in Python rather than in that Lean theorem (Table 2 states the exact Lean coverage accurately).

Strong novelty candidates

  • Relativizing structural sandwich AM^O u coAM^O u (SBP^{coC_=P[1 pos]})^O <= BQP_0^O <= PP^{C_=P[1 q/p]^O} over {H, X, CNOT, Toffoli} using the 3-gate CSWAP-Hadamard scaling gadget W_K and exact 10x outer-coin padding, giving an independent structural proof of BQP_0^O not<= PP^O via Vereshchagin's oracle and the unrelativized barrier BQP_0 = PP => AM <= PP.
  • Closed-form zero-Farkas geometric Lagrange divided-difference measures on squared grids G_{2 M^{sd/2}} obeying the exact non-asymptotic adjacent-term ratio identity |w_j| t_j^alpha / (|w_{j+1}| t_{j+1}^alpha) = M^{s(j-alpha)} (1 - M^{-sj})/(1 - M^{-s(d+1-j)}) and uniform non-asymptotic ratio floor > (1/2)(1 - 2 M^{-s}) M^{s delta_alpha}, including exact-Q quartic-grid separation for half-integer exponents p in {1/2, 3/2, 5/2}.
  • Exact minimality of r* = 7 (MAJ_7) across all 33 odd and even (r <= 6, tau) deterministic threshold pairs for canonical centered SBP^{coC_=P[1 pos]} parameters (1000/1701, 5/12), machine-checked with zero axioms in Lean 4.36.0 alongside a constructive zero-Classical.choice formalization of universal symbolic Lagrange annihilation and binomial tail monotonicity.

Unresolved material objections

None reported.

arr:assessment:3acfa1c0-5c5f-408c-893b-00326b6c007f · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-neon · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 961f3c0856d90d66d48bc636ade56d1d1c5e0115fa0326129471f74374bba542 · response SHA-256 8c23f922b24d15ed268ecdd723511d4a2f81d829b432f75e9bb2e2e2a350fc5c · canonical PDF SHA-256 b575091a8b2b34a5b3e2c93093a41d3e44dce86ec34d0c408b52dae47bc73ee5

Google DeepMind · gemini-4-hydrogen · High · not involved in manuscript · review context: fresh blind6.00

Recommendation: Accept · Material objections: 0

Version 2 of ARR-2026-6WW0M7TB2Q8D6TJD presents a rigorous, cleanly scoped study of Aaronson's l_p-norm quantum complexity classes BQP_p. It establishes (1) a relativizing structural sandwich AM^O u coAM^O u (SBP^{coC_=P[1 pos]})^O <= BQP_0^O <= PP^{C_=P[1 q/p]^O} over the exact dyadic gate set {H, X, CNOT, Toffoli} yielding BQP_0 = PP => AM <= PP, (2) universal all-p >= 0 product-copy threshold amplification and exact minimality of r* = 7 (tau = 4) over all 33 (r <= 6, tau) pairs for canonical 10x-padded SBP parameters, (3) an explicit zero-Farkas geometric Lagrange divided-difference measure with an exact non-asymptotic adjacent-term ratio identity, and (4) lifting via Fortnow-Reingold closure. All 17 public Lean 4.36.0 theorems compile cleanly with -DwarningAsError=true (0 sorry, 0 Classical.choice, exact match to data/lean_axioms_audit.txt), the AST-0/0/0 exact-Z/Q Python verifier and 7/7 pytest tests pass under -W error, and MANIFEST.sha256 and LaTeX compilation verify cleanly.

Correctness confidence
All 17 Lean 4.36.0 theorems compile cleanly with -DwarningAsError=true (0 sorry, 0 Classical.choice, exact diff match to data/lean_axioms_audit.txt). Pure-stdlib Python verifier (AST 0/0/0) and 7/7 pytest tests pass under -W error; MANIFEST.sha256 and LaTeX build pass cleanly.
Rigor
Clear boundary between prose complexity-class semantics and the Lean 4 algebraic/binomial/Lagrange kernel. Exact dyadic gate-set scoping at p=0, unconditional 10x SBP padding valid at T=1, explicit PP^{C_=P[1 q/p]} leaf accounting, and 1:1 theorem mapping with zero phantom references.
Novelty
Establishes the relativizing AM u coAM u SBP^{coC_=P[1 pos]} <= BQP_0 <= PP^{C_=P[1 q/p]} sandwich, exact r*=7 minimality across all 33 (r<=6, tau) pairs for canonical 10x-padded SBP, and closed-form zero-Farkas geometric Lagrange measures with an exact adjacent-term ratio identity.
Significance
Sharpens Aaronson (2005) by tying exact-dyadic BQP_0 = PP to AM <= PP, quantifying product-copy amplification thresholds for all p >= 0, and providing constructive non-asymptotic moment-matched certificates for fixed/linear degrees, while leaving unrelativized BQP_p =? PP open.
Reproducibility
Fully self-contained bundle with MANIFEST.sha256, pinned leanprover/lean4:v4.36.0 toolchain, zero-import Lean kernel, verbatim #print axioms log, deterministic zero-float Python verifier, 7-test pytest suite, and reproducible 12-page LaTeX/BibTeX sources.

Strengths

  • All 17 public theorems in lean/BQPpAMSandwichSharp.lean compile cleanly under Lean 4.36.0 with -DwarningAsError=true, zero sorry, zero Classical.choice, zero Lean.ofReduceBool, and exact diff agreement with data/lean_axioms_audit.txt (2 empty-axiom certificates, 3 [propext]-only rfl certificates, 12 [propext, Quot.sound] universal theorems).
  • Exact 1:1 alignment between every theorem, proposition, gadget, and table entry in paper.tex/paper.pdf and the Lean 4 and Python artifacts, with zero phantom references.
  • Clean fix in Theorem 2.1(ii) via 10x outer-coin padding (4 auxiliary coin qubits plus 1 inner parity bit), yielding exact A'(x) = 10 A(x), N_ref = 7 T(x) < 2^{m+4}, and unconditional K = ceil((m+b+13)/2) valid even at T(x) = 1, plus complete 2^{q+1}-leaf accounting for BQP_0^O <= PP^{C_=P[1 q/p]^O}.
  • Pure-stdlib exact-Z/Q Python verifier (src/verify_bqpp_am_sandwich_sharp.py) passes AST zero-float audit (0 float literals, 0 float() calls, 0 ast.Div), all 5 suites, deterministic CERT_SHA256 reproducibility, and 7/7 pytest tests under -W error.
  • Transparent scope discipline: explicitly restricts BQP_0 lower bounds to the exact dyadic gate set {H, X, CNOT, Toffoli}, distinguishes prose complexity semantics from the Lean 4 kernel, separates 14-qubit counting validation from the AM (7/8, 1/8) promise gap, and notes the linear-degree d = O(n) limit of explicit G_{2 M^{sd/2}} Lagrange measures.

Weaknesses

  • Explicit geometric Lagrange construction requires grid size B = 2 M^{sd/2} exponential in d, so zero-Farkas separation certificates inside B = 2^n cover fixed or linear degree d = O(n) rather than superlinear d = poly(n).
  • Complexity-class semantics (circuit uniformity, Bennett uncomputation, oracle relativization, Hoeffding asymptotics, Fortnow-Reingold closure) are proved in prose rather than formalized in Lean 4, and the 14-qubit Python simulator models phase kickback, multi-controlled X, and the integer comparator via direct exact-integer statevector equivalents rather than gate-level ancilla circuits (both explicitly disclosed).
  • In lean/BQPpAMSandwichSharp.lean, the exhaustive r <= 6 check sbp_r_le_6_all_thresholds_insufficient evaluates binomTailDirect while sbp_10x_r7_end_to_end uses recursive binomTail (with equivalence proved via binomTail_add_prefix and product_copy_binomial_invariance, and direct equality checked at r=7, tau=4).

Potential errors

  • Minor non-blocking phrasing slip in the proof of Theorem 4.1(iii) (paper.tex line 396): the chain sum_{sigma w_j < 0} a_j < sum_{j != m} a_j <= (2 q^{-delta_alpha}/(1 - 2 q^{-1})) a_m places the strict inequality on the first comparison rather than the second; when d = 1 (so m = 1 and a_0 = 0), sum_{sigma w_j < 0} a_j = a_2 = sum_{j != 1} a_j, while the second inequality is strictly < because the infinite geometric tail is strictly positive. The resulting bound (8) is unaffected.

Strong novelty candidates

  • Relativizing structural sandwich AM^O u coAM^O u (SBP^{coC_=P[1 pos]})^O <= BQP_0^O <= PP^{C_=P[1 q/p]^O} over {H, X, CNOT, Toffoli} with 10x outer-coin padding and unconditional K-scaling, yielding BQP_0^O !<= PP^O via Vereshchagin's oracle and unrelativized BQP_0 = PP => AM <= PP.
  • Exact minimality of r* = 7 (tau = 4, MAJ_7) over all 33 (r <= 6, tau) odd and even pairs for canonical 10x-padded SBP parameters (1000/1701, 5/12), paired with universal all-p >= 0 product-copy binomial monotonicity.
  • Closed-form zero-Farkas geometric Lagrange divided-difference measure on G_{2 M^{sd/2}} obeying the exact non-asymptotic adjacent-term ratio identity |w_j| t_j^alpha / (|w_{j+1}| t_{j+1}^alpha) = M^{s(j - alpha)} (1 - M^{-sj}) / (1 - M^{-s(d+1-j)}) and uniform peak-dominance floor > (1/2)(1 - 2 M^{-s}) M^{s delta_alpha}.

Unresolved material objections

None reported.

arr:assessment:d7e2e9ee-c3a3-4114-95cf-b08eaefbed9c · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-hydrogen · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 529a8ec56d3907ea1a0121d513a74324414496b7d38b3457c91f7c1950f8edd8 · response SHA-256 81cd580656e4bd6a5815bb482a909c9de21ca0a4eece61ad7bcd23b68fc9cfd3 · canonical PDF SHA-256 b575091a8b2b34a5b3e2c93093a41d3e44dce86ec34d0c408b52dae47bc73ee5

A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.

Editorial disclosure

Published as major extended v2 superseding v1 following unanimous acceptance in two independent fresh blind frontier-model evaluations (Google DeepMind/gemini-4-hydrogen 6.00/10 and Google DeepMind/gemini-4-neon 6.00/10; mean 6.00/10) with zero unresolved material objections and verified Lean 4.36.0 + exact-Z/Q Python artifacts archived directly in this AIRR record.

Record timestamps & download statistics
Deposit recordedFirst repository commit · full Git SHA recorded
PublicationPending releaseThe exact release timestamp will be appended after publication
Canonical PDF downloads0GitHub release downloads only; direct AIRR PDF reads are not included
Page viewsNot availablePage-view counts are not available in this public snapshot. Optional operator statistics are separate.
Definitions and rankings →