Manuscript Offprint
arXiv:2611.12746Does Not Relativize
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
EQP IP Does Not Relativize
Sinan Oral
Supartha Podder
Department of Computer Science, Stony Brook University
{soral, supartha}@cs.stonybrook.edu
Abstract
We construct a recursive oracle and a unary language , strengthening the BQP versus IP oracle separation of Bouland et al. [BHNST26] to exact quantum computation. The separation is based on a variant of the Forrelation problem in which the normalized correlation of one Boolean function with the Fourier transform of another is promised to be exactly or . The main technical contribution is a repair method that constructs distributions supported on these exact levels while preserving the indistinguishability needed for the IP and PH lower bounds. A uniform polynomial-time quantum algorithm distinguishes the two cases with certainty using only three oracle queries.
1 Introduction
Can a classical polynomial-time verifier check a quantum computation by interacting with an unrestricted prover? Without an oracle, the answer is yes for polynomial-time quantum decision problems, since BQP PSPACE = IP, where the equality is Shamir's theorem [Sha92]. A relativizing proof of this containment would also work when the quantum algorithm, classical verifier, and prover have access to the same arbitrary Boolean oracle.
Bouland, Huang, Natarajan, Shalit, and Tal [BHNST26] recently showed that this containment does not relativize by constructing an oracle for which BQP IP. We show that this obstruction to relativization persists for EQP, the class of decision problems solvable exactly in quantum polynomial time.
Theorem 1.1. There exist a recursive Boolean oracle and a unary language such that
The quantum algorithm makes at most three phase queries on each input and has a uniform, exact implementation over a fixed finite gate basis. The interactive-proof lower bound allows private verifier randomness, polynomially many messages, and unrestricted provers.
The separation uses Forrelation with promise values exactly +1/2 and -1/2. The main difficulty is to construct distributions supported on these levels that remain indistinguishable to classical tests. The same pair of distributions are used for both the IP and PH lower bounds.
1.1 The exact Forrelation promise
Let , put , and let be the normalized Fourier transform over . Their Forrelation is
We distinguish the promised values +1/2 and -1/2, denoting the corresponding input sets by and , with resources measured in the address length .
The standard one-query interference test [AA15, full version, proof of Proposition 6] has a designated outcome of probability . One amplitude-amplification iterate [BHMT02, Section 2] changes this probability to . For the two promised values,
Accepting on the complementary outcome gives an exact three-query algorithm, whose circuit and exact gate implementation are given in Section 3.
Our classical lower bounds use hard distributions supported on the exact levels . Concentration near these levels does not suffice, and conditioning a hard distribution on an exact level need not preserve indistinguishability.
1.2 Technical overview
The comparison strategy. For each sign , let denote the exact law that we will construct. For each fixed polynomial bound on the classical resources and all sufficiently large eligible lengths, the goal is to show
where ranges over tests induced by resource-bounded classical computations. For IP, it is the verifier's acceptance probability optimized over all prover strategies. After public-coin conversion [GS86], averaging over public randomness and maximizing over prover replies gives an average-maximum representation. This admits a convex extension whose Lipschitz constant is controlled by the verifier's resources. For PH, it is a bounded-depth Boolean circuit of size . Random restrictions reduce such circuits to decision trees, with a depth tail bound controlled by circuit depth and logarithmic size.
The distributions are independent of the tests and resource bounds, and the estimates are uniform over fixed oracle bits outside the two input truth tables. Theorem 2.3 gives the precise bound.
We compare both exact laws with the same uniform law . An bound for each comparison gives the desired positive–negative gap by the triangle inequality. The comparisons pass through a conditional product law and a Gaussian-sign law , as shown below.

Each arrow compares acceptance expectations for the IP and PH test families.
From a Gaussian reference to conditional independence. We construct the exact distributions from the Gaussian reference in two steps. We first obtain conditional independence and then repair the sign counts to enforce the promise. It suffices to describe the positive construction, since negating gives the negative one. A natural starting point is a noisy variant of the Gaussian-sign Forrelation distribution [Aar10, AA15, BHNST26], given by
where are independent standard Gaussian vectors, , and signs are taken coordinatewise. The normalized Fourier pairing of and has expectation , although every entry of their cross-covariance block has magnitude only . The parameter calibrates the Forrelation, while the independent noise keeps the joint covariance nonsingular for the analytic comparisons.
Count repair requires independence conditional on . The coordinates of are independent given , but generally not given , since mixes the remaining random magnitudes . Writing , we replace the centered magnitude fluctuations by independent Gaussians with matching first two moments. The mean contributes a multiple of , and orthogonality makes the transformed Gaussian noise independent across coordinates given . Adding gives
with fixed positive constants and an independent standard Gaussian vector . Conditional on , the coordinates of are independent, and equal values of give equal probabilities of .
Exactness through counts, randomness through positions. Fix and let . The positive promise can then be written as the integer constraint
A weight bin consists of coordinates with the same coefficient . If a bin contains coordinates, of which have positive signs, its contribution to is , regardless of their positions. Under , conditional on and , all -element sets of positive positions within the bin are equally likely. We can therefore prescribe counts to enforce the exact equality while keeping the positions random.
Section 4 selects small positive weights that permit an exact integer correction and proves that their bins have enough capacity. We calibrate the correlation parameter so that a Gaussian approximation to the expected Forrelation equals 1/2, then bound the remaining discrepancy. After sampling and the signs outside the selected bins, we round and repair the expected counts and sample the positive positions uniformly within each bin. Each count changes by a vanishing fraction of its bin size. Exceptional outcomes are replaced by a fixed promised input, ensuring exact support with a small additional comparison error.
Why the repair is difficult to detect. A small fractional change in a bin's positive count does not imply closeness in total variation, since the change may exceed the usual binomial fluctuations. A direct Lipschitz comparison is also inadequate, since changing even one sign gives infinity-norm distance two. Instead, following the product-to-slice coupling of Filmus-Mossel [FM16], we use a shared random ordering within each bin. The reference sample assigns positive signs to the first positions, where is binomial, while the exact-count sample uses the first , its prescribed count. Their positive sets are nested and differ in exactly positions, which are spread uniformly by the random ordering.
For convex tests, fix and outside signs for which repair is feasible. Given either coupled sample, the conditional mean of the other is close to it in expected infinity norm. Conditional Jensen's inequality and the Lipschitz bound then give a two-sided comparison of test expectations. Bounding the maximum discrepancy across bins avoids a separate error from each bin.
For Boolean tests, we fix the same feasible outer data and realize the ordering by independent uniform variables. Leaving a narrow window around each bin's threshold undecided gives an independent random restriction that always extends and extends with high probability. Therefore,
Restriction bounds and concentration control the two terms. The independence of is essential, since the actual disagreement set need not give a product restriction.
Completing the comparisons with uniform inputs. The remaining two comparisons are analytic. For magnitude replacement, matching the first two moments cancels the quadratic Taylor polynomial, leaving a third-derivative remainder. Gaussian comparison uses second-derivative estimates to control the effect of the small cross-covariances. The small entries of yield vanishing errors once the relevant sums of derivative contributions are controlled. Section 6 develops the shared tools using the Lindeberg method [Cha06] and Price's formula [Voi21]. Applying these tools to the two classical models requires different ways of handling the discontinuity of the sign map.
Interactive proofs. Softmax smoothing of the verifier's average-maximum acceptance function [AGH90, BHNST26] gives a convex approximation with resource-controlled derivatives, but its composition with the sign map remains discontinuous. We use the Gaussian-sign comparison of [BHNST26] for the covariance step. For magnitude replacement, we regularize the sign map near zero, bound the third derivatives, and control the error from removing this regularization at both endpoints.
The polynomial hierarchy. We pass to the test's multilinear extension and use Rossman's restriction bounds [Ros19, Theorem 3 and Section 1.2] to control its weighted derivatives. Averaging over the independent Gaussian noise already present in the construction then yields a smooth function with exactly the same acceptance expectation. This supplies the derivative bounds for covariance interpolation and magnitude replacement without an additional sign-approximation error.
From indistinguishability to an oracle separation. Indistinguishability guarantees a failing promised input for every fixed classical candidate at all sufficiently large eligible lengths. Since the promise sets and finite acceptance games are decidable, exhaustive search finds such an input without sampling the hard distributions. Section 9 fixes a sufficiently long oracle prefix at each stage to preserve earlier failures, yielding a recursive oracle and a unary language decided by the exact quantum algorithm.
1.3 Relation to previous work
Our IP lower bound builds on the convex-analytic framework of [BHNST26]. Those estimates handle Gaussian-sign reference distributions, while our exact separation additionally requires constructing distributions supported on the exact promise sets and proving that count repair and magnitude replacement preserve the required indistinguishability.
Mantri [Man26, Theorems 1.1 and 1.3] recently constructed an oracle language in (EQP^O ∩ IP^O) \ PH^O, with a public-coin protocol, perfect completeness, and an efficient quantum honest prover. His exact algorithm uses 3^{h(n)} queries for an unbounded recursion height h(n), although the query count can grow arbitrarily slowly [Man26, Corollary 1.5]. Our language lies outside both IP^O and PH^O, yet admits an exact algorithm making only three queries. Both lower bounds follow from the same pair of exact-promise distributions.
Exact quantum advantages include the Deutsch-Jozsa query separation against deterministic classical algorithms [DJ92], the oracle separations of Berthiaume and Brassard [BB94], and the exact algorithm for Simon's problem of Brassard and Høyer [BH97]. Green and Pruim [GP01] separated EQP^O from P^NP^O.
Forrelation was introduced by Aaronson [Aar10] as a candidate for an oracle separation between BQP and PH. Aaronson-Ambainis [AA15] proved an essentially optimal separation between one quantum query and randomized query complexity, and Raz-Tal [RT19] used a Forrelation variant to separate BQP from PH. Bansal-Sinha [BS21] established near-optimal randomized query lower bounds for k-Forrelation using Gaussian interpolation and integration by parts.
Girish-Servedio [GS26, Theorem 4] proved a randomized query lower bound of for the extremal promise , which admits an exact one-query algorithm. Canonne, Chen, and Mestre [CCM26, Theorem 3] subsequently proved a nonadaptive randomized query lower bound of for the same promise. Our promise instead uses and admits an exact three-query algorithm, while the corresponding hard distributions establish lower bounds against interactive proofs and PH.
Organization. Sections 2 and 3 state the promise problem and give its exact quantum solver. Section 4 constructs the distributions, and Section 5 proves stability under count repair. Section 6 supplies the analytic comparison tools, and Sections 7 and 8 apply them to the two classical models. Section 9 constructs the recursive oracle.
2 Preliminaries
We specify oracle access and the classical test families, then state the indistinguishability theorem. The quantum running time is polynomial in the address length , which later becomes the length of the unary input .
2.1 Oracle access and the exact gate basis
An oracle is a total Boolean function . A classical query on returns the bit . At address length , the target block consists of all strings with , encoding the truth tables of and via
Thus each string in this block has length . All oracle bits outside the block are called side-oracle bits.
For each query length , quantum access is the phase query on defined by
The query acts as the identity on all other registers. This unitary satisfies . Each application counts as one quantum query. We write when the query length is clear. We use the fixed exact quantum gate basis , where
Section 3 implements all non-oracle gates exactly, and Appendix A gives a realization using Hadamard and reversible classical gates. The usual Boolean oracle gate also provides phase access. Preparing the target in gives
The target is prepared exactly from the fixed basis, so each phase query uses one Boolean oracle query.
In an interactive proof, the prover has unrestricted computation and oracle access, while the verifier has polynomial resources. We allow private verifier randomness unless a public-coin protocol is specified. On a fixed input, a verifier or predicate with bounded running time can query only finitely many side-oracle bits across all possible computation paths. Fixing these bits lets us view its computation as a test of f and g. Our bounds hold uniformly over their assignments, with the verifier or predicate still accessing them through classical queries.
The oracle is recursive if a deterministic Turing machine computes every bit and halts on every input. No running-time bound is required. In contrast, the quantum algorithm must be uniform and run in polynomial time on every input.
2.2 Fourier notation and the exact Forrelation promise
Put . All operations on elements of are over , while vector inner products and expectations are taken over the reals. All logarithms are natural unless a base is displayed. The normalized Fourier transform over is represented by the Hadamard matrix
For , their Forrelation is
(2.1)
By Cauchy–Schwarz, . The Fourier coefficients of will index the bins in Section 4. We use address lengths in the polynomial-time recognizable infinite set
These lengths make the target in the integer constraint below integral, provide the divisibility used in Lemma 4.6, and allow the explicit default inputs of Section 3. This is a convenient sufficient choice. The final language rejects lengths outside . For , the positive and negative promise sets are
A pair is a promised input if it belongs to either set. We use for the sign and abbreviate by in subscripts.
To check membership exactly, write , whose entries are . Then
This equivalence follows by multiplying the Forrelation equality by . Both sides are integers for , so each promise set is finite and uniformly decidable, as needed for the exhaustive oracle construction. We write for the uniform distribution on .
2.3 Classical test families
We compare expectations for two families of functions of and . Section 7 represents interactive verifiers by convex average-maximum functions, and Section 8 represents PH predicates by bounded-depth Boolean circuits. The tests below have inputs, with for the pair .
Average-maximum circuits. After the public-coin reduction in Section 7.1, a verifier's optimal acceptance probability is evaluated by averaging over fresh public randomness and maximizing over prover replies. This motivates the following class.
Definition 2.1. A average-maximum circuit on real inputs is a rooted tree of depth at most and fanin at most , with uniform-average and maximum gates and affine leaves satisfying . Thus bounds the base-two logarithm of the fanin, even though unqualified logarithms elsewhere are natural. It defines a convex function on . We call it an acceptance function if its values on sign vectors lie in .
Affine leaves are -Lipschitz in the infinity norm, and averages and maxima preserve convexity and this Lipschitz bound. Section 7.1 bounds the circuit parameters in terms of verifier resources.
Boolean circuits and restrictions. Boolean circuits use unbounded-fanin AND/OR gates, with negations at the inputs. Depth counts gate layers, total size includes input nodes, and a formula is a circuit with a tree structure. Our indistinguishability bound uses the following property of small bounded-depth circuits. Even after any prior deterministic restriction, randomly fixing most remaining inputs is unlikely to leave a function requiring many further queries.
A restriction fixes some coordinates to signs and leaves the others free. Let independently leave each coordinate free with probability , fixing it to a fair sign otherwise. Write for the minimum worst-case decision-tree depth of , and for first imposing , then applying to the remaining coordinates.
Definition 2.2. A Boolean function satisfies a restriction-stable criticality bound through order three if, for every deterministic restriction , every , and ,
When is small, the case ensures that the restricted function is constant with high probability. Section 5 uses this case to control repair, while the higher orders control the analytic comparisons. Section 8.1 proves the condition for each fixed circuit depth with polynomial in logarithmic size.
2.4 Classical indistinguishability
Section 4 constructs distributions supported on and depending only on . The following bound applies to both test families.
Theorem 2.3 (Classical indistinguishability). Let be a fixed polynomial. For all sufficiently large , the distributions and constructed in Section 4 satisfy
where C ranges over either of the following families.
(i) Average-maximum acceptance functions with depth, log fanin, and affine-leaf gradient norm at most .
(ii) Boolean functions with restriction-stable criticality bound through order three, as in Definition 2.2.
The implicit constant is absolute; the threshold on n may depend on q. The bound holds uniformly over all fixed assignments of side-oracle bits.
Lemma 8.2 places every fixed-depth circuit family with polynomially bounded log size in family (ii), for a suitable polynomial q.
For a fixed side assignment, a test that is at least 2/3 on every positive promised input and at most 1/3 on every negative promised input would satisfy
For each fixed , the bound in (2.3) tends to zero, so every allowed test must eventually fail on some promised input. Section 9 finds such an input by exhaustive search over the decidable promise sets. The distributions establish its existence; the search need not sample them or compute their probabilities.
3 Exact quantum algorithm and default inputs
The standard Forrelation interference test, followed by one amplitude-amplification step, distinguishes from exactly. The resulting algorithm uses three phase queries and gates from the basis of Section 2.1. We also construct a uniformly computable default input in each promise set for the sampling procedure and the oracle construction.
3.1 The exact three-query algorithm
Lemma 3.1 (One-query Forrelation test [AA15, proof of Proposition 6, ]). For , there is a quantum test such that
for every pair . The test uses one tagged phase query and non-oracle gates.
Proof. For a sign function , write . Figure 1 shows the circuit, whose branch qubit also serves as the oracle tag. The initial Hadamards prepare
The tagged query applies the phase on branch zero and on branch one. The controlled then gives the state
Since both branch states have unit norm and real amplitudes, the final branch Hadamard gives
The test outputs 1 on outcome . It uses Hadamards and controlled Hadamards, whose exact implementation in the fixed basis is given below.

Figure 1. The preliminary one-query Forrelation interference circuit, equivalent to the construction of Aaronson–Ambainis [AA15, proof of Proposition 6]. The branch qubit serves as the oracle tag. Before amplitude amplification, the test outputs 1 when is measured; the exact solver accepts the complementary outcome after amplification. Ancillas, initialized and returned to zero, are omitted.
Proposition 3.2 (Exact promise solver). There is a uniform polynomial-time quantum algorithm over the fixed gate basis of Section 2.1 that makes three phase queries and, with certainty, accepts and rejects .
Proof. Let denote the unitary part of the one-query test, including preparation and clean ancillas, acting on qubits initialized to zero.
Exact amplification. Let project onto branch , and write
By (3.1), is 3/4 on the positive promise and 1/4 on the negative promise. One amplitude-amplification step [BHMT02, Section 2] uses the reflections
Since , the iterate and its final branch-zero probability satisfy
The final probability of b = 0 is therefore 0 for p = 3/4 and 1 for p = 1/4. Accepting on b = 1 decides the promise exactly, using the same fixed circuit for both promise values.
Query complexity. The full circuit contains two copies of and one of . We implement by reversing the gate order and inverting each gate. The phase query , and CNOT are self-inverse, and . Thus also uses one oracle query and polynomially many gates. The reflections use no queries, giving three in total. We now verify the exact implementation of the non-oracle gates.
Exact gate synthesis. The controlled is a product of controlled single-qubit Hadamards, and the all-zero reflection uses reversible conjunctions. A controlled Hadamard has matrix , and Toffoli is a permutation matrix, so both have entries in . By Giles–Selinger [GS13, Theorem 1], each has an exact Clifford+ synthesis with ancillas initialized and returned to zero. Since these are fixed gates of constant arity, we may fix constant-size syntheses once and for all.
The Clifford generators reduce to our basis using , , and . The scalar generator can be implemented on a clean ancilla by , which maps to .
Reflections and uniformity. The reflection is XZX on the branch bit. The reflection acts on all qubits of , including its synthesis ancillas. We implement it by flipping these qubits with , computing their AND into additional clean work bits by a Toffoli chain, applying to the final AND bit, and uncomputing the chain and the gates. This changes the phase of precisely the original all-zero basis state. The additional work bits and any ancillas used to synthesize the reflection gates are separate from the qubits on which acts, and are initialized and returned to zero.
The fixed syntheses and reflection construction give a deterministic polynomial-time procedure for generating the circuit, with gate count and workspace polynomial in n.
Appendix A gives an alternative three-query implementation using Hadamard and reversible classical gates.
3.2 Computable default inputs
For each eligible length, we give a fixed pair in each promise set, called a default input, with entries computable in time. The construction uses a sign function satisfying . Its
Forrelation with is their normalized inner product, so changing its sign on one quarter of the addresses gives a function with Forrelation 1/2.
Since eligible lengths are even, write with bits in each half, and define
For an address ,
Indeed, equals if and zero otherwise, and the remaining factor is .
Let be the set of addresses whose first two bits are zero. Every eligible length is at least two, so . Define off and on . Then is a positive default input, since
The pair belongs to . Both pairs are uniformly computable, since each function value can be evaluated in time from an eligible length and an address . Section 4 uses the positive pair as the default sampler output, and negating its second function gives the negative default. The oracle construction in Section 9 uses the positive pair for blocks not otherwise selected, including the finitely many eligible lengths before the distributional estimates apply.
4 Constructing the exact distributions
We construct distributions supported on the promise sets without reference to the classical test. Their indistinguishability is proved in Sections 5–8. Recall and . We define the energy as the integer-valued quantity
For the positive distribution, the target energy is . A weight bin of size contributes to the energy when has exactly plus signs in that bin. Since this contribution does not depend on their positions, we first choose the counts to attain and then sample the positions of the plus signs uniformly within each bin. Negating reverses the sign of the energy and gives the negative distribution.
Section 4.1 introduces the reference distributions. Sections 4.2 and 4.3 bound bin sizes and the conditional-mean energy discrepancy. These estimates yield feasible count corrections in Section 4.4 and the sampling rule in Section 4.5.
4.1 The distributions and
We begin with a noisy, tunable variant of Gaussian-sign Forrelation [Aar10]. The correlation parameter lets us center the energy near , while independent noise keeps the Gaussian covariance nonsingular for the later comparisons. Write for a Gaussian distribution, and take signs coordinatewise with . For now let , put , and draw independent . For , define
The Gaussian vectors before taking signs are individually standard normal. The second has covariance . Independence of gives cross-covariance . Their joint covariance is
Every entry of the cross-covariance block has magnitude , although the Fourier pairing has constant mean
Here gives the first term and independence makes the term vanish. For any , the block vectors have eigenvalues under . Together they span . The later comparisons exploit both the small cross-covariances and the positive lower bound .
Obtaining the conditional product distribution . In the repair, we condition on . Under , the coordinates of are independent given , but conditioning only on leaves the magnitudes random. The transform mixes these hidden magnitudes, so the signs of need not be independent conditional on . We obtain conditional independence by replacing the centered magnitudes with Gaussian variables having the same variance.
Write , where are independent half-normal variables, independent of the uniform sign vector , with mean and variance .
With , , and ,
Replace each by an independent centered Gaussian of variance , also independent of . These replacements match the first two moments of . Conditional on , the transformed replacement vector is jointly Gaussian with covariance . Its coordinates are independent, and its law does not depend on . Adding the independent noise gives the conditional product distribution
where is independent of f. Section 6 bounds the change in test expectations under this replacement for the tests in Sections 7 and 8.
Uniform positions conditional on a count. Conditional independence makes the positions within each bin easy to sample. Let and be the standard normal density and distribution function. Under , every coordinate in a weight bin has the same plus probability
The sign vectors with exactly k plus entries form the k-slice. Conditional on its plus count, each bin is uniform on the corresponding slice. Repair changes the count law while preserving this conditional placement law.
Calibrating the energy target. We choose to bring the reference energy near and leave a small discrepancy to repair. For , define
This is the mean of for a standard normal . In particular, under . Since , the normalized positive conditional mean energy is
Each has the distribution of a normalized sum of independent fair signs. We therefore choose the parameters by requiring the corresponding Gaussian expectation to equal the target . The approximation error for Boolean will be bounded in Lemma 4.4.
For independent standard normals and . This orthogonal change of variables makes independent standard normals, with . Thus . Conditioning first on , and then on , gives
The target therefore determines . From now on we fix
Here is the conditional signal coefficient, is the retained independent noise scale, and is the total noise scale after replacement. In particular and . Unless stated otherwise, implicit constants may depend on these fixed distribution parameters, but not on the test, side-oracle assignment, or length.
4.2 Weight bins and their sizes
Increasing the count in a weight-w bin by one changes by . We therefore need weights that permit an exact integer correction, with enough coordinates in each bin to accommodate it. We choose small positive weights in an arithmetic progression for this purpose.
The selected weights depend on f because all coefficients share a residue modulo four. If f has k negative entries, then
Indeed, for , every row of has an even number of negative entries, namely for a nonzero row index and none for index zero. Multiplying coordinatewise by a row therefore flips an even number of signs, so the resulting number of negative entries satisfies . Since , we obtain . Thus nonempty bins require weights congruent to 0 when is even, or 2 when is odd. Weights in the other class give empty bins.
Let be the common residue. Set and , so that . We take the smallest positive weight in the appropriate residue class and then increase by four, setting
The first weight divides every and will allow us to remove the final remainder exactly. The progression supplies many weights in the required residue class. Moreover,
The next lemma ensures sufficient capacity in every selected bin simultaneously, despite the dependence among the Fourier coefficients.
Lemma 4.1 (Bin sizes). There are fixed constants c, C > 0 such that
Proof. Condition on , fixing all selected weights, and let be the probability that independent fair signs sum to .
Fix and distinct rows . Orthogonality implies that the rows agree on coordinates and disagree on . Let be the contributions to from these two sets. Before conditioning, they are independent sums of fair signs, with and . Thus exactly when and . Each membership event below forces the selected residue , which has probability . Hence
All selected weights are even and satisfy . Uniformly in this range, Stirling's formula gives, for ,
The bracket is , so the additive error is . Consequently,
The common leading term gives the covariance cancellation
Thus the sum of the off-diagonal covariance terms is . Writing as a sum of membership indicators gives
Choose fixed so that every conditional mean lies inside at distance from both endpoints. Chebyshev's inequality and a union bound over the bins give failure probability , uniformly in .
Choice of scales. Increasing enlarges the available repair weight , but also increases the simultaneous bin-size failure probability and the binomial fluctuations. The choices and give
These control, respectively, simultaneous bin-size failure, the fractional common count correction at the good-data residual cutoff , and the binomial fluctuation term in Section 5. The final integer adjustments also contribute (Lemma 4.6). Thus bin-size failure is one power of below the leading repair error, and gives the decay rate in Theorem 2.3. Table 1 records the resulting bounds.
4.3 Concentration of the conditional mean energy
Under , the energy varies with both and the signs of given . We separate these two sources of discrepancy from by writing
This subsection bounds the first term in mean square. Section 4.4 combines it with fluctuations of the outside signs and rounding errors.
Since and , we have
Define the scalar function and its average by
Thus is the normalized conditional mean energy, with
It therefore suffices to show , giving an mean-square bound for the conditional-mean energy discrepancy. We compare the mean of with the Gaussian expectation calibrated earlier by moment replacement, and bound its variance using orthogonality and the Boolean-cube Poincaré inequality.
We record the following two-moment Taylor identity for the magnitude replacement in Section 6, following the Lindeberg method [Cha06]. The immediate mean estimate uses its fourth-order analogue because fair signs and standard normals also have matching third moments.
Lemma 4.2 (Second-order Taylor replacement). Let be , and let have the same mean and second moment. Put
Whenever the expectations are finite,
If , the absolute difference is at most .
Proof. Taylor’s formula with integral remainder gives the identity because the terms of degrees one and two have matching expectations. The bound follows by integrating .
If the test also depends on random inputs independent of , apply the identity conditionally on those inputs and then average.
Lemma 4.3 (Poincaré inequality [ODO21, p. 52]). For uniform and ,
where is f with its i-th sign flipped.
Lemma 4.4 (Mean-square energy calibration). For uniform f,
and consequently
Proof. The derivatives , are bounded. Indeed, with , we have , and every derivative of order at least two is a polynomial in times . Gaussian decay bounds each such product.
To estimate the mean, observe that multiplying independent fair signs by a fixed row of preserves their distribution. Each therefore has the distribution of , where the are independent fair signs. By linearity of expectation,
We replace the one at a time by independent standard normals. At each step, condition on the normalized sum of the other terms and put . A fair sign and a standard normal have the same first three moments . We may therefore expand through degree three, one order beyond Lemma 4.2. Since , the fourth-order remainder gives, uniformly in ,
The last equality uses and . After replacements the normalized sum is standard normal, so summing the errors and using (4.3) yields
For the variance, the dependence among the coordinates of matters. We instead control changes in the independent input signs . Extend by the same formula to so that we can differentiate along sign-flip segments. The chain rule, with evaluated coordinatewise, gives
Orthogonality of then gives
To bound sign flips, we also control the Taylor remainder. Since ,
Since the flip moves distance two in coordinate i, Taylor's formula gives
Applying Lemma 4.3 and , we obtain
Combining the variance bound with the squared bias proves (4.9), since
Returning to the unnormalized energy using (4.8), we have
Thus the conditional-mean discrepancy has root-mean-square size .
4.4 Repairing the bin counts
Draw uniformly and put . Draw only the signs from conditional on , and record the outer data and outside energy
We choose all counts deterministically from . Under , the signs on remain independent conditional on this outer data, which includes . Within bin , their common plus probability is
since . Thus eventually for a fixed . This margin from zero and one will allow count changes in either direction.
Baseline counts and residual energy. The conditional expected plus count in bin is . Fix a nearest-integer rounding rule, including its treatment of ties, and put . These rounded means satisfy . The baseline energy and residual are
Each count increment changes the energy by twice its weight, so the corrected counts achieve the target precisely when
Lemma 4.5 (Residual energy before repair). When the outer data have the law induced by ,
Proof. Put and . The conditional expected contribution of bin is . Consequently, (4.8) gives
The three terms are the conditional-mean discrepancy, the fluctuation in the outside signs, and the rounding error. Lemma 4.4 gives an mean-square bound for the first. For the second, conditional independence gives
where we used and . Finally, nearest-integer rounding gives
Using and proves the claim, since .
Let Good be the event, determined by the outer data, that all bin-size bounds hold and . This cutoff is a factor larger than the residual's root-mean-square scale . Markov's inequality gives . Together with Lemma 4.1, this yields
Integer balancing. A common shift of all counts uses the large sum to remove most of the residual. We then adjust the largest-weight bin to reduce the remainder below one weight, and use the smallest-weight bin to remove that remainder exactly. The proof first checks the necessary divisibility, then shows that these corrections remain small relative to every bin's size.
Lemma 4.6 (The repaired counts). For every good outer datum there are deterministically chosen integers satisfying
For large , .
Proof. We first check that the residual has the required divisibility. Since every weight is a multiple of , an integer solution requires . Every is also a multiple of , so for either sign . Moreover,
since the inner sum is at and zero otherwise. Thus every completion has energy congruent to modulo . The baseline counts lie in , so is the energy of such a completion. At eligible lengths, is a multiple of four and , so and are both divisible by . Hence is divisible by , and dividing by two proves .
We now choose the counts. Using the fixed rounding rule, set
Since and are multiples of , the divisibility just proved makes an integer. Set
Then
which gives (4.14).
It remains to check that the corrections fit within the bins. Nearest-integer rounding leaves and . On Good, therefore,
Since , each , and proves (4.15). Finally, on Good, so
The margin therefore ensures for large .
4.5 Sampling the exact distributions
Choose so that the preceding feasibility bounds hold for every eligible . For eligible , let be the point mass at the default pair (3.4); these finitely many lengths do not affect the asymptotic bounds. For eligible , use the following procedure.
(1) Draw uniformly, determine the selected weight bins , and put .
(2) Draw the signs , , from conditional on . This gives the outer data . Leave all signs on unexposed.
| Quantity | Scale | Role in the construction |
|---|---|---|
| Ambient size | Relates the scales to input length | |
| Number of bins | Many adjustable count coordinates | |
| Largest weight | Bounds the final integer corrections | |
| Bin size | Capacity and random placement | |
| Weight sum | Converts residual to a common shift | |
| Allowed residual | Cutoff exceeded with probability | |
| Count correction | ||
| Fractional correction | Count correction divided by bin size |
Table 1. Scales on Good for count repair. Bin-size and count-correction bounds apply to every selected bin.
(3) Compute the baseline counts and residual from (4.11), and test the bin-size bounds and defining Good.
(4) On Good, choose the deterministic counts from Lemma 4.6. Independently in each bin, choose a uniform -subset of for its plus positions, set the remaining signs to minus, and output .
(5) On Good, discard both and the sampled outside signs, and output the default pair from (3.4).
Here Good is an event of the initially sampled outer data.
To sample , draw from and output . The two distributions share the same marginal law for , which may differ from uniform because of the default replacement. Since the output equals the initially sampled uniform vector outside Good, this coupling bounds its total-variation distance from uniform by .
Proposition 4.7 (Properties of ). For all sufficiently large , the distributions , , satisfy . In the positive construction, , and on Good,
Conditional on the initially sampled outer data , the signs on under are independent; under , the sign vectors in the bins are independent and uniform on their prescribed-count slices. These assertions concern the conditional sampling rules before any default replacement.
Proof. The quantitative bounds follow from Lemmas 4.1, 4.5, and 4.6, together with (4.10) and (4.7). On Good, every choice of positions with the prescribed counts satisfies
by (4.14), hence . On Good, the default input belongs to by (3.4). Finally, , giving the negative support. The conditional independence and uniform-slice assertions follow from the sampling rule.
5 Comparing with
We bound the effect of count repair on two families of classical tests: convex tests arising from interactive verifiers in Section 7, and Boolean tests whose probability of remaining nonconstant under a fair random restriction of density t is at most , as in Section 8.
We first take and fix good outer data from Proposition 4.7, where . The bins, plus probabilities, and prescribed counts are fixed, with
where is fixed and is a sufficiently large absolute constant. Under , the counts are independent, while under , each count is . Conditional on the counts, both distributions choose the plus positions uniformly and independently across bins.
Small fractional count discrepancy does not imply total-variation closeness. For example, the event “the plus count equals ” has probability one on the -slice, but probability at most for when . Thus even a slice centered at the product mean can be far from the product law in total variation. We instead use to compare expectations for the specified test families.
With the outer data fixed, we regard each test as a function of the remaining signs and keep its notation unchanged. Convexity and the Lipschitz bound survive these assignments. We require the same stability of the Boolean assumption below.
For a real function on a finite set , write . We say that is -Lipschitz in the infinity norm if
For Boolean tests, we use the restriction notation of Section 2.3. Here leaves each coordinate free with probability and otherwise fixes a fair sign. Only the order-one case of Definition 2.2 is needed here. We assume that for every deterministic restriction and every ,
The uniformity in allows us to fix the outer data, and later make further assignments, without changing .
Proposition 5.1 (Stability under count repair). For all sufficiently large and each , every convex function that is -Lipschitz in infinity norm satisfies
Every Boolean function satisfying (5.2) obeys
The terms measure repair on good data, while the terms account for the default replacement, since . The oscillation factor allows arbitrary real-valued convex tests. We prove the conditional bounds for , then average.
5.1 Convex tests via conditional means
Let denote a reference sample and its coupled exact-count sample. Even one changed sign gives , so a direct Lipschitz estimate does not capture the small fraction of changes. Instead we compare through and . These means lie in the cube and have small expected distances from and . Convexity converts these bounds into the two sides of the desired expectation inequality.
We couple the counts within each bin by using initial segments of the same random ordering. The resulting sets of plus positions are uniform and nested. For a bin of size , let put plus signs at the first positions of a uniform permutation. Independently draw , and set , . Exactly coordinates differ, and the ordering spreads these changes uniformly among the eligible positions. This increasing-chain coupling appears in Filmus-Mossel [FM16, full version, Definition 4.1 and Section 8]. We use its permutation description to derive conditional means for a prescribed target count , and its equivalent independent-uniform description to construct the random restriction in the next subsection.
Lemma 5.2 (Coupling product signs and a slice). The vector has independent signs of plus probability , while is uniform on the -slice and independent of . Equivalently, take independent uniform , give plus signs where , and give plus signs at the smallest uniforms. For , the nonzero coordinate magnitudes of are
The corresponding magnitudes of are
Proof. A vector with plus signs has probability , proving the product distribution. The permutation is independent of , hence so is . The uniform realization is equivalent because the ordering permutation is independent of the ordered uniform values.
Conditioned on , the differing coordinates form a uniform subset of the eligible plus or minus positions, giving (5.5). A zero denominator occurs only when there are no coordinates of the indicated sign, so that expression is unused. Conditioned on , the count remains binomial, and the reverse subset or superset operation gives (5.6) after averaging.
We couple the bins independently. The fixed outer coordinates contribute zero drift, so the full infinity norm is the maximum of the binwise norms. Conditional Jensen then gives the following comparison.
Lemma 5.3 (Convex comparison by conditional means). Let be coupled random vectors taking values in a cube, and let be convex and -Lipschitz in infinity norm on that cube. Define
Then
Proof. Conditional Jensen gives . Averaging proves one inequality, and interchanging proves the other.
Proof of (5.3). With good outer data fixed, is the fraction of differing signs in bin . Let
In (5.5), a changing plus coordinate has , and a changing minus coordinate has . The reverse denominators in (5.6) are also at least . Thus
Lemma 5.3 now gives the conditional bound. We average over the common outer data , initially drawn under , and write for the default input. The exact sample uses on Good and otherwise, whereas the reference sample always uses . Hence
Because Good is determined by , its indicators remain inside the expectation over the original outer-data law. No division by is needed. Taking absolute values gives
The conditional bound and prove the claim.
5.2 Boolean tests via a common restriction
If both coupled samples extend a restriction on which the Boolean test is constant, their answers agree. The actual disagreement set need not be independent across coordinates. Using the independent uniforms from Lemma 5.2, we instead leave fixed windows around the thresholds free. Each restriction coordinate depends only on its own uniform variable, so the resulting restriction is a product restriction. The product sample always extends it; the exact-count sample extends it with probability .
The fixed signs need not be fair, whereas (5.2) assumes fair signs. The next lemma represents this biased restriction as a mixture of fair restrictions. We first sample a preliminary partial assignment, then apply a fair restriction to its remaining coordinates. Write for the minimum worst-case decision-tree depth of . Nonconstancy is exactly the event . Repair only needs this case, but Section 8 will use the higher-order statement.
Lemma 5.4 (Biased restriction as a mixture). Fix a positive integer . Suppose that for every deterministic restriction and ,
Let be a product restriction that assigns coordinate to with probabilities , respectively, where leaves the coordinate free. Define
with 0/0 = 0. Then
The assertion also holds after any prior deterministic restriction.
Proof. If , every coordinate is fixed and the claim is immediate. Otherwise choose independent preliminary assignments with probabilities
The definition of makes these nonnegative and their sum is one. Applying to the remaining coordinates gives exactly the target probabilities . Conditional on , the assumed tail bound is at most , so averaging proves (5.10). Any prior deterministic restriction is absorbed into .
Proof of (5.4). Fix good outer data and choose , with the fixed constant large enough that . Eventually , so the window lies in [0,1]. Its width covers the prescribed-count shift and leaves a count margin of order , larger than the binomial standard deviation . Define the restriction by
The product sample X always extends , and the exact-count sample Y does so if, in every bin,
The mean of each count is separated from by at least . For a sum of independent Bernoulli variables, Hoeffding's inequality bounds either tail at distance from the mean by . Since , a union bound yields
The restriction probabilities are . Thus , and . If extends and is constant, the two samples have the same answer. Lemma 5.4 with therefore gives
Here we apply the restriction bound once to the full remaining test, without conditioning on successful extension. This preserves the product restriction law, and extension failures are covered by the second term. Since , averaging as in (5.8), with Boolean oscillation at most one, proves the claimed bound.
Replacing by sends to by definition and to by the symmetry . The same statement holds for using . Gaussian zeros have probability zero, so the sign convention causes no exception. Composing a test with this coordinate reflection preserves convexity, the Lipschitz bound, and oscillation. It also preserves the restriction bound, since fair fixed signs remain fair and deterministic assignments are carried to deterministic assignments. This proves both repair bounds for .
6 Analytic tools for the reference comparisons
After the count-repair comparison in Section 5, two steps remain: magnitude replacement from to , and Gaussian comparison from to . This section develops their shared analytic tools.
Both arguments require smooth functions of the latent real variables. Section 7 controls the softmax error and sign-cutoff error for convex tests. For Boolean tests, Section 8 averages over independent Gaussian noise already present in the distribution, introducing no error. Those sections supply the derivative bounds for each test family.
6.1 Derivative norms and Gaussian tails
To exploit the small entries of the Fourier transform matrix, we bound sums of absolute derivative entries. For vectors, are the usual norms. For matrices and higher tensors, denotes the sum of absolute entries, not an induced operator norm.
For a smooth function on a neighborhood of , define
The sum runs over all ordered indices, including repetitions. Writing , we have, for and ,
The Lipschitz constant is defined in (5.1). We write for upper bounds on the quantities .
For the th standard basis vector , we have . A one-coordinate magnitude replacement therefore has direction and contributes to its third-order remainder. Matching the first two moments cancels the lower Taylor terms in expectation. Summing over replacements gives the basic scale; we bound the derivative and moment factors below. Covariance comparison instead pairs Hessian entries with covariance changes of size . We therefore need second- and third-order derivative bounds.
For the latent tests introduced below, we use the following growth convention. Polynomial growth of means for all , for some constants , using absolute value for scalars. The tail estimates below control this growth in expectation. The constants may change from one occurrence to the next; subscripts indicate dependence on fixed parameters.
Subgaussian tails and maximum moments. A centered real random variable is 1-subgaussian if for every . Independent centered 1-subgaussian coordinates satisfy
Since the rows of have norm one, .
Lemma 6.1 (Maximum moments). Let satisfy for some fixed , every , and every . No independence is required. For every fixed ,
For a suitable fixed , .
Proof. For , the union bound gives . Integrating this bound after splitting at yields . The tail claim follows by taking .
A Gaussian tail ratio. For with , . We use the elementary Mills bound
It controls the relative cutoff error in Lemma 7.8 and the derivatives of the noisy sign mean in Lemma 8.4.
6.2 Affine covariance interpolation
The latent Gaussian pair defining has covariance from (4.1). Replacing it by gives independent standard Gaussian coordinates, whose signs have distribution . Price's formula compares these endpoints along the straight covariance path, expressing the change in a smooth test expectation through its second derivatives.
Lemma 6.2 (Affine Price formula [Voi21, Theorem 1]). Let be positive definite covariance matrices. Set and . If is and , its gradient, and its Hessian have polynomial growth, then for ,
The formula also integrates over .
Proof. In the upper-triangular covariance coordinates of [Voi21, Theorem 1], differentiating a diagonal entry gives , while differentiating an off-diagonal entry gives . The chain rule along gives (6.3), since the ordered sum counts each off-diagonal pair twice. The eigenvalue bound
holds uniformly in , and the largest eigenvalue is also uniformly bounded. Thus the Gaussian densities and their covariance derivatives admit integrable bounds after multiplication by the assumed polynomial growth. This justifies continuity at the endpoints and integration over .
Taking and , the covariance difference vanishes within each block and has cross-block entries of magnitude . Writing the two blocks as , the two symmetric cross-block terms cancel the factor in Price's formula, giving
Hence only derivatives involving one coordinate from each block contribute. Integrating (6.3) and taking absolute values gives, in particular,
Bounding the sum of the relevant Hessian entries therefore retains the small covariance factor without a further factor for the number of pairs.
The Boolean application in Section 8 decomposes the Gaussian vector as , with standard normal independent of , and averages over in the test without approximation error. Subtracting at both endpoints leaves the covariance difference unchanged. The eigenvalue bound allows a fixed for which the remaining covariances stay positive definite. That section specifies and bounds the expected Hessian sum.
The convex application uses Proposition 7.6, which includes its sign-smoothing error. Price's identity itself requires smoothness and growth, not convexity.
6.3 Replacing centered magnitudes by Gaussians
Recall from Section 4 that , with uniform , , and independent half-normal magnitudes independent of . Replacing by independent preserves the conditional signal and the first two noise moments. Before adding , the endpoints are
Orthogonality makes the replaced Gaussian noise independent of , with covariance . Adding gives variance and hence .
For a Boolean test , the corresponding latent test is
Here is the vector before adding noise. Averaging over f and gives the endpoint acceptance expectations. Section 8 bounds the derivatives of this exact average; Section 7 uses a smooth sign approximation with a controlled error.
We use coordinatewise replacement [Cha06, Section 2] and the integral Taylor remainder from Lemma 4.2. Unlike the fair-sign comparison in Lemma 4.4, only two moments match, leaving a third-order remainder. We allow a bounded third derivative , for convex tests) or cubic growth in (k = 3, for Boolean tests). The derivative hypothesis is uniform in f; the comparison averages over uniform f.
Lemma 6.3 (Centered-magnitude replacement). Let be uniform, let have independent standard half-normal coordinates, and let be a standard normal -vector, with mutually independent. Use the constants in (4.4). For each , let be . Suppose, for a fixed , that uniformly in ,
For either ,
Proof. The derivative hypothesis implies polynomial growth of and its lower derivatives, so all expectations below are finite. Set and . They have matching means and variances and bounded sixth moments. Define the hybrids
The endpoint difference telescopes as
One-coordinate replacement. At step , condition on and all centered variables except . Setting the centered variable at coordinate to zero gives the base point
This retains the signal , including its contribution from coordinate . Varying the remaining scalar moves the vector along , with .
Lemma 4.2, applied to , gives constant, linear, and quadratic terms that cancel in conditional expectation because the moments match. The integral remainder is
By (6.4) and the bound on ,
Averaging the remainder. We now average over uniform . The following centering and subgaussian bounds are unconditional, not assertions for a fixed . Write , where
These coordinates are independent, centered, and 1-subgaussian. Indeed, is standard normal for , while for ,
since and . The same inequality handles . Since the rows of have norm one, Lemma 6.1 bounds the maximum moments of . Each is independent of and has bounded scalar moments, so
Summing the replacement errors gives (6.5). Finally, is standard normal conditional on , with a distribution independent of . This identifies the fully replaced vector with , as stated.
Sections 7 and 8 apply these tools with derivative bounds from verifier and circuit resources.
7 The |P bound
We first represent public-coin verifiers by average-maximum acceptance functions, fixing the input and accessible side-oracle bits so that only varies. We then prove family (i) of Theorem 2.3 for every function in that family. Smooth convex approximation gives derivative bounds for the comparisons along . Comparing both signs with the uniform endpoint yields the desired gap, uniformly over side-oracle assignments.
7.1 Verifiers as average-maximum circuits
The following reduction lets us assume public coins.
Theorem 7.1 (Goldwasser–Sipser, relativized). For every classical Boolean oracle ,
Here denotes the class of polynomial-round public-coin interactive proofs. In particular, every polynomial-round private-coin interactive proof has a polynomial-round public-coin simulation with polynomial resources and the standard constant completeness and soundness bounds.
The transformation [GS86, Section 4.2] uses random hashes and checks claimed transcripts and private tapes by simulating the old verifier. For each fixed classical oracle, these consistency checks take polynomial time with oracle access, so the hashing and counting argument relativizes (see also [BHNST26, Section 4.2]).
We put the public-coin verifier in a normal form in which all dependence on occurs in a final deterministic check. Each deterministic oracle-dependent verifier message moves into the next prover reply as a claim. After fresh coins , the old exchange of and reply becomes a reply , received before any later coins. The final check reconstructs the old verifier messages and requires ; a dummy reply carries a final claim if needed.
This preserves completeness. For soundness, an old-protocol prover follows the claimed transcript until the first inconsistency. Every accepting new transcript is consistent, so its acceptance probability is bounded by that of the simulated old strategy.
We enforce polynomial bounds on time, numbers of messages and queries, and all message, coin-string, and oracle-query lengths on every history, including malformed replies and arbitrary oracle inputs. Message lengths are prescribed in advance, with bounded replies encoded in fixed-width slots and malformed encodings rejected.
Dummy replies and fresh unused coins pad early termination and coin messages. Reconstructing the claimed messages takes polynomial time, so these changes preserve completeness and soundness with polynomial overhead. Here bounds prescribed message lengths after encoding and padding, as in [BHNST26, Lemma 4.2].
From the final check to a convex function. We use the average-maximum framework of [AGH90, Lemma 5.1] and its adaptive-query formulation in [BHNST26, Lemma 4.2], with the parameters of Definition 2.1. Since averages and maxima preserve convexity, we need only extend the final oracle check. For a fixed transcript and side oracle, this check is an adaptive decision tree on . The next lemma constructs a convex extension from its accepting paths, together with a disjunction of path conditions that we will use for PH in Section 8.
Lemma 7.2 (Paths as clauses and affine penalties). Let have an adaptive decision tree of query depth at most . For each accepting path , let be its query locations and the corresponding sign answers, and define
On Boolean inputs,
The disjunctive normal form (DNF) has at most terms of width at most . The maximum has at most affine leaves, each with gradient norm at most , and defines a convex extension satisfying
If there are no accepting paths, both expressions are zero.
Proof. On a Boolean input, the actual path is consistent and every other path has a mismatched answer. Thus each inconsistent path has a false clause and an affine score at most zero, while a consistent accepting path has score one. This proves (7.1), including repeated or contradictory queries. The triangle inequality bounds each affine coefficient norm by . On the cube, the mismatch penalties are nonnegative, so every score is at most one; the zero option gives the lower bound.
Adaptive addresses are fixed once a path is specified. Side queries can be evaluated and their inconsistent branches discarded before applying the lemma. Thus its bounds are uniform over the fixed side bits.
Lemma 7.3 (Public-coin verifiers as average-maximum circuits). Consider a verifier in the public-coin normal form above, with at most r messages, each of a prescribed length at most b, and at most q oracle queries in the final check. Fix the input and all oracle bits outside one target block. Its optimal acceptance probability, as a function of that block, has an average-maximum extension with
Proof. Unrolling the interaction gives a tree with an average over equally likely random strings at each verifier node and a maximum over possible replies at each prover node. A message slot of prescribed length has possible strings, so these gates have log fanin at most . Invalid reply encodings lead to rejection. At each completed transcript, evaluating the fixed side oracle leaves an adaptive target-query tree of depth at most . By Lemma 7.2, its convex extension is a maximum of at most affine functions with coefficient norms at most . This maximum adds one to the depth and has log fanin at most . Averages and maxima preserve the range on the cube. The tree also preserves chronology, since a prover's maximum depends on past messages and every later fresh coin is averaged below that node. Backward induction therefore computes optimal acceptance over all prover strategies.
For example, a protocol with two rounds, each consisting of a coin message and a reply, has value
The first reply can depend on , and the second can also depend on . Interaction controls depth ; message lengths and the number of terminal queries control log fanin ; and the terminal query count controls leaf sensitivity . Our estimates use only these three parameters, even when the tree is exponentially large.
7.2 Softmax smoothing and derivative bounds
The count-repair comparison of Section 5 uses convexity; the Gaussian comparisons also require derivatives. Replacing maximum gates by the smooth log-sum-exponential preserves convexity with controlled error. We use the smoothed functions to analyze expectations under the original distributions.
The derivative bounds from (6.1) control Lipschitz errors, covariance comparison, and magnitude replacement, respectively. Larger improves the approximation but increases higher derivatives. We use the softmax induction of [BHNST26, Lemma 6.1], separating log fanin from leaf sensitivity , and extend its estimate to order three.
Lemma 7.4 (Smoothing average-maximum circuits). For a average-maximum circuit and , replacing every maximum by
gives a smooth convex with approximation error
Its derivative bounds are
All estimates hold on .
Proof. At a gate with children,
Adding the same constant to all child values adds that constant to . Thus errors accumulate along the depth. If each smoothed child value differs from its original value by a number in , this property and monotonicity give
Averages also propagate at most the largest child error, proving (7.2). For the derivative bounds, consider a softmax node with smooth child functions and write
All quantities are evaluated at the same input, and denotes averaging over the child index with weights . Differentiation gives
The child Hessians are positive semidefinite by induction, as is the covariance term, so the smoothed function is convex. The gradient bound follows from . To bound the Hessian, we expand the covariance before taking its entrywise norm and obtain
Thus, if bounds the Hessian norm through height , then . The affine leaves have zero Hessian, giving .
For the third derivative, put , , and . The identity gives the differentiation rule
for a scalar or tensor entry . Applying this rule to the gradient and Hessian gives
In each of the three mixed terms, cancels the contribution of . The entrywise identity and the bound then give a norm bound of for each term. The centered cubic term has norm at most . Thus, writing for the third-derivative bound through height , we obtain
At each node the softmax weights average over children, so the recurrence accumulates over tree height. The leaves have no second or third derivatives, and summing from height one to gives , as required. At average gates, the triangle inequality preserves all three derivative bounds.
7.3 Comparing and for convex tests
The distributions and are signs of Gaussian vectors with covariances and I. The following imported theorem handles the discontinuous sign map.
External theorem 7.5 (Shifted Gaussian-sign comparison [BHNST26, Theorem 6.4]). Let be smooth and convex. For the cube derivative norms in (6.1), assume
Let and be independent. Assume that has unit diagonal, and write . For every fixed shift and ,
The bound is uniform in , so we may condition on an independent random shift and then average. Following [BHNST26, proof of Corollary 6.6], we apply it in three steps using the endpoints' fixed independent-noise component.
Proposition 7.6 (Gaussian-sign comparison for convex tests). Let be smooth and convex, with and on . For either and every ,
Proof. Write . To separate off independent noise with covariance , note that the smallest eigenvalue is . Hence
is a positive definite covariance matrix with unit diagonal and off-diagonal entries of magnitude at most . Take independent and , and set
Each step halves the independent covariance. Thus has covariance , while has covariance . Their sign vectors have distributions and .
Let be an independent copy of , independent of . For , put . The common-shift representation is
These are identities of marginal laws. Positive rescaling gives the first, and the second follows from
Conditional on V, both noises retain their laws and are independent of the common shift. We can therefore apply (7.6) and average over V.
If , is constant on the cube and the claim is immediate. Otherwise, apply (7.6) with , , , , and , so that . Multiplication by bounds the cost of each step by
Summing the three steps and using proves the bound.
7.4 Comparing and for convex tests
Lemma 6.3 requires smooth functions of the vector before signs are taken. Softmax alone does not make the composition with sign continuous. We therefore replace sign by a smooth function agreeing with it outside , then bound the resulting error at both endpoints.
A union bound on coordinates entering that interval would lose a factor proportional to . The conditional-mean comparison from Section 5 avoids this loss by bounding changes in plus probabilities relative to the less likely sign. The relative bound accommodates arbitrarily biased signs after the Gaussian means are fixed.
Lemma 7.7 (Nearby product sign probabilities). Let have product distributions with plus probabilities , where . For every convex -Lipschitz function on ,
Proof. Couple the coordinates with independent uniforms, using thresholds and . To apply Lemma 5.3, we bound the changes in conditional means. If , only a minus sign of can become plus, while in the reverse direction only a plus sign of can become minus. The corresponding changes have magnitudes
Both denominators are at least . If , the denominators are and , giving the same bound. By independence, these bounds still hold when conditioning on the whole corresponding sign vector, so Lemma 5.3 proves the claim.
A smooth sign cutoff. Choose a smooth odd nondecreasing cutoff , valued in , equal to sign off , and satisfying
Convexity gives both bounds needed to remove the cutoff, a lower bound by conditioning on the original signs and an upper bound by rounding the smooth values to signs.
Lemma 7.8 (Removing the sign cutoff). Let have independent coordinates , where is fixed and . If is sufficiently small, then every convex -Lipschitz function on satisfies
Proof. Put . By the normal density and (6.2),
The exponential is bounded under the stated smallness condition, so
For the lower bound, let . Coordinate independence gives . Since the cutoff differs from sign only in and by at most two,
where the second inequality uses conditional Jensen and the Lipschitz bound.
For the upper bound, choose the signs independently conditional on V, with
Each is generated from and its own independent uniform variable, so has a product law. Its plus probabilities satisfy
Jensen and Lemma 7.7 therefore give
Together with (7.8), this proves the claim.
Applying magnitude replacement. Magnitude replacement uses third derivatives; cutoff removal uses convexity and the Lipschitz bound. Only F needs to be convex, not its composition with the cutoff.
Proposition 7.9 (Convex magnitude replacement). Let be smooth and convex on a neighborhood of , with the derivative bounds of (6.1) holding there. For and sufficiently small,
Proof. Replacement cost. For independent standard normal Y, define
Fix , with noise scale as in (4.4), and write . Evaluate the partial derivatives of at . The chain rule gives
All indices refer to the coordinates, including repetitions. Since the cutoff keeps the argument of inside the cube, the bounded derivatives of and of the cutoff justify differentiation under and give
This is (6.4) with and . Lemma 6.3 gives the middle term of (7.9), with expectations averaged over uniform . At the fully replaced endpoint, adding combines the independent noise variances to , identifying once the cutoff is removed. The original endpoint similarly gives .
Endpoint errors. Conditional on and the latent mean , the coordinates of the noise remain independent, as required by Lemma 7.8; the coordinates of itself need not be independent. At the two endpoints, or . The first has Gaussian marginals of variance . For the second, averaging over uniform and independent gives
using the subgaussian row bound for and . Lemma 6.1 therefore gives except on an event of probability at most . Under this norm bound, Lemma 7.8 bounds the cutoff error for by . On the exceptional event both arguments lie in the same cube, so their -values differ by at most . Applying these estimates at both endpoints and adding the replacement cost proves the proposition.
7.5 Combining the comparisons
Table 2 collects the costs, using . The parameters are softmax scale , Gaussian sign-smoothing width , magnitude-replacement cutoff width , and criticality from Definition 2.2. We choose after balancing their distinct costs.
| Step | Convex/|P cost | Boolean/PH cost |
|---|---|---|
| Count repair(Prop. 5.1) | ||
| Magnitude replacement(Props. 7.9, 8.6) | ||
| Gaussian comparison(Props. 7.6, 8.5) | ||
| Acceptance smoothing(Lemma 7.4) | 0(exact Gaussian averaging) |
Table 2. Error terms for Theorem 2.3, all in with constants depending only on fixed construction parameters. The first three rows compare to uniform; the last removes the softmax approximation. The PH column previews Section 8.
The master bound. Let be an average-maximum acceptance function and its softmax approximation. Since on Boolean inputs, . Applying the three comparisons to and accounting for its approximation error gives
Substituting Propositions 5.1, 7.9, and 7.6 gives, whenever their smoothing conditions hold,
Parameter choice. A larger reduces the softmax error and increases derivative bounds; smaller cutoff widths reduce endpoint errors and increase replacement costs. Fix a polynomial bounding as in Theorem 2.3. Balancing the leading approximation, cutoff-removal, and magnitude-replacement costs for gives
where is their common scale. We take . The covariance cost is then smaller, as checked below.
Proof of Theorem 2.3, average-maximum case. Write and choose , . For all sufficiently large lengths , so Lemma 7.4 gives
The softmax test is smooth and convex on all of . Since is a fixed polynomial, eventually and , as required. Using , the derivative costs satisfy
The repair, softmax, cutoff, and tail costs are also , so (7.10) has this bound for each sign. Comparing both signs to the common uniform endpoint and using proves family (i), uniformly over side-oracle assignments.
8 The PH bound
We prove the Boolean-test case of Theorem 2.3 and apply it to PH predicates. Fixing the accessible side-oracle bits gives a constant-depth circuit of size . Its restriction-stable criticality yields weighted derivative bounds; Gaussian averaging then compares the product and Gaussian-sign laws with uniform input. The count-repair estimate completes the argument.
8.1 PH circuits and restriction-stable criticality
Lemma 8.1 (Circuit representation of PH predicates). Fix a polynomial-clocked oracle predicate with k quantified blocks, where k is constant, on input . Fix every accessible oracle bit outside the target block. Its value as a function of is computed by an AND/OR circuit of depth at most and size . These bounds are independent of the values of the fixed bits.
Proof. Write the predicate as
where is a deterministic polynomial-time oracle computation. All block lengths and the global terminal clock are bounded by a fixed polynomial. To put a fixed-alternation machine in this form, pad each block's sequence of binary choices and let the terminal simulation consume them in order, including its intervening deterministic oracle computations.
For each quantified tuple, unrolling the terminal computation with the side-oracle answers fixed gives a target-query decision tree of depth at most . Lemma 7.2 gives its DNF, allowing adaptive addresses and repeated queries.
This DNF has at most terms, each with at most literals, and depth two. Each existential quantifier contributes an OR and each universal quantifier an AND over its strings. There are at most tuple copies, so the total size, including the 2D target inputs, is bounded by
There are at most gate layers. Fixing side answers does not increase either bound.
We next verify the criticality condition from Definition 2.2. The bound must hold after arbitrary restrictions, since repair fixes the outer data and magnitude replacement fixes . We use Rossman's criticality theorem for regular formulas and its bounded-depth circuit consequence [Ros19, Theorem 3 and Section 1.2].
Lemma 8.2 (Criticality of bounded-depth circuits). Every AND/OR circuit of depth at most a fixed and total size , including inputs, with negations only at the inputs, satisfies a restriction-stable criticality bound through order three with
Proof. Fix a deterministic restriction and put . The circuit still has depth at most and size at most . The conversion in [Ros19, Section 1.2], with fanin-one padding, gives an equivalent regular formula of depth . Its number of depth-one subformulas satisfies , hence . Lemma B.1 in Appendix B therefore gives criticality at most , with independent of . Thus for and , uniformly in .
Together with Lemma 8.1, this gives for each fixed PH resource bound, uniformly over the fixed side-oracle bits and all further restrictions of the target inputs. The rest of this section uses only the restriction-stable bound from Definition 2.2.
8.2 From criticality to weighted derivatives
We bound derivative sums by viewing each mixed derivative as a coefficient of a randomly restricted function. First, extend the Boolean test by averaging over independent signs with prescribed means.
Multilinear extension. For , define
For , the product in each summand is the probability of under independent signs of means , so . In particular, agrees with on Boolean inputs.
Here denotes the multilinear extension, which need not be convex; it replaces the softmax extension of Section 7.
Subscripts or on denote this product sign measure. A sign with plus probability has mean . Here may be , or after is fixed. For , write . For a single coordinate,
Iterating this identity explains the discrete differences below. Multilinearity makes independent of the coordinates in A.
Fixing the complementary coordinates turns into the coefficient of the product of all remaining variables. If nonzero, it forces the restricted function to have degree , and hence decision-tree depth at least . We will sample the free set so that the restriction bound controls the entire derivative sum, without paying separately for each subset.
The bias weights , twice the smaller sign probability, measure how much mass can be left free while preserving the bias upon fair completion. They also occur in derivatives of Gaussian sign means. They are distinct from the integer bin weights in Section 4.
Lemma 8.3 (Weighted derivatives). Let satisfy Definition 2.2, and let be its multilinear extension. For every , put . Then, for ,
Here has independent sign coordinates of means . Both bounds also hold for the multilinear extension of any deterministic restriction of , with the same .
Proof. Fix and . For , leave coordinate free with probability , subtracting half this mass from each of its original sign probabilities. For the resulting product restriction , the probabilities of being free, fixed to +1, and fixed to -1, respectively, are
They are nonnegative because . Filling each free coordinate with a fair sign restores plus probability , so it restores the original product measure. In Lemma 5.4, and
When , the coordinate is deterministic and the ratio is zero by convention. Hence , and the lemma gives .
We count a derivative only when its indices are exactly the free set. Let and define
For and fixed complementary signs z, the coefficient is
The coefficient has magnitude at most 1/2 and, when nonzero, gives degree r on the free variables. Since polynomial degree is at most decision-tree depth,
For a fixed -set , the probability of leaving exactly free is . Conditional on this event, the other signs are independent with means
The events specifying the exact free set are disjoint. Summing their contributions gives the finite-t identity
where only the complementary coordinates matter inside the expectation. For each fixed finite , this is a finite sum. As decreases to zero, and the factors tend to one, so we may take the limit termwise. Using the preceding bound on yields
proving (8.3). Multilinearity gives , so Jensen proves (8.4). Zero weights require no division, including at the cube boundary. Every deterministic restriction of satisfies Definition 2.2 with the same , by composing restrictions; applying the argument to it proves the last assertion.
8.3 Exact Gaussian averaging of Boolean tests
Fix a mean vector , a noise scale , and a vector of independent standard normals. The sign has mean . Define
Since the signs are independent, the product-measure interpretation of F gives the exact identity
Thus . Averaging noise already present in the distribution introduces no approximation error. Both applications below use a fixed positive noise scale.
Derivatives of are bounded by times a polynomial in , matching Lemma 8.3 even near . We need the off-diagonal Hessian for covariance interpolation and the third directional derivative for magnitude replacement.
Lemma 8.4 (Derivative bounds after Gaussian averaging). Suppose satisfies Definition 2.2, and let be given by (8.5). For fixed , , and every direction ,
Proof. Write , , and . Mills' ratio (6.2) and
give for . With all derivatives of evaluated at , the chain rule gives
Lemma 8.3 therefore yields
since . For the remaining derivatives in covariance interpolation, and give
□
8.4 Comparing , and
For the Gaussian-sign comparison, retain a fixed independent Gaussian component for exact averaging and interpolate the remaining covariance. A positive eigenvalue lower bound makes this possible throughout the path. The covariance diagonal stays fixed, so Price's formula uses only the off-diagonal Hessian.
Proposition 8.5 (Gaussian-sign comparison for Boolean tests). Let be a covariance matrix with unit diagonal and smallest eigenvalue at least , and set . Let , and let be uniform on . For every Boolean satisfying Definition 2.2,
Proof. Put and . Since the unit diagonal implies ,
For , exact averaging (8.5) over an independent Gaussian component of variance identifies the desired difference with . Price's formula (Lemma 6.2) and Lemma 8.4 give
The marginal variance bound allows us to apply Lemma 6.1 in the last step. Integrating over proves the claim.
For the covariance of our construction, the smallest eigenvalue is fixed and the largest off-diagonal entry is . Taking gives
Comparing with . We form the Gaussian average (8.5) with f fixed and apply Lemma 6.3. Its third-derivative bound grows cubically with the largest coordinate of the mean, giving the k=3 case of that lemma.
Proposition 8.6 (Boolean magnitude replacement). Let satisfy Definition 2.2. Then, for each ,
Proof. For each , define
Fixing preserves the criticality bound . Thus (8.5) and Lemma 8.4 give, uniformly in ,
This is (6.4) with and , where is the fixed constant from (4.4). Lemma 6.3 now compares the expectations averaged over uniform . At the fully replaced endpoint, , giving the conditional product distribution . The original endpoint is the Gaussian-sign reference distribution . This proves (8.9).
Proof of Theorem 2.3, Boolean case. The triangle inequality along the three comparisons gives, for each ,
by Proposition 5.1, Proposition 8.6, and (8.8), respectively. The sum of these bounds for bounds , giving
Here absorbs the covariance cost. Since , for any fixed polynomial , uniformly over ,
Thus the Boolean argument gives the stronger bound , with count repair determining the leading error. This implies family (ii) of Theorem 2.3, since and .
Lemmas 8.1 and 8.2 place every fixed PH resource bound in this polynomial envelope, independently of the side-bit values.
Theorem 2.3 now holds for both test families.
9 Constructing the recursive oracle
A requirement is a padded public-coin verifier in the normal form of Section 7.1, or a fixed-alternation predicate, each with an explicit polynomial clock. Lemmas 7.3, 8.1, and 8.2 give polynomial resource bounds uniform in the side oracle. By Theorem 2.3 and Section 2.4, every sufficiently large eligible length has a promised pair violating the requirement's completeness or soundness threshold. We find one by exhaustive search and commit all accessible bits to preserve the failure.
Proposition 9.1 (Effective oracle diagonalization). Let be an infinite set of address lengths decidable in polynomial time on unary input, with the target-block encoding of Section 2.1. Suppose the following conditions hold.
(i) At each length, the positive and negative promise sets lie in an explicitly enumerable finite space of target truth tables and are uniformly decidable.
(ii) Positive default inputs are uniformly computable, and a uniform polynomial-time quantum algorithm decides the sign exactly on promised inputs.
(iii) The classical requirements are effectively enumerable, each with an explicit polynomial clock. On a fixed input, once every accessible oracle bit is fixed, each requirement is represented by a finite game with Boolean terminal values and uniform-average, maximum, or minimum gates.
Denote the game value by . Assume that for each fixed requirement, at every sufficiently large eligible length and uniformly over all accessible side-oracle bits, some promised pair satisfies
Then there exist a recursive Boolean oracle and a unary language for which every enumerated requirement fails.
For a PH predicate, maxima and minima represent existential and universal choices, so the game value is zero or one. Then (9.1) means a wrong answer. For a public-coin verifier, averages represent fresh coins and maxima range over prover replies, so the value is its optimal acceptance probability. The notation includes the candidate target pair as part of the provisional oracle .
Proof. We enumerate program codes with polynomial clocks bounding time, message and coin lengths, and oracle query lengths on every history, including malformed replies or oracle inputs. Every polynomial-resource machine appears with a sufficiently large clock; recognizing polynomial-time programs is unnecessary. In an interactive requirement only the verifier is clocked; the prover's computation and oracle access remain unrestricted. All enumeration orders are deterministic. Initially the empty-string bit is zero and .
Stage . Before stage , every string of length at most has a permanent value, and every eligible block in this prefix satisfies the promise. Try eligible address lengths in increasing order and set
where is the requirement's global clock. The target block uses strings of length , including the tag, so it is fresh. The bound covers both this entire block and every query that the verifier or predicate could make on , on any history. Provisionally fill every other new eligible block through with its positive default input, and set unused strings to zero, preserving the old prefix. These assignments are provisional until a failing target pair is found.
Each address block of length consists entirely of strings of length , so no block is partially committed.
We enumerate all target pairs and test the promised ones. In our application, the pairs of -entry sign tables give a known endpoint even if no pair fails. Every oracle answer needed by the finite game is specified. Backward induction through uniform-average and max/min gates computes its value exactly as a rational number, making both strict threshold tests in (9.1) decidable. For verifiers, the maximization covers all legal reply strategies without enumerating prover programs.
When a failure is found, commit the target and provisional side bits, set , and end the stage. If no promised pair fails at this length, discard its provisional assignments and try the next length. Earlier committed bits never change.
Termination. At each candidate length, the search is finite and decidable. Uniform eventual failure guarantees success at some length, regardless of its provisional side assignment. In our application, the distributions prove termination; the search uses only finite truth tables and exact rational game values, without computing distributional probabilities.
Preservation. Every oracle query made by the clocked classical computation is fixed, so every completion induces the same finite game. An unrestricted prover may use later oracle bits to choose a strategy, but all such reply strategies are already included in its maxima. An optimizer can hardcode the finite response table. Hence the optimal acceptance value, and likewise the PH max/min value, is unchanged by later stages.
Recursiveness and the separating language. The bounds grow strictly, since , where is the successful address length at stage . To compute , simulate the deterministic construction until , then return the assigned bit. Every stage terminates and the bounds are unbounded, so this algorithm halts on every input. The oracle is therefore recursive. No running-time bound is asserted.
Every eligible block satisfies the promise, having been committed as a target or positive default input. Let consist of the eligible unary strings whose block is positive. The quantum algorithm rejects non-unary inputs and lengths outside , and otherwise applies the uniform exact solver to the block. It queries the completed oracle without simulating the exhaustive construction. Thus , and each classical requirement fails at its committed target input.
Proof of Theorem 1.1. We interleave the public-coin verifier and fixed-alternation predicate lists so that every candidate receives a stage. Theorem 2.3 gives (9.1) for each requirement, uniformly over its side assignment. Both families use the same promise sets, uniformly computable default inputs (3.4), and exact solver from Proposition 3.2. Membership in the promise sets is decidable by the integer comparison in Section 2.2, and eligibility is polynomial-time decidable. Proposition 9.1 therefore constructs a recursive oracle and a unary language in defeating both lists.
A private-coin proof for relative to would, by Theorem 7.1 and the normal form of Section 7.1, yield a verifier on the first list, contradicting its failure. The second list excludes every PH predicate. Thus , , and . The quantum machine rejects non-unary and ineligible inputs without queries and uses the three-query solver at every eligible length, including those filled rather than targeted.
A Exact implementation with real gates
Section 3 gives an exact three-query solver over Clifford+T. Here we implement it using only Hadamard and reversible classical gates. The construction uses the quadratic sign from the default inputs and requires an even number of address bits, as ensured by our eligible lengths.
Let exchange the address halves and let . Then , and because . Let be the diagonal sign matrix of , implementable without an oracle query.
Lemma A.1 (Quadratic-sign identity).
Proof. Using from Section 3, with addition in ,
The second line is the polarization identity for the quadratic exponent .
Branch preparation. For the one-query preparation, the address register starts in a uniform superposition, the branch qubit in , and a copied-address register in zero. We copy the address into with CNOTs and swap the halves of when , giving the pre-query state
Applying to the tagged register supplies phase on branch zero and on branch one. Uncomputing the swap and copy produces
with the copied register and all auxiliary workspace restored to zero. Here and denote normalized sign-amplitude vectors. Only known reversible gates need to be controlled, and each controlled swap is a CNOT-Toffoli-CNOT circuit.
The Forrelation overlap. Lemma A.1 lets us replace the controlled Hadamard by unconditional Hadamards and a controlled quadratic phase. We apply followed by H to both branches, then only to branch zero, and finally H to both branches. This gives
Their overlap is
A final Hadamard on the branch qubit therefore yields with probability .
The gate applies CZ to each pair , and its branch-controlled version uses CCZ with a negative control on . Conjugating a target of CNOT or Toffoli by implements CZ or CCZ, respectively, and gates implement negative controls. Thus all gates are real.
Equations (3.2)–(3.3) give an exact three-query algorithm. The all-zero reflection on every register of the one-query unitary (branch, address, copied address, and clean workspace) uses reversible conjunctions and , followed by uncomputation. This gives a uniform polynomial-size implementation over the fixed real basis and the oracle phase query.
B A criticality bound for regular formulas
We give the version of Rossman's criticality bound [Ros19, Theorem 3] needed for Lemma 8.2, correcting three steps of its proof while preserving the logarithmic exponent. Following his convention, a formula is regular if all gates at each height have a common fanin ; bottom-gate fanins may vary. A depth- formula then has depth-one subformulas.
Lemma B.1. A regular AND/OR formula of depth , , with depth-one subformulas satisfies for and integers , where
Proof. Jensen normalization. For the Jensen step in [Ros19, Lemma 12], let , , , and . When , normalized Jensen for the concave function on gives
The middle expression is increasing in , since its derivative is for . The case is immediate. In Propositions 25 and 27 the bound is already available, so those estimates remain unchanged.
Serial exposure. A canonical branch can terminate while other variables remain free, contrary to the assumption in the counting argument of [Ros19, Lemma 28]. We instead reveal coordinates only as the scan reaches them. Use notation and fix ordered depth-one formulas , lengths , answer strings , and overwrite strings . Before stage , previously queried variables receive the bits of in concatenated query order. We bound the complete-branch event by the following larger event.
We sample with independent coordinate probabilities for . At each stage we scan the literal/constant list in the order of [Ros19, Definition 19], revealing a coordinate's state only when first encountered. An OR scan stops at a true literal and skips false literals; the roles reverse for AND. A newly revealed star is queried using the next bit of . Its answer follows the same rule, except that we declare success immediately after the -th query, without inspecting the suffix or requiring termination there. If the scan stops or runs out of literals earlier, the stage fails. Before the next stage, queried stars receive the prescribed overwrite values, while revealed fixed coordinates retain their -values. Constants and repeated literals of either polarity are evaluated from these known values.
On the original joint event, each scan follows its canonical branch through the prescribed queries, with the same query order and overwrites. Thus every stage succeeds. Conditional on the transcript so far, unseen coordinates remain independent with their original laws. Each new coordinate is free with probability , or fixed so that its literal continues or stops the scan with probability each. Previously revealed values can only be skipped or stop the scan. The conditional probability of reaching another query is therefore at most
Since every exposed star is queried and assigned, the same bound holds at each stage. Conditioning successively on the revealed values gives , as required.
Induction and restriction density. Put and take . The successive densities in [Ros19, proof of Theorem 3] have product , rather than :
At the initial density , serial exposure gives the joint bound for prescribed answer and overwrite strings. Proposition 27 preserves this joint bound for depth- subformulas at each intermediate density , ; the Jensen correction leaves its estimate unchanged. At the final density , Proposition 25 bounds the probability of a complete branch with a fixed answer string of length by . These are the induction statements in [Ros19, proof of Theorem 3], now supplied by the corrected joint branch estimate.
If decision-tree depth is at least , some complete canonical branch has length . For , a union bound over answer strings and lengths gives
The composed restriction has density . Taking therefore yields for ; for larger the bound is trivial. AM-GM and give the stated .
AI Disclosure
Our initial idea was to start from a distribution already known to be hard to distinguish from uniform, transfer this hardness to one approximating the desired exact promise, and then apply a suitable cutoff or repair step to obtain exact support. We developed this strategy through several rounds of interaction with ChatGPT (6 Astra and 6.1 Sol), first exploring constructions for extremal -Forrelation with promise values , for both and higher .
For , changing the promise values to led to the count-repair approach. ChatGPT 6.1 Sol generated the resulting construction and its proof, which we verified, simplified, and further developed.
AI assistance contributed substantially to the construction and comparison of the distributions in Sections 4–8, and to the development of the oracle-separation argument in Section 9. ChatGPT also assisted with the organization and exposition of the manuscript. We take full responsibility for the correctness, originality, and integrity of the manuscript, including its proofs and references.
References
[Aar10] Scott Aaronson. BQP and the polynomial hierarchy. In STOC 2010, pages 141–150. arXiv:0910.4698.
[AA15] Scott Aaronson and Andris Ambainis. Forrelation: A problem that optimally separates quantum from classical computing. In STOC 2015, pages 307–316. doi:10.1145/2746539.2746547. arXiv:1411.5729v1.
[AGH90] William Aiello, Shafi Goldwasser, and Johan Håstad. On the power of interaction. Combinatorica 10(1):3–25, 1990. doi:10.1007/BF02122692. Full text: author PDF.
[BS21] Nikhil Bansal and Makrand Sinha. k-Forrelation optimally separates quantum and classical query complexity. In STOC 2021, pages 1303–1316. doi:10.1145/3406325.3451040.
[BB94] André Berthiaume and Gilles Brassard. Oracle quantum computing. Journal of Modern Optics 41(12):2521–2535, 1994. doi:10.1080/09500349414552351.
[BHNST26] Adam Bouland, Andrew Huang, Anand Natarajan, Itay Shalit, and Avishay Tal. BQP ⊆ IP does not relativize. arXiv:2609.25680v1, 2026.
[BH97] Gilles Brassard and Peter Høyer. An exact quantum polynomial-time algorithm for Simon's problem. In ISTCS 1997, pages 12–23. doi:10.1109/ISTCS.1997.595153. arXiv:quant-ph/9704027.
[BHMT02] Gilles Brassard, Peter Høyer, Michele Mosca, and Alain Tapp. Quantum amplitude amplification and estimation. In Samuel J. Lomonaco, Jr. and Howard E. Brandt, editors, Quantum Computation and Information, Contemporary Mathematics 305, pages 53–74. American Mathematical Society, 2002. doi:10.1090/conm/305/05215. arXiv:quant-ph/0005055v1.
[CCM26] Clément L. Canonne, Kenny Chen, and Julián Mestre. The quantumly fast and the classically forrious. arXiv:2602.07503v2, 2026.
[Cha06] Sourav Chatterjee. A generalization of the Lindeberg principle. Annals of Probability 34(6):2061–2076, 2006. doi:10.1214/009117906000000575. arXiv:math/0508519v3.
[DJ92] David Deutsch and Richard Jozsa. Rapid solution of problems by quantum computation. Proceedings of the Royal Society of London, Series A, 439:553–558, 1992. doi:10.1098/rspa.1992.0167.
[FM16] Yuval Filmus and Elchanan Mossel. Harmonicity and invariance on slices of the Boolean cube. In CCC 2016, LIPIcs 50, pages 16:1–16:13. doi:10.4230/LIPIcs.CCC.2016.16. arXiv:1507.02713v5.
[GS13] Brett Giles and Peter Selinger. Exact synthesis of multiqubit Clifford+T circuits. Physical Review A 87, 032332, 2013. doi:10.1103/PhysRevA.87.032332. arXiv:1212.0506v3.
[GS26] Uma Girish and Rocco Servedio. Forrelation is extremely hard. In ITCS 2026, LIPIcs 362, pages 72:1–72:22. doi:10.4230/LIPIcs.ITCS.2026.72. arXiv:2508.02514.
[GS86] Shafi Goldwasser and Michael Sipser. Private coins versus public coins in interactive proof systems. In STOC 1986, pages 59–68. doi:10.1145/12130.12137. Full text: proceedings PDF.
[GP01] Frederic Green and Randall Pruim. Relativized separation of EQP from PNP. Information Processing Letters 80(5):257–260, 2001. doi:10.1016/S0020-0190(01)00176-4.
[Man26] Atul Mantri. Classical verification of quantum computation beyond the polynomial hierarchy. arXiv:2610.37635v1, 2026.
[ODO21] Ryan O'Donnell. Analysis of Boolean Functions. Updated arXiv edition, arXiv:2105.10386v1, 2021.
[RT19] Ran Raz and Avishay Tal. Oracle separation of BQP and PH. In STOC 2019, pages 13–23. doi:10.1145/3313276.3316315. ECCC TR18-107.
[Ros19] Benjamin Rossman. Criticality of regular formulas. In CCC 2019, LIPIcs 137, pages 1:1–1:28. doi:10.4230/LIPIcs.CCC.2019.1.
[Sha92] Adi Shamir. IP = PSPACE. Journal of the ACM 39(4):869–877, 1992. doi:10.1145/146585.146609.
[Voi21] Felix Voigtlaender. A general version of Price’s theorem. Journal of Theoretical Probability 34:1474–1485, 2021. doi:10.1007/s10959-020-01017-w. arXiv:1710.03576v2.