Introduction
Interactive proofs allow a polynomial-time verifier to be convinced of statements that it cannot check on its own, provided that the prover is powerful enough. With a computationally unbounded prover, every language in PSPACE has an interactive proof, as Shamir [57 ] showed building on the work of Lund, Fortnow, Karloff, and Nisan [42 ] . In the verification of quantum computation there is a further constraint. The honest prover is the quantum computer that performs the computation, so its strategy must itself run in quantum polynomial time. The classical verifier wishes to be convinced of the outcome of that computation, with soundness against computationally unbounded provers.
Can a classical polynomial-time verifier be convinced of the outcome of a polynomial-time quantum computation by the quantum computer that runs it, without computational assumptions?
The question was raised by Gottesman in 2004 (see Aharonov and Vazirani [AV13] and Mahadev [43 ] ), and positive answers are known in three modified settings. If the verifier can prepare or measure a few qubits at a time, every problem in BQP can be verified with soundness against computationally unbounded provers [5 , 16 , 25 , 37 ] . If the verifier is classical but interacts with two entangled provers that cannot communicate, every problem in BQP can be verified [53 ] , and, when the honest provers may be computationally unbounded, every language in RE [39 ] . Gheorghiu, Kapourniotis, and Kashefi [27 ] survey protocols of these two kinds. If the verifier is classical and there is a single quantum prover, Mahadev’s protocol [43 ] verifies every problem in BQP under the assumption that learning with errors [52 ] is hard for quantum algorithms. In the remaining setting, in which the verifier is classical, there is a single prover, and no assumption is made, no protocol for all of BQP with a polynomial-time quantum honest prover is known. Such a protocol cannot relativize. Bouland, Huang, Natarajan, Shalit, and Tal [15 ] constructed an oracle relative to which Forrelation has no interactive proof system at all, even with a computationally unbounded prover. The protocols known in this setting verify particular problems, which we review in § 1.3 . It is natural to ask which quantum problems have such proof systems, and in particular whether, relative to an oracle, such a problem can lie outside the polynomial hierarchy.
In this paper we show that it can. We construct a classical oracle and a language that is decided exactly by a polynomial-time quantum algorithm with access to the oracle, lies outside the polynomial hierarchy relative to it, and has a classical interactive proof system whose verifier and quantum honest prover run in polynomial time, with perfect completeness and soundness against computationally unbounded provers. In the notation of § 3.1 , the language lies in E Q P O ∖ P H O \mathrm{EQP}^{O} \setminus\mathrm{PH}^{O} EQP O ∖ PH O (Theorem 1.1 ), where E Q P O \mathrm{EQP}^{O} EQP O , the exact counterpart of B Q P O \mathrm{BQP}^{O} BQP O , is the class of languages decided exactly by uniform families of polynomial-size quantum circuits with access to O O O , which accept every string in the language with probability one and every other string with probability zero. To our knowledge, no problem with a classical proof system and an efficient quantum honest prover was previously proved to lie outside AM relative to an oracle. Every problem known to have such a proof system lies in AM or is excluded only from MA relative to an oracle, which raises the question whether such classical verification implies membership in the polynomial hierarchy. Theorem 1.1 shows that no relativizing argument can establish this. In the oracle model, efficient classical verification is compatible with quantum computation beyond every fixed level of the polynomial hierarchy. The same construction allows the number of messages, and the number of oracle queries made by the quantum algorithm, the verifier, and the honest prover, to grow as slowly as desired with the input length (Corollaries 1.4 and 1.5). For a suitable choice of the oracle, this number of messages is also necessary up to a constant factor (Theorem 1.6 ).
The language is built from a variant of recursive Fourier sampling [13 ] . An instance is a tree of tables whose leaves are stored in the oracle, of height at most logarithmic in n n n for the input 1 n 1^n 1 n , and an instance of positive height has 2 Θ ( n ) 2^{\Theta(n)} 2 Θ ( n ) bits in total. The value of a node is the entry of its data table at a secret address, the secret is encoded in its code table, and the entries of both tables are the values of the node’s children. A quantum algorithm decodes the secrets exactly, and a classical verifier checks them with the help of the prover, so that quantum evaluation and classical verification both take time polynomial in n n n . The recursion acts on the input as a random restriction, but one in which the values of the fixed code bits and the positions of the free leaves are determined by the same secrets, so the standard switching lemma does not apply. Instead of counting the restrictions that keep a term alive, we order the terms of a DNF and bound, by a rank argument over the secrets, how often the first satisfied term contains the free leaves of many nodes, and each switching step applies the projections of several levels of the recursion at once. We prove a switching theorem for these restrictions and use it to show that, once the height exceeds a constant depending on the circuit depth and the size exponent, no constant-depth circuit of size 2 poly ( n ) 2^{\operatorname{poly}(n)} 2 poly ( n ) distinguishes instances with answers zero and one with more than 2 − Ω ( n ) 2^{-\Omega(n)} 2 − Ω ( n ) advantage. By the standard translation of alternating polynomial-length quantifiers into constant-depth circuits [26 Yao85, 35 ] , and a diagonalization over all machines, this gives the exclusion from P H O \mathrm{PH}^{O} PH O . Every instance stored in the oracle is valid, so the uniform quantum algorithm and proof system work at every input length.
Our results
Section 3 defines the oracle classes and the proof systems. Throughout, an efficient honest prover is a uniform polynomial-time quantum algorithm with access to the same classical Boolean oracle as the verifier.
Theorem 1.1 (Exact quantum separation with classical verification). There are a classical Boolean oracle O O O and a total unary language L \mathcal{L} L such that
L ∈ E Q P O and L ∉ P H O , \mathcal{L} \in\mathrm{EQP}^{O} \qquad\text{and} \qquad\mathcal{L} \notin\mathrm{PH}^{O}, L ∈ EQP O and L ∈ / PH O , and such that L \mathcal{L} L has an interactive proof system relative to O O O with a classical polynomial-time verifier, an efficient honest prover, perfect completeness, and soundness error at most 1 / 4 1/4 1/4 against computationally unbounded provers. The proof system is public-coin and uses at most log n / 4 \log n/4 log n /4 messages on input 1 n 1^n 1 n .
Soundness holds against every prover, classical or quantum, that communicates classically with the verifier, and Theorem 1.3 gives the resource bounds in full. As in the formulation of recursive Fourier sampling verified by McKague [McK11], the oracle stores only the leaves of the recursive construction and does not answer queries that test a proposed internal secret. If equality tests for all internal secrets were available, a certificate could list the secrets along the path from the root to the leaf that carries the root value, which would place the problem in N P O ∩ c o N P O \mathrm{NP}^{O} \cap\mathrm{coNP}^{O} NP O ∩ coNP O . The oracle of Hallgren and Harrow [33 Definition 3 and footnote 3] is stronger in this respect, since it returns the output bit of a node only on the correct secret and a failure symbol otherwise, and so tests proposed secrets.
Exact quantum computation beyond PH. Exact secret recovery, by a Hadamard transform or by Rötteler’s hidden-shift algorithm [56 ] , gives an exact quantum algorithm and perfect completeness. The Forrelation construction of Raz and Tal, which separates BQP from PH relative to an oracle, has a bounded-error one-query variant [51 Theorem 1.3 and Section 8.3] . Here a single separating language combines exact quantum evaluation with classical verification with an efficient quantum honest prover and soundness against computationally unbounded provers.
Corollary 1.2. Let O O O and L \mathcal{L} L be as in Theorem 1.1 .
(i) E Q P O ⊈ P H O \mathrm{EQP}^{O} \not\subseteq\mathrm{PH}^{O} EQP O ⊆ PH O and B Q P O ⊈ P H O \mathrm{BQP}^{O} \not\subseteq\mathrm{PH}^{O} BQP O ⊆ PH O .
(ii) Relative to O O O , the language L \mathcal{L} L has no interactive proof system with a constant number of messages, even with a computationally unbounded honest prover.
Part (i) follows from E Q P O ⊆ B Q P O \mathrm{EQP}^{O} \subseteq\mathrm{BQP}^{O} EQP O ⊆ BQP O . Green and Pruim [32 ] separated E Q P \mathrm{EQP} EQP from P N P \mathrm{P}^{\mathrm{NP}} P NP relative to an oracle, and part (i) excludes E Q P O \mathrm{EQP}^{O} EQP O from every level of P H O \mathrm{PH}^{O} PH O . Part (ii) follows from the relativizing transformations of Goldwasser and Sipser [31 ] , Babai [9 ] , and Babai and Moran [10 ] , by which every language with an interactive proof system with a constant number of messages, even with an unbounded prover, is in A M O ⊆ Π 2 P , O \mathrm{AM}^{O} \subseteq\Pi_{2}^{\mathrm{P},O} AM O ⊆ Π 2 P , O (see [29 ] ). For every polynomial-time computable unbounded message bound, the oracle and the language can be chosen so that the language has a proof system within the bound with an efficient quantum honest prover (Corollary 1.4 ), while the argument for part (ii) excludes a constant number of messages for every language outside P H \mathrm{PH} PH relative to its oracle. Relative to O O O , the language is decided with 2 h max ( n ) ≤ log n / 4 2h_{\max}(n) \le\log n/4 2 h m a x ( n ) ≤ log n /4 quantifier blocks (§ 7.2 ), where h max ( n ) = ⌊ log n / 8 ⌋ h_{\max}(n)=\lfloor\log n/8 \rfloor h m a x ( n ) = ⌊ log n /8 ⌋ is the largest height of an instance for the input 1 n 1^n 1 n (§ 4 ). The exclusion is from every fixed level of the hierarchy, and whether a matching lower bound on the number of alternations holds is open.
Slowly growing message and query bounds. The verifier checks all claims about nodes of the same height at once (Theorem 5.5 ), so the number of messages is twice the height, while the lower bound needs only a fixed number of levels. This leaves the height free to grow as slowly as desired. A height function is a function h h h from the positive integers to the nonnegative integers, computable from 1 n 1^n 1 n in polynomial time, that is unbounded and satisfies h ( n ) ≤ h max ( n ) h(n) \le h_{\max}(n) h ( n ) ≤ h m a x ( n ) for every n n n . Unboundedness gives, for every constant h 0 h_0 h 0 , infinitely many lengths n n n with h ( n ) ≥ h 0 h(n) \ge h_0 h ( n ) ≥ h 0 , which the oracle construction needs.
Theorem 1.3 (Resource bounds by recursion height). For every height function h h h there are a classical Boolean oracle O h O_h O h and a total unary language L h \mathcal{L}_h L h with
L h ∈ E Q P O h and L h ∉ P H O h , \mathcal{L}_h \in\mathrm{EQP}^{O_h} \qquad\text{and} \qquad\mathcal{L}_h \notin\mathrm{PH}^{O_h}, L h ∈ EQP O h and L h ∈ / PH O h , and with the following bounds on input 1 n 1^n 1 n .
(i) A uniform quantum algorithm decides L h \mathcal{L}_h L h exactly with 3 h ( n ) 3^{h(n)} 3 h ( n ) queries and in time 3 h ( n ) poly ( n ) 3^{h(n)}\operatorname{poly}(n) 3 h ( n ) poly ( n ) .
(ii) L h \mathcal{L}_h L h has a public-coin interactive proof system relative to O h O_h O h with perfect completeness and soundness error at most 1 / 4 1/4 1/4 against computationally unbounded provers, in which the verifier and the prover exchange 2 h ( n ) 2h(n) 2 h ( n ) messages, h ( n ) h(n) h ( n ) from each party. The prover sends fewer than n ⋅ 4 h ( n ) / 3 n \cdot4^{h(n)}/3 n ⋅ 4 h ( n ) /3 bits in total and the verifier fewer than n ⋅ 4 h ( n ) n \cdot4^{h(n)} n ⋅ 4 h ( n ) random bits. The verifier makes at most 4 h ( n ) 4^{h(n)} 4 h ( n ) queries and runs in time 4 h ( n ) poly ( n ) 4^{h(n)}\operatorname{poly}(n) 4 h ( n ) poly ( n ) .
(iii) The honest prover is a uniform quantum algorithm that makes 4 h ( n ) − 3 h ( n ) 4^{h(n)}-3^{h(n)} 4 h ( n ) − 3 h ( n ) queries and runs in time 4 h ( n ) poly ( n ) 4^{h(n)}\operatorname{poly}(n) 4 h ( n ) poly ( n ) .
Theorem 1.1 is the case h = h max h=h_{\max} h = h m a x , for which 2 h ( n ) ≤ log n / 4 2h(n) \le\log n/4 2 h ( n ) ≤ log n /4 . The oracle depends on the height function, and truncating a desired bound to the permitted height gives the following consequence.
Corollary 1.4 (Arbitrary unbounded message bounds). *Let f f f be an unbounded function from the positive integers to the nonnegative integers that is computable from 1 n 1^n 1 n in time polynomial in n n n , for example f ( n ) = log ∗ n f(n)=\log^{*}n f ( n ) = log ∗ n . There are a classical Boolean oracle O f O_f O f and a total unary
language L f ∈ E Q P O f ∖ P H O f L_f \in\mathrm{EQP}^{O_f} \setminus\mathrm{PH}^{O_f} L f ∈ EQP O f ∖ PH O f with a public-coin interactive proof system relative to O f O_f O f with perfect completeness, soundness error at most 1 / 4 1/4 1/4 against computationally unbounded provers, an efficient honest prover, and at most f ( n ) f(n) f ( n ) messages on input 1 n 1^n 1 n . The quantum algorithm, the verifier, and the honest prover make at most 2 f ( n ) 2^{f(n)} 2 f ( n ) queries each.
For f ( n ) = log ∗ n f(n) = \log^* n f ( n ) = log ∗ n the protocol uses at most log ∗ n \log^* n log ∗ n messages, and the three participants make at most 2 log ∗ n 2^{\log^* n} 2 l o g ∗ n queries each.
Corollary 1.5 (Arbitrary unbounded query bounds). Let Q Q Q be an unbounded function from the positive integers to the positive integers that is computable from 1 n 1^n 1 n in polynomial time. There are a classical Boolean oracle O Q O_Q O Q and a total unary language L Q ∈ E Q P O Q ∖ P H O Q L_Q \in\mathrm{EQP}^{O_Q} \setminus\mathrm{PH}^{O_Q} L Q ∈ EQP O Q ∖ PH O Q with a public-coin interactive proof system relative to O Q O_Q O Q having perfect completeness, soundness error at most 1 / 4 1/4 1/4 against computationally unbounded provers, and an efficient honest prover, such that the exact quantum algorithm, verifier, and honest prover each make at most Q ( n ) Q(n) Q ( n ) queries on input 1 n 1^n 1 n . The proof system uses at most ⌊ log 2 Q ( n ) ⌋ \lfloor\log_2 Q(n) \rfloor ⌊ log 2 Q ( n )⌋ messages.
Corollary 1.5 follows from Corollary 1.4 with f ( n ) = ⌊ log 2 Q ( n ) ⌋ f(n) = \lfloor\log_2 Q(n) \rfloor f ( n ) = ⌊ log 2 Q ( n )⌋ (§ 7.2 ). For Q ( n ) = max { 1 , log ∗ n } Q(n) = \max\{1, \log^* n\} Q ( n ) = max { 1 , log ∗ n } , all three participants make at most log ∗ n \log^* n log ∗ n queries for n ≥ 2 n \ge2 n ≥ 2 , and the protocol uses O ( log log ∗ n ) O(\log\log^* n) O ( log log ∗ n ) messages. These are bounds on queries only, since writing the addresses and carrying out the computations still takes time polynomial in n n n .
Slowly growing interaction beyond PH itself is prior work. Aiello, Goldwasser, and Håstad [7 Theorem 8.3] proved that for every polynomial-time computable f f f that is polynomially bounded and every integer-valued g = o ( f ) g = o(f) g = o ( f ) there is an oracle B B B with a unary language in A M B [ f ] \mathrm{AM}^{B}[f] AM B [ f ] , the class of languages with f ( n ) f(n) f ( n ) -message public-coin proof systems relative to B B B , but outside Σ k p , B \Sigma_k^{p,B} Σ k p , B . If f ( n ) → ∞ f(n) \to\infty f ( n ) → ∞ , choose g = o ( f ) g = o(f) g = o ( f ) with g ( n ) → ∞ g(n) \to\infty g ( n ) → ∞ , such as ⌊ f ⌋ \lfloor\sqrt{f} \rfloor ⌊ f ⌋ . A language in Σ k p , B \Sigma_k^{p,B} Σ k p , B is accepted by a polynomial-time alternating machine with at most k k k alternations, and k ≤ g ( n ) k \le g(n) k ≤ g ( n ) for all sufficiently large n n n , while the finitely many shorter inputs can be hardwired. Their language is therefore outside P H B \mathrm{PH}^B PH B . The verifier checks a classical game transcript against the oracle, and no efficient honest prover is supplied. Our additional requirements are exact quantum evaluation and an efficient quantum honest prover for the same language. Our lower bound, which holds uniformly in the height, follows the same principle as their proof. A constant number of restrictions simplifies any fixed-depth circuit, while a sufficiently tall game or recursion keeps its root value undetermined.
For a suitable oracle, the protocol of Theorem 1.3 with 2 h ( n ) 2h(n) 2 h ( n ) messages is optimal up to a constant depending on the verifier, on infinitely many input lengths, even among proof systems with private coins and computationally unbounded honest provers. Theorem 1.3 remains valid for this oracle, with the following additional lower bound. Messages are counted as alternating communication slots, including slots containing the empty string, and the count on an input is the maximum over all provers and random strings (§ 3.1 ).
Theorem 1.6 (Matching lower bound on the number of messages). For every height function h h h there are a classical Boolean oracle O h ′ O'_h O h ′ and a total unary language L h ′ L'_h L h ′ with the properties of Theorem 1.3 such that the following holds. For every polynomial-time verifier V V V , with private coins allowed, such that L h ′ L'_h L h ′ has an interactive proof system relative to O h ′ O'_h O h ′ with verifier V V V , completeness at least 2 / 3 2/3 2/3 , and soundness error at most 1 / 3 1/3 1/3 against computationally unbounded provers, there is a constant β V > 0 \beta_V > 0 β V > 0 such that V V V exchanges more than β V h ( n ) \beta_V h(n) β V h ( n ) messages on input 1 n 1^n 1 n for infinitely many n n n .
For h = h max h = h_{\max} h = h m a x Theorem 1.6 excludes every proof system that uses o ( log n ) o(\log n) o ( log n ) messages at all sufficiently large lengths, while the protocol of Theorem 1.3 uses at most log n / 4 \log n/4 log n /4 . A public-coin protocol with few messages becomes, by sampling the verifier’s challenges, a DNF of small width on the leaves, while each level of the recursion divides the width of any DNF by n Ω ( 1 ) n^{\Omega(1)} n Ω ( 1 ) , so a DNF that distinguishes the root values at height h h h needs width n Ω ( h ) n^{\Omega(h)} n Ω ( h ) and the number of messages is at least a constant fraction of h h h (§ 2.5 and Appendix § 10 ).
The exclusion from P H O \mathrm{PH}^{O} PH O in every result above rests on a lower bound for constant-depth circuits, Theorem 1.7 below, which we state after defining the distributions on instances.
The distributions and the coupling.
An instance of size parameter n n n (size n n n for short) and height h ≤ h max ( n ) h \le h_{\max}(n) h ≤ h m a x ( n ) is a tree with 2 Θ ( n ) 2^{\Theta(n)} 2 Θ ( n ) leaves when h ≥ 1 h \ge1 h ≥ 1 (§ 4 ). At a node of dimension m m m , whose secret s s s is a string in F 2 m \mathbb{F}_2^m F 2 m , a code table L L L encodes s s s , a data table R R R , which is otherwise unconstrained, holds the node’s value at entry s s s , and every entry of either table is the value of a smaller subtree. The subtrees whose values fill the two tables are the node’s code children and data children, and the data child at entry s s s , which the secret selects, is the free child of the node. Only the leaves are input coordinates. Validity requires a codeword at every node, so the leaves determine all values uniquely.
For a prescribed root value b b b , the distribution μ n , h , b \mu_{n,h,b} μ n , h , b is generated from the root down. At every node it chooses a uniform secret, prescribes its codeword to the code children, prescribes independent fair bits to the other data children, and prescribes the node’s value to the free child. Each child then generates its own subtree independently in the same way. Using the same secrets and the same fair bits for both root values gives a coupled pair ( X 0 , X 1 ) (X_0,X_1) ( X 0 , X 1 ) with X b ∼ μ n , h , b X_b \sim\mu_{n,h,b} X b ∼ μ n , h , b that differs in exactly one leaf (Claim 4.1 ).
Theorem 1.7 (Coupling bound for constant-depth circuits). Fix a code family of degree d d d (Definition 3.1 ), a depth D D D , and an exponent A ≥ 1 A \ge1 A ≥ 1 . There are a constant c > 0 c > 0 c > 0 and positive integers h 0 h_0 h 0 and n 0 n_0 n 0 , depending only on the code family, D D D , and A A A , such that the following holds for every n ≥ n 0 n \ge n_0 n ≥ n 0 and every h h h with h 0 ≤ h ≤ h max ( n ) h_0 \le h \le h_{\max}(n) h 0 ≤ h ≤ h m a x ( n ) . Let F F F be a circuit on the leaves of an instance of size n n n and height h h h , with AND and OR gates of unbounded fan-in and input negations, of depth at most D D D and size at most 2 n A 2^{n^A} 2 n A . For the coupled pair ( X 0 , X 1 ) (X_0,X_1) ( X 0 , X 1 ) of § 4.2 ,
Pr [ F ( X 0 ) ≠ F ( X 1 ) ] ≤ 2 − c n . (1) \Pr[F(X_0) \ne F(X_1)] \le2^{-cn}. \tag*{(1)} Pr [ F ( X 0 ) = F ( X 1 )] ≤ 2 − c n . (1) In particular,
∣ E μ n , h , 1 F − E μ n , h , 0 F ∣ ≤ 2 − c n . \left|\mathbb{E}_{\mu_{n,h,1}}F-\mathbb{E}_{\mu_{n,h,0}}F\right| \le2^{-cn}. E μ n , h , 1 F − E μ n , h , 0 F ≤ 2 − c n . The bound on the coupled pair controls the probability that the value of F F F changes at all when the leaf changes, which is more than a bound on the difference of expectations. The proof uses only h 0 h_0 h 0 of the levels, so its constants do not depend on the full height h h h . Theorem 1.3 uses this uniformity in the height.
A polynomial-time oracle machine with k k k alternating polynomial-length quantifiers becomes, on the instance of one size, a circuit of depth k + 2 k+2 k + 2 and size 2 poly ( n ) 2^{\operatorname{poly}(n)} 2 poly ( n ) (§ 7.1 ). If it computed the root value on every valid instance, its expectations under μ n , h , 1 \mu_{n,h,1} μ n , h , 1 and μ n , h , 0 \mu_{n,h,0} μ n , h , 0 would differ by one, so Theorem 1.7 gives a valid instance on which it errs, and a diagonalization over all such machines constructs the oracle of Theorem 1.1 .
Theorem 1.7 is also a classical circuit lower bound for the recursive composition of the addressing function. Its switching argument uses the code family only through the degree bound of Definition 3.1 and does not require a quantum decoding algorithm. The tail bound for certificate complexity underlying the argument, Theorem 6.9 , is more general, since it applies to independent block projections satisfying a uniform sensitivity bound, without reference to quantum computation or to a specific code.
Beyond the Hadamard code. Every code family of Definition 3.1 can be used, including nonlinear families whose codewords are the shifts of a bent function, among them a family of degree three (Appendix § 11 ).
Noisy code tables. Errors in the code tables are also tolerated. Theorem 7.4 in § 7.4 gives, for instances in which every code table is within a fixed relative distance below 1 / 4 1/4 1/4 of a codeword, a bounded-error quantum algorithm and a public-coin proof system with completeness at least 0.99 0.99 0.99 , soundness error at most 0.01 0.01 0.01 , and polynomially many messages, while the circuit lower bound is unchanged. The promise concerns the table of code-child values at every node and not arbitrary corruption of the leaves, and the lower bound holds already for the exact instances, which satisfy the promise.
Related work
Table 1 lists the problems known to have classical proof systems with an efficient quantum honest prover and soundness against computationally unbounded provers. Problems in N P ∩ c o N P \mathrm{NP} \cap\mathrm{coNP} NP ∩ coNP whose witnesses a polynomial-time quantum algorithm can compute, such as the decision versions of factoring [Sho97], are verified by one message and lie in the polynomial hierarchy. Le Gall, Morimae, Nishimura, and Takeuchi [40 Theorem 1] gave a three-message protocol for computing the order of a solvable black-box group, a problem that Watrous [Wat01] solved in quantum polynomial time, and a two-message protocol when the prime factors of the order are given. Demarie, Ouyang, and Fitzsimons [24 ] and Morimae, Takeuchi, and Nishimura [48 ] gave one-message protocols for problems about quantum circuits with two basis changes, such as two layers of Hadamard gates, the second level of the Fourier hierarchy [Shi05]. McKague [46 ] gave a protocol with polynomially many messages for recursive Fourier sampling, the problem with which Bernstein and Vazirani [13 ] separated BQP from BPP relative to an oracle, and observed that it then lies outside MA relative to an oracle [46 Section 3] (see also [1 ] ). Whether it lies outside PH relative to an oracle, in the formulation that McKague verifies, is open. McKague [46 Section 1] records the conjecture that it does (see also [15 ] ), and Remscrim [54 Section 5.4] identified the circuit lower bound that is missing.
Two further results concern different models. Aaronson, Natarajan, Tal, and Villányi [4 ] gave a relativizing classical multiprover proof system for every problem in BQP, but its honest provers are not known to be efficient. Yamakawa and Zhandry [YZ22] gave a search problem, relative to a random oracle, whose solutions can be verified classically and can be found by quantum polynomial-time algorithms but not by classical probabilistic polynomial-time algorithms. Our result concerns a decision language verified by a single prover and excludes it from every level of P H O \mathrm{PH}^{O} PH O .
Oracle separations of quantum computation from the polynomial hierarchy come from a different line of work. Aaronson [2 ] introduced Fourier Checking, now called Forrelation, for this purpose, and Raz and Tal [51 ] proved BQP ⊈ \not\subseteq ⊆ PH relative to an oracle using a variant of it. Their separating language is decided with bounded error and is not known to have a classical proof system with an efficient quantum honest prover. Raz and Tal argue by Fourier analysis and a Gaussian approximation, and we argue by random projections and a switching argument, which is what allows a recursive construction with exactness, a proof system, and slowly growing message and query bounds. Bansal and Sinha [11 ] and Sherstov, Storozhenko, and Wu [58 ] obtained optimal separations between quantum and randomized query complexity, using k k k -fold Forrelation and a variant of it. Recursive Fourier sampling has exact quantum evaluation [13 ] . Hallgren and Harrow [33 ] generalized its recursion to other quantum circuits, and Rötteler [Rot10,
caption: tbl:1 : Classical verification without computational assumptions and with a single quantum prover. In every row the verifier is classical polynomial-time, the honest prover is a polynomial-time quantum algorithm, and soundness holds against every prover. Each row refers to the decision or promise version of the problem named in its first column, and the last column is the class from which that problem is proved to be excluded relative to an oracle. The shaded row is this paper.
:::
Theorems 6 and 8] to hidden shifts of bent functions, obtaining superpolynomial quantum-versus-classical query separations but no lower bounds against P H \mathrm{PH} PH . Green and Pruim [32 ] gave an oracle relative to which E Q P ⊈ P N P \mathrm{EQP}\not\subseteq\mathrm{P}^{\mathrm{NP}} EQP ⊆ P NP , and Watrous [Wat00] one relative to which B Q P ⊈ M A \mathrm{BQP}\not\subseteq\mathrm{MA} BQP ⊆ MA . Girish and Servedio [GS26, Theorem 4] proved an exact one-query separation from randomized queries for extremal Forrelation, whose Forrelation value is ± 1 \pm1 ± 1 , and conjectured that it is hard for constant-depth circuits [GS26, Conjecture 9]. Forrelation has also been used for oracle separations within the Fourier hierarchy [Shi05, Man26].
Aiello, Goldwasser, and Håstad [7 Corollary 8.4] separated, relative to an oracle, public-coin proof systems with f f f messages from those with g = o ( f ) g=o(f) g = o ( f ) messages for every polynomial-time computable f f f that is polynomially bounded, and we compare their result with ours after Corollary 1.5.
Techniques
At each recursive step, the same secret determines both the fixed codeword and the data entry left free. Our main technical contribution is a switching theorem for random projections with this dependence. The addressing function at one node is due to Chakraborty, Chattopadhyay, Mande, and Paraashar [21 Definition 16] . In recursive Fourier sampling the value of a node is the oracle bit at the recovered secret [13 Section 8.4] or g ( s ) g(s) g ( s ) for a fixed predicate g g g [46 ] . Here every data entry is the value of its own subtree, so the data table of a node is unconstrained by its code table, apart from the selected entry when the node’s value is prescribed. The lower bound uses this freedom, which recursive Fourier sampling with a fixed predicate lacks, through an auxiliary experiment with independently chosen secrets and data tables, conditioned on the selected entries (Claim 6.2 ). Structured and correlated random projections appear already in the depth hierarchy theorem of Håstad, Rossman, Servedio, and Tan [36 ] . The fixed codeword reveals the coordinate left free, so a single level can turn a CNF of small width into an AND of arbitrarily many free variables. Switching lemmas for independent restrictions [8 , 26 Yao85, 35 ] do not apply. The result of Meir and Wigderson [47 Proposition 1.7] allows an arbitrarily correlated distribution of the fixed values, but the set of fixed positions is chosen independently of those values, whereas here the free position and the fixed code bits are determined by the same secret. We control this dependence through an algebraic bound on the first satisfied term of a DNF, whose index is the DNF index function of Lovett and Zhang [41 Definition 1.10] , and an argument from sensitivity to certificates, followed by a truncated decision-tree construction from certificates [14 , 17 , 34 Tar89] , applied across several levels. The approximation is one-sided, with an error bound at each fixed assignment to the free variables, so the errors compose over a constant number of levels.
§ 2 outlines the proofs. § 3 to § 7 contain the definitions, the recursive problem, the quantum algorithm and the proof system, the circuit lower bound, and the proofs of the main theorems, and Appendices § 9 to § 11 treat noisy code tables, the message lower bound, and codes from bent functions.
Proof outline
We describe the construction with the Hadamard code. The lower-bound estimates also apply to the codes of degree d d d in Definition 3.1.
The problem and the distributions
A node hides a secret s ∈ F 2 m s \in\mathbb{F}_2^m s ∈ F 2 m (Figure 1 ). Its code table has entries L x = s ⋅ x L_x = s \cdot x L x = s ⋅ x , its data table R R R is unconstrained, and its value is R s R_s R s , the entry of the data table at the secret encoded by the code table. Every entry of both tables is itself the value of a node of smaller height, down to the leaves. Only the leaves are stored in the oracle. The input is promised to be valid, meaning that every code table is a codeword. The parameter n n n determines the dimensions, which decrease by a factor of sixteen per level towards the root, up to rounding to a multiple of eight, and the height satisfies
Figure 1. A node of the recursion with the Hadamard code. The node hides a secret s s s . Its code table is the codeword of s s s , and its value is the entry of its data table at s s s (the thick subtree). Every entry of both tables is the value of a smaller node, and only the leaves of the recursion are stored in the oracle.
h ≤ h max ( n ) = ⌊ log n / 8 ⌋ . h \le h_{\max}(n) = \lfloor\log n/8 \rfloor. h ≤ h m a x ( n ) = ⌊ log n /8 ⌋ .
At one node the random projection chooses a uniform secret, fixes its codeword and independent uniform values for the other data entries, and leaves R s R_s R s free. The free entry copies the value prescribed to the node, and the random choices do not depend on that value. We compose the independent projections of the nodes at a fixed level and below, which maps the vector z ∈ F 2 K z \in\mathbb{F}_2^K z ∈ F 2 K of node values at that level to the leaves, and each coordinate is copied to exactly one free leaf along a path of free children. The composed projection ρ \rho ρ is independent of the tree above that level and is defined on the whole cube F 2 k \mathbb{F}_2^k F 2 k , including vectors that are not the node values of a valid tree, and the coordinates of z z z are its free variables. We use the same projections for both root values, so that X b = ρ ( Z b ) X_b = \rho(Z_b) X b = ρ ( Z b ) , where Z b Z_b Z b is the vector of node values at that level under root value b b b , and Z 0 , Z 1 Z_0,Z_1 Z 0 , Z 1 differ in one coordinate while X 0 , X 1 X_0,X_1 X 0 , X 1 differ in one leaf (§ 4.2 ).
The quantum algorithm and the protocol
We evaluate a node with three recursive calls. The first call, to the code children in superposition, prepares the phase state of the codeword, and a Hadamard transform recovers ∣ s ⟩ |s\rangle ∣ s ⟩ . The second call, to the data child s s s , adds its value to the output, and a third call to the code children, after the inverse transform, uncomputes s s s . Each call returns its work registers to their initial states, so every call is clean in the sense of § 5.1 and can be made in superposition, and the recursion uses 3 h 3^h 3 h leaf queries (Theorem 5.1 ).
To verify a claim that a node of positive height has a given value, the prover sends a claimed secret, and the verifier recursively checks three fresh random code entries against the codeword of the claimed secret and the data entry at the claimed secret against the claimed value (Protocol 5.2). For a list of claims of one height, the prover sends all claimed secrets in one message before the verifier samples the challenges, which are independent for every entry, including repeated claims about the same node (Protocol 5.3).
The soundness argument conditions on the history and on the prover’s whole message of claimed secrets, after which the challenges are still fresh. A false claim with the right claimed secret has a false data claim among its children, and one with a wrong claimed secret has a number Y Y Y of false code claims among its children with the binomial distribution with parameters 3 and 1 / 2 1/2 1/2 , because distinct codewords differ in exactly half of the coordinates. Putting Y = 1 Y=1 Y = 1 in the first case, in both cases E [ 4 − Y ] ≤ max { 1 / 4 , ( 5 / 8 ) 3 } = 1 / 4 \mathbb{E}[4^{-Y}] \le\max\{1/4,(5/8)^3\}=1/4 E [ 4 − Y ] ≤ max { 1/4 , ( 5/8 ) 3 } = 1/4 , so by induction on the height the verifier, continued from a list with F F F false claims, accepts with probability at most 4 − F 4^{-F} 4 − F , with no dependence on the height. Two code checks would not suffice, since ( 5 / 8 ) 2 > 1 / 4 (5/8)^2>1/4 ( 5/8 ) 2 > 1/4 . The bound is conditional on the history, so it holds for every state of the prover’s memory (Claim 5.4 ). Batching by height gives a public-coin protocol with 2 h 2h 2 h messages and perfect completeness with the honest quantum prover (Theorem 5.5 ).
The constant-depth circuit lower bound
We prove that a circuit of constant depth and size 2 poly ( n ) 2^{\operatorname{poly}(n)} 2 poly ( n ) changes its output on the coupled pair ( X 0 , X 1 ) (X_0,X_1) ( X 0 , X 1 ) with probability at most 2 − Ω ( n ) 2^{-\Omega(n)} 2 − Ω ( n ) , once the height is at least a constant h 0 h_0 h 0 depending on the depth and the size exponent. We follow Håstad’s depth reduction [35 ] , which switches the bottom CNFs to DNFs, or DNFs to CNFs, under a projection, merges the new top gates with their parents, and repeats.
A rank bound for the first satisfied term of a DNF (Theorem 6.1 ) gives a one-sided term deletion that preserves every rejection (Claim 6.4), deletion gives the sensitivity bound (Theorem 6.5 ), sensitivity gives the tail bound for certificate complexity (Theorem 6.9 ), and the tail bound gives a switching theorem whose error is bounded at each fixed assignment (Theorem 6.15 ). Pointwise switching, with the input at each stage generated by the fresh projections of the levels above those already applied, gives the depth reduction and the coupling bound (Theorem 1.7 ). The main step is a switching theorem for the correlated projections, which shows that for every constant α \alpha α , applying the projections of ⌊ α ⌋ + 1 \lfloor\alpha\rfloor+1 ⌊ α ⌋ + 1 levels switches every CNF or DNF of width at most n α n^\alpha n α , with an error at each fixed input small enough to sum over all bottom gates.
The obstruction at one level. Carmosino, Hoover, Impagliazzo, Kabanets, and Kolokolova prove a blockwise switching lemma [20 Definition 9 and Lemmas 10 and 15] for restrictions that leave one free variable per block and fix the other coordinates independently and uniformly, and it does not apply to our correlated distribution. The following example shows that one projection level can leave the certificate complexity of an accepting input as large as the number of blocks, because a CNF can contain a clause for every possible secret, and the projection keeps exactly the clause of the true secret. For a node with the Hadamard code let
Γ ( L , R ) = ⋀ y ∈ F 2 m ( ⋁ i = 1 m [ L e i ≠ y i ] ∨ R y ) . \Gamma(L,R)=\bigwedge_{y\in\mathbb{F}_2^m}\left(\bigvee_{i=1}^{m}[L_{e_i}\ne y_i]\lor R_y\right). Γ ( L , R ) = y ∈ F 2 m ⋀ ( i = 1 ⋁ m [ L e i = y i ] ∨ R y ) .
where e i e_i e i are the unit vectors and [ P ] [P] [ P ] is the literal asserting P P P . The clause with y = s y=s y = s reduces to R s R_s R s and every other clause is true, so Γ \Gamma Γ has width m + 1 m+1 m + 1 and projects to the free variable with probability one, and K K K copies, one for each of K K K nodes, project to the AND of all K K K free variables, whose accepting input needs a certificate of size K K K . Every switching step therefore exposes several levels, that is, applies the projections of several consecutive levels at once.
A rank bound independent of the number of terms. We order the terms of a width-W W W DNF, and bound the probability that the first satisfied term, whose index is the DNF index function of Lovett and Zhang [41 Definition 1.10] , contains the free leaves of many nodes while testing few code entries of each of them. A node is light for a term if its free leaf occurs in the term and the term has at most t t t literals on the node’s code entries, its code literals. For one node, we fix a uniformly random data table first, including its entry at the secret, discard every term with a false data literal or a false literal on another node, and choose, for each remaining term with at most t t t code literals that is first satisfied at some secret, one such secret. If the code literals of term λ \lambda λ hold at the secret chosen for term ξ \xi ξ , then term λ \lambda λ is satisfied there, as its other literals hold under the fixed tables, and so comes no earlier than term ξ \xi ξ in the order. With the terms in order, the matrix M M M whose entry M λ ξ M_{\lambda\xi} M λ ξ indicates this is therefore lower triangular with ones on the diagonal, while each row evaluates a polynomial of degree at most d t dt d t in the secret, so that, for three terms,
M = ( 1 0 0 ∗ 1 0 ∗ ∗ 1 ) , number of rows of M = rank M ≤ ( m ≤ d t ) . M=\begin{pmatrix}1&0&0\\ *&1&0\\ *&*&1\end{pmatrix},\qquad\text{number of rows of }M=\operatorname{rank}M\le\binom{m}{\le dt}. M = 1 ∗ ∗ 0 1 ∗ 0 0 1 , number of rows of M = rank M ≤ ( ≤ d t m ) .
In words, at most ( m ≤ d t ) \binom{m}{\le dt} ( ≤ d t m ) terms, the dimension of the space of multilinear polynomials of degree at most d t dt d t in m m m variables, are first satisfied at some secret at which the node is light, and each of them at no more than W W W such secrets, as the free leaf is one of the at most W W W data leaves in the term. Theorem 6.1 bounds the probability that at least ℓ \ell ℓ of K K K independent nodes of dimension m m m are light for the first satisfied term, at any fixed assignment to the free variables, by
( K ℓ ) ( 2 W ℓ ) ℓ ( m ≤ d t ) ℓ 2 − m ℓ , \binom{K}{\ell}\binom{2W}{\ell}^{\ell}\binom{m}{\le dt}^{\ell}2^{-m\ell}, ( ℓ K ) ( ℓ 2 W ) ℓ ( ≤ d t m ) ℓ 2 − m ℓ ,
uniformly in the number of terms, where the factors correspond to the choice of the ℓ \ell ℓ nodes, to the secret tuples at which a given term is first satisfied, with a factor two per node for the prescribed data entry at the secret, to the possible first satisfied terms, and to the probability of a given tuple of secrets. The dimensions decrease geometrically towards the root, which keeps the number of nodes at a level small compared with the secret space F 2 m \mathbb{F}_2^m F 2 m , and for a sufficiently small constant fraction of m m m and polynomially bounded width the bound is exponentially small in m m m per light node (Claim 6.7 ).
Deletion and sensitivity. For an integer J J J , we delete every term for which more than J J J nodes are light and project the rest, which gives a DNF on the whole cube F 2 K \mathbb{F}_2^K F 2 K of width at most ⌊ W / ( t + 1 ) ⌋ + J \lfloor W/(t+1)\rfloor+J ⌊ W / ( t + 1 )⌋ + J . Every rejection is preserved, and acceptance at a fixed input is lost only when its first satisfied term is deleted (Claim 6.4).
Theorem 6.5 concerns r r r independent blocks, each a node with its descendants over j = ∣ α ∣ + 1 j=\lvert\alpha\rvert+1 j = ∣ α ∣ + 1 levels and with one free leaf (§ 4.2 ), and bounds the probability that a DNF of width at most W ≤ n α W\le n^\alpha W ≤ n α accepts the input generated by the blocks and is sensitive there to the free leaf of every block, that is, rejects when any one root value is flipped under the same projections. Term deletion at each of the j j j levels, with a threshold of about half of r r r on the number of light nodes in a term, preserves every rejection, loses acceptance with probability exponentially small in ν r \nu r ν r per level, and brings the width below r r r , so that no term contains all r r r changed leaves, and the bound is exponentially small in ν r \nu r ν r , where ν \nu ν is the dimension of the highest of the j j j levels.
From sensitivity to certificates. Theorem 6.9 turns the sensitivity bound into a tail bound for certificate complexity on the whole cube of assignments to the free variables. When the projection H = Ψ ∘ ρ H=\Psi\circ\rho H = Ψ ∘ ρ of a width-W W W CNF Ψ \Psi Ψ through these j j j levels accepts an assignment z z z without a 1-certificate of size at most q q q , there are disjoint sets of free variables of total size more than q q q such that flipping any one set falsifies a clause of Ψ \Psi Ψ , and hence H H H , whereas flipping any proper subset leaves H H H true. A coloring argument retains sets of total size at least ( q + 1 ) / ( 2 W + 1 ) (q+1)/(2W+1) ( q + 1 ) / ( 2 W + 1 ) whose witnessing original clauses avoid the blocks of all other retained sets. For each family of sets fixed in advance, we condition on the projections outside its union and form, for each set, the CNF of all original clauses avoiding the other sets, with the outside leaves substituted. The event that H H H accepts z z z without a small certificate and yields this family implies the sensitivity event of Theorem 6.5 for the negations of these fixed CNFs. These events involve disjoint blocks, so their probabilities multiply. A union bound over the families yields the tail bound for certificate complexity, with no factor for the number of clauses (§ 6.3 ). A truncated version of the decision-tree construction from certificates [14 , 17 , 34 Tar89] , which uses only certificates of size at most q q q (Claim 6.14 ), then gives a DNF of width polynomial in W W W and q q q that is at most H H H everywhere and differs from H H H at a fixed assignment with probability exponentially small in ν q / W \nu q/W ν q / W , and complementation gives the dual statement. This is the pointwise approximate switching of Theorem 6.15 .
Composition of pointwise errors. We put the circuit into alternating layers with bottom fan-in one, and at a stage with size at most 2 n α 2^{n^\alpha} 2 n α and bottom fan-in at most n α n^\alpha n α we expose ∣ α ∣ + 1 \lvert\alpha\rvert+1 ∣ α ∣ + 1 levels and choose the certificate bound q q q polynomially large, so that a union bound over all the gates controls the error of the stage. At a stage, three independent groups of projections determine the comparison. The levels below the stage fix the current formula, the levels of the stage give the replacement, and the levels above generate the input at which the replacement is compared with the projection of the current formula, so the errors at that input add over the gates and over the stages without conditioning on earlier successes (Claims 6.17 and 6.18 ). Switching and merging removes one layer, and the next stage has size at most 2 n α ′ 2^{n^{\alpha'}} 2 n α ′ and bottom fan-in at most n α ′ n^{\alpha'} n α ′ for a larger constant α ′ \alpha' α ′ , so a constant-depth circuit needs only a constant number h 0 h_0 h 0 of levels in total, independently of the remaining height, and the coupling bound is uniform for h 0 ≤ h ≤ h max ( n ) h_0\le h\le h_{\max}(n) h 0 ≤ h ≤ h m a x ( n ) . The last CNF or DNF has polynomial width, and the case r = 1 r=1 r = 1 of Theorem 6.5 , extended to taller blocks by Claim 6.8, makes it take the same value on its two inputs except with probability 2 − Ω ( n ) 2^{-\Omega(n)} 2 − Ω ( n ) (§ 6.5 ).
The oracle
We store the leaves of the instance with parameter n n n at addresses beginning with 1 n 0 1^{n}0 1 n 0 , and we enumerate the polynomial-time oracle predicates with every fixed number k k k of alternating polynomial-length quantifiers. At a fresh size n n n with h ( n ) ≥ h 0 h(n) \ge h_0 h ( n ) ≥ h 0 , we fix the other instances that the predicate can query to valid default trees. For every quantified tuple, the predicate is then an adaptive decision tree over the leaves of the instance of size n n n , and its accepting transcripts give an exact DNF of polynomial width and size 2 poly ( n ) 2^{\operatorname{poly}(n)} 2 poly ( n ) . The quantifiers become AND and OR gates, giving depth k + 2 k+2 k + 2 . Theorem 1.7 supplies a valid instance on which this circuit errs. We then fix every oracle address that the predicate can query within its time bound, so that later stages preserve the error. The unary language contains 1 n 1^n 1 n exactly when the instance of size n n n has root value one, and every stored instance is valid, so the quantum algorithm and the proof system apply at every length (§ 7.1 ). The construction for Theorem 1.6 adds stages for verifiers whose number of messages is capped at a fraction of the height, which § 2.5 describes.
The lower bound on the number of messages
Messages are counted as in § 3.1 . Sampling a complete tree of challenges of polynomial degree turns a public-coin protocol of a polynomial-time verifier with r r r rounds, each a challenge followed by a reply, into a two-message protocol with n O ( r ) n^{O(r)} n O ( r ) queries (Lemma B.3). For a two-message verifier and a fixed random string, some reply is accepted exactly when a DNF on the leaves of width at most the number of queries accepts, so a correct protocol gives such a DNF whose expectations under the two root values differ by at least 1 / 3 1/3 1/3 (Lemma B.2). Repeated width reduction, by Theorem 6.1 with a single light node and Claim 6.4 with deletion threshold zero at every level, so that every term with a light node is deleted, shows that a DNF that distinguishes the root values needs width n Ω ( h ) n^{\Omega(h)} n Ω ( h ) (Theorem B.1 ), so the number of messages of a correct protocol with a polynomial-time verifier is at least a constant fraction of h h h , with a constant depending on its time bound (Theorem B.4 ). Private coins are removed by the transformation of Goldwasser and Sipser [31 ] , and the oracle construction adds, for every verifier run under a polynomial clock, stages that store a valid instance on which its version cut off after a fraction of the height is not correct, so every proof system with that verifier exceeds the cap on infinitely many lengths (Theorem 1.6 ).
Acknowledgments and AI disclosure
We thank Matthew Coudron, Alexandru Gheorghiu, Dominik Hangleiter, and Ryan Sweke for extensive discussions of interactive proofs and oracle separations, and Umesh Vazirani for insightful examples involving the complement of Simon’s problem. These conversations deepened our understanding of classical verification in the oracle model. The construction grew from changes to recursive Fourier sampling that we proposed. Discussions with OpenAI models (GPT-6.1 Sol and GPT-6 Astra) helped us understand classical lower-bound techniques and contributed substantially to developing the proof of Theorem 1.7 , which underlies Theorem 1.1 , including expanding sketches of several claims into detailed arguments. These tools also assisted with the matching-interaction argument in Appendix § 10 . We subsequently revised and simplified the proofs to improve their clarity. Claude Opus assisted with drafting and revising the exposition. We take responsibility for the paper’s content. This work is supported by our faculty startup grant from Virginia Tech.
Preliminaries
Notation. F 2 \mathbb{F}_2 F 2 is the field with two elements and [ m ] = { 1 , … , m } [m] = \{1,\ldots,m\} [ m ] = { 1 , … , m } . Logarithms are to base two unless written ln \ln ln . The distance dist ( u , v ) \operatorname{dist}(u,v) dist ( u , v ) between two Boolean tables indexed by the same set is their relative Hamming distance, the fraction of positions at which they differ. For integers m ≥ 1 m \ge1 m ≥ 1 and t ≥ 0 t \ge0 t ≥ 0 ,
( m ≤ t ) = ∑ a = 0 min { m , t } ( m a ) \binom{m}{\le t}=\sum_{a=0}^{\min\{m,t\}}\binom{m}{a} ( ≤ t m ) = a = 0 ∑ m i n { m , t } ( a m )
is the number of subsets of [ m ] [m] [ m ] of size at most t t t , and also the dimension of the space of multilinear polynomials over F 2 \mathbb{F}_2 F 2 in m m m variables of degree at most t t t . For 0 < β ≤ 1 / 2 0 < \beta\le1/2 0 < β ≤ 1/2 we use the bound ( m ≤ ⌊ β m ⌋ ) ≤ 2 H 2 ( β ) m \binom{m}{\le\lfloor\beta m\rfloor} \le2^{H_2(\beta)m} ( ≤ ⌊ β m ⌋ m ) ≤ 2 H 2 ( β ) m , where H 2 ( β ) = − β log β − ( 1 − β ) log ( 1 − β ) H_2(\beta)=-\beta\log\beta-(1-\beta)\log(1-\beta) H 2 ( β ) = − β log β − ( 1 − β ) log ( 1 − β ) is the binary entropy function, and H 2 ( 1 / 16 ) < 0.34 H_2(1/16)<0.34 H 2 ( 1/16 ) < 0.34 .
For an integer n ≥ 1 n \ge1 n ≥ 1 let log ∗ n = min { k ≥ 0 : n ≤ T k } \log^* n=\min\{k \ge0:n \le T_k\} log ∗ n = min { k ≥ 0 : n ≤ T k } , where T 0 = 1 T_0=1 T 0 = 1 and T k + 1 = 2 T k T_{k+1}=2^{T_k} T k + 1 = 2 T k . It is computable in time polynomial in n n n by repeated bit-length computation, since starting from t = n t=n t = n and replacing t t t by ⌈ log t ⌉ \lceil\log t\rceil ⌈ log t ⌉ , the bit length of t − 1 t-1 t − 1 , while t ≥ 2 t \ge2 t ≥ 2 makes log ∗ n \log^* n log ∗ n replacements.
For independent random variables Y 1 , … , Y p Y_1,\ldots,Y_p Y 1 , … , Y p with values in [ 0 , 1 ] [0,1] [ 0 , 1 ] and δ > 0 \delta>0 δ > 0 , Hoeffding’s inequality [38 ] gives Pr [ ∑ i Y i − E ∑ i Y i ≥ δ p ] ≤ exp ( − 2 δ 2 p ) \Pr\left[\sum_iY_i-\mathbb{E}\sum_iY_i\ge\delta p\right]\le\exp(-2\delta^2p) Pr [ ∑ i Y i − E ∑ i Y i ≥ δ p ] ≤ exp ( − 2 δ 2 p ) , and the same bound for the lower tail.
Formulas and circuits. A literal is a variable or its negation. A term is a conjunction of literals and a clause is a disjunction of literals. The width of a term or a clause is its number of literals. A DNF is a disjunction of terms and a CNF is a conjunction of clauses. Its width is the maximum width of its terms or clauses, and its size is their number, which is unrestricted unless stated otherwise. An empty term is true and an empty clause is false. A DNF with no terms is false and a CNF with no clauses is true, and both have width zero.
We normalize a DNF by merging repeated literals in its terms and deleting every term that contains a variable together with its negation. We normalize a CNF by merging repeated literals in its clauses and deleting every clause that contains a variable together with its negation. After constants are substituted, we delete a term containing a false literal and delete true literals from the remaining terms, and dually we delete a clause containing a true literal and delete false literals from the remaining clauses.
A circuit consists of AND and OR gates of unbounded fan-in with negations at the inputs, and constants may also appear as inputs. Its depth is the number of gates on a longest path from an input to the output, and its size is the number of gates and wires. Counting only gates changes the exponent A A A of Theorem 1.7 by a constant factor (Claim 6.16 ). Circuits of constant depth and polynomial size are A C 0 \mathrm{AC}^0 AC 0 circuits. The circuits of Theorem 1.7 have constant depth and size 2 poly ( n ) 2^{\operatorname{poly}(n)} 2 poly ( n ) on 2 Θ ( n ) 2^{\Theta(n)} 2 Θ ( n ) inputs, which is quasi-polynomial in the number of inputs.
Decision trees and certificates. A decision tree over K K K variables queries one variable at each internal node and outputs a bit at each leaf. Its depth is the maximum number of queries on a root-to-leaf path. For a Boolean function H H H on F 2 K \mathbb{F}_2^K F 2 K and an input z z z with H ( z ) = 1 H(z)=1 H ( z ) = 1 , a 1-certificate of H H H at z z z is a set S ⊆ [ K ] S \subseteq[K] S ⊆ [ K ] such that H ( z ′ ) = 1 H(z')=1 H ( z ′ ) = 1 for every z ′ ∈ F 2 K z' \in\mathbb{F}_2^K z ′ ∈ F 2 K that agrees with z z z on S S S . The certificate complexity C 1 ( H , z ) C_1(H,z) C 1 ( H , z ) is the least size of a 1-certificate of H H H at z z z . The quantity C 0 ( H , z ) C_0(H,z) C 0 ( H , z ) for inputs with H ( z ) = 0 H(z)=0 H ( z ) = 0 is defined dually. Certificates are always taken on the whole cube F 2 K \mathbb{F}_2^K F 2 K . For background on decision trees and certificates see Buhrman and de Wolf [17 ] .
Projections. A projection ρ \rho ρ from variables z 1 , … , z K z_1,\ldots,z_K z 1 , … , z K to variables x 1 , … , x N x_1,\ldots,x_N x 1 , … , x N substitutes a constant in F 2 \mathbb{F}_2 F 2 or a variable z i z_i z i for every x j x_j x j . The z i z_i z i are its free variables. An input coordinate x j x_j x j mapped to one of them is free, and the other coordinates are fixed. An assignment z ∈ F 2 K z \in\mathbb{F}_2^K z ∈ F 2 K therefore gives the assignment ρ ( z ) ∈ F 2 N \rho(z) \in\mathbb{F}_2^N ρ ( z ) ∈ F 2 N . For a Boolean function F F F on F 2 N \mathbb{F}_2^N F 2 N , its projection is the function F ∘ ρ F \circ\rho F ∘ ρ on F 2 K \mathbb{F}_2^K F 2 K . A projected DNF, after normalization, is a DNF of the same or smaller width, and dually for a CNF. A random projection is a random variable with values in the projections. Random projections of this kind, which map every coordinate to a constant or to a variable, appear in the depth hierarchy theorem of Håstad, Rossman, Servedio, and Tan [36 ] .
Oracle classes and interactive proof systems
A classical Boolean oracle O O O is a function from binary strings to F 2 \mathbb{F}_2 F 2 . A query maps ∣ a ⟩ ∣ b ⟩ |a\rangle|b\rangle ∣ a ⟩ ∣ b ⟩ to ∣ a ⟩ ∣ b + O ( a ) ⟩ |a\rangle|b+O(a)\rangle ∣ a ⟩ ∣ b + O ( a )⟩ . A phase query maps ∣ a ⟩ |a\rangle ∣ a ⟩ to ( − 1 ) O ( a ) ∣ a ⟩ (-1)^{O(a)}|a\rangle ( − 1 ) O ( a ) ∣ a ⟩ and is implemented by one query with the answer register in the state ∣ − ⟩ |-\rangle ∣ − ⟩ . A uniform family of polynomial-size quantum circuits with oracle gates, over a fixed finite gate set containing the Hadamard, NOT, and Toffoli gates, decides a language L L L exactly if it accepts every string in L L L with probability one and every other string with probability zero. The class E Q P O \mathrm{EQP}^O EQP O consists of the languages decided exactly by such families [13 ] . The class B Q P O \mathrm{BQP}^O BQP O allows error probability at most 1 / 3 1/3 1/3 , and E Q P O ⊆ B Q P O \mathrm{EQP}^O \subseteq\mathrm{BQP}^O EQP O ⊆ BQP O . The gate set is closed under inverses and the oracle gate is its own inverse, so the inverse of a circuit is obtained by reversing the order of its gates and inverting each gate, and it has the same size.
For k ≥ 0 k \ge0 k ≥ 0 , the class Σ k p , O \Sigma_k^{p,O} Σ k p , O consists of languages of the form
{ w : ∃ y 1 ∀ y 2 ⋯ Q k y k [ V O ( w , y 1 , … , y k ) = 1 ] } , \left\{ w : \exists y_1\ \forall y_2\ \cdots Q_k y_k\left[V^O(w,y_1,\ldots,y_k)=1\right]\right\}, { w : ∃ y 1 ∀ y 2 ⋯ Q k y k [ V O ( w , y 1 , … , y k ) = 1 ] } ,
where V V V is a deterministic polynomial-time oracle machine, ∣ y i ∣ = p i ( ∣ w ∣ ) |y_i|=p_i(|w|) ∣ y i ∣ = p i ( ∣ w ∣ ) for polynomials p i p_i p i , and the k k k quantifiers alternate, starting with ∃ \exists ∃ . For k = 0 k=0 k = 0 there are no quantifiers. The class Π k p , O \Pi_k^{p,O} Π k p , O is defined with the quantifiers starting with ∀ \forall ∀ , and P H O \mathrm{PH}^O PH O is the union of all these classes [Sto76, Gol08]. The same classes are obtained from polynomial-time alternating oracle machines with k k k alternating phases, starting existentially and universally, respectively [22 ] .
An interactive proof system relative to O O O consists of a randomized polynomial-time verifier with query access to O O O that exchanges classical messages with a prover with query access to O O O and then accepts or rejects [30 , 9 ] . Communication takes place in alternating message slots, with either party allowed to speak first. Every slot counts as one message, including a slot containing the empty string. The number of messages on an input is the maximum number of slots over all provers and random strings. An empty initial challenge or final reply inserted solely to express a protocol in verifier-first stage notation is not transmitted and is not counted as a slot.
For public-coin proof systems we use the standard fixed-schedule form [9 , 10 ] , in which the verifier’s messages are independent uniformly random strings and their lengths and the alternating schedule are determined by the input. There is no additional private randomness. The final decision is a deterministic function of the transcript and the oracle answers. Since the verifier’s messages and schedule do not depend on oracle answers, its oracle queries and the computation of its decision may be deferred until the interaction ends. An early decision can be recorded while the remaining slots of the fixed schedule are completed, and these slots still count as messages.
The proof system has completeness c c c and soundness error s s s if some prover, the honest prover, makes the verifier accept every w ∈ L w \in L w ∈ L with probability at least c c c , while no prover, classical or quantum, makes it accept any w ∉ L w \notin L w ∈ / L with probability more than s s s . The honest prover is efficient if it is a uniform polynomial-time quantum algorithm with query access to O O O . Unless stated otherwise, completeness is at least 2 / 3 2/3 2/3 and soundness error at most 1 / 3 1/3 1/3 .
Conditional probabilities given a protocol history, that is, the transcript of the interaction so far, are taken only at histories of positive probability under the fixed oracle and prover strategy. Bounds on such conditional probabilities hold for every state of the prover’s private memory that is consistent with the history.
Codes with exact quantum decoders
The instances of § 4 use a code to hide a secret. Besides being efficiently computable, the code must have two properties. A quantum algorithm recovers the secret exactly from the phase state of the codeword (Definition 3.1), and every coordinate of the codeword is a polynomial of bounded degree in the secret. Exact decoding gives the quantum algorithm and the honest prover, and it implies the distance between codewords that the soundness proof uses. Bounded algebraic degree is used in the circuit lower bound.
Definition 3.1. Fix an integer d ≥ 1 d \ge1 d ≥ 1 . A code family of degree d d d is a sequence C = ( C m ) C=(C_m) C = ( C m ) of maps C m : F 2 m × F 2 m → F 2 C_m:\mathbb{F}_2^m \times\mathbb{F}_2^m \to\mathbb{F}_2 C m : F 2 m × F 2 m → F 2 , one for every positive multiple m m m of eight, with the following properties.
(i) The value C m ( s , x ) C_m(s,x) C m ( s , x ) is computable in time polynomial in m m m , uniformly in m m m .
(ii) For every x ∈ F 2 m x \in\mathbb{F}_2^m x ∈ F 2 m , the coordinate s ↦ C m ( s , x ) s \mapsto C_m(s,x) s ↦ C m ( s , x ) is a multilinear polynomial over F 2 \mathbb{F}_2 F 2 of degree at most d d d .
(iii) There is a uniform family of polynomial-size unitaries U m U_m U m , implemented exactly, together with their inverses, over the gate set of the definition of E Q P O \mathrm{EQPO} EQPO above, such that
U m ∣ C s ⟩ = ∣ s ⟩ , where ∣ C s ⟩ = 2 − m / 2 ∑ x ∈ F 2 m ( − 1 ) C m ( s , x ) ∣ x ⟩ . U_m|C_s\rangle=|s\rangle,\qquad\text{where}\qquad|C_s\rangle=2^{-m/2}\sum_{x\in\mathbb{F}_2^m}(-1)^{C_m(s,x)}|x\rangle. U m ∣ C s ⟩ = ∣ s ⟩ , where ∣ C s ⟩ = 2 − m /2 x ∈ F 2 m ∑ ( − 1 ) C m ( s , x ) ∣ x ⟩ . We call C m ( s , ⋅ ) C_m(s,\cdot) C m ( s , ⋅ ) the codeword of s s s and ∣ C s ⟩ |C_s\rangle ∣ C s ⟩ its phase state.
Since U m U_m U m maps the phase states of distinct secrets to orthogonal basis states, the phase states are orthogonal. The inner product of two phase states is 1 − 2 dist ( C m ( s , ⋅ ) , C m ( s ′ , ⋅ ) ) 1-2\operatorname{dist}(C_m(s,\cdot),C_m(s',\cdot)) 1 − 2 dist ( C m ( s , ⋅ ) , C m ( s ′ , ⋅ )) , so distinct codewords have distance exactly 1 / 2 1/2 1/2 , and in particular the code is injective.
The Hadamard code C m ( s , x ) = s ⋅ x C_m(s,x)=s\cdot x C m ( s , x ) = s ⋅ x has degree one and the decoder U m = H ⊗ m U_m=H^{\otimes m} U m = H ⊗ m . Appendix § 11 gives nonlinear examples of degree three, whose codewords are the shifts of a bent function.
For 0 ≤ η < 1 / 4 0\le\eta<1/4 0 ≤ η < 1/4 , the addressing function of the code with noise rate η \eta η is defined on pairs of tables L , R : F 2 m → F 2 L,R:\mathbb{F}_2^m\to\mathbb{F}_2 L , R : F 2 m → F 2 such that L L L is within distance η \eta η of the codeword of some secret s s s , and it takes the value
G m , η C ( L , R ) = R s . G^C_{m,\eta}(L,R)=R_s. G m , η C ( L , R ) = R s .
In words, it returns the entry of R R R at the secret s s s determined by L L L . The secret is unique, because distinct codewords have distance 1 / 2 > 2 η 1/2>2\eta 1/2 > 2 η . We write G m C G^C_m G m C for the exact case η = 0 \eta=0 η = 0 , in which L L L is a codeword. For the Hadamard code and η = 0 \eta=0 η = 0 this is the addressing function of Chakraborty, Chattopadhyay, Mande, and Paraashar [21 Definition 16] , in which a Hadamard codeword selects the address. Appendix § 11 expresses ( − 1 ) R s (-1)^{R_s} ( − 1 ) R s in this case as a 3-fold Forrelation in the sense of Aaronson and Ambainis [3 ] .
The recursive problem and the distributions
This section defines the trees, fixes their dimensions, and introduces the random projections and the coupled pair of instances on which the lower bound rests.
Trees and the promise
Fix a code family C C C of degree d d d (Definition 3.1 ). A tree of height zero is a single Boolean leaf, and its value is that bit. A tree of height j ≥ 1 j \ge1 j ≥ 1 consists of a node of some dimension m m m , a positive multiple of eight so that C m C_m C m is defined, together with 2 m 2^m 2 m code children indexed by x ∈ F 2 m x \in\mathbb{F}_2^m x ∈ F 2 m and 2 m 2^m 2 m data children indexed by y ∈ F 2 m y \in\mathbb{F}_2^m y ∈ F 2 m . Each child is a tree of height j − 1 j-1 j − 1 , and the children are disjoint. Every tree of height zero is valid, and a tree of height j ≥ 1 j \ge1 j ≥ 1 is valid if every child is valid and the table of code-child values, L x L_x L x for x ∈ F 2 m x \in\mathbb{F}_2^m x ∈ F 2 m , is the codeword of some secret s s s . We call L L L the code table of the node and the table R R R of data-child values, R y R_y R y for y ∈ F 2 m y \in\mathbb{F}_2^m y ∈ F 2 m , its data table. The data table is unconstrained, and the value of the node is R s R_s R s , that is, the addressing function G m C G_m^C G m C applied to the two tables of child values. Only the leaves are input coordinates. Since the code is injective, the leaves of a valid tree determine the values of all nodes and all secrets uniquely.
As a small illustration, we take a node of dimension m = 2 m=2 m = 2 and height one with the Hadamard code. If its secret is s = ( 1 , 0 ) s=(1,0) s = ( 1 , 0 ) , its code table is L 00 = L 01 = 0 L_{00}=L_{01}=0 L 00 = L 01 = 0 and L 10 = L 11 = 1 L_{10}=L_{11}=1 L 10 = L 11 = 1 , its value is the data leaf R 10 R_{10} R 10 , and the other three data leaves are unconstrained. A node of height two can have four code children and four data children of this form. Its code and data tables then consist of the values of those children. The dimension-two example only illustrates the construction, and the family below uses multiples of eight.
For n ≥ 1 n \ge1 n ≥ 1 let
h max ( n ) = ⌊ log n 8 ⌋ , m i = 8 ⌊ n 8 ⋅ 16 i ⌋ ( 0 ≤ i < h max ( n ) ) , (2) h_{\max}(n)=\left\lfloor\frac{\log n}{8}\right\rfloor,\qquad m_i=8\left\lfloor\frac{n}{8\cdot16^i}\right\rfloor\quad(0\le i<h_{\max}(n)), \tag*{(2)} h m a x ( n ) = ⌊ 8 log n ⌋ , m i = 8 ⌊ 8 ⋅ 1 6 i n ⌋ ( 0 ≤ i < h m a x ( n )) , (2)
so that h max ( n ) = 0 h_{\max}(n)=0 h m a x ( n ) = 0 for n < 256 n<256 n < 256 . An instance of size parameter n n n and height h h h , where 0 ≤ h ≤ h max ( n ) 0\le h\le h_{\max}(n) 0 ≤ h ≤ h m a x ( n ) , is a valid tree of height h h h in which nodes of height j j j have dimension m j − 1 m_{j-1} m j − 1 . An instance of height zero is a single leaf. We continue to say “size n n n ” for this parameter, although the table of leaf values itself has exponentially many bits when h ≥ 1 h\ge1 h ≥ 1 .
Theorem 1.1 uses the full height h = h max ( n ) h=h_{\max}(n) h = h m a x ( n ) , and Theorem 1.3 uses the heights h ( n ) h(n) h ( n ) of a height function. Throughout Sections 4 to 6, h h h denotes the height under consideration, and bounds are uniform in h ≤ h max ( n ) h\le h_{\max}(n) h ≤ h m a x ( n ) unless stated otherwise.
The dimensions are largest at the bottom and decrease towards the root. This keeps the length ((4) ) of a leaf address linear in n n n , and it makes the logarithm of the number of nodes at each level small compared with the dimension of that level, as ((6) ) shows. The factor sixteen is discussed after ((6) ), and the bound h ≤ h max ( n ) h\le h_{\max}(n) h ≤ h m a x ( n ) keeps every dimension at least 8 n 8\sqrt{n} 8 n .
The nodes just above the leaves have dimension m 0 ≥ n − 7 m_0\ge n-7 m 0 ≥ n − 7 . For h ≥ 1 h\ge1 h ≥ 1 the root has dimension m h − 1 ≥ 8 ⌊ 2 n ⌋ ≥ 8 n m_{h-1}\ge8\lfloor2\sqrt{n}\rfloor\ge8\sqrt{n} m h − 1 ≥ 8 ⌊ 2 n ⌋ ≥ 8 n , since 16 h − 1 ≤ n / 16 16^{h-1}\le\sqrt{n}/16 1 6 h − 1 ≤ n /16 . For every fixed i i i , m i = Θ ( n ) m_i=\Theta(n) m i = Θ ( n ) with constants depending on i i i and not on h h h . More precisely, m i ≤ n / 16 i < m i + 8 m_i\le n/16^i<m_i+8 m i ≤ n /1 6 i < m i + 8 , so for 0 ≤ v < i < h max ( n ) 0\le v<i<h_{\max}(n) 0 ≤ v < i < h m a x ( n ) and 0 ≤ v < h ′ ≤ h max ( n ) 0\le v<h'\le h_{\max}(n) 0 ≤ v < h ′ ≤ h m a x ( n ) ,
m i ≤ m v + 8 16 i − v and ∑ i = v + 1 h ′ − 1 ( m i + 1 ) ≤ m v + 8 15 + h ′ − v − 1. (3) m_i\le\frac{m_v+8}{16^{i-v}}\qquad\text{and}\qquad\sum_{i=v+1}^{h'-1}(m_i+1)\le\frac{m_v+8}{15}+h'-v-1. \tag*{(3)} m i ≤ 1 6 i − v m v + 8 and i = v + 1 ∑ h ′ − 1 ( m i + 1 ) ≤ 15 m v + 8 + h ′ − v − 1. (3)
A leaf is addressed by the path from the root. At a node of dimension m i m_i m i , one bit says whether to descend into a code child or a data child, and m i m_i m i bits give the index of the child. Hence the address of a leaf has length
a ( n ) = ∑ i < h ( m i + 1 ) ≤ 16 n 15 + h < 2 n , (4) a(n)=\sum_{i<h}(m_i+1)\le\frac{16n}{15}+h<2n, \tag*{(4)} a ( n ) = i < h ∑ ( m i + 1 ) ≤ 15 16 n + h < 2 n , (4)
since m i ≤ n / 16 i m_i\le n/16^i m i ≤ n /1 6 i and h ≤ log n / 8 h\le\log n/8 h ≤ log n /8 , and the number of leaves is 2 a ( n ) 2^{a(n)} 2 a ( n ) . The length a ( n ) a(n) a ( n ) depends on h h h , which we suppress from the notation.
In the promise problem of size n n n and height h h h , the input is a table of 2 a ( n ) 2^{a(n)} 2 a ( n ) bits indexed by the leaf addresses. The promise is that it is the leaf table of an instance of size n n n and height h h h , and the answer is the value of the root.
Random projections and the coupled pair
For a single node of dimension m m m , its random projection chooses a uniformly random secret S ∈ F 2 m S \in\mathbb{F}_2^m S ∈ F 2 m and fixes every code entry to L x = C m ( S , x ) L_x = C_m(S,x) L x = C m ( S , x ) . It fixes every data entry R y R_y R y with y ≠ S y \ne S y = S to an independent uniformly random bit, and it maps R S R_S R S to a free variable z z z . The secret selects the data child S S S , which we call the free child of the node. The coordinate R S R_S R S , which carries the value of this child, is the free leaf of the node. It is the only free coordinate of the projection in the sense of § 3 , and Claim 4.1 (d) shows that a block of several levels, defined below, also has exactly one free leaf. The projection is sampled independently of z z z , and either value of z z z gives a valid node of value z z z . The projection fixes everything about the node except the value of its free child, and the fixed code coordinates determine the secret and hence the position of the free child. This correlation between the fixed coordinates and the position of the free leaf sets these projections apart from random restrictions that fix the other coordinates independently (§ 2.3 ).
We number the levels of an instance from the bottom. The nodes of dimension m i m_i m i form level i i i , for 0 ≤ i < h 0 \le i < h 0 ≤ i < h , and the leaves form level − 1 -1 − 1 , so that a node at level i i i has height i + 1 i+1 i + 1 . The random projections at all nodes of the instance are independent, and ρ i \rho_i ρ i applies those at the nodes of level i i i simultaneously. Let N i N_i N i be the number of nodes at level i i i . The projection ρ i \rho_i ρ i maps the vector of node values at level i i i to the vector of node values at level i − 1 i-1 i − 1 . It fixes the children of every node at level i i i as described and copies the value of the node into its free child. The composition
X b = ρ 0 ( ρ 1 ( ⋯ ρ h − 1 ( b ) ⋯ ) ) , b ∈ { 0 , 1 } , (5) X_b = \rho_0\left(\rho_1\left(\cdots\rho_{h-1}(b)\cdots\right)\right), \qquad b \in\{0,1\}, \tag*{(5)} X b = ρ 0 ( ρ 1 ( ⋯ ρ h − 1 ( b ) ⋯ ) ) , b ∈ { 0 , 1 } , (5)
is a random leaf table, and μ n , h , b \mu_{n,h,b} μ n , h , b is its distribution. The table X b X_b X b is the leaf table of an instance with root value b b b , since every node is valid by construction and the free child of every node carries the value of the node. Using the same projections ρ 0 , … , ρ h − 1 \rho_0,\ldots,\rho_{h-1} ρ 0 , … , ρ h − 1 for both values of b b b gives the coupled pair ( X 0 , X 1 ) (X_0,X_1) ( X 0 , X 1 ) , whose marginals are μ n , h , 0 \mu_{n,h,0} μ n , h , 0 and μ n , h , 1 \mu_{n,h,1} μ n , h , 1 .
For integers u ≥ 0 u \ge0 u ≥ 0 and j ≥ 1 j \ge1 j ≥ 1 with u + j ≤ h u+j \le h u + j ≤ h , a node at level u + j − 1 u+j-1 u + j − 1 together with its descendants at the levels u + j − 2 , … , u − 1 u+j-2,\ldots,u-1 u + j − 2 , … , u − 1 is a block of height j j j with dimensions m u , … , m u + j − 1 m_u,\ldots,m_{u+j-1} m u , … , m u + j − 1 , and its leaves are its descendants at level u − 1 u-1 u − 1 .
Claim 4.1. The random projections have the following properties.
(a) The tables X 0 X_0 X 0 and X 1 X_1 X 1 of the coupled pair differ in exactly one leaf, the leaf reached from the root by descending into the free child at every level. All secrets and all other leaves coincide.
(b) For 0 ≤ v ≤ h 0 \le v \le h 0 ≤ v ≤ h , let Z b = ρ v ∘ ⋯ ∘ ρ h − 1 ( b ) Z_b = \rho_v \circ\cdots\circ\rho_{h-1}(b) Z b = ρ v ∘ ⋯ ∘ ρ h − 1 ( b ) be the vector of node values at level v − 1 v-1 v − 1 generated from the root value b b b , and let ρ < v = ρ 0 ∘ ⋯ ∘ ρ v − 1 \rho_{<v} = \rho_0 \circ\cdots\circ\rho_{v-1} ρ < v = ρ 0 ∘ ⋯ ∘ ρ v − 1 , the identity for v = 0 v=0 v = 0 . Then X b = ρ < v ( Z b ) X_b = \rho_{<v}(Z_b) X b = ρ < v ( Z b ) , and the projections ρ 0 , … , ρ v − 1 \rho_0,\ldots,\rho_{v-1} ρ 0 , … , ρ v − 1 , and hence ρ < v \rho_{<v} ρ < v , are independent of ρ v , … , ρ h − 1 \rho_v,\ldots,\rho_{h-1} ρ v , … , ρ h − 1 and therefore of the pair ( Z 0 , Z 1 ) (Z_0,Z_1) ( Z 0 , Z 1 ) .
(c) Each ρ i \rho_i ρ i is defined on every z ∈ F 2 N i z \in\mathbb{F}_2^{N_i} z ∈ F 2 N i , whether or not z z z is the vector of node values of a valid tree. Consequently, for 0 ≤ v ≤ h 0 \le v \le h 0 ≤ v ≤ h , F ∘ ρ < v F \circ\rho_{<v} F ∘ ρ < v is a function on the whole cube F 2 N v − 1 \mathbb{F}_2^{N_{v-1}} F 2 N v − 1 for every Boolean function F F F on the leaves.
(d) For a block of height j j j with dimensions m u , … , m u + j − 1 m_u,\ldots,m_{u+j-1} m u , … , m u + j − 1 , the random projections of its nodes compose to a projection with exactly one free leaf, and this projection is independent of the value prescribed to the root of the block. The two values of the root give a pair of inputs of the block that differ in that leaf. Fixing z ∈ F 2 N u + j − 1 z \in\mathbb{F}_2^{N_{u+j-1}} z ∈ F 2 N u + j − 1 leaves independent blocks rooted at level u + j − 1 u+j-1 u + j − 1 with prescribed root values, one for each coordinate of z z z .
Proof. For (c), the projection of a node does not depend on the value prescribed to the node. The value is only copied into the free child, whose position is determined by the secret. Hence ρ i \rho_i ρ i is defined on every z ∈ F 2 N z \in\mathbb{F}_2^N z ∈ F 2 N , whether or not z z z is the vector of node values of a valid tree. It fixes the children of every node at level i i i as described and copies the coordinate of z z z at that node into its free child. The same holds for ρ < v \rho_{<v} ρ < v , which gives (c).
For (a), the same observation shows that changing the root value changes only the values copied along the path of free children from the root, hence only the leaf at the end of that path, which carries the root value.
For (b), the projections ρ 0 , … , ρ h − 1 \rho_0,\ldots,\rho_{h-1} ρ 0 , … , ρ h − 1 are chosen independently, so ρ < v \rho_{<v} ρ < v is independent of ( ρ v , … , ρ h − 1 ) (\rho_v,\ldots,\rho_{h-1}) ( ρ v , … , ρ h − 1 ) . The pair ( Z 0 , Z 1 ) (Z_0,Z_1) ( Z 0 , Z 1 ) is a function of the latter, since it is obtained by applying ρ h − 1 , … , ρ v \rho_{h-1},\ldots,\rho_v ρ h − 1 , … , ρ v to the two root values, and X b = ρ < v ( Z b ) X_b=\rho_{<v}(Z_b) X b = ρ < v ( Z b ) by (5) .
For (d), the argument for (a) applied to a block shows that the projections of its nodes fix every leaf off the path of free children from its root to a constant. The composed projection therefore has exactly one free leaf, the end of that path, which carries the root value, and the two root values give inputs that differ exactly there. The blocks rooted at level u + j − 1 u+j-1 u + j − 1 are independent because the projections of distinct nodes are independent. □
The number of nodes at level v v v , for 0 ≤ v ≤ h − 1 0 \le v \le h-1 0 ≤ v ≤ h − 1 , is
N v = 2 ∑ i = v + 1 h − 1 ( m i + 1 ) , log N v ≤ m v 15 + log n 8 , (6) N_v = 2^{\sum_{i=v+1}^{h-1}(m_i+1)}, \qquad\log N_v \le\frac{m_v}{15}+\frac{\log n}{8}, \tag*{(6)} N v = 2 ∑ i = v + 1 h − 1 ( m i + 1 ) , log N v ≤ 15 m v + 8 log n , (6)
because every node at a level i > v i>v i > v has 2 m i + 1 2^{m_i+1} 2 m i + 1 children, namely 2 m i 2^{m_i} 2 m i code children and 2 m i 2^{m_i} 2 m i data children. By (3) with h ′ = h h'=h h ′ = h and v ≥ 0 v \ge0 v ≥ 0 , the exponent is at most ( m v + 8 ) / 15 + h − v − 1 ≤ m v / 15 + h − 7 / 15 (m_v+8)/15+h-v-1 \le m_v/15+h-7/15 ( m v + 8 ) /15 + h − v − 1 ≤ m v /15 + h − 7/15 , and h ≤ log n / 8 h \le\log n/8 h ≤ log n /8 gives the bound in (6) , which does not depend on h h h . We also write N − 1 = 2 a ( n ) N_{-1}=2^{a(n)} N − 1 = 2 a ( n ) for the number of leaves.
The factor sixteen between consecutive dimensions is chosen for the lower bound. By (6) , a level of dimension m v m_v m v has at most 2 m v / 15 + log n / 8 2^{m_v/15+\log n/8} 2 m v /15 + l o g n /8 nodes, and the number of nodes of a level within a block is bounded in the same way by (3) , up to an additive O ( log n ) O(\log n) O ( log n ) in the exponent. The union bound of Theorem 6.1 , as applied in Claim 6.7 , multiplies a bound of about 2 − ( 1 − H 2 ( 1 / 16 ) ) m v 2^{-(1-H_2(1/16))m_v} 2 − ( 1 − H 2 ( 1/16 )) m v for each node whose free leaf occurs in the first satisfied term together with few code literals of that node (a light block, § 6.1 ) by this number. The 1 / 16 1/16 1/16 inside H 2 H_2 H 2 comes from the threshold on code literals in that claim, not from the ratio of the dimensions. The union bound of Theorem 6.9 , applied in the proof of Theorem 6.15 , multiplies the bound 2 − m v / 4 2^{-m_v/4} 2 − m v /4 of Theorem 6.5 for each block by the square of this number. Both products are exponentially small in m v m_v m v .
Exact quantum evaluation and classical verification
We first give an exact quantum algorithm, then the recursive verification protocol, and finally the form of the protocol batched by height, which Theorems 1.1 and 1.3 use.
The exact quantum algorithm
We fix a code family of Definition 3.1 and consider valid trees with the dimensions (2) . A quantum algorithm for a tree is clean if it adds the value of the tree to an output qubit and returns all of its work registers to their initial states, which is achieved by uncomputation [12 ] . A clean algorithm can be called in superposition over several subtrees. The address of a child is the address of its parent node followed by a bit, 0 for a code child and 1 for a data child, and the index of the child. Thus w 0 x w0x w 0 x is the code child x x x and w 1 y w1y w 1 y the data child y y y of the node with address w w w . The algorithms below keep the address of the current node in a register that they never modify.
Theorem 5.1. There is a uniform clean quantum algorithm that, on every valid tree of height j j j , computes the value of the tree exactly with 3 j 3^j 3 j queries to the leaves and in time 3 j poly ( n , j ) 3^j\operatorname{poly}(n,j) 3 j poly ( n , j ) .
Proof. For j = 0 j=0 j = 0 one query adds the leaf to the output qubit. Let A j − 1 \mathcal{A}_{j-1} A j − 1 be the clean algorithm for height j − 1 j-1 j − 1 , and consider a node of dimension m m m at height j j j with secret s s s . Prepare a uniform superposition over x ∈ F 2 m x \in\mathbb{F}_2^m x ∈ F 2 m in a fresh register and a phase ancilla in the state ∣ − ⟩ \lvert-\rangle ∣ − ⟩ . Call A j − 1 \mathcal{A}_{j-1} A j − 1 on the code child x x x in superposition, with this ancilla as output qubit. Adding a bit c c c to an ancilla in the state ∣ − ⟩ \lvert-\rangle ∣ − ⟩ multiplies the state by ( − 1 ) c (-1)^c ( − 1 ) c , so the call multiplies branch x x x by ( − 1 ) C m ( s , x ) (-1)^{C_m(s,x)} ( − 1 ) C m ( s , x ) . Because A j − 1 \mathcal{A}_{j-1} A j − 1 is clean, on every branch its work registers return to their initial states and the ancilla returns to ∣ − ⟩ \lvert-\rangle ∣ − ⟩ , so the branches differ only in this phase. The register storing x x x therefore holds the phase state ∣ C s ⟩ \lvert C_s\rangle ∣ C s ⟩ , which U m U_m U m maps to ∣ s ⟩ \lvert s\rangle ∣ s ⟩ by Definition 3.1 (iii). If the work registers kept information about x x x , this register would be entangled with them and U m U_m U m would not in general return ∣ s ⟩ \lvert s\rangle ∣ s ⟩ .
Now call A j − 1 \mathcal{A}_{j-1} A j − 1 on the data child s s s with the node’s output qubit, adding R s R_s R s to it. Apply U m − 1 U_m^{-1} U m − 1 and call A j − 1 \mathcal{A}_{j-1} A j − 1 on the code children again with the phase ancilla. This call removes the code phases. Finally reverse the preparation of the uniform superposition and of the phase ancilla. Every work register returns to its initial state, and the node’s address is unchanged, so the algorithm is clean.
There are three child calls per node, hence 3 j 3^j 3 j leaf queries. The recursion expands into fewer than 2 ⋅ 3 j 2 \cdot3^j 2 ⋅ 3 j calls, with polynomial additional work per recursive call, which gives the time bound. At each height the same uniformly generated circuit works for every node, with its address supplied in the preserved register. □ \square □
For the Hadamard code with m = 2 m=2 m = 2 and the secret s = ( 1 , 0 ) s=(1,0) s = ( 1 , 0 ) of § 4.1 , the phase query turns the uniform superposition into 1 2 ( ∣ 00 ⟩ + ∣ 01 ⟩ − ∣ 10 ⟩ − ∣ 11 ⟩ ) = ∣ − ⟩ ∣ + ⟩ \frac{1}{2}(\lvert00\rangle+\lvert01\rangle-\lvert10\rangle-\lvert11\rangle)=\lvert-\rangle\lvert+\rangle 2 1 (∣ 00 ⟩ + ∣ 01 ⟩ − ∣ 10 ⟩ − ∣ 11 ⟩) = ∣ − ⟩ ∣ + ⟩ , and H ⊗ H H\otimes H H ⊗ H maps this state to ∣ 10 ⟩ = ∣ s ⟩ \lvert10\rangle=\lvert s\rangle ∣ 10 ⟩ = ∣ s ⟩ .
Recursive verification
A claim ( w , b ) (w,b) ( w , b ) asserts that the node with address w w w has value b b b . The empty address names the root. Both parties know the size parameter, the height and dimensions of the instance, the fixed code family, and the claim. They query the same leaf table. The verifier’s queries are classical, and the honest quantum prover may query in superposition. All messages are classical.
The current claim, the order of recursive calls, and the message lengths are determined by these public parameters and the transcript. No separate requests or node addresses are sent. The protocol follows the recursive secret-checking protocol of McKague [46 ] , with one additional recursive check for the data entry.
Protocol 5.2 (Recursive verification).
Input. A claim ( w , b ) (w,b) ( w , b ) in a valid instance. Both parties have oracle access to the leaves as described above.
Leaf check. If w w w is a leaf, the verifier queries it and accepts if and only if the answer is b b b .
Prover to verifier. Otherwise, let m m m be the dimension of w w w . The prover sends the m m m -bit string s s s claimed to be its secret. The verifier retains s s s for all subsequent checks.
Code checks. Three times in sequence, the verifier samples a fresh uniformly random x ∈ F 2 m x \in\mathbb{F}_2^m x ∈ F 2 m and sends it to the prover. The parties run this protocol recursively on the claim that code child w 0 x w0x w 0 x has value C m ( s , x ) C_m(s,x) C m ( s , x ) , a code claim.
Data check. The parties run this protocol recursively on the claim that data child w 1 s w1s w 1 s has value b b b , the data claim.
Decision. The verifier accepts if and only if all four recursive checks accept. All four checks are executed in the prescribed order, including after a failed check.
Messages must have the prescribed format and length, and otherwise the verifier rejects.
When consecutive challenges of the verifier are not separated by a message of the prover, as for the three code checks of a claim of height one, the verifier sends them in one message, so that the messages alternate as in § 3.1 . Protocol 5.2 makes the four checks of a claim one after the other, so a claim about a node of height j ≥ 1 j \ge1 j ≥ 1 takes Θ ( 4 j ) \Theta(4^j) Θ ( 4 j ) messages. Theorems 1.1 and 1.3 use the form of the protocol batched by height, which the next subsection gives. We analyze soundness there, through one invariant for lists of claims (Claim 5.4 ). Appendix § 9 modifies Protocol 5.2 for noisy code tables and analyzes the modified protocol there.
Verification batched by height
The checks of all claims about nodes of the same height can be made at once. The prover sends a claimed secret for every claim on a list in one message, and the verifier answers with all challenges in one message. The list of claims about the next height is determined by the transcript. Revealing the challenges of all claims at once gives the prover more information than it has in Protocol 5.2, so the soundness analysis controls all false claims on a list jointly, through an invariant on the number of false claims (Claim 5.4 ).
Protocol 5.3 (Verification batched by height).
Input. A claim ( w , b ) (w,b) ( w , b ) about a node of height j j j in a valid instance. Both parties have the same public parameters and oracle access to the leaves as in Protocol 5.2.
Initialization. Form an ordered list containing just ( w , b ) (w,b) ( w , b ) . Throughout, repeated claims about the same node are kept as separate entries.
For the heights j , j − 1 , … , 1 j,j-1,\ldots,1 j , j − 1 , … , 1 in turn, let m m m be the common dimension of the nodes on the current list and perform the following.
Prover to verifier. In one message, the prover sends an m m m -bit claimed secret s s s for every entry ( w ′ , b ′ ) (w',b') ( w ′ , b ′ ) , in list order. The complete message is received before any challenges for this height are sampled.
Verifier to prover. For every entry, the verifier samples three fresh independent uniformly random strings x 1 , x 2 , x 3 ∈ F 2 m x_1,x_2,x_3 \in\mathbb{F}_2^m x 1 , x 2 , x 3 ∈ F 2 m . It sends all triples in one message, in list order. Different entries receive independent triples even when they refer to the same node.
Next list. Both parties replace each entry ( w ′ , b ′ ) (w',b') ( w ′ , b ′ ) , with its secret s s s and challenge triple, by the four claims
( w ′ 0 x 1 , C m ( s , x 1 ) ) , ( w ′ 0 x 2 , C m ( s , x 2 ) ) , ( w ′ 0 x 3 , C m ( s , x 3 ) ) , ( w ′ 1 s , b ′ ) , (w'0x_1,C_m(s,x_1)),\quad(w'0x_2,C_m(s,x_2)),\quad(w'0x_3,C_m(s,x_3)),\quad(w'1s,b'), ( w ′ 0 x 1 , C m ( s , x 1 )) , ( w ′ 0 x 2 , C m ( s , x 2 )) , ( w ′ 0 x 3 , C m ( s , x 3 )) , ( w ′ 1 s , b ′ ) ,
in this order.
Final check. When the list consists of leaves, the verifier queries every entry and accepts if and only if every claimed value matches the leaf value. At height zero this is the only check.
Messages must have the prescribed format and length, and otherwise the verifier rejects.
Both parties compute the list after every message from the transcript, so the verifier sends only random bits and the proof system is public-coin. The soundness analysis bounds the probability that the verifier accepts, when the protocol is continued from a list, in terms of the number of false claims on the list.
Claim 5.4 (Joint soundness for lists of claims). Fix a valid tree and j ≥ 0 j \ge0 j ≥ 0 . Consider any list of claims about nodes of height j j j on which F F F claims are false, any prover, classical or quantum, that exchanges classical messages with the verifier, and any history of the interaction before the list is processed. Then the conditional probability, given this history, that Protocol 5.3, continued from this list, accepts is at most 4 − F 4^{-F} 4 − F .
Proof. We use induction on j j j . At height zero the verifier accepts exactly when no leaf claim is false, so the conditional probability is 0 0 0 when F ≥ 1 F \ge1 F ≥ 1 and 1 = 4 0 1 = 4^0 1 = 4 0 when F = 0 F = 0 F = 0 .
Let j ≥ 1 j \ge1 j ≥ 1 . A malformed message is rejected, so we may assume that the prover’s message gives a claimed secret for every entry on the list, and we condition on the history and on this entire message. The verifier samples the challenges afterwards, so they remain independent and uniform under this conditioning. This is where the order of the messages in Protocol 5.3 is used.
For each false claim e = ( w ′ , b ′ ) e = (w', b') e = ( w ′ , b ′ ) on the list, we define a lower bound Y e Y_e Y e on the number of false claims among its four child claims. Let s s s be the claimed secret of this entry and s ∗ s^* s ∗ the true secret of the node w ′ w' w ′ . If s = s ∗ s = s^* s = s ∗ , the data claim ( w ′ 1 s ∗ , b ′ ) (w'1s^*, b') ( w ′ 1 s ∗ , b ′ ) is false, because the value of the node is R s ∗ ≠ b ′ R_{s^*} \ne b' R s ∗ = b ′ , and we put Y e = 1 Y_e = 1 Y e = 1 . If s ≠ s ∗ s \ne s^* s = s ∗ , we let Y e Y_e Y e be the number of false claims among the three code claims. The codewords of s s s and s ∗ s^* s ∗ differ in exactly half of the coordinates (§ 3.2 ), so each code claim is false with probability exactly 1 / 2 1/2 1/2 , and Y e Y_e Y e has the binomial distribution with parameters 3 3 3 and 1 / 2 1/2 1/2 . The variables Y e Y_e Y e depend on disjoint sets of fresh challenges, so they are independent given the claimed secrets, even for claims about the same node.
Let F ′ F' F ′ be the number of false claims on the new list. Child claims remain separate entries, so F ′ F' F ′ is at least the sum of the Y e Y_e Y e . For every fixed outcome of the challenges, the induction hypothesis, applied to the new list and the history extended by the two messages of this height, bounds the conditional acceptance probability by 4 − F ′ 4^{-F'} 4 − F ′ , and 4 − F ′ ≤ ∏ e 4 − Y e 4^{-F'} \le\prod_e 4^{-Y_e} 4 − F ′ ≤ ∏ e 4 − Y e , with the product over the false claims e e e of the current list. Taking the expectation over the challenges, and using the independence of the Y e Y_e Y e , we obtain
Pr [ accept ∣ history , claimed secrets ] ≤ ∏ e E [ 4 − Y e ] . \Pr[\text{accept} \mid\text{history},\ \text{claimed secrets}] \le\prod_e \mathbb{E}[4^{-Y_e}]. Pr [ accept ∣ history , claimed secrets ] ≤ e ∏ E [ 4 − Y e ] .
When s = s ∗ s = s^* s = s ∗ , the factor E [ 4 − Y e ] \mathbb{E}[4^{-Y_e}] E [ 4 − Y e ] is 1 / 4 1/4 1/4 . When s ≠ s ∗ s \ne s^* s = s ∗ , the three code claims are false independently with probability 1 / 2 1/2 1/2 each, so the factor is ( ( 1 + 1 / 4 ) / 2 ) 3 = ( 5 / 8 ) 3 = 125 / 512 < 1 / 4 ((1 + 1/4)/2)^3 = (5/8)^3 = 125/512 < 1/4 (( 1 + 1/4 ) /2 ) 3 = ( 5/8 ) 3 = 125/512 < 1/4 . Hence the product is at most 4 − F 4^{-F} 4 − F . Averaging over the claimed secrets gives the claim for every fixed history. The conditioning on the claimed secrets is legitimate for a quantum prover because its messages are classical. The induction hypothesis covers every continuation strategy and every state of the prover’s private memory, so no independence between the prover’s answers to different claims is assumed.
We use three code checks because the inductive step requires ( 5 / 8 ) k ≤ 1 / 4 (5/8)^k \le1/4 ( 5/8 ) k ≤ 1/4 , where k k k is the number of code checks. This holds for k = 3 k = 3 k = 3 and fails for k = 2 k = 2 k = 2 , since ( 5 / 8 ) 2 = 25 / 64 (5/8)^2 = 25/64 ( 5/8 ) 2 = 25/64 .
Theorem 5.5. Let the tree be an instance of size n n n . Let the honest prover be the uniform quantum algorithm that obtains every secret it sends by running the algorithm of Theorem 5.1 for the node up to its application of the decoder U m U_m U m and measuring the register that holds ∣ s ⟩ |s\rangle ∣ s ⟩ . On a claim about a node of height j j j , Protocol 5.3 has the following properties.
(i) It accepts every true claim with probability one when the prover is honest.
(ii) For every false claim and every prover, classical or quantum, that exchanges classical messages with the verifier, it accepts with probability at most 1 / 4 1/4 1/4 .
(iii) It is public-coin, and the verifier and the prover exchange 2 j 2j 2 j messages, j j j from each party. The prover sends fewer than n ⋅ 4 j / 3 n \cdot4^j/3 n ⋅ 4 j /3 bits in total and the verifier fewer than n ⋅ 4 j n \cdot4^j n ⋅ 4 j random bits. The verifier makes at most 4 j 4^j 4 j leaf queries and runs in time 4 j poly ( n , j ) 4^j\operatorname{poly}(n,j) 4 j poly ( n , j ) .
(iv) The honest prover makes 4 j − 3 j 4^j-3^j 4 j − 3 j leaf queries and runs in time 4 j poly ( n , j ) 4^j\operatorname{poly}(n,j) 4 j poly ( n , j ) .
Proof. For (i), the secrets of the honest prover are correct, because the algorithm of Theorem 5.1 is exact. If a claim ( w ′ , b ′ ) (w',b') ( w ′ , b ′ ) is true and s s s is the true secret of w ′ w' w ′ , then every child claim is true, since the code child x x x has value C m ( s , x ) C_m(s,x) C m ( s , x ) and the data child s s s has value b ′ b' b ′ . Hence every claim on every list is true, and the final queries accept. Part (ii) is Claim 5.4 with F = 1 F=1 F = 1 , applied to the initial list and the empty history.
For (iii), the list at height j − i j-i j − i has 4 i 4^i 4 i entries, each of dimension m j − i − 1 ≤ n m_{j-i-1}\le n m j − i − 1 ≤ n when i < j i<j i < j . The prover sends one message at each positive height, of 4 i m j − i − 1 4^i m_{j-i-1} 4 i m j − i − 1 bits, so the total is at most n ∑ i < j 4 i = n ( 4 j − 1 ) / 3 < n ⋅ 4 j / 3 n\sum_{i<j}4^i=n(4^j-1)/3<n\cdot4^j/3 n ∑ i < j 4 i = n ( 4 j − 1 ) /3 < n ⋅ 4 j /3 . Each verifier message has three times as many random bits as the prover’s message preceding it. There is one message from each party at each of the heights j , … , 1 j,\ldots,1 j , … , 1 , and the protocol is public-coin by the remark after Protocol 5.3. The verifier makes at most 4 j 4^j 4 j leaf queries. Computing C m ( s , x ) C_m(s,x) C m ( s , x ) and handling addresses of length O ( n ) O(n) O ( n ) gives its time bound.
For (iv), recovering a secret at height j ′ j' j ′ uses one call of the algorithm of Theorem 5.1 for height j ′ − 1 j'-1 j ′ − 1 on the code children, followed by U m U_m U m and a measurement, so it uses 3 j ′ − 1 3^{j'-1} 3 j ′ − 1 leaf queries. There are 4 j − j ′ 4^{j-j'} 4 j − j ′ entries at height j ′ j' j ′ . The total is
∑ j ′ = 1 j 4 j − j ′ 3 j ′ − 1 = 4 j − 3 j . \sum_{j'=1}^{j}4^{j-j'}3^{j'-1}=4^j-3^j. j ′ = 1 ∑ j 4 j − j ′ 3 j ′ − 1 = 4 j − 3 j .
Each computation has only polynomial overhead per leaf query, so the total running time, including setup, is 4 j poly ( n , j ) 4^j\operatorname{poly}(n,j) 4 j poly ( n , j ) .
For an instance of size n n n and height h h h , a claim about the root is verified with 2 h ≤ log n / 4 2h\le\log n/4 2 h ≤ log n /4 messages.
The constant-depth circuit lower bound
This section proves Theorem 1.7 . § 6.1 bounds, by a rank argument, the probability that the first satisfied term of a DNF contains the free leaves of many blocks while testing few code bits of each of them. § 6.2 turns this into a bound on the probability that a DNF accepts an input and is sensitive there to the free leaf of every block. § 6.3 derives a tail bound for certificate complexity, § 6.4 the switching theorem, and § 6.5 the depth reduction and the coupling bound.
A rank bound for the first satisfied term
Theorem 6.1 bounds the probability that the first satisfied term of a DNF contains the free leaves of many blocks and few code literals of each of them. Its proof counts secrets by a rank argument. (Claim 6.3).
In Theorem 6.1 and Claims 6.2 to 6.4, a block is a single node of dimension m m m with its own random projection, hence a block of height one in the sense of § 4.2 . We consider K K K independent blocks, a DNF Φ \Phi Φ on their leaves, and a fixed value z ∈ F 2 K z \in\mathbb{F}_2^K z ∈ F 2 K of the free variables, the free values of the blocks, and write ρ \rho ρ for their joint projection, so that ρ ( z ) \rho(z) ρ ( z ) is the input with these prescribed values.
We normalize Φ \Phi Φ (§ 3 ) and give its terms a fixed order, indexing them by distinct integers. At an accepting input we consider the first satisfied term. Its index is the value of the DNF index function of Lovett and Zhang [41 Definition 1.10] , and we study this term under the random projections, whose code tables determine the positions of the free leaves. For a block of height one, a code literal is a literal on one of its code children and a data literal is a literal on one of its data children. Fix an integer t ≥ 0 t \ge0 t ≥ 0 . We say that a block is light for a term if the term contains the block’s free leaf and at most t t t code literals in that block. The secret determines which leaf is free, so the set of light blocks depends on ρ \rho ρ .
For a single term T T T of width at most W W W , the event that T T T contains the free leaf of a given block has probability at most W 2 − m W2^{-m} W 2 − m . This holds because the free leaf is the data leaf at the uniformly random secret and T T T contains at most W W W data leaves of the block. The number of terms of Φ \Phi Φ is not bounded, so a union bound over all terms is not useful. Theorem 6.1 considers only the first satisfied term. In the auxiliary experiment of Claim 6.2 below, we fix the data tables of ℓ \ell ℓ chosen blocks, including the entries at the secrets, and the projections and free values of all other blocks. In this experiment the free leaf of a chosen block is still its data leaf at the secret, but the bit there is fixed by the table, so changing the secret changes which leaf is free and leaves every entry of the table unchanged. The rank argument in the proof of Claim 6.3 shows that at most ( m ≤ d t ) ℓ \binom{m}{\le dt}^{\ell} ( ≤ d t m ) ℓ terms are the first satisfied term at some secret tuple at which all ℓ \ell ℓ chosen blocks are light for it, independently of the number of terms of Φ \Phi Φ .
Theorem 6.1 (Light blocks in the first satisfied term). Let Φ \Phi Φ be a DNF of width at most W W W on K K K independent blocks of dimension m m m with a code family of degree d d d , let t ≥ 0 t \ge0 t ≥ 0 be an integer, and let z ∈ F 2 K z \in\mathbb{F}_2^K z ∈ F 2 K . For every integer 1 ≤ ℓ ≤ W 1 \le\ell\le W 1 ≤ ℓ ≤ W ,
Pr ρ [ Φ ( ρ ( z ) ) = 1 and at least ℓ blocks are light for the first satisfied term ] ≤ ( K ℓ ) ( 2 W ℓ ) ( m ≤ d t ) ℓ 2 − m ℓ . (7) \Pr_{\rho}\left[\Phi(\rho(z))=1\text{ and at least }\ell\text{ blocks are light for the first satisfied term}\right] \le\binom{K}{\ell}\binom{2W}{\ell}\binom{m}{\le dt}^{\ell}2^{-m\ell}. \tag*{(7)} ρ Pr [ Φ ( ρ ( z )) = 1 and at least ℓ blocks are light for the first satisfied term ] ≤ ( ℓ K ) ( ℓ 2 W ) ( ≤ d t m ) ℓ 2 − m ℓ . (7) If ℓ > K \ell> K ℓ > K the event is empty.
The proof has two parts. Claim 6.2 replaces the projections of ℓ \ell ℓ chosen blocks by an experiment in which their data tables are uniformly random, at the cost of a factor 2 ℓ 2^\ell 2 ℓ . Claim 6.3 bounds, for fixed data tables, the number of secret tuples at which the ℓ \ell ℓ chosen blocks are light for the first satisfied term.
Claim 6.2. Fix a set I I I of ℓ \ell ℓ blocks, and fix the projections and the free values of all other blocks. Consider the experiment in which every block of I I I receives a uniformly random secret and a uniformly random data table, all independent, and its code table is the codeword of its secret. In this experiment the data entry at the secret is sampled uniformly, without being constrained to equal the prescribed free value.
Conditioned on the event that in every block of I I I the data entry at the secret equals the value prescribed by z z z , the experiment has the law of the random projections of the blocks of I I I with free values z z z . The conditioning event has probability exactly 2 − ℓ 2^{-\ell} 2 − ℓ . Hence, for every event E E E that is determined by the secrets of the blocks of I I I and by the resulting input,
Pr p r o j e c t i o n s [ E ] ≤ 2 ℓ Pr e x p e r i m e n t [ E ] . \Pr_{\mathrm{projections}}[E] \le2^\ell\Pr_{\mathrm{experiment}}[E]. projections Pr [ E ] ≤ 2 ℓ experiment Pr [ E ] . Proof. Given the secrets, the data entries at the secrets are independent uniform bits, so the conditioning event has probability 2 − ℓ 2^{-\ell} 2 − ℓ . Conditioning leaves the secrets uniform and all other data entries independent and uniform, which gives the projection law. The inequality follows from conditional probability. It compares probabilities after averaging over the data tables and does not assert the inequality for each fixed table.
Claim 6.3 (Counting secret tuples by rank). In the experiment of Claim 6.2 , fix the data tables f = ( f i ) i ∈ I f=(f_i)_{i\in I} f = ( f i ) i ∈ I of the blocks of I I I , where f i : F 2 m → F 2 f_i:\mathbb{F}_2^m\to\mathbb{F}_2 f i : F 2 m → F 2 . Let P ( f ) P(f) P ( f ) be the set of secret tuples τ = ( τ i ) i ∈ I \tau=(\tau_i)_{i\in I} τ = ( τ i ) i ∈ I for which Φ \Phi Φ accepts the resulting input and every block of I I I is light for the first satisfied term. Then
∣ P ( f ) ∣ ≤ ( W ℓ ) ℓ ⏟ tuples with a given first satisfied term ( m ≤ d t ) ℓ ⏟ possible first satisfied terms . |P(f)| \le\underbrace{\left(\frac{W}{\ell}\right)^\ell}_{\text{tuples with a given first satisfied term}}\underbrace{\left(\frac{m}{\le dt}\right)^\ell}_{\text{possible first satisfied terms}}. ∣ P ( f ) ∣ ≤ tuples with a given first satisfied term ( ℓ W ) ℓ possible first satisfied terms ( ≤ d t m ) ℓ . Proof. We partition P ( f ) P(f) P ( f ) according to the index λ \lambda λ of the first satisfied term T λ T_\lambda T λ , and bound the size of each class and then the number of classes.
Let τ \tau τ be in the class of λ \lambda λ and let i ∈ I i\in I i ∈ I . The free leaf of block i i i is its data leaf with index τ i \tau_i τ i , which carries the bit f i ( τ i ) f_i(\tau_i) f i ( τ i ) . Since block i i i is light for T λ T_\lambda T λ , the term T λ T_\lambda T λ contains this leaf, so τ i \tau_i τ i is one of the indices of data leaves of block i i i that occur in T λ T_\lambda T λ . If T λ T_\lambda T λ contains k i k_i k i data literals of block i i i , the class of λ \lambda λ therefore has at most ∏ i ∈ I k i \prod_{i\in I} k_i ∏ i ∈ I k i elements. Since ∑ i ∈ I k i ≤ W \sum_{i\in I} k_i\le W ∑ i ∈ I k i ≤ W , the inequality between the arithmetic and the geometric means gives
∏ i ∈ I k i ≤ ( W ℓ ) ℓ . \prod_{i\in I} k_i\le\left(\frac{W}{\ell}\right)^\ell. i ∈ I ∏ k i ≤ ( ℓ W ) ℓ . To count the classes, we choose a representative τ λ \tau_\lambda τ λ in every nonempty class and write every code literal of a term in a block of I I I as a triple ( i , x , β ) (i,x,\beta) ( i , x , β ) , which asserts that the code entry L x L_x L x of block i i i equals the bit β \beta β . For an index λ \lambda λ let
g λ ( τ ) = ∏ ( i , x , β ) ( 1 + C m ( τ i , x ) + β ) , g_\lambda(\tau)=\prod_{(i,x,\beta)}\left(1+C_m(\tau_i,x)+\beta\right), g λ ( τ ) = ( i , x , β ) ∏ ( 1 + C m ( τ i , x ) + β ) , where the product is over the code literals of T λ T_\lambda T λ in the blocks of I I I . Each factor is the indicator, over F 2 \mathbb{F}_2 F 2 , that its literal holds. Thus g λ ( τ ) = 1 g_\lambda(\tau)=1 g λ ( τ ) = 1 exactly when all these code literals hold. With the data tables and the leaves of the blocks outside I I I fixed, only the code tables in I I I vary with τ \tau τ . We form the matrix M λ ξ = g λ ( τ ξ ) M_{\lambda\xi}=g_\lambda(\tau_\xi) M λ ξ = g λ ( τ ξ ) on the nonempty classes. Its diagonal entries are one, since T λ T_\lambda T λ is satisfied at τ λ \tau_\lambda τ λ .
If M λ ξ = 1 M_{\lambda\xi}=1 M λ ξ = 1 , the code literals of T λ T_\lambda T λ in I I I hold at τ ξ \tau_\xi τ ξ . Its data literals hold at its representative τ λ \tau_\lambda τ λ and keep the same values at τ ξ \tau_\xi τ ξ because the tables f f f are fixed. Its literals on blocks outside I I I also keep their values, because those leaves are fixed. Thus T λ T_\lambda T λ is satisfied at τ ξ \tau_\xi τ ξ , where T ξ T_\xi T ξ is the first satisfied term, so ξ ≤ λ \xi\le\lambda ξ ≤ λ . With classes ordered by index, M M M is lower triangular with diagonal one and has linearly independent rows over F 2 \mathbb{F}_2 F 2 .
Each row of M M M evaluates its function g λ g_\lambda g λ at the representatives. A linear relation among these functions would give the same relation among the rows. Their number is therefore at most the dimension of a function space containing them.
Every factor has degree at most d d d in its secret, by Definition 3.1 (ii), and every block in I I I has at most t t t code literals in T λ T_\lambda T λ . The product has degree at most d t dt d t in each secret τ i \tau_i τ i . Reducing powers by τ i , a 2 = τ i , a \tau_{i,a}^2=\tau_{i,a} τ i , a 2 = τ i , a gives the multilinear polynomial that agrees with it on Boolean inputs, which preserves its values there and does not increase the degree in any τ i \tau_i τ i . These multilinear polynomials lie in the space of multilinear polynomials of degree at most d t dt d t in each τ i \tau_i τ i , which is spanned by the products of one monomial of degree at most d t dt d t in each τ i \tau_i τ i and has dimension ( ( m ≤ d t ) ) ℓ \left(\binom{m}{\le dt}\right)^\ell ( ( ≤ d t m ) ) ℓ . This bounds the number of classes.
Proof of Theorem 6.1 . If at least ℓ \ell ℓ blocks are light for the first satisfied term, then there is a set I I I of ℓ \ell ℓ blocks that are all light for the first satisfied term. Fix I I I , and fix the projections and the free values of the other blocks. By Claim 6.2 , the probability under the projections that every block of I I I is light for the first satisfied term is at most 2 ℓ 2^\ell 2 ℓ times its probability in the experiment. In the experiment the secret tuple is uniform on ( F 2 m ) I (\mathbb{F}_2^m)^I ( F 2 m ) I and independent of the data tables f f f , so the latter probability equals
E f [ ∣ P ( f ) ∣ 2 m ℓ ] ≤ ( W ℓ ) ℓ ( ( m ≤ d t ) ) ℓ 2 − m ℓ , \mathbb{E}_f\left[\frac{|P(f)|}{2^{m\ell}}\right]\leq\left(\frac{W}{\ell}\right)^\ell\left(\binom{m}{\leq dt}\right)^\ell2^{-m\ell}, E f [ 2 m ℓ ∣ P ( f ) ∣ ] ≤ ( ℓ W ) ℓ ( ( ≤ d t m ) ) ℓ 2 − m ℓ ,
where the inequality is Claim 6.3 . The bound holds for every value of the projections of the blocks outside I I I , hence after averaging over them, and summing over the ( K ℓ ) \binom{K}{\ell} ( ℓ K ) choices of I I I gives (7) . No conditioning on the identity of the first satisfied term or on acceptance was used.
Term deletion and sensitivity to the free leaves
For an integer J ≥ 0 J \geq0 J ≥ 0 , we delete every term for which more than J J J blocks are light and project the remaining terms. Deleting whole terms preserves every rejection on the entire cube of free values, and it can lose acceptance at a fixed input only by deleting the first satisfied term there. Claim 6.4 bounds the width of the result, and Theorem 6.1 with ℓ = J + 1 \ell=J+1 ℓ = J + 1 bounds the probability of this loss when J + 1 ≤ W J+1 \leq W J + 1 ≤ W . When J + 1 > W J+1>W J + 1 > W , no term is deleted, since a term for which more than J J J blocks are light would contain the free leaves of more than J J J distinct blocks and so would have width more than W W W .
Claim 6.4 (Term deletion and width reduction). In the setting of Theorem 6.1 , fix an integer J ≥ 0 J \geq0 J ≥ 0 . Let Φ ρ \Phi_\rho Φ ρ be the DNF on z z z obtained from Φ \Phi Φ by deleting every term for which more than J J J blocks are light and projecting the remaining terms by ρ \rho ρ . Then, for every outcome of ρ \rho ρ and simultaneously for all z ∈ F 2 K z \in\mathbb{F}_2^K z ∈ F 2 K ,
Φ ρ − ( z ) ≤ Φ ( ρ ( z ) ) and width ( Φ ρ − ) ≤ ⌊ W t + 1 ⌋ + J . \Phi_\rho^-(z) \leq\Phi(\rho(z)) \qquad\text{and}\qquad\operatorname{width}(\Phi_\rho^-) \leq\left\lfloor\frac{W}{t+1}\right\rfloor+J. Φ ρ − ( z ) ≤ Φ ( ρ ( z )) and width ( Φ ρ − ) ≤ ⌊ t + 1 W ⌋ + J .
The DNF Φ ρ − \Phi_\rho^- Φ ρ − is determined by Φ \Phi Φ and ρ \rho ρ and does not depend on z z z . If Φ ( ρ ( z ) ) = 1 \Phi(\rho(z))=1 Φ ( ρ ( z )) = 1 and Φ ρ − ( z ) = 0 \Phi_\rho^-(z)=0 Φ ρ − ( z ) = 0 , then more than J J J blocks are light for the first satisfied term of Φ \Phi Φ at ρ ( z ) \rho(z) ρ ( z ) .
Proof. Deleting whole terms can only turn acceptance into rejection, and projection preserves each retained term’s value. For the width, consider a retained term whose projection is satisfiable. Its remaining literals are on free variables. Distinct literals belong to distinct blocks, because each block has only one free leaf and the term is normalized. At most J J J of these blocks are light. Every other such block contributes at least t + 1 t+1 t + 1 original code literals, on disjoint coordinates across blocks, so there are at most ⌊ W / ( t + 1 ) ⌋ \lfloor W/(t+1)\rfloor ⌊ W / ( t + 1 )⌋ of them.
The deletion rule uses the secrets and original term supports, not z z z . If the first satisfied term at ρ ( z ) \rho(z) ρ ( z ) is retained, its projected term is still satisfied at z z z , proving the final assertion.
Now let the blocks be trees of several levels. Consider r r r independent blocks with prescribed root values, generated by their random projections, and let X X X be the resulting leaf table. For 1 ≤ i ≤ r 1 \le i \le r 1 ≤ i ≤ r , let X ( i ) X^{(i)} X ( i ) be the leaf table in which block i i i alone is generated from the opposite root value, with the same projections. By Claim 4.1 (d), X X X and X ( i ) X^{(i)} X ( i ) differ in exactly one leaf, the free leaf of block i i i . A block of height zero is a single coordinate carrying its prescribed value. For a DNF Φ \Phi Φ on the leaves of the blocks, we consider the event
Φ ( X ) = 1 and Φ ( X ( i ) ) = 0 for all 1 ≤ i ≤ r , (8) \Phi(X)=1 \quad\text{and}\quad\Phi(X^{(i)})=0 \quad\text{for all }1 \le i \le r, \tag*{(8)} Φ ( X ) = 1 and Φ ( X ( i ) ) = 0 for all 1 ≤ i ≤ r , (8)
that Φ \Phi Φ accepts X X X and is sensitive at X X X to the free leaf of every block, in the usual sense of the sensitivity of a Boolean function to a coordinate [23 , 50 ] . If the width of Φ \Phi Φ is less than r r r , this event is empty, since a term satisfied at X X X must contain, for every i i i , the leaf at which X ( i ) X^{(i)} X ( i ) differs from X X X , and these r r r leaves are distinct. § 6.3 applies Theorem 6.5 below to negated CNFs. When a projected CNF accepts an input without a small 1-certificate, flipping all coordinates of any one of certain disjoint sets falsifies it, while flipping all but one coordinate of that set does not (Claims 6.11 and 6.13 ).
Theorem 6.5 (Sensitivity to every block). Fix a code family of degree d d d , a level u ≥ 0 u \ge0 u ≥ 0 , and an exponent α ≥ 0 \alpha\ge0 α ≥ 0 , all independent of n n n , and put j = ⌊ α ⌋ + 1 j=\lfloor\alpha\rfloor+1 j = ⌊ α ⌋ + 1 and ν = m u + j − 1 \nu=m_{u+j-1} ν = m u + j − 1 . For all sufficiently large n n n , every DNF of width at most W W W on the leaves of r r r independent blocks of height j j j with dimensions m u , … , m u + j − 1 m_u,\ldots,m_{u+j-1} m u , … , m u + j − 1 , where 1 ≤ r ≤ W ≤ n α 1 \le r \le W \le n^\alpha 1 ≤ r ≤ W ≤ n α , accepts X X X and is sensitive at X X X to the free leaf of every block with probability at most 2 − ν r / 4 2^{-\nu r/4} 2 − ν r /4 , uniformly over the prescribed root values of the blocks.
The dimensions m u , … , m u + j − 1 m_u,\ldots,m_{u+j-1} m u , … , m u + j − 1 are defined when u + j ≤ h max ( n ) u+j \le h_{\max}(n) u + j ≤ h m a x ( n ) , and the height of an instance that contains the blocks plays no role. All thresholds on n n n depend only on u u u , α \alpha α , and d d d .
The proof exposes the levels of the blocks from the bottom up and applies Theorem 6.1 and Claim 6.4 at every level. Throughout the proof, r r r counts the original blocks of height j j j . At step p < j p<j p < j , let K p K_p K p be the total number of nodes at level u + p u+p u + p in these r r r trees. The two results are applied to these K p K_p K p nodes, each regarded as a block of height one and dimension m u + p m_{u+p} m u + p .
The thresholds are
J = ⌊ r / 2 ⌋ , ℓ = J + 1 , t i = ⌊ m i / ( 16 d ) ⌋ ( u ≤ i < u + j ) . J=\lfloor r/2\rfloor,\qquad\ell=J+1,\qquad t_i=\lfloor m_i/(16d)\rfloor\quad(u\le i<u+j). J = ⌊ r /2 ⌋ , ℓ = J + 1 , t i = ⌊ m i / ( 16 d )⌋ ( u ≤ i < u + j ) .
where t i t_i t i is the value of t t t in the definition of light blocks at the level of dimension m i m_i m i . The threshold J J J is the maximum number of light blocks allowed in a retained term, and ℓ = J + 1 \ell=J+1 ℓ = J + 1 is the first number that triggers deletion. Choosing $J=\lfloor r/2\rfloor leaves the final width below r r r (Claim 6.6 ). A deleted first satisfied term has at least ℓ \ell ℓ light blocks, and ℓ > r / 2 \ell>r/2 ℓ > r /2 , so Claim 6.7 bounds the probability of losing acceptance at each level by $2^{-(7/25)\nu r}$.
Write Φ 0 = Φ \Phi_0=\Phi Φ 0 = Φ . For 0 ≤ p < j 0\le p<j 0 ≤ p < j , let Φ p + 1 \Phi_{p+1} Φ p + 1 be the DNF ( Φ p ) ρ ‾ u + p (\Phi_p)_{\overline{\rho}_{u+p}} ( Φ p ) ρ u + p of Claim 6.4, applied to the K p K_p K p blocks of height one with t = t u + p t=t_{u+p} t = t u + p and deletion threshold J J J . Here ρ u + p \rho_{u+p} ρ u + p denotes the independent projections at that level in the forest of the r r r original trees.
For every 0 ≤ p ≤ j 0\le p\le j 0 ≤ p ≤ j , the domain of Φ p \Phi_p Φ p consists of the node values at level u + p − 1 u+p-1 u + p − 1 . In particular, Φ j \Phi_j Φ j is a DNF on the r r r root values. The terms of each Φ p \Phi_p Φ p inherit the order and the indices of the terms of Φ \Phi Φ . A literal of Φ p \Phi_p Φ p on the free leaf of a block at level u + p u+p u + p survives the projection as a literal on the value of that block’s root node, and at the next step this node is itself a code child or a data child of its parent and its literal is classified accordingly.
To track the widths, we define the width bounds W 0 = W W_0=W W 0 = W and
W p + 1 = ⌊ W p t u + p + 1 ⌋ + J ( 0 ≤ p < j ) , W_{p+1}=\left\lfloor\frac{W_p}{t_{u+p}+1}\right\rfloor+J \qquad(0\le p<j), W p + 1 = ⌊ t u + p + 1 W p ⌋ + J ( 0 ≤ p < j ) ,
so that width ( Φ p ) ≤ W p \operatorname{width}(\Phi_p)\le W_p width ( Φ p ) ≤ W p for all p ≤ j p\le j p ≤ j by Claim 6.4.
Claim 6.6. For all sufficiently large n n n , uniformly in 1 ≤ r ≤ W ≤ n α 1\le r\le W\le n^\alpha 1 ≤ r ≤ W ≤ n α , we have W p ≤ W W_p\le W W p ≤ W for all p ≤ j p\le j p ≤ j and W j < r W_j<r W j < r . For r = 1 r=1 r = 1 , W j = 0 W_j=0 W j = 0 .
Proof. For fixed u u u , j j j , and d d d , each t u + p + 1 t_{u+p}+1 t u + p + 1 is Θ ( n ) \Theta(n) Θ ( n ) , so their product over p < j p<j p < j is Θ ( n j ) \Theta(n^j) Θ ( n j ) , and each is at least four for large n n n . Unwinding the recurrence,
W j ≤ W ∏ p < j ( t u + p + 1 ) + J ( 1 + 1 4 + 1 16 + ⋯ ) ≤ O ( n α − j ) + 4 3 J ≤ O ( n α − j ) + 2 3 r , W_j\le\frac{W}{\prod_{p<j}(t_{u+p}+1)}+J\left(1+\frac14+\frac1{16}+\cdots\right)\le O(n^{\alpha-j})+\frac43J\le O(n^{\alpha-j})+\frac23r, W j ≤ ∏ p < j ( t u + p + 1 ) W + J ( 1 + 4 1 + 16 1 + ⋯ ) ≤ O ( n α − j ) + 3 4 J ≤ O ( n α − j ) + 3 2 r , and O ( n α − j ) < r / 3 O(n^{\alpha-j})<r/3 O ( n α − j ) < r /3 for large n n n since j > α j>\alpha j > α and r ≥ 1 r\ge1 r ≥ 1 . Hence W j < r W_j<r W j < r . For r = 1 r=1 r = 1 we have J = 0 J=0 J = 0 , so the integer W j W_j W j is at most O ( n α − j ) < 1 O(n^{\alpha-j})<1 O ( n α − j ) < 1 . Finally W p + 1 ≤ W p / 4 + r / 2 ≤ W p / 4 + W / 2 ≤ W W_{p+1}\le W_p/4+r/2\le W_p/4+W/2\le W W p + 1 ≤ W p /4 + r /2 ≤ W p /4 + W /2 ≤ W by induction, since r ≤ W r\le W r ≤ W . □
Claim 6.7. Fix p < j p<j p < j , condition on the projections of the levels u , … , u + p − 1 u,\ldots,u+p-1 u , … , u + p − 1 , and fix the node values z z z at level u + p u+p u + p . For all sufficiently large n n n , uniformly in 1 ≤ r ≤ W ≤ n α 1\le r\le W\le n^\alpha 1 ≤ r ≤ W ≤ n α , in the exposed projections, and in z z z ,
Pr [ Φ p ( ρ u + p ( z ) ) = 1 and at least ℓ blocks are light for the first satisfied term of Φ p at ρ u + p ( z ) ] ≤ 2 − ( 7 / 25 ) ν r . \Pr\left[\Phi_p(\rho_{u+p}(z))=1\text{ and at least }\ell\text{ blocks are light for the first satisfied term of }\Phi_p\text{ at }\rho_{u+p}(z)\right]\le2^{-(7/25)\nu r}. Pr [ Φ p ( ρ u + p ( z )) = 1 and at least ℓ blocks are light for the first satisfied term of Φ p at ρ u + p ( z ) ] ≤ 2 − ( 7/25 ) ν r . Proof. Write m = m u + p m=m_{u+p} m = m u + p and t = t u + p t=t_{u+p} t = t u + p . Conditional on the exposed projections, Φ p \Phi_p Φ p is a fixed DNF of width at most W p W_p W p on the leaves of the K p K_p K p nodes at level u + p u+p u + p of the original r r r trees. These nodes are independent blocks of height one and dimension m m m with free values z z z , and they are the blocks counted as light in this claim. Each of the r r r trees has 2 ∑ a = u + p + 1 u + j − 1 ( m a + 1 ) 2^{\sum_{a=u+p+1}^{u+j-1}(m_a+1)} 2 ∑ a = u + p + 1 u + j − 1 ( m a + 1 ) nodes at level u + p u+p u + p , so by (3) and log r ≤ α log n \log r\le\alpha\log n log r ≤ α log n ,
log K p ≤ α log n + m + 8 15 + j − 1 = m 15 + O u , α ( log n ) . \log K_p\le\alpha\log n+\frac{m+8}{15}+j-1=\frac{m}{15}+O_{u,\alpha}(\log n). log K p ≤ α log n + 15 m + 8 + j − 1 = 15 m + O u , α ( log n ) . If W p < ℓ W_p<\ell W p < ℓ the event is empty, since a term for which at least ℓ \ell ℓ blocks are light contains the free leaves of ℓ \ell ℓ distinct blocks and so has at least ℓ \ell ℓ literals. Otherwise Theorem 6.1 with K = K p K=K_p K = K p , width W p W_p W p , threshold t t t , and ℓ = J + 1 \ell=J+1 ℓ = J + 1 bounds the probability by
( K p ℓ ) ( 2 W p ℓ ) ℓ ( m ≤ d t ) ℓ 2 − m ℓ ≤ ( K p ⋅ 2 n α ⋅ 2 H 2 ( 1 / 16 ) m ⋅ 2 − m ) ℓ , \binom{K_p}{\ell}\left(\frac{2W_p}{\ell}\right)^\ell\binom{m}{\le dt}^{\ell}2^{-m\ell}\le\left(K_p\cdot2n^\alpha\cdot2^{H_2(1/16)m}\cdot2^{-m}\right)^\ell, ( ℓ K p ) ( ℓ 2 W p ) ℓ ( ≤ d t m ) ℓ 2 − m ℓ ≤ ( K p ⋅ 2 n α ⋅ 2 H 2 ( 1/16 ) m ⋅ 2 − m ) ℓ , using ( K p ℓ ) ≤ K p ℓ \binom{K_p}{\ell}\le K_p^\ell ( ℓ K p ) ≤ K p ℓ , W p ≤ W ≤ n α W_p\le W\le n^\alpha W p ≤ W ≤ n α , and d t ≤ m / 16 dt\le m/16 d t ≤ m /16 with the entropy bound of § 3 . The logarithm of the base is at most
m 15 + O u , α ( log n ) + 1 + α log n + H 2 ( 1 16 ) m − m \frac{m}{15}+O_{u,\alpha}(\log n)+1+\alpha\log n+H_2\left(\frac1{16}\right)m-m 15 m + O u , α ( log n ) + 1 + α log n + H 2 ( 16 1 ) m − m ≤ − ( 1 − 0.34 − 1 15 ) m + O u , α ( log n ) \le-\left(1-0.34-\frac1{15}\right)m+O_{u,\alpha}(\log n) ≤ − ( 1 − 0.34 − 15 1 ) m + O u , α ( log n ) ≤ − 14 25 m . \le-\frac{14}{25}m. ≤ − 25 14 m .
for large n n n , since 1 − 0.34 − 1 / 15 > 0.593 > 0.56 = 14 / 25 1 - 0.34 - 1/15 > 0.593 > 0.56 = 14/25 1 − 0.34 − 1/15 > 0.593 > 0.56 = 14/25 and m = Θ ( n ) m = \Theta(n) m = Θ ( n ) . In words, the exponent m m m in the probability 2 − m 2^{-m} 2 − m of a given value of a uniform secret is reduced by H 2 ( 1 / 16 ) m H_2(1/16)m H 2 ( 1/16 ) m for the number of possible first satisfied terms, by m / 15 + O ( log n ) m/15 + O(\log n) m /15 + O ( log n ) for the number of blocks, and by O ( log n ) O(\log n) O ( log n ) for the width, and more than ( 14 / 25 ) m (14/25)m ( 14/25 ) m remains for each light block. Hence the probability is at most 2 − ( 14 / 25 ) m ℓ ≤ 2 − ( 7 / 25 ) ν r 2^{-(14/25)m\ell} \le2^{-(7/25)\nu r} 2 − ( 14/25 ) m ℓ ≤ 2 − ( 7/25 ) ν r , because m ≥ ν m \ge\nu m ≥ ν and ℓ ≥ r / 2 \ell\ge r/2 ℓ ≥ r /2 .
Proof of Theorem 6.5. For 0 ≤ p ≤ j 0 \le p \le j 0 ≤ p ≤ j let Y p Y_p Y p and Y p ( i ) Y_p^{(i)} Y p ( i ) be the vectors of node values at level u + p − 1 u + p - 1 u + p − 1 of X X X and of the X ( i ) X^{(i)} X ( i ) . Since X X X and the X ( i ) X^{(i)} X ( i ) are generated by the same projections,
Y 0 = X , Y 0 ( i ) = X ( i ) , Y p = ρ u + p ( Y p + 1 ) , Y p ( i ) = ρ u + p ( Y p + 1 ( i ) ) ( p < j ) . Y_0 = X,\qquad Y_0^{(i)} = X^{(i)},\qquad Y_p = \rho_{u+p}(Y_{p+1}),\qquad Y_p^{(i)} = \rho_{u+p}(Y_{p+1}^{(i)})\quad(p < j). Y 0 = X , Y 0 ( i ) = X ( i ) , Y p = ρ u + p ( Y p + 1 ) , Y p ( i ) = ρ u + p ( Y p + 1 ( i ) ) ( p < j ) .
The vectors Y p Y_p Y p and Y p ( i ) Y_p^{(i)} Y p ( i ) differ in exactly one coordinate, which lies in block i i i . For p < j p < j p < j this is Claim 4.1 (d) applied to the part of block i i i above level u + p − 1 u + p - 1 u + p − 1 , and for p = j p = j p = j the vectors consist of the root values of the blocks. Hence the r r r coordinates at which the Y p ( i ) Y_p^{(i)} Y p ( i ) differ from Y p Y_p Y p are distinct. Let E p E_p E p be the event
Φ p ( Y p ) = 1 and Φ p ( Y p ( i ) ) = 0 for all 1 ≤ i ≤ r . \Phi_p(Y_p) = 1 \qquad\text{and} \qquad\Phi_p(Y_p^{(i)}) = 0 \quad\text{for all } 1 \le i \le r. Φ p ( Y p ) = 1 and Φ p ( Y p ( i ) ) = 0 for all 1 ≤ i ≤ r .
Then E 0 E_0 E 0 is the event (8) of the theorem. The event E j E_j E j is empty, since width ( Φ j ) ≤ W j < r \operatorname{width}(\Phi_j) \le W_j < r width ( Φ j ) ≤ W j < r by Claim 6.6 , while a term of Φ j \Phi_j Φ j satisfied at Y j Y_j Y j would contain the r r r distinct coordinates at which the Y j ( i ) Y_j^{(i)} Y j ( i ) differ from Y j Y_j Y j .
Fix p < j p < j p < j and condition on the projections of the levels u , … , u + p − 1 u,\ldots,u+p-1 u , … , u + p − 1 . Then Φ p \Phi_p Φ p is fixed and ρ u + p \rho_{u+p} ρ u + p is fresh. The vectors Y p + 1 Y_{p+1} Y p + 1 and Y p + 1 ( i ) Y_{p+1}^{(i)} Y p + 1 ( i ) are generated by the prescribed root values and the projections at levels above u + p u+p u + p . Thus they are independent of the projections of the levels u , … , u + p u,\ldots,u+p u , … , u + p taken together, by the argument of Claim 4.1 (b).
Since Φ p + 1 ≤ Φ p ∘ ρ u + p \Phi_{p+1} \le\Phi_p \circ\rho_{u+p} Φ p + 1 ≤ Φ p ∘ ρ u + p by Claim 6.4, we have Φ p + 1 ( Y p + 1 ( i ) ) ≤ Φ p ( Y p ( i ) ) \Phi_{p+1}(Y_{p+1}^{(i)}) \le\Phi_p(Y_p^{(i)}) Φ p + 1 ( Y p + 1 ( i ) ) ≤ Φ p ( Y p ( i ) ) , so every rejection persists. The acceptance Φ p ( Y p ) = 1 \Phi_p(Y_p) = 1 Φ p ( Y p ) = 1 persists to Φ p + 1 ( Y p + 1 ) = 1 \Phi_{p+1}(Y_{p+1}) = 1 Φ p + 1 ( Y p + 1 ) = 1 unless more than J J J blocks are light for the first satisfied term of Φ p \Phi_p Φ p at Y p = ρ u + p ( Y p + 1 ) Y_p = \rho_{u+p}(Y_{p+1}) Y p = ρ u + p ( Y p + 1 ) , by the last assertion of Claim 6.4. Let E ~ p \widetilde{E}_p E p be the event of Claim 6.7 with z = Y p + 1 z = Y_{p+1} z = Y p + 1 . Since ℓ = J + 1 \ell= J + 1 ℓ = J + 1 , the only possible loss of acceptance is included in this event, and hence
E p ⊆ E p + 1 ∪ E ~ p . E_p \subseteq E_{p+1} \cup\widetilde{E}_p. E p ⊆ E p + 1 ∪ E p .
The independence above allows us to apply Claim 6.7 for every fixed value of Y p + 1 Y_{p+1} Y p + 1 and of the exposed projections. It bounds the conditional probability of E ~ p \widetilde{E}_p E p by 2 − ( 7 / 25 ) ν r 2^{-(7/25)\nu r} 2 − ( 7/25 ) ν r , so the same bound holds after averaging over them. Iterating the inclusion from p = 0 p = 0 p = 0 to p = j − 1 p = j - 1 p = j − 1 and using that E j E_j E j is empty gives E 0 ⊆ ⋃ p < j E ~ p E_0 \subseteq\bigcup_{p<j} \widetilde{E}_p E 0 ⊆ ⋃ p < j E p , and it follows that
Pr [ E 0 ] ≤ ∑ p < j Pr [ E ~ p ] ≤ j 2 − ( 7 / 25 ) ν r ≤ 2 − ν r / 4 . \Pr[E_0] \le\sum_{p<j} \Pr[\widetilde{E}_p] \le j\,2^{-(7/25)\nu r} \le2^{-\nu r/4}. Pr [ E 0 ] ≤ p < j ∑ Pr [ E p ] ≤ j 2 − ( 7/25 ) ν r ≤ 2 − ν r /4 .
for all sufficiently large n n n , since ν = Θ ( n ) \nu= \Theta(n) ν = Θ ( n ) and j j j is a constant. All thresholds on n n n depend only on u u u , α \alpha α , and d d d .
Claim 6.8. In the setting of Theorem 6.5 , the same bound holds for r r r independent blocks of any height at least j j j whose bottom level has dimension m u m_u m u .
Proof. If the height is j j j there is nothing to prove. Otherwise we expose the projections of all levels of the blocks above level u + j − 1 u+j-1 u + j − 1 . In each block, the exposed projections determine the secrets above that level, hence the path of free children from the root down to that level, and the subtree of
height j j j at the end of this path. We also expose the projections of the nodes of all other subtrees of height j j j of the blocks. The value prescribed to the subtree on the path is the root value of the block, since values are copied along the path of free children. The table X ( i ) X^{(i)} X ( i ) uses the same projections and differs from X X X only in this value for block i i i . The projections above level u + j − 1 u+j-1 u + j − 1 determine which r r r subtrees lie on these paths, and they are independent of the projections inside the subtrees of height j j j , which are independent across subtrees (§ 4.2 ).
Conditional on the exposed projections, the r r r remaining subtrees are therefore independent blocks of height j j j with dimensions m u , … , m u + j − 1 m_u,\ldots,m_{u+j-1} m u , … , m u + j − 1 and prescribed root values. The DNF with the exposed leaves substituted is a fixed DNF of width at most W W W on their leaves, and the event (8) for the original DNF is the same event for this DNF on the remaining subtrees. Theorem 6.5 applies.
A tail bound for certificate complexity
This subsection and the next turn the sensitivity bound of Theorem 6.5 into the switching theorem that § 6.5 applies at every stage of the depth reduction. The hypotheses of Theorem 6.9 do not involve the code family or the recursion, since the theorem applies to any projection of blocks in the sense of the next paragraph that satisfies the uniform sensitivity bound in its statement. The recursive construction supplies that bound through Theorem 6.5 . Theorem 6.9 shows that, under a projection for which the events of Theorem 6.5 are unlikely, for each fixed input z z z it is unlikely that the projected CNF accepts z z z and has no small 1-certificate at z z z . Claim 6.14 converts small certificates into a shallow decision tree, and Theorem 6.15 combines the two with Theorem 6.5 .
In this subsection and the next, a projection ρ \rho ρ of K K K blocks is a product of K K K independent random projections, one per block. Each fixes every leaf except one free leaf carrying the block’s free variable, and is sampled independently of all free values. Setting that variable to zero or one gives two inputs generated by the same projection and differing only in the free leaf.
Sensitivity to a block is defined as in § 6.2 , with these free values in place of prescribed root values. The input X X X has the given free values, and X ( i ) X^{(i)} X ( i ) flips the value of block i i i alone. Claim 4.1 (d) supplies projections of this kind, with each block’s root value as its free value.
Theorem 6.9 (Tail bound for certificate complexity). Let ρ \rho ρ be a projection of K K K blocks as above, and suppose that for every integer 1 ≤ r ≤ W 1 \le r \le W 1 ≤ r ≤ W and every DNF of width at most W W W on the leaves of r r r of the blocks, the DNF accepts X X X and is sensitive at X X X to every one of the r r r blocks with probability at most 2 − γ r 2^{-\gamma r} 2 − γ r , uniformly over the free values. Then for every CNF Ψ \Psi Ψ of width at most W W W on the leaves of the blocks, every z ∈ F 2 K z \in\mathbb{F}_2^K z ∈ F 2 K , and every integer q ≥ 0 q \ge0 q ≥ 0 , the projected CNF H ρ = Ψ ∘ ρ H_\rho=\Psi\circ\rho H ρ = Ψ ∘ ρ satisfies
Pr ρ [ H ρ ( z ) = 1 and C 1 ( H ρ , z ) > q ] ≤ ∑ Λ = ⌈ ( q + 1 ) / ( 2 W + 1 ) ⌉ K 2 − ( γ − 2 log K ) Λ . (9) \Pr_{\rho}\left[H_\rho(z)=1\ \text{and}\ C_1(H_\rho,z)>q\right]
\le\sum_{\Lambda=\lceil(q+1)/(2W+1)\rceil}^{K} 2^{-(\gamma-2\log K)\Lambda}. \tag*{(9)} ρ Pr [ H ρ ( z ) = 1 and C 1 ( H ρ , z ) > q ] ≤ Λ = ⌈( q + 1 ) / ( 2 W + 1 )⌉ ∑ K 2 − ( γ − 2 l o g K ) Λ . (9) An empty sum is zero.
The proof finds, for every projection in the event of (9) , a family of disjoint sets of coordinates. Flipping all coordinates of one set falsifies H ρ H_\rho H ρ , and flipping any one of them back restores it, as in the event of Theorem 6.5 . The family, and the clauses c g c_g c g chosen for its sets in Claim 6.11 , depend on the projection, so the hypothesis cannot be applied after conditioning on their selection. Instead, Claim 6.12 extracts a subfamily whose clauses c g c_g c g avoid the blocks of the other sets, and Claim 6.13 bounds an event fixed in advance for each family of sets, defined from all clauses of Ψ \Psi Ψ that avoid the other sets. A union bound over the families completes the proof.
Fix a projection ρ \rho ρ with H ρ ( z ) = 1 H_\rho(z)=1 H ρ ( z ) = 1 . We normalize H ρ H_\rho H ρ as in § 3 and call its surviving clauses the remaining clauses. Every remaining clause c c c is true at z z z . Let
S ( c ) = { i ∈ [ K ] : c contains a literal on z i that is true at z } S(c)=\{i\in[K]:c\text{ contains a literal on }z_i\text{ that is true at }z\} S ( c ) = { i ∈ [ K ] : c contains a literal on z i that is true at z }
be the set of coordinates on which c c c is satisfied at z z z , a nonempty subset of [ K ] [K] [ K ] . Each S ( c ) S(c) S ( c ) has at most W W W elements, since every leaf of a block is a constant or the free leaf of that block, so the projected clause has at most W W W literals.
We also write S ( c ) S(c) S ( c ) for an original clause c c c of Ψ \Psi Ψ whose projection is a remaining clause, meaning the set S ( c ′ ) S(c') S ( c ′ ) of its projection c ′ c' c ′ . Such an original clause has no literal fixed to true by ρ \rho ρ .
Claim 6.10. A set A ⊆ [ K ] A\subseteq[K] A ⊆ [ K ] is a 1 1 1 -certificate of H ρ H_\rho H ρ at z z z if and only if it meets S ( c ) S(c) S ( c ) for every remaining clause c c c . Hence C 1 ( H ρ , z ) C_1(H_\rho,z) C 1 ( H ρ , z ) is the least size of a set that meets every S ( c ) S(c) S ( c ) .
Proof. If A A A meets every S ( c ) S(c) S ( c ) , fixing the coordinates of A A A to their values at z z z fixes a true literal in every clause, so every completion satisfies H ρ H_\rho H ρ . If A A A misses S ( c ) S(c) S ( c ) for some remaining clause c c c , then every literal of c c c on a coordinate of A A A is false at z z z . Keeping the values of A A A , we set the variables of c c c outside A A A to the values that make their literals false and complete the assignment arbitrarily. Then c c c is false, so H ρ = 0 H_\rho=0 H ρ = 0 , and A A A is not a certificate.
Claim 6.11. Let U 1 , … , U M U_1,\ldots,U_M U 1 , … , U M be a maximal family of pairwise disjoint sets that are inclusion-minimal among the sets S ( c ) S(c) S ( c ) , and for each g g g choose an original clause c g c_g c g of Ψ \Psi Ψ with S ( c g ) = U g S(c_g)=U_g S ( c g ) = U g , the witnessing clause of U g U_g U g . If C 1 ( H ρ , z ) > q C_1(H_\rho,z)>q C 1 ( H ρ , z ) > q , then ∑ g ∣ U g ∣ ≥ q + 1 \sum_g|U_g|\ge q+1 ∑ g ∣ U g ∣ ≥ q + 1 .
For each g g g , flipping all coordinates of U g U_g U g in z z z falsifies c g c_g c g , while flipping any proper subset of U g U_g U g leaves every remaining clause true.
Proof. Maximality makes the union a certificate, and inclusion-minimality gives the second assertion. Every S ( c ) S(c) S ( c ) contains an inclusion-minimal one, and by maximality the union of the family meets every minimal one. Hence the union meets every S ( c ) S(c) S ( c ) , so it is a 1 1 1 -certificate by Claim 6.10 and has at least q + 1 q+1 q + 1 elements.
Flipping all of U g U_g U g makes every literal of the projection of c g c_g c g false, since its true literals are exactly those on U g U_g U g . The original clause c g c_g c g is therefore false as well, since all its fixed literals are false. Suppose that flipping a set P ⊊ U g P\subsetneq U_g P ⊊ U g falsified a remaining clause c c c . Then every true literal of c c c lies on P P P and no false literal of c c c lies on P P P , so S ( c ) ⊆ P ⊊ U g S(c)\subseteq P\subsetneq U_g S ( c ) ⊆ P ⊊ U g , which contradicts the minimality of U g U_g U g .
To obtain a product bound, we arrange that the events of different sets involve disjoint blocks, which requires that the witnessing clause c g c_g c g of each U g U_g U g contain no literal on a leaf of a block of another set, including leaves that ρ \rho ρ fixes to constants. For an original clause c c c of Ψ \Psi Ψ , let B ( c ) ⊆ [ K ] B(c)\subseteq[K] B ( c ) ⊆ [ K ] be the set of indices i i i such that c c c contains a literal on a leaf of block i i i , the block support of c c c . It is determined by Ψ \Psi Ψ alone and includes the blocks that c c c meets only at leaves fixed to constants by ρ \rho ρ , whereas the projection of c c c has literals only on the free variables of the blocks whose free leaf occurs in c c c . Hence B ( c ) B(c) B ( c ) may be larger than the support of the projected clause, and S ( c ) ⊆ B ( c ) S(c)\subseteq B(c) S ( c ) ⊆ B ( c ) . The requirement is that B ( c g ) ∩ U g ′ = ∅ B(c_g)\cap U_{g'}=\varnothing B ( c g ) ∩ U g ′ = ∅ for all distinct g , g ′ g,g' g , g ′ , and the sets S ( c ) S(c) S ( c ) do not show whether it holds. For example, let a i a_i a i be the free leaf of block i i i for i = 1 , … , 4 i=1,\ldots,4 i = 1 , … , 4 , let a 3 ′ a'_3 a 3 ′ be another leaf of block 3 3 3 , and let ρ \rho ρ map a i a_i a i to z i z_i z i and a 3 ′ a'_3 a 3 ′ to 0 0 0 . Then
( a 1 ∨ a 2 ∨ a 3 ′ ) ∧ ( a 3 ∨ a 4 ) projects to ( z 1 ∨ z 2 ) ∧ ( z 3 ∨ z 4 ) , (a_1\lor a_2\lor a'_3)\land(a_3\lor a_4)\qquad\text{projects to}\qquad(z_1\lor z_2)\land(z_3\lor z_4), ( a 1 ∨ a 2 ∨ a 3 ′ ) ∧ ( a 3 ∨ a 4 ) projects to ( z 1 ∨ z 2 ) ∧ ( z 3 ∨ z 4 ) ,
and at z = ( 1 , 1 , 1 , 1 ) z=(1,1,1,1) z = ( 1 , 1 , 1 , 1 ) the two sets S ( c ) S(c) S ( c ) , namely { 1 , 2 } \{1,2\} { 1 , 2 } and { 3 , 4 } \{3,4\} { 3 , 4 } , are disjoint, while the first original clause has block support { 1 , 2 , 3 } \{1,2,3\} { 1 , 2 , 3 } , which meets the second set. The value of a 3 ′ a'_3 a 3 ′ is determined by the projection of block 3, which is random in the bound for the event of the set { 3 , 4 } \{3,4\} { 3 , 4 } in the proof of Claim 6.13 . A CNF for { 1 , 2 } \{1,2\} { 1 , 2 } that contains the first clause would therefore depend on the projection of block 3, and the two events would not be independent. The next claim therefore works with the block supports of the original clauses and extracts a large subfamily in which B ( c g ) ∩ U g ′ = ∅ B(c_g) \cap U_{g'} = \varnothing B ( c g ) ∩ U g ′ = ∅ for all distinct g , g ′ g,g' g , g ′ .
Claim 6.12. If C 1 ( H ρ , z ) > q C_1(H_\rho,z)>q C 1 ( H ρ , z ) > q , there is a subfamily of the U g U_g U g of total size Λ ≥ ( q + 1 ) / ( 2 W + 1 ) \Lambda\ge(q+1)/(2W+1) Λ ≥ ( q + 1 ) / ( 2 W + 1 ) such that B ( c g ) ∩ U g ′ = ∅ B(c_g) \cap U_{g'} = \varnothing B ( c g ) ∩ U g ′ = ∅ for all distinct g , g ′ g,g' g , g ′ in the subfamily.
Proof. We put a directed edge from g g g to g ′ ≠ g g' \ne g g ′ = g if B ( c g ) B(c_g) B ( c g ) meets U g ′ U_{g'} U g ′ . Since ∣ B ( c g ) ∣ ≤ W |B(c_g)| \le W ∣ B ( c g ) ∣ ≤ W , as c g c_g c g has at most W W W literals, and the sets U g ′ U_{g'} U g ′ are disjoint, every vertex has outdegree at most W W W . Hence every induced subgraph of the underlying undirected graph on a vertex set V ′ V' V ′ has at most W ∣ V ′ ∣ W|V'| W ∣ V ′ ∣ edges and average degree at most 2 W 2W 2 W . The graph is therefore 2 W 2W 2 W -degenerate, and it has a proper coloring with 2 W + 1 2W+1 2 W + 1 colors, obtained by repeatedly removing a vertex of degree at most 2 W 2W 2 W and then coloring the vertices greedily in the reverse order of removal.
We weight g g g by ∣ U g ∣ |U_g| ∣ U g ∣ and take a heaviest color class. Its total weight is at least ∑ g ∣ U g ∣ / ( 2 W + 1 ) ≥ ( q + 1 ) / ( 2 W + 1 ) \sum_g |U_g|/(2W+1) \ge(q+1)/(2W+1) ∑ g ∣ U g ∣/ ( 2 W + 1 ) ≥ ( q + 1 ) / ( 2 W + 1 ) by Claim 6.11 , and no edge joins two of its members. □
We keep Ψ \Psi Ψ and z z z fixed and now let ρ \rho ρ vary. The subfamily just constructed depends on ρ \rho ρ , as do its witnessing clauses c g c_g c g . To apply the hypothesis of Theorem 6.9 , we instead fix a family of sets in advance and define an event that does not refer to the construction.
Fix a family U \mathcal{U} U of disjoint nonempty subsets of [ K ] [K] [ K ] , each of size at most W W W , whose union has size Λ \Lambda Λ . For each U ∈ U U \in\mathcal{U} U ∈ U , we take all clauses c c c of the original CNF Ψ \Psi Ψ with B ( c ) ∩ U ′ = ∅ B(c) \cap U' = \varnothing B ( c ) ∩ U ′ = ∅ for every U ′ ∈ U U' \in\mathcal{U} U ′ ∈ U other than U U U . This condition is determined by Ψ \Psi Ψ and U \mathcal{U} U and does not depend on the projection. In particular, a clause with a literal on a leaf of a block of another set is excluded even when ρ \rho ρ fixes that leaf to a constant. We substitute the values in ρ ( z ) \rho(z) ρ ( z ) of the leaves outside the union of the family and call the resulting CNF H U H_{\mathcal{U}} H U . Leaves of blocks in U U U are not substituted, and by the condition on the clauses no other unsubstituted leaf occurs, so H U H_{\mathcal{U}} H U is a CNF of width at most W W W on the leaves of the blocks in U U U , not on the free variables.
Its negation ¬ H U \neg H_{\mathcal{U}} ¬ H U is a DNF of width at most W W W on those blocks. Including all original clauses that satisfy the condition makes H U H_{\mathcal{U}} H U fixed once the projections of the blocks outside the union of U \mathcal{U} U are fixed, before the projections in U U U are sampled.
Let E U E_{\mathcal{U}} E U be the event that for every U ∈ U U \in\mathcal{U} U ∈ U , the DNF ¬ H U \neg H_{\mathcal{U}} ¬ H U accepts the input whose free values on U U U are opposite to those of z z z and is sensitive there to every block of U U U .
Claim 6.13 (Families of sets fixed in advance). For every fixed family U \mathcal{U} U as above, Pr ρ [ E U ] ≤ 2 − γ Λ \Pr_\rho[E_{\mathcal{U}}] \le2^{-\gamma\Lambda} Pr ρ [ E U ] ≤ 2 − γ Λ . Every ρ \rho ρ with H ρ ( z ) = 1 H_\rho(z)=1 H ρ ( z ) = 1 for which Claims 6.11 and 6.12 can produce the subfamily U ∗ l i e s i n ∗ \mathcal{U} *lies in* U ∗ l i es in ∗ E_{\mathcal{U}}$.
Proof. We first bound the event for a fixed family U \mathcal{U} U and condition on the projections of all blocks outside its union. Each H U H_U H U is now a fixed CNF of width at most W W W on the leaves of the blocks in U U U , determined only by Ψ \Psi Ψ , the fixed family, and the projections of the blocks outside the union. Its negation is a width-W W W DNF on ∣ U ∣ ≤ W |U| \le W ∣ U ∣ ≤ W blocks. A clause of H U H_U H U that comes from an original clause c c c with B ( c ) ∩ U = ∅ B(c) \cap U = \varnothing B ( c ) ∩ U = ∅ is now constant. If it is false it makes the event impossible, and if it is true it has no effect.
The events for different U U U now depend on disjoint blocks with independent projections. The hypothesis of Theorem 6.9 , uniform over the free values, bounds each event by 2 − γ ∣ U ∣ 2^{-\gamma|U|} 2 − γ ∣ U ∣ . Their conditional probabilities multiply. The resulting bound does not depend on the projections outside the union, so averaging gives
Pr [ E U ] ≤ ∏ U ∈ U 2 − γ ∣ U ∣ = 2 − γ Λ . \Pr[E_{\mathcal{U}}] \le\prod_{U\in\mathcal{U}} 2^{-\gamma|U|} = 2^{-\gamma\Lambda}. Pr [ E U ] ≤ U ∈ U ∏ 2 − γ ∣ U ∣ = 2 − γ Λ .
We next check that every projection producing U \mathcal{U} U belongs to this event. Suppose H ρ ( z ) = 1 H_\rho(z)=1 H ρ ( z ) = 1 and the construction yields U \mathcal{U} U . Fix U ∈ U U\in\mathcal{U} U ∈ U and its witnessing clause c g c_g c g with S ( c g ) = U S(c_g)=U S ( c g ) = U . By Claim 6.12 , B ( c g ) B(c_g) B ( c g ) is disjoint from every other set of U \mathcal{U} U , so c g c_g c g is one of the clauses used to form H U H_U H U . At the input specified in E U E_U E U , all free values in U U U are opposite to z z z . This clause is then false by Claim 6.11 , so ¬ H U \neg H_U ¬ H U accepts this input.
We now restore one coordinate i ∈ U i\in U i ∈ U to its value at z z z and extend the free values to the full assignment that equals z z z outside U U U , which does not affect H U H_U H U . This assignment differs from z z z exactly on the proper subset U ∖ { i } U\setminus\{i\} U ∖ { i } , and for ∣ U ∣ = 1 |U|=1 ∣ U ∣ = 1 the input is ρ ( z ) \rho(z) ρ ( z ) . Every remaining clause is true by Claim 6.11 , and each clause deleted during normalization is identically true under ρ \rho ρ . Hence every original clause of Ψ \Psi Ψ is true, so H U H_U H U is true and ¬ H U \neg H_U ¬ H U rejects the input with this coordinate restored. This holds for each U ∈ U U\in\mathcal{U} U ∈ U , proving ρ ∈ E U \rho\in E_{\mathcal{U}} ρ ∈ E U .
The probability bound is for a fixed family, and no probability is conditioned on acceptance or on the family being produced.
Proof of Theorem 6.9. Let ρ \rho ρ be in the event of the theorem. By Claims 6.11 and 6.12 , the construction yields a family U \mathcal{U} U of disjoint nonempty sets of size at most W W W with union of size Λ \Lambda Λ , where
q + 1 2 W + 1 ≤ Λ ≤ K . \frac{q+1}{2W+1}\le\Lambda\le K. 2 W + 1 q + 1 ≤ Λ ≤ K .
By Claim 6.13 , this ρ \rho ρ lies in E U E_{\mathcal{U}} E U , an event of probability at most 2 − γ Λ 2^{-\gamma\Lambda} 2 − γ Λ . The number of such families with union of size Λ \Lambda Λ is at most K Λ Λ Λ ≤ K 2 Λ K^\Lambda\Lambda^\Lambda\le K^{2\Lambda} K Λ Λ Λ ≤ K 2Λ , since the union can be chosen as a sequence of Λ \Lambda Λ coordinates and then partitioned. A union bound over all families gives (9) . The union bound ranges over families of sets of blocks only, and no choice of witnessing clauses is enumerated, which is why no factor for the number of clauses appears.
Switching under correlated projections
Claim 6.14 converts small certificates into a decision tree. The standard simulation bounds the decision-tree depth of a function by the product of its 0- and 1-certificate complexities [14 , 17 , 34 Tar89] , and we truncate it so that it uses only certificates of size at most q q q .
Claim 6.14. For every CNF H H H of width at most W W W on F 2 K \mathbb{F}_2^K F 2 K and every integer q ≥ 1 q\ge1 q ≥ 1 there is a decision tree T T T of depth at most W q Wq W q such that T ( z ) ≤ H ( z ) T(z)\le H(z) T ( z ) ≤ H ( z ) for every z z z , and T ( z ) = 1 T(z)=1 T ( z ) = 1 whenever H ( z ) = 1 H(z)=1 H ( z ) = 1 and C 1 ( H , z ) ≤ q C_1(H,z)\le q C 1 ( H , z ) ≤ q . The tree is determined by H H H and q q q .
Proof. We fix in advance an order of all partial assignments to at most q q q of the K K K variables, so that the tree depends only on H H H and q q q . The tree proceeds in rounds. In each round, the residual CNF is H H H with the answers to the queries made so far substituted and normalized (§ 3 ), a CNF on the variables not yet queried. If the residual function is constant, the tree returns its value. Otherwise the tree takes the first partial assignment in the order that is on at most q q q of the variables not yet queried and forces the residual CNF to one, and rejects if there is none. If there is one, the tree queries its coordinates, accepts if the answers agree with it, and otherwise continues with the next round.
Every residual clause contains a literal that the chosen partial assignment makes true, for otherwise the clause could be falsified by an assignment extending it. After the coordinates of the partial assignment are queried, such a clause either becomes true and is deleted, or that literal receives the opposite value and is deleted from the clause. Hence the maximum width of the residual clauses decreases in every round, there are at most W W W rounds of at most q q q queries each, and the depth is at most W q Wq W q .
The tree accepts only when the answers agree with a partial assignment that forces the residual CNF to one or when the residual function is constantly one, so T ≤ H T\le H T ≤ H . Let H ( z ) = 1 H(z)=1 H ( z ) = 1 and let Q Q Q be a 1-certificate of H H H at z z z of size at most q q q . Along the path of z z z , the values of z z z on the part of Q Q Q not yet queried form a partial assignment, on at most q q q of the variables not yet queried, that forces the residual CNF to one in every round. Indeed, every assignment to the variables not yet queried that extends it agrees with z z z on Q Q Q , since the queried variables carry the values of z z z , so it satisfies H H H . Hence the tree never rejects z z z for lack of a partial assignment and never returns the value of a residual function that is constantly zero, and it accepts z z z . □
The accepting paths of T \mathcal{T} T give a DNF with at most 2 W q 2^{Wq} 2 W q terms of width at most W q Wq W q with the same two properties. Applied to the negation of a DNF of width at most W W W , the claim gives a CNF with at most 2 W q 2^{Wq} 2 W q clauses of width at most W q Wq W q . This CNF is at least the DNF everywhere, and it agrees with the DNF at every input that the DNF rejects with a 0-certificate of size at most q q q . The construction need not be efficient, since the lower bound is non-uniform.
Theorem 6.15 (Switching with pointwise error). Fix a level u ≥ 0 u \ge0 u ≥ 0 and an exponent α ≥ 0 \alpha\ge0 α ≥ 0 , and put j = ⌊ α ⌋ + 1 j = \lfloor\alpha\rfloor+ 1 j = ⌊ α ⌋ + 1 and ν = m u + j − 1 \nu= m_{u+j-1} ν = m u + j − 1 . Consider an instance of size n n n and height h h h with u + j ≤ h ≤ h max ( n ) u+j \le h \le h_{\max}(n) u + j ≤ h ≤ h m a x ( n ) . Let ρ = ρ u ∘ ⋯ ∘ ρ u + j − 1 \rho= \rho_u \circ\cdots\circ\rho_{u+j-1} ρ = ρ u ∘ ⋯ ∘ ρ u + j − 1 be the projection of the levels u , … , u + j − 1 u,\ldots,u+j-1 u , … , u + j − 1 , which maps the node values at level u + j − 1 u+j-1 u + j − 1 to the node values at level u − 1 u-1 u − 1 .
For all sufficiently large n n n the following holds. For every W W W with 1 ≤ W ≤ n α 1 \le W \le n^\alpha 1 ≤ W ≤ n α , every CNF Ψ \Psi Ψ of width at most W W W on the node values at level u − 1 u-1 u − 1 , and every integer q ≥ 1 q \ge1 q ≥ 1 , there is a random DNF Ψ ~ ρ \widetilde{\Psi}_\rho Ψ ρ on the node values at level u + j − 1 u+j-1 u + j − 1 . It has at most 2 W q 2^{Wq} 2 W q terms of width at most W q Wq W q and is determined by Ψ \Psi Ψ , q q q , and ρ \rho ρ . For every z z z it satisfies Ψ ~ ρ ( z ) ≤ Ψ ( ρ ( z ) ) \widetilde{\Psi}_\rho(z) \le\Psi(\rho(z)) Ψ ρ ( z ) ≤ Ψ ( ρ ( z )) .
For every fixed z z z , the probability of disagreement satisfies
Pr ρ [ Ψ ~ ρ ( z ) ≠ Ψ ( ρ ( z ) ) ] ≤ 2 ⋅ 2 − ν ( q + 1 ) / ( 30 W ) . (10) \Pr_{\rho}\left[\widetilde{\Psi}_\rho(z) \ne\Psi(\rho(z))\right] \le2 \cdot2^{-\nu(q+1)/(30W)}. \tag*{(10)} ρ Pr [ Ψ ρ ( z ) = Ψ ( ρ ( z )) ] ≤ 2 ⋅ 2 − ν ( q + 1 ) / ( 30 W ) . (10) The dual statement switches a DNF of width at most W W W to a CNF that is at least the projected DNF everywhere, with the same bounds. The threshold on n n n depends only on u u u , α \alpha α , and d d d , and not on h h h .
The guarantee holds for each fixed z z z separately, with high probability over ρ \rho ρ . No single projection is claimed to simplify Ψ \Psi Ψ on all z z z at once, and no union bound over all z z z is taken in the next section.
Proof. The node values at level u + j − 1 u+j-1 u + j − 1 have K = N u + j − 1 K = N_{u+j-1} K = N u + j − 1 coordinates, each the root of a block of height j j j with dimensions m u , … , m u + j − 1 m_u,\ldots,m_{u+j-1} m u , … , m u + j − 1 . By Claim 4.1 (d), ρ \rho ρ is a projection of K K K blocks in the sense of this section, and Theorem 6.5 gives the hypothesis of Theorem 6.9 with γ = ν / 4 \gamma= \nu/4 γ = ν /4 . By (6) ,
2 log K ≤ 2 ν 15 + log n 4 ≤ 3 ν 20 , so γ − 2 log K ≥ ν 4 − 3 ν 20 = ν 10 . 2 \log K \le\frac{2\nu}{15} + \frac{\log n}{4} \le\frac{3\nu}{20}, \qquad\text{so} \qquad\gamma- 2 \log K \ge\frac{\nu}{4} - \frac{3\nu}{20} = \frac{\nu}{10}. 2 log K ≤ 15 2 ν + 4 log n ≤ 20 3 ν , so γ − 2 log K ≥ 4 ν − 20 3 ν = 10 ν .
for large n n n , uniformly in h h h , since ν = m u + j − 1 = Θ ( n ) \nu= m_{u+j-1} = \Theta(n) ν = m u + j − 1 = Θ ( n ) with constants depending only on u u u and j j j . The sum in (9) is then a geometric series with ratio at most 2 − ν / 10 ≤ 1 / 2 2^{-\nu/10} \le1/2 2 − ν /10 ≤ 1/2 , and its first index is at least ( q + 1 ) / ( 3 W ) (q+1)/(3W) ( q + 1 ) / ( 3 W ) since 2 W + 1 ≤ 3 W 2W+1 \le3W 2 W + 1 ≤ 3 W . Hence
Pr ρ [ Ψ ( ρ ( z ) ) = 1 and C 1 ( Ψ ∘ ρ , z ) > q ] ≤ 2 ⋅ 2 − ν ( q + 1 ) / ( 30 W ) . \Pr_{\rho}\left[\Psi(\rho(z)) = 1 \text{ and } C_1(\Psi\circ\rho,z) > q\right] \le2 \cdot2^{-\nu(q+1)/(30W)}. ρ Pr [ Ψ ( ρ ( z )) = 1 and C 1 ( Ψ ∘ ρ , z ) > q ] ≤ 2 ⋅ 2 − ν ( q + 1 ) / ( 30 W ) .
Let Ψ ~ ρ \widetilde{\Psi}_\rho Ψ ρ be the DNF of the accepting paths of the tree of Claim 6.14 for Ψ ∘ ρ \Psi\circ\rho Ψ ∘ ρ and q q q . It is at most Ψ ∘ ρ \Psi\circ\rho Ψ ∘ ρ everywhere, and it differs from Ψ ∘ ρ \Psi\circ\rho Ψ ∘ ρ at z z z only in the event just bounded. The tree depends only on Ψ \Psi Ψ , q q q , and ρ \rho ρ . The dual statement follows by applying the argument to the negation of the DNF. □
Depth reduction and the coupling bound
Fix a code family of degree d d d , a depth D D D , and an exponent A ≥ 1 A \ge1 A ≥ 1 , and let F F F be a circuit as in Theorem 1.7 over the leaves of an instance of size n n n and height h ≤ h max ( n ) h \le h_{\max}(n) h ≤ h m a x ( n ) . We bound the probability that F F F has different values on the pair ( X 0 , X 1 ) (X_0, X_1) ( X 0 , X 1 ) generated by the same projections. The constant h 0 h_0 h 0 of the theorem is determined after Claim 6.17 , and h ≥ h 0 h \ge h_0 h ≥ h 0 is assumed from there on.
The argument follows Håstad’s depth reduction [35 ] . The bottom two layers of the layered formula of Claim 6.16 are CNFs or DNFs of small width. The projection of the next few levels switches each of them to a DNF or a CNF of small width, with an error at every fixed input far below the reciprocal of the number of gates, and the new top gates merge with their parents, which lowers the depth by one. In symbols, a bottom OR ∘ \circ ∘ AND ∘ \circ ∘ OR becomes OR ∘ \circ ∘ OR ∘ \circ ∘ AND by approximate switching and then OR ∘ \circ ∘ AND by exact merging. After constantly many stages the formula has depth two and polynomial width. Theorem 6.5 with r = 1 r = 1 r = 1 , extended by Claim 6.8, then shows that this formula distinguishes its two inputs, which differ in one coordinate, only with probability 2 − Ω ( n ) 2^{-\Omega(n)} 2 − Ω ( n ) .
Claim 6.16. There are constants D ′ D' D ′ and a 0 ≥ 1 a_0 \ge1 a 0 ≥ 1 , depending only on D D D and A A A , such that for large n n n the circuit F F F computes the same function as a layered formula of depth D ′ D' D ′ with alternating layers of AND and OR gates, of size at most 2 n a 0 2^{n^{a_0}} 2 n a 0 , whose bottom two layers form CNFs or DNFs of width at most one.
Proof. We push the negations to the inputs and unroll the circuit, a directed acyclic graph of depth at most D D D , into a formula, which raises the size to at most a fixed power depending on D D D . If the size convention counts only gates, we first include the 2 a ( n ) ≤ 2 2 n 2^{a(n)} \le2^{2n} 2 a ( n ) ≤ 2 2 n input coordinates, whose number is bounded uniformly in h h h by (4) . After repeated wires are removed, the number of wires is at most quadratic in the number of gates and inputs, still 2 poly ( n ) 2^{\operatorname{poly}(n)} 2 poly ( n ) .
We merge adjacent gates of the same type and insert unary identity gates, so that the formula is layered with alternating layers and all inputs at the bottom. Finally we insert on every bottom input, a literal or a constant, a unary gate of the type opposite to that of its parent. An AND of literals and constants of arbitrary fan-in becomes an AND of unary ORs, a CNF of width at most one, and an OR of literals and constants becomes a DNF of width at most one. These operations increase the depth by at most a constant factor and the size by at most a fixed power. A constant formula, and a formula of depth at most one, is padded to depth two by unary gates of alternating types. In the same way, a formula whose depth is less than D ′ D' D ′ is padded at its output by unary gates of alternating types to depth exactly D ′ D' D ′ .
We now use the normal form of Claim 6.16 for F F F . We reduce its depth to two in D ′ − 2 D' - 2 D ′ − 2 stages, indexed by i = 0 , … , D ′ − 3 i = 0, \ldots, D' - 3 i = 0 , … , D ′ − 3 . At stage i i i , the current formula F i F_i F i is layered with alternating layers, is on the node values at level u i − 1 u_i - 1 u i − 1 , and has depth D ′ − i D' - i D ′ − i . We use deterministic bounds S i ≤ 2 n a i S_i \le2^{n^{a_i}} S i ≤ 2 n a i on its size and W i ≤ n a i W_i \le n^{a_i} W i ≤ n a i on its bottom fan-in, the width of its bottom CNFs or DNFs, uniform over the projections exposed so far, for a constant a i ≥ 1 a_i \ge1 a i ≥ 1 . Initially u 0 = 0 u_0 = 0 u 0 = 0 , F 0 = F F_0 = F F 0 = F , S 0 = 2 n a 0 S_0 = 2^{n^{a_0}} S 0 = 2 n a 0 , and W 0 = 1 W_0 = 1 W 0 = 1 , by Claim 6.16 .
Only the projections below level u i u_i u i have been exposed. They determine F i F_i F i , and the projections at level u i u_i u i and above remain independent of them by Claim 4.1 (b). To apply the switching theorem at the current width, we expose j i j_i j i more levels and use the certificate-size bound q i q_i q i , where
q i = ⌈ n 2 a i + 2 ⌉ , j i = ⌈ a i ⌉ + 1. q_i = \left\lceil n^{2a_i+2} \right\rceil,\qquad j_i = \lceil a_i \rceil+ 1. q i = ⌈ n 2 a i + 2 ⌉ , j i = ⌈ a i ⌉ + 1.
The value of j i j_i j i is the number of levels required by Theorem 6.15 . The next formula is on the node values at level u i + 1 − 1 u_{i+1} - 1 u i + 1 − 1 , where u i + 1 = u i + j i u_{i+1} = u_i + j_i u i + 1 = u i + j i . We put v i = m u i + 1 − 1 v_i = m_{u_{i+1}-1} v i = m u i + 1 − 1 , which is Θ i ( n ) \Theta_i(n) Θ i ( n ) . The bound q i q_i q i is chosen so that the error of one replacement, summed over the at most S i S_i S i replacements of a stage, remains exponentially small (Claim 6.17). The projection of these levels maps the node values at level u i + 1 − 1 u_{i+1}-1 u i + 1 − 1 to those at level u i − 1 u_i-1 u i − 1 :
σ i = ρ u i ∘ ⋯ ∘ ρ u i + 1 − 1 . \sigma_i=\rho_{u_i}\circ\cdots\circ\rho_{u_{i+1}-1}. σ i = ρ u i ∘ ⋯ ∘ ρ u i + 1 − 1 .
Claim 6.17. Let F i F_i F i have depth at least three and let u i + 1 ≤ h u_{i+1}\le h u i + 1 ≤ h . Condition on the projections below level u i u_i u i , so that F i F_i F i is fixed.
There is a layered formula F i + 1 F_{i+1} F i + 1 on the node values at level u i + 1 − 1 u_{i+1}-1 u i + 1 − 1 , determined by F i F_i F i and σ i \sigma_i σ i , of depth D ′ − i − 1 D'-i-1 D ′ − i − 1 . Its size is at most S i 2 2 W i q i + 4 S_i2^{2W_iq_i+4} S i 2 2 W i q i + 4 and its bottom fan-in is at most W i q i ≤ 2 n 3 a i + 2 W_iq_i\le2n^{3a_i+2} W i q i ≤ 2 n 3 a i + 2 .
For every fixed assignment z z z to the node values at level u i + 1 − 1 u_{i+1}-1 u i + 1 − 1 ,
Pr σ i [ F i ( σ i ( z ) ) ≠ F i + 1 ( z ) ] ≤ θ i , \Pr_{\sigma_i}\left[F_i(\sigma_i(z))\ne F_{i+1}(z)\right]\le\theta_i, σ i Pr [ F i ( σ i ( z )) = F i + 1 ( z ) ] ≤ θ i , where
θ i = 2 S i 2 − ν i ( q i + 1 ) / ( 30 W i ) ≤ 2 − Ω i ( n a i + 3 ) . \theta_i=2S_i2^{-\nu_i(q_i+1)/(30W_i)}\le2^{-\Omega_i(n^{a_i+3})}. θ i = 2 S i 2 − ν i ( q i + 1 ) / ( 30 W i ) ≤ 2 − Ω i ( n a i + 3 ) . In particular, the bounds S i + 1 = S i 2 2 W i q i + 4 S_{i+1}=S_i2^{2W_iq_i+4} S i + 1 = S i 2 2 W i q i + 4 and W i + 1 = W i q i W_{i+1}=W_iq_i W i + 1 = W i q i for the next stage satisfy S i + 1 ≤ 2 n a i + 1 S_{i+1}\le2^{n^{a_i+1}} S i + 1 ≤ 2 n a i + 1 and W i + 1 ≤ n a i + 1 W_{i+1}\le n^{a_i+1} W i + 1 ≤ n a i + 1 for a i + 1 = 3 a i + 4 a_{i+1}=3a_i+4 a i + 1 = 3 a i + 4 and large n n n .
Proof. We apply Theorem 6.15 with u = u i u=u_i u = u i , exponent a i a_i a i , and q i q_i q i to every bottom two-layer subformula of F i F_i F i , using the same projection σ i \sigma_i σ i , and switch each CNF to a DNF, or each DNF to a CNF, according to the type of the bottom layer. There are at most S i S_i S i such subformulas, each of width at most W i ≤ n a i W_i\le n^{a_i} W i ≤ n a i .
Fix z z z . If every replacement agrees there with the projection of its original subformula, the whole formula agrees there. A union bound therefore bounds the disagreement probability by θ i \theta_i θ i , without requiring independence between replacement errors. Since ν i = Θ i ( n ) \nu_i=\Theta_i(n) ν i = Θ i ( n ) , q i ≥ n 2 a i + 2 q_i\ge n^{2a_i+2} q i ≥ n 2 a i + 2 , and W i ≤ n a i W_i\le n^{a_i} W i ≤ n a i ,
log θ i ≤ 1 + n a i − ν i n 2 a i + 2 30 n a i = − Ω i ( n a i + 3 ) . \log\theta_i\le1+n^{a_i}-\frac{\nu_i n^{2a_i+2}}{30n^{a_i}}=-\Omega_i(n^{a_i+3}). log θ i ≤ 1 + n a i − 30 n a i ν i n 2 a i + 2 = − Ω i ( n a i + 3 ) .
The top gate of each replacement has the type of the parent of the subformula it replaces, so merging the two reduces the depth by one. We retain unary gates and both layers of each replacement, including a path of unary gates for a constant replacement, so that F i + 1 F_{i+1} F i + 1 remains layered.
Write T i = W i q i T_i=W_iq_i T i = W i q i . Each replacement has at most 2 T i 2^{T_i} 2 T i terms or clauses of width at most T i T_i T i . Including its top gate, it has at most 1 + ( T i + 2 ) 2 T i ≤ 2 2 T i + 3 1+(T_i+2)2^{T_i}\le2^{2T_i+3} 1 + ( T i + 2 ) 2 T i ≤ 2 2 T i + 3 gates and wires, and a constant represented by a path of unary gates also satisfies this bound. The part of F i F_i F i above the replaced subformulas has at most S i S_i S i gates and wires. Hence the new size is at most S i 2 2 T i + 3 + S i ≤ S i 2 2 T i + 4 S_i2^{2T_i+3}+S_i\le S_i2^{2T_i+4} S i 2 2 T i + 3 + S i ≤ S i 2 2 T i + 4 , and its bottom fan-in is at most
T i ≤ n a i ( n 2 a i + 2 + 1 ) ≤ 2 n 3 a i + 2 . T_i\le n^{a_i}(n^{2a_i+2}+1)\le2n^{3a_i+2}. T i ≤ n a i ( n 2 a i + 2 + 1 ) ≤ 2 n 3 a i + 2 .
Finally, log S i + 1 ≤ n a i + 4 n 3 a i + 2 + 4 ≤ n 3 a i + 4 \log S_{i+1}\le n^{a_i}+4n^{3a_i+2}+4\le n^{3a_i+4} log S i + 1 ≤ n a i + 4 n 3 a i + 2 + 4 ≤ n 3 a i + 4 and 2 n 3 a i + 2 ≤ n 3 a i + 4 2n^{3a_i+2}\le n^{3a_i+4} 2 n 3 a i + 2 ≤ n 3 a i + 4 for large n n n , which proves the next size and fan-in bounds. □
Since D ′ D' D ′ is a constant, the exponents a i a_i a i are constants, and the total number u ∗ = u D ′ − 2 u_*=u_{D'-2} u ∗ = u D ′ − 2 of levels exposed by the D ′ − 2 D'-2 D ′ − 2 stages is a constant depending on D D D and A A A . Let F ∗ = F D ′ − 2 F_*=F_{D'-2} F ∗ = F D ′ − 2 be the final formula, of depth two and width at most W ∗ = W D ′ − 2 ≤ n a ∗ W_*=W_{D'-2}\le n^{a_*} W ∗ = W D ′ − 2 ≤ n a ∗ , where a ∗ = a D ′ − 2 a_*=a_{D'-2} a ∗ = a D ′ − 2 is the exponent of the final formula, and put j ∗ = ⌊ a ∗ ⌋ + 1 j_*= \lfloor a_*\rfloor+1 j ∗ = ⌊ a ∗ ⌋ + 1 and
h 0 = u ∗ + j ∗ , h_0=u_*+j_*, h 0 = u ∗ + j ∗ ,
the number of levels that the stages and the final estimate use. We assume h 0 ≤ h ≤ h max ( n ) h_0\le h\le h_{\max}(n) h 0 ≤ h ≤ h m a x ( n ) . Then every stage has enough remaining levels, since u i + 1 ≤ u ∗ < h 0 u_{i+1}\le u_*<h_0 u i + 1 ≤ u ∗ < h 0 for i < D ′ − 2 i<D'-2 i < D ′ − 2 , and h 0 h_0 h 0 depends only on D D D and A A A .
Claim 6.18. For each root value b b b , let Z b ( i ) Z_b^{(i)} Z b ( i ) be the vector of node values at level u i − 1 u_i-1 u i − 1 of the instance with root value b b b , so that Z b ( 0 ) = X b Z_b^{(0)}=X_b Z b ( 0 ) = X b and Z b ( i ) = σ i ( Z b ( i + 1 ) ) Z_b^{(i)}=\sigma_i(Z_b^{(i+1)}) Z b ( i ) = σ i ( Z b ( i + 1 ) ) . Write Z b ∗ = Z b ( D ′ − 2 ) Z_b^*=Z_b^{(D'-2)} Z b ∗ = Z b ( D ′ − 2 ) for the vector at level u ∗ − 1 u_*-1 u ∗ − 1 . Then
Pr [ F ( X b ) ≠ F ∗ ( Z b ∗ ) ] ≤ ∑ i θ i . \Pr\left[F(X_b)\ne F_*(Z_b^*)\right]\le\sum_i\theta_i. Pr [ F ( X b ) = F ∗ ( Z b ∗ ) ] ≤ i ∑ θ i .
Proof. At stage i i i , three disjoint sets of projection choices determine the objects in the comparison. The levels below u i u_i u i determine F i F_i F i . The levels u i , … , u i + 1 − 1 u_i,\ldots,u_{i+1}-1 u i , … , u i + 1 − 1 determine σ i \sigma_i σ i . The levels above u i + 1 − 1 u_{i+1}-1 u i + 1 − 1 generate Z b ( i + 1 ) Z_b^{(i+1)} Z b ( i + 1 ) . These three sets of choices are independent by Claim 4.1 (b).
We condition on the projections below level u i u_i u i and on Z b ( i + 1 ) Z_b^{(i+1)} Z b ( i + 1 ) . The formula is now fixed, and the input at which it is evaluated is fixed independently of the still fresh σ i \sigma_i σ i , so Claim 6.17 applies. Averaging over the projections below level u i u_i u i and Z b ( i + 1 ) Z_b^{(i+1)} Z b ( i + 1 ) gives
Pr [ F i ( σ i ( Z b ( i + 1 ) ) ) ≠ F i + 1 ( Z b ( i + 1 ) ) ] ≤ θ i . \Pr\left[F_i\left(\sigma_i\left(Z_b^{(i+1)}\right)\right)\ne F_{i+1}\left(Z_b^{(i+1)}\right)\right]\le\theta_i. Pr [ F i ( σ i ( Z b ( i + 1 ) ) ) = F i + 1 ( Z b ( i + 1 ) ) ] ≤ θ i .
Since Z b ( i ) = σ i ( Z b ( i + 1 ) ) Z_b^{(i)}=\sigma_i(Z_b^{(i+1)}) Z b ( i ) = σ i ( Z b ( i + 1 ) ) , this is the probability of disagreement between the evaluations F i ( Z b ( i ) ) F_i(Z_b^{(i)}) F i ( Z b ( i ) ) and F i + 1 ( Z b ( i + 1 ) ) F_{i+1}(Z_b^{(i+1)}) F i + 1 ( Z b ( i + 1 ) ) of two consecutive stages. If F ( X b ) = F 0 ( Z b ( 0 ) ) F(X_b)=F_0(Z_b^{(0)}) F ( X b ) = F 0 ( Z b ( 0 ) ) and F ∗ ( Z b ∗ ) = F D ′ − 2 ( Z b ( D ′ − 2 ) ) F_*(Z_b^*)=F_{D'-2}(Z_b^{(D'-2)}) F ∗ ( Z b ∗ ) = F D ′ − 2 ( Z b ( D ′ − 2 ) ) differ, then some two consecutive stages differ, and a union bound over the D ′ − 2 D'-2 D ′ − 2 stages proves the claim. We have not conditioned on earlier stages succeeding, so no independence between their errors is needed. The direction of the approximation may alternate between stages.
Claim 6.19. There is a constant c ∗ > 0 c_*>0 c ∗ > 0 , depending on D D D and A A A , such that Pr [ F ∗ ( Z 0 ∗ ) ≠ F ∗ ( Z 1 ∗ ) ] ≤ 2 1 − c ∗ n \Pr[F_*(Z_0^*)\ne F_*(Z_1^*)]\le2^{1-c_*n} Pr [ F ∗ ( Z 0 ∗ ) = F ∗ ( Z 1 ∗ )] ≤ 2 1 − c ∗ n for large n n n .
Proof. We condition on the exposed projections, so that F ∗ F_* F ∗ is a fixed DNF or CNF of width at most W ∗ W_* W ∗ on the node values at level u ∗ − 1 u_*-1 u ∗ − 1 . The remaining levels u ∗ , … , h − 1 u_*,\ldots,h-1 u ∗ , … , h − 1 form one block of height h − u ∗ ≥ j ∗ h-u_*\ge j_* h − u ∗ ≥ j ∗ with bottom dimension m u ∗ m_{u_*} m u ∗ . Using the same projections of these levels with root values zero and one generates the pair ( Z 0 ∗ , Z 1 ∗ ) (Z_0^*,Z_1^*) ( Z 0 ∗ , Z 1 ∗ ) .
Suppose first that F ∗ F_* F ∗ is a DNF, and put ν ∗ = m u ∗ + j ∗ − 1 = Θ ( n ) \nu_*=m_{u_*+j_*-1}=\Theta(n) ν ∗ = m u ∗ + j ∗ − 1 = Θ ( n ) . Theorem 6.5 with r = 1 r=1 r = 1 , u = u ∗ u=u_* u = u ∗ , and exponent a ∗ a_* a ∗ , extended by Claim 6.8 if h − u ∗ > j ∗ h-u_*>j_* h − u ∗ > j ∗ , gives
Pr [ F ∗ ( Z 1 ∗ ) = 1 , F ∗ ( Z 0 ∗ ) = 0 ] ≤ 2 − ν ∗ / 4 . \Pr\left[F_*(Z_1^*)=1,\ F_*(Z_0^*)=0\right]\le2^{-\nu_*/4}. Pr [ F ∗ ( Z 1 ∗ ) = 1 , F ∗ ( Z 0 ∗ ) = 0 ] ≤ 2 − ν ∗ /4 .
The same bound holds with the two root values exchanged. If F ∗ F_* F ∗ is a CNF, the same bounds apply to its negation. Summing the two orientations bounds disagreement by 2 1 − ν ∗ / 4 2^{1-\nu_*/4} 2 1 − ν ∗ /4 . Since ν ∗ = m h 0 − 1 ≥ n / 16 h 0 \nu_*=m_{h_0-1}\ge n/16^{h_0} ν ∗ = m h 0 − 1 ≥ n /1 6 h 0 for large n n n , this is at most 2 1 − c ∗ n 2^{1-c_*n} 2 1 − c ∗ n with c ∗ = 16 − h 0 / 4 c_*=16^{-h_0}/4 c ∗ = 1 6 − h 0 /4 , as claimed.
Proof of Theorem 1.7. Let h 0 h_0 h 0 be as above, and let n 0 n_0 n 0 be the largest of the thresholds on n n n in Claim 6.16 , in Claim 6.17 for each of the D ′ − 2 D'-2 D ′ − 2 stages, and in Claim 6.19 . These thresholds depend only on D D D , A A A , and d d d , because the thresholds of Theorems 6.5 and 6.15 depend only on u u u , the exponent, and d d d . Fix n ≥ n 0 n\ge n_0 n ≥ n 0 and a height h h h with h 0 ≤ h ≤ h max ( n ) h_0\le h\le h_{\max}(n) h 0 ≤ h ≤ h m a x ( n ) . By Claim 6.16 we may assume that F F F has the normal form, and Claims 6.17 to 6.19 apply. For the pair generated by the same projections,
Pr [ F ( X 0 ) ≠ F ( X 1 ) ] ≤ Pr [ F ( X 0 ) ≠ F ∗ ( Z 0 ∗ ) ] + Pr [ F ∗ ( Z 0 ∗ ) ≠ F ∗ ( Z 1 ∗ ) ] + Pr [ F ∗ ( Z 1 ∗ ) ≠ F ( X 1 ) ] \Pr[F(X_0)\ne F(X_1)]\le\Pr[F(X_0)\ne F_*(Z_0^*)]+\Pr[F_*(Z_0^*)\ne F_*(Z_1^*)]+\Pr[F_*(Z_1^*)\ne F(X_1)] Pr [ F ( X 0 ) = F ( X 1 )] ≤ Pr [ F ( X 0 ) = F ∗ ( Z 0 ∗ )] + Pr [ F ∗ ( Z 0 ∗ ) = F ∗ ( Z 1 ∗ )] + Pr [ F ∗ ( Z 1 ∗ ) = F ( X 1 )]
≤ 2 ∑ i θ i + 2 1 − c ∗ n , \le2\sum_i\theta_i+2^{1-c_*n}, ≤ 2 i ∑ θ i + 2 1 − c ∗ n ,
by Claims 6.18 and 6.19, where the first and third terms are the errors of the depth reduction under the two root values and the middle term is the final estimate. The right-hand side is at most 2 − c n 2^{-cn} 2 − c n for a constant c > 0 c > 0 c > 0 depending on D D D , A A A , and the code family, after increasing n 0 n_0 n 0 if necessary. This proves the coupling bound (1) . Since the marginals of this pair are μ n , h , 0 \mu_{n,h,0} μ n , h , 0 and μ n , h , 1 \mu_{n,h,1} μ n , h , 1 ,
∣ E μ n , h , 1 F − E μ n , h , 0 F ∣ ≤ E [ ∣ F ( X 1 ) − F ( X 0 ) ∣ ] = Pr [ F ( X 0 ) ≠ F ( X 1 ) ] , \left|\mathbb{E}_{\mu_{n,h,1}}F-\mathbb{E}_{\mu_{n,h,0}}F\right| \leq\mathbb{E}\left[|F(X_1)-F(X_0)|\right]=\Pr[F(X_0)\ne F(X_1)], E μ n , h , 1 F − E μ n , h , 0 F ≤ E [ ∣ F ( X 1 ) − F ( X 0 ) ∣ ] = Pr [ F ( X 0 ) = F ( X 1 )] ,
which gives the distinguishing bound. Neither c c c , h 0 h_0 h 0 , nor n 0 n_0 n 0 depends on h h h .
Proofs of the main theorems
In this section we build the oracle by diagonalizing against all polynomial-time oracle machines with a constant number of alternating quantifiers, following the method of Furst, Saxe, and Sipser [26 ] , Yao [Yao85], Håstad [35 ] , and, for random oracles, Cai [18 ] , and applying Theorem 1.7 at every stage. We then prove the other results of § 1.1 , using Theorems 5.1 and 5.5 and Appendix § 9 .
Constructing the oracle
We fix a code family of Definition 3.1 . The Hadamard code suffices for Theorems 1.1 and 1.3 . We also fix a height function h h h as defined in § 1.1 , that is, an unbounded function with h ( n ) h(n) h ( n ) computable from 1 n 1^n 1 n in polynomial time and h ( n ) ≤ h max ( n ) h(n) \leq h_{\max}(n) h ( n ) ≤ h m a x ( n ) for every n ≥ 1 n \geq1 n ≥ 1 . The function h max h_{\max} h m a x is itself a height function and gives Theorem 1.1 .
At size n n n we store one instance of height h ( n ) h(n) h ( n ) . Its leaves occupy the addresses 1 n 0 p 1^n0p 1 n 0 p , where p p p ranges over the root-to-leaf paths of the tree, which are strings of the length a ( n ) a(n) a ( n ) in (4) for this height. All addresses of an instance have the same length n + 1 + a ( n ) n+1+a(n) n + 1 + a ( n ) , greater than n n n and at most 3 n 3n 3 n . The first zero determines n n n , so instances of different sizes are disjoint. An instance of height zero, which is the case at every n < 256 n < 256 n < 256 , is one leaf at 1 n 0 1^n0 1 n 0 . Every other string is malformed and receives answer zero. There are no addresses for internal secrets or node values.
For every size n n n , every height j ≤ h max ( n ) j \leq h_{\max}(n) j ≤ h m a x ( n ) , and every root value b b b there is a valid default tree D j b \mathcal{D}_j^b D j b , defined by induction on j j j , with the dimensions (2) of size n n n . The notation suppresses the size. At height zero it is the single leaf b b b . At an internal node of dimension m m m we choose the secret zero, we give the code child x x x a default tree of value C m ( 0 , x ) C_m(0,x) C m ( 0 , x ) , we give the data child indexed by zero a default tree of value b b b , and we give all other data children default trees of value zero. The code table is then the codeword of the secret zero and the data child at this secret has value b b b , so the tree is valid with value b b b . For the Hadamard code, D j 0 \mathcal{D}_j^0 D j 0 is the all-zero leaf table.
We fix a deterministic polynomial-time oracle machine V V V with k k k alternating quantifiers over strings of lengths p 1 ( n ) , … , p k ( n ) p_1(n),\ldots,p_k(n) p 1 ( n ) , … , p k ( n ) . On input 1 n 1^n 1 n it accepts if and only if
Q 1 y 1 ∈ { 0 , 1 } p 1 ( n ) ⋯ Q k y k ∈ { 0 , 1 } p k ( n ) [ V O ( 1 n , y 1 , … , y k ) = 1 ] . Q_1y_1 \in\{0,1\}^{p_1(n)}\ \cdots\ Q_ky_k \in\{0,1\}^{p_k(n)}\ [V^O(1^n,y_1,\ldots,y_k)=1]. Q 1 y 1 ∈ { 0 , 1 } p 1 ( n ) ⋯ Q k y k ∈ { 0 , 1 } p k ( n ) [ V O ( 1 n , y 1 , … , y k ) = 1 ] .
We call a tuple ( y 1 , … , y k ) (y_1,\ldots,y_k) ( y 1 , … , y k ) of strings of these lengths a complete tuple. Let P ( n ) ≥ 4 n P(n) \geq4n P ( n ) ≥ 4 n be a polynomial bound on the running time of V V V on input 1 n 1^n 1 n and on the lengths of its queries, over all complete tuples and all sequences of oracle answers, and on the lengths p 1 ( n ) , … , p k ( n ) p_1(n),\ldots,p_k(n) p 1 ( n ) , … , p k ( n ) .
Claim 7.1. Fix n n n , a complete tuple ( y 1 , … , y k ) (y_1,\ldots,y_k) ( y 1 , … , y k ) , and the oracle answers on all strings other than the leaves of the instance of size n n n . Then there is a DNF of width at most P ( n ) P(n) P ( n ) with at most 2 P ( n ) 2^{P(n)} 2 P ( n ) terms over the leaves of the instance that agrees with V O ( 1 n , y 1 , … , y k ) V^O(1^n,y_1,\ldots,y_k) V O ( 1 n , y 1 , … , y k ) on every leaf table, valid or not.
Proof. With the other answers fixed, the computation of V V V on ( 1 n , y 1 , … , y k ) (1^n,y_1,\ldots,y_k) ( 1 n , y 1 , … , y k ) is an adaptive decision tree over the leaves of depth at most P ( n ) P(n) P ( n ) . We take the disjunction, over the accepting root-to-leaf paths of this tree, of the conjunction of the recorded answers along the path. This DNF has width at most P ( n ) P(n) P ( n ) and at most 2 P ( n ) 2^{P(n)} 2 P ( n ) terms. A table that satisfies the conjunction of a path reproduces that path, by induction on the queries, since the recorded answers determine the next query address. Hence the DNF is one exactly on the accepting tables.
This DNF, and hence the circuit of Claim 7.2 below, is an ordinary Boolean function on the full Boolean cube of leaf assignments. Theorem 1.7 applies to such circuits, and its proof evaluates them on projected leaf tables that need not be valid (Claim 4.1 (c)). The diagonalization below tests the circuit on valid tables only.
Claim 7.2. Fix the oracle answers on all strings other than the leaves of the instance of size n n n . Then the acceptance of V V V on 1 n 1^n 1 n is computed on these leaves by a circuit of depth at most k + 2 k+2 k + 2 and size at most
O ( ( k + P ( n ) + 1 ) 2 p 1 ( n ) + ⋯ + p k ( n ) + P ( n ) ) = 2 poly ( n ) , O\left((k+P(n)+1)2^{p_1(n)+\cdots+p_k(n)+P(n)}\right)=2^{\operatorname{poly}(n)}, O ( ( k + P ( n ) + 1 ) 2 p 1 ( n ) + ⋯ + p k ( n ) + P ( n ) ) = 2 poly ( n ) , with a fixed polynomial in the exponent determined by V V V .
Proof. We replace each existential quantifier by an OR gate and each universal quantifier by an AND gate over the 2 p i ( n ) 2^{p_i(n)} 2 p i ( n ) values of y i y_i y i , and each leaf of the quantifier tree, which corresponds to one complete tuple, by the DNF of Claim 7.1 for that tuple. The k k k quantifiers give k k k layers of gates and the DNF gives two more, which is the depth bound. The size bound counts the 2 p 1 ( n ) + ⋯ + p k ( n ) 2^{p_1(n)+\cdots+p_k(n)} 2 p 1 ( n ) + ⋯ + p k ( n ) complete tuples, each with a DNF of at most 2 P ( n ) 2^{P(n)} 2 P ( n ) terms of width at most P ( n ) P(n) P ( n ) , together with the quantifier gates and their wires.
We construct O h O_h O h in stages, one for each machine. The stage of a machine V V V chooses a fresh size n n n and assigns all unassigned strings of length at most P ( n ) P(n) P ( n ) so that V V V errs on 1 n 1^n 1 n . We enumerate all machines V V V , all finite quantifier counts k k k , both starting quantifiers, and all polynomial time bounds and length bounds. Each enumerated machine is run under a clock given by its enumerated polynomial time bound and rejects when the clock runs out, as in Appendix § 10 . This enumeration covers every language in P H O h \mathrm{PH}^{O_h} PH O h , however the remaining values of O h O_h O h are chosen. We maintain a length bound B B B such that the assigned strings are exactly those of length at most B B B , all assignments are permanent, and every assigned instance is valid. Initially the empty string is assigned zero and B = 0 B=0 B = 0 .
At the stage of V V V , we choose an exponent A ≥ 1 A\geq1 A ≥ 1 such that the size bound in Claim 7.2 is at most 2 n A 2^{n^A} 2 n A for all large n n n . Let h 0 , n 0 h_0,n_0 h 0 , n 0 be the constants of Theorem 1.7 for the code family, depth k + 2 k+2 k + 2 , and exponent A A A . We choose n n n with h ( n ) ≥ h 0 h(n)\geq h_0 h ( n ) ≥ h 0 that exceeds B B B and n 0 n_0 n 0 and is large enough that the size bound is at most 2 n n 2^{n^n} 2 n n . Such an n n n exists because h ( n ) ≥ h 0 h(n)\geq h_0 h ( n ) ≥ h 0 for infinitely many n n n , since otherwise h h h would be bounded. We call the instance of size n n n the target.
We assign to every other unassigned instance whose addresses have length at most P ( n ) P(n) P ( n ) its default tree of root value zero, with the height and dimensions of its own size, and we assign zero to the unassigned malformed strings of length at most P ( n ) P(n) P ( n ) . With these defaults, every instance that V V V can read other than the target is valid, as the quantum algorithm and the protocol require at every size, and the acceptance of V V V on 1 n 1^n 1 n depends only on the target leaves. The target is entirely unassigned, since its addresses have length at least n + 1 > B n+1>B n + 1 > B , and all of it lies within the new length bound, since its address length is at most 3 n ≤ P ( n ) 3n\leq P(n) 3 n ≤ P ( n ) . No instance is partly assigned, since all of its leaves have the same address length.
The machine queries only strings of length at most P ( n ) P(n) P ( n ) , so the remaining longer strings do not affect it. By Claim 7.2 , its acceptance on 1 n 1^n 1 n is now computed by a circuit F F F on the target leaves of depth at most k + 2 k + 2 k + 2 and size at most 2 n A 2^{n^A} 2 n A . Since n ≥ n 0 n \ge n_0 n ≥ n 0 and h 0 ≤ h ( n ) ≤ h max ( n ) h_0 \le h(n) \le h_{\max}(n) h 0 ≤ h ( n ) ≤ h m a x ( n ) , Theorem 1.7 applies to F F F . If F F F computed the root value on every valid target table, its expectations under μ n , h ( n ) , 1 \mu_{n,h(n),1} μ n , h ( n ) , 1 and μ n , h ( n ) , 0 \mu_{n,h(n),0} μ n , h ( n ) , 0 would differ by one, contrary to that theorem. We choose a valid target table on which F F F errs and assign the entire instance. We assign zero to every remaining unassigned string of length at most P ( n ) P(n) P ( n ) , and we replace B B B by P ( n ) P(n) P ( n ) .
Any instance that remains unassigned after all stages receives its default tree of root value zero, and any remaining string receives zero. We define L h \mathcal{L}_h L h to contain 1 n 1^n 1 n , for n ≥ 1 n \ge1 n ≥ 1 , exactly when the instance of size n n n has root value one, and to contain no other strings. This defines O h \mathcal{O}_h O h and L h \mathcal{L}_h L h . For h = h max h = h_{\max} h = h m a x we write O \mathcal{O} O and L \mathcal{L} L . The choice of a sufficiently large size at each stage is part of the oracle construction. The quantum algorithm, the verifier, and the honest prover do not compute these sizes or the constants h 0 h_0 h 0 , n 0 n_0 n 0 . They use only the input, the fixed height function, and oracle access.
Claim 7.3. Every machine V V V of the enumeration errs on the string 1 n 1^n 1 n of its stage, with respect to the final oracle O h \mathcal{O}_h O h .
Proof. At the stage of V V V , every string that V V V can query on input 1 n 1^n 1 n , on any branch of the quantified computation and for any sequence of oracle answers, has length at most P ( n ) P(n) P ( n ) and is assigned at the end of the stage. Later stages assign only strings of length greater than P ( n ) P(n) P ( n ) . Hence the acceptance of V V V on 1 n 1^n 1 n is the same for the final oracle as for the oracle at the end of the stage, where V V V errs. □
The separation and the resource bounds
Proof of Theorems 1.1 and 1.3. Let O h \mathcal{O}_h O h and L h \mathcal{L}_h L h be as constructed for a height function h h h . By Claim 7.3 , every machine of the enumeration errs on some input, so L h ∉ P H O h \mathcal{L}_h \notin\mathrm{PH}^{\mathcal{O}_h} L h ∈ / PH O h . Every stored instance is valid, including those at sizes never chosen at a stage.
The quantum algorithm rejects the empty string and every nonunary input. On input 1 n 1^n 1 n it computes h ( n ) h(n) h ( n ) and the dimensions (2) in polynomial time, evaluates the instance of size n n n with the algorithm of Theorem 5.1 for height h ( n ) h(n) h ( n ) , and accepts exactly when the root value is one. For h ( n ) = 0 h(n) = 0 h ( n ) = 0 it makes one query to the leaf 1 n 0 1^{n^0} 1 n 0 . The algorithm is exact, makes 3 h ( n ) 3^{h(n)} 3 h ( n ) queries, and runs in time 3 h ( n ) poly ( n ) 3^{h(n)}\operatorname{poly}(n) 3 h ( n ) poly ( n ) , which is polynomial because 3 h ( n ) ≤ 3 log n / 8 ≤ n 1 / 4 3^{h(n)} \le3^{\log n/8} \le n^{1/4} 3 h ( n ) ≤ 3 l o g n /8 ≤ n 1/4 . Hence L h ∈ E Q P O h \mathcal{L}_h \in\mathrm{EQP}^{\mathcal{O}_h} L h ∈ EQP O h , with the bounds of part (i) of Theorem 1.3 .
The verifier likewise rejects every input other than 1 n 1^n 1 n with n ≥ 1 n \ge1 n ≥ 1 , and on input 1 n 1^n 1 n it runs Protocol 5.3 on the claim that the root of the instance of size n n n has value one. Theorem 5.5 with j = h ( n ) j = h(n) j = h ( n ) gives perfect completeness with its uniform quantum honest prover, soundness error at most 1 / 4 1/4 1/4 against every prover, classical or quantum, a public-coin proof system with 2 h ( n ) 2h(n) 2 h ( n ) messages, h ( n ) h(n) h ( n ) from each party, and the bit and query bounds of parts (ii) and (iii) of Theorem 1.3 . The verifier and the honest prover run in time 4 h ( n ) poly ( n ) 4^{h(n)}\operatorname{poly}(n) 4 h ( n ) poly ( n ) , which is polynomial since 4 h ( n ) ≤ n 1 / 4 4^{h(n)} \le n^{1/4} 4 h ( n ) ≤ n 1/4 . This proves Theorem 1.3 . Taking h = h max h = h_{\max} h = h m a x proves Theorem 1.1 , including its message bound 2 h max ( n ) ≤ log n / 4 2h_{\max}(n) \le\log n/4 2 h m a x ( n ) ≤ log n /4 . □
Proof of Corollary 1.4. We put h ( n ) = ⌊ min { f ( n ) , 2 h max ( n ) } / 2 ⌋ h(n) = \lfloor\min\{f(n),2h_{\max}(n)\}/2\rfloor h ( n ) = ⌊ min { f ( n ) , 2 h m a x ( n )} /2 ⌋ . This function is computable from 1 n 1^n 1 n in polynomial time and is at most h max ( n ) h_{\max}(n) h m a x ( n ) . It is also unbounded. For every H H H , the unbounded function f f f satisfies f ( n ) ≥ 2 H f(n) \ge2H f ( n ) ≥ 2 H for infinitely many n n n , and h max ( n ) ≥ H h_{\max}(n) \ge H h m a x ( n ) ≥ H for all but finitely many n n n , so h ( n ) ≥ H h(n) \ge H h ( n ) ≥ H for some n n n . Hence h h h is a height function. Theorem 1.3 with this h h h gives the oracle O f = O h \mathcal{O}_f = \mathcal{O}_h O f = O h and the language L f = L h \mathcal{L}_f = \mathcal{L}_h L f = L h . The proof system has 2 h ( n ) ≤ f ( n ) 2h(n) \le f(n) 2 h ( n ) ≤ f ( n ) messages, and the query counts 3 h ( n ) 3^{h(n)} 3 h ( n ) , 4 h ( n ) 4^{h(n)} 4 h ( n ) , and 4 h ( n ) − 3 h ( n ) 4^{h(n)} - 3^{h(n)} 4 h ( n ) − 3 h ( n ) of the quantum algorithm, the verifier, and the honest prover are at most 4 f ( n ) / 2 = 2 f ( n ) 4^{f(n)/2} = 2^{f(n)} 4 f ( n ) /2 = 2 f ( n ) . The function log ∗ n \log^* n log ∗ n is computable in polynomial time (§ 3 ) and is unbounded. □
Proof of Corollary 1.5. We put f ( n ) = ⌊ log 2 Q ( n ) ⌋ f(n)=\lfloor\log_2 Q(n)\rfloor f ( n ) = ⌊ log 2 Q ( n )⌋ . This is a nonnegative integer, computable in polynomial time as one less than the bit length of the positive integer Q ( n ) Q(n) Q ( n ) , and f f f is unbounded because Q Q Q is. We apply Corollary 1.4 with this f f f . Each of the three query counts is at most 2 f ( n ) ≤ Q ( n ) 2^{f(n)}\le Q(n) 2 f ( n ) ≤ Q ( n ) , and the number of messages is at most f ( n ) f(n) f ( n ) . In particular, if Q ( n ) = 1 Q(n)=1 Q ( n ) = 1 then f ( n ) = 0 f(n)=0 f ( n ) = 0 and the height function h ( n ) = ⌊ min { f ( n ) , 2 h max ( n ) } / 2 ⌋ h(n)=\lfloor\min\{f(n),2h_{\max}(n)\}/2\rfloor h ( n ) = ⌊ min { f ( n ) , 2 h m a x ( n )} /2 ⌋ of Corollary 1.4 is zero, so the quantum algorithm and the verifier each make one query, the honest prover makes none, and no messages are exchanged.
Theorems 1.1 and 1.3 exclude every fixed level of the polynomial hierarchy. The number h 0 h_0 h 0 of levels used by the lower-bound proof depends on that level and on the polynomial time bound. There is also a direct procedure with at most 2 h ( n ) 2h(n) 2 h ( n ) quantifier blocks that decides L h \mathcal{L}_h L h relative to O h \mathcal{O}_h O h . It guesses the secret s s s of a node existentially, chooses universally either a code child x x x , claimed to have value C m ( s , x ) C_m(s,x) C m ( s , x ) , or the data child s s s , claimed to have the value of the node, and recurses on that claim, with polynomial work on every path. A leaf is checked by one query. A true claim with the true secret makes every child claim true. A false claim fails on some branch for every guessed secret, because with the true secret the data child has the true value of the node, and with a wrong secret some code child disagrees with the codeword of the wrong secret. Induction on the height completes the argument. The universal choice ranges over all code positions, rather than only the three positions sampled by the verifier. This procedure uses at most log n / 4 \log n/4 log n /4 quantifier blocks for Theorem 1.1 and at most f ( n ) f(n) f ( n ) for Corollary 1.4 . A lower bound of Ω ( h ( n ) ) \Omega(h(n)) Ω ( h ( n )) on the number of alternations needed for L h \mathcal{L}_h L h relative to O h \mathcal{O}_h O h is not proved.
Excluding constant-message interactive proofs
Proof of Corollary 1.2. Part (i) follows from Theorem 1.1 and the containment E Q P O ⊆ B Q P O \mathrm{EQP}^{\mathcal{O}}\subseteq\mathrm{BQP}^{\mathcal{O}} EQP O ⊆ BQP O . For part (ii), we suppose that L \mathcal{L} L has an interactive proof system relative to O \mathcal{O} O with a constant number of messages, completeness at least 2 / 3 2/3 2/3 , and soundness error at most 1 / 3 1/3 1/3 , and we derive a contradiction. Since the verifier and all messages are classical, an optimal prover can be taken classical and deterministic. The system is therefore an interactive proof system in the classical sense, and the transformation of Goldwasser and Sipser [31 ] gives a public-coin proof system with a constant number of messages. The results of Babai [9 ] and of Babai and Moran [10 ] reduce the number of messages to two, which gives an Arthur–Merlin proof system. The standard containment A M O ⊆ Π 2 p , O \mathrm{AM}^{\mathcal{O}}\subseteq\Pi_2^{p,\mathcal{O}} AM O ⊆ Π 2 p , O then applies [10 , 29 ] . All these steps relativize, and none of them requires an efficient honest prover. Hence L ∈ A M O ⊆ Π 2 p , O ⊆ P H O \mathcal{L}\in\mathrm{AM}^{\mathcal{O}}\subseteq\Pi_2^{p,\mathcal{O}}\subseteq\mathrm{PH}^{\mathcal{O}} L ∈ AM O ⊆ Π 2 p , O ⊆ PH O , contradicting Theorem 1.1.
Extension to noisy code tables
Theorems 1.1 and 1.3 use exact code tables, in which the code table of every node is a codeword. In this subsection every code table may be within a fixed relative distance η < 1 / 4 \eta<1/4 η < 1/4 of a codeword. The circuit lower bound uses the code family only through its degree bound and the random projections. Since the exact instances satisfy the weaker promise, the lower bound carries over unchanged. The quantum algorithm and the protocol also use the decoder and the distance between codewords, and Appendix § 9 adapts both to noisy code tables. The oracle construction uses only exact valid trees, namely the default trees and the target tables of § 7.1 , and is unchanged.
For 0 ≤ η < 1 / 4 0\le\eta<1/4 0 ≤ η < 1/4 , we define validity with noise rate η \eta η from the leaves up. Every child must be valid with noise rate η \eta η , and at an internal node the table of code-child values must be within distance η \eta η of a codeword. The secret is unique, since distinct codewords have distance 1 / 2 > 2 η 1/2>2\eta 1/2 > 2 η , and the node value is the value of the data child at that secret. This condition concerns tables of child values at every node. It does not describe arbitrary corruption of terminal leaves. Every exact valid tree is valid with noise rate η \eta η , with the same value.
The following theorem extends the evaluation and verification results to such instances, with bounded error in place of exactness and perfect completeness.
Theorem 7.4 (Evaluation and verification with noisy code tables). Fix a code family of Definition 3.1 , a noise rate 0 ≤ η < 1 / 4 0 \le\eta< 1/4 0 ≤ η < 1/4 , and a height function h h h . Instances of size n n n and height h ( n ) h(n) h ( n ) in which every code table is within relative distance η \eta η of a codeword have a uniform polynomial-time bounded-error quantum algorithm and a public-coin interactive proof system with completeness at least 0.99, soundness error at most 0.01 against computationally unbounded provers, an efficient honest prover, and polynomially many messages. No family of constant-depth circuits of size 2 poly ( n ) 2^{\operatorname{poly}(n)} 2 poly ( n ) computes the root value on every such instance.
Proof of Theorem 7.4. The quantum algorithm is the algorithm of Theorem A.3 in Appendix § 9 , and the proof system is that of Theorem A.4 , run on the claim that the root has value one. Let C η C_\eta C η and t η t_\eta t η be the constants of these theorems. For h = h ( n ) h=h(n) h = h ( n ) , the factors C η h C_\eta^h C η h , ( 2 t η ) h (2t_\eta)^h ( 2 t η ) h , and ( 2 t η C η ) h (2t_\eta C_\eta)^h ( 2 t η C η ) h in the time bounds of the algorithm, the verifier, and the honest prover are polynomial in n n n , since η \eta η is fixed and h ( n ) ≤ log n / 8 h(n) \le\log n/8 h ( n ) ≤ log n /8 . The communication, and hence the number of messages, is bounded likewise.
For the lower bound, every circuit that is correct on all instances of size n n n and height h ( n ) h(n) h ( n ) that are valid with noise rate η \eta η is correct on all exact valid instances of this size and height. A family of constant-depth circuits of size 2 poly ( n ) 2^{\operatorname{poly}(n)} 2 poly ( n ) has some depth D D D , and its size is at most 2 n A 2^{n^A} 2 n A for some A ≥ 1 A \ge1 A ≥ 1 and all large n n n . Let h 0 , n 0 h_0,n_0 h 0 , n 0 be the constants of Theorem 1.7 for the code family, D D D , and A A A . For every n ≥ n 0 n \ge n_0 n ≥ n 0 with h ( n ) ≥ h 0 h(n) \ge h_0 h ( n ) ≥ h 0 at which the size bound holds, the circuit of the family is not correct on all exact valid instances of size n n n and height h ( n ) h(n) h ( n ) , since otherwise its expectations under μ n , h ( n ) , 1 \mu_{n,h(n),1} μ n , h ( n ) , 1 and μ n , h ( n ) , 0 \mu_{n,h(n),0} μ n , h ( n ) , 0 would differ by one, contrary to that theorem. There are arbitrarily large such n n n because h h h is unbounded. The lower bound thus uses only the exact valid instances. It does not assert a correlation estimate for a distribution of corrupted code tables.
Finally, let O O O be any oracle that stores, at every size n n n and in the format of § 7.1 , an instance of height h ( n ) h(n) h ( n ) that is valid with noise rate η \eta η . The quantum algorithm and the protocol apply at every size, so the language of root values of O O O is in B Q P O \mathrm{BQP}^{O} BQP O and has the stated proof system. In particular, the oracle O h O_h O h constructed in § 7.1 for this height function and this code family stores exact valid instances and has these properties.
Open problems. Two questions remain open. First, in the formulation of recursive Fourier sampling verified by McKague [46 ] , the value of a node is g ( s ) g(s) g ( s ) for a fixed polynomial-time predicate g g g . Our lower bound uses the fact that the data table is unconstrained by the code table apart from the data entry at the secret. This freedom lets Claim 6.3 fix the data tables in the auxiliary experiment of Claim 6.2 , in which the secrets are independent of the data tables, and count secrets. Recursive Fourier sampling with a fixed predicate lacks this freedom, and whether it is outside PH relative to some oracle is open. Second, the language L h \mathcal{L}_h L h is decided with 2 h ( n ) 2h(n) 2 h ( n ) quantifier blocks (§ 7.2 ), while Theorem 1.3 excludes every fixed number of alternations. Whether there are an oracle O O O and a problem in B Q P O \mathrm{BQP}^{O} BQP O that has an interactive proof system with an efficient quantum prover and information-theoretic soundness but is not decided with a logarithmic number of alternations relative to O O O is open.
References
Quantum evaluation and verification with noisy code tables
In this appendix we prove the evaluation and verification guarantees of Theorem 7.4 . We fix a code family of Definition 3.1 and a noise rate 0 ≤ η < 1 / 4 0 \le\eta< 1/4 0 ≤ η < 1/4 , and we put κ = 1 / 4 − η > 0 \kappa= 1/4 - \eta> 0 κ = 1/4 − η > 0 . Constants may depend on η \eta η and on the code family. A tree that is valid with noise rate η \eta η is valid with every larger noise rate below 1 / 4 1/4 1/4 , so the algorithms may use any fixed rational η ′ \eta' η ′ with η ≤ η ′ < 1 / 4 \eta\le\eta' < 1/4 η ≤ η ′ < 1/4 in place of η \eta η in all parameter choices below. Throughout, trees have the dimensions (2) of an instance of size n n n and are valid with noise rate η \eta η in the sense of § 7.4 . Claim A.1 recovers the secret of one node from its noisy code table, Claim A.2 turns a bounded-error algorithm into a unitary close to a clean oracle, Theorem A.3 assembles the recursion, and Theorem A.4 gives the protocol.
For a node of dimension m m m with code table L L L , the true secret is the unique s ∗ s^* s ∗ whose codeword is within distance η \eta η of L L L . The agreement of a secret s s s is the fraction of positions x ∈ F 2 m x \in\mathbb{F}_2^m x ∈ F 2 m with L x = C m ( s , x ) L_x = C_m(s,x) L x = C m ( s , x ) , that is, the relative agreement of its codeword with L L L . The true secret has agreement at least 1 − η = 3 / 4 + κ 1-\eta= 3/4+\kappa 1 − η = 3/4 + κ . Every other secret has agreement at most 1 / 2 + η = 3 / 4 − κ 1/2+\eta= 3/4-\kappa 1/2 + η = 3/4 − κ , since its codeword agrees with the true codeword in exactly half of the positions (§ 3.2 ) and L L L differs from the true codeword in at most an η \eta η fraction of all positions. This gap is used in the validation step of Claim A.1 and in the soundness argument of Theorem A.4 .
Decoding and evaluation with noisy code tables
Claim A.1. For every fixed 0 < ζ < 1 0 < \zeta< 1 0 < ζ < 1 there is a constant q η , ζ q_{\eta,\zeta} q η , ζ such that the secret of a node whose code table is within distance η \eta η of a codeword can be recovered with error probability at most ζ \zeta ζ by a quantum algorithm that makes q η , ζ q_{\eta,\zeta} q η , ζ queries to the code table and runs in polynomial time. Consequently the value of such a node is computed with error at most ζ \zeta ζ by a constant number of queries to its tables.
Proof. Let s ∗ s^* s ∗ be the true secret and L L L the code table. One query to L L L prepares its phase state ∣ L ⟩ = 2 − m / 2 ∑ x ( − 1 ) L x ∣ x ⟩ |L\rangle= 2^{-m/2} \sum_x (-1)^{L_x}|x\rangle ∣ L ⟩ = 2 − m /2 ∑ x ( − 1 ) L x ∣ x ⟩ . Since U m − 1 U_m^{-1} U m − 1 maps ∣ s ∗ ⟩ |s^*\rangle ∣ s ∗ ⟩ to the phase state ∣ C s ∗ ⟩ |C_{s^*}\rangle ∣ C s ∗ ⟩ of the codeword of s ∗ s^* s ∗ (Definition 3.1 (iii)), the amplitude of U m ∣ L ⟩ U_m|L\rangle U m ∣ L ⟩ at ∣ s ∗ ⟩ |s^*\rangle ∣ s ∗ ⟩ is the inner product of ∣ C s ∗ ⟩ |C_{s^*}\rangle ∣ C s ∗ ⟩ and ∣ L ⟩ |L\rangle ∣ L ⟩ . This inner product is
1 − 2 dist ( L , C m ( s ∗ , ⋅ ) ) ≥ 1 − 2 η . 1 - 2\operatorname{dist}(L,C_m(s^*,\cdot)) \ge1 - 2\eta. 1 − 2 dist ( L , C m ( s ∗ , ⋅ )) ≥ 1 − 2 η .
Measuring U m ∣ L ⟩ U_m|L\rangle U m ∣ L ⟩ therefore returns s ∗ s^* s ∗ with probability at least ( 1 − 2 η ) 2 > 1 / 4 (1-2\eta)^2 > 1/4 ( 1 − 2 η ) 2 > 1/4 , which may be far from one. To reduce the error, the algorithm produces a constant-size list of candidates that contains s ∗ s^* s ∗ with probability at least 1 − ζ / 2 1-\zeta/2 1 − ζ /2 and validates each candidate by its agreement. We put
M = ⌈ 4 ln ( 2 / ζ ) ⌉ , p = ⌈ ln ( 2 M / ζ ) 2 κ 2 ⌉ . M = \left\lceil4\ln(2/\zeta)\right\rceil,\qquad p = \left\lceil\frac{\ln(2M/\zeta)}{2\kappa^2}\right\rceil. M = ⌈ 4 ln ( 2/ ζ ) ⌉ , p = ⌈ 2 κ 2 ln ( 2 M / ζ ) ⌉ .
Here M M M is the length of the candidate list and p p p is the number of positions read to validate a candidate. The algorithm repeats the measurement M M M times independently, which gives a list of M M M candidate secrets. The true secret is absent from the list with probability at most ( 3 / 4 ) M ≤ e − M / 4 ≤ ζ / 2 (3/4)^M \le e^{-M/4} \le\zeta/2 ( 3/4 ) M ≤ e − M /4 ≤ ζ /2 .
To validate a candidate s s s , the algorithm reads L L L at p p p uniformly random positions, chosen independently of the list and of the positions used for the other candidates, and accepts s s s if L x = C m ( s , x ) L_x=C_m(s,x) L x = C m ( s , x ) at a fraction at least 3 / 4 3/4 3/4 of these positions. It returns the first accepted candidate, and an arbitrary secret if no candidate is accepted. A validation decision is wrong if it rejects the true secret or accepts another secret. Since the true secret has agreement at least 3 / 4 + κ 3/4+\kappa 3/4 + κ and every other secret at most 3 / 4 − κ 3/4-\kappa 3/4 − κ , Hoeffding’s inequality [38 ] bounds the probability of each wrong decision by exp ( − 2 p κ 2 ) ≤ ζ / ( 2 M ) \exp(-2p\kappa^2) \le\zeta/(2M) exp ( − 2 p κ 2 ) ≤ ζ / ( 2 M ) . A union bound over the M M M decisions bounds the probability of any wrong decision by ζ / 2 \zeta/2 ζ /2 . If the true secret is on the list and every validation decision is correct, the output is the true secret. Hence the output is wrong with probability at most ζ \zeta ζ .
The algorithm makes one query to L L L for each of the M M M measurements and p p p queries for each validation, in total at most M ( 1 + p ) M(1+p) M ( 1 + p ) queries. This number is a constant, which we take as q η , ζ q_{\eta,\zeta} q η , ζ . One further query to the data table at the recovered secret gives the value of the node. All classical processing takes polynomial time. Implementing the algorithm unitarily by deferred measurement [49 Section 4.4] gives a circuit that retains its work registers.
Claim A.2. Fix a height. An address is valid if it is the address of a node of this height in a tree that is valid with noise rate η \eta η . Suppose that a uniform unitary algorithm uses the address register only as a control and that, on every valid address with its work registers in the zero state, a designated output bit of the algorithm equals the value of the node at that address with probability at least 9 / 10 9/10 9/10 . Then for every fixed δ > 0 \delta>0 δ > 0 there is a uniformly generated unitary circuit W W W with
∥ ( W − E ) Π 0 ∥ ≤ δ , \lVert(W-\mathcal{E})\Pi_0\rVert\le\delta, ∥( W − E ) Π 0 ∥ ≤ δ ,
where E \mathcal{E} E is the clean oracle that adds the value of the node at the address to an output qubit on which the given algorithm does not act, and Π 0 \Pi_0 Π 0 is the orthogonal projector onto the subspace of valid addresses with all work registers in the zero state. The norm is the operator norm, so the bound states that ∥ ( W − E ) ψ ∥ ≤ δ ∥ ψ ∥ \lVert(W-\mathcal{E})\psi\rVert\le\delta\lVert\psi\rVert ∥( W − E ) ψ ∥ ≤ δ ∥ ψ ∥ for every ψ \psi ψ in the range of Π 0 \Pi_0 Π 0 . The time, the number of queries, and the space of W W W exceed those of the given algorithm by at most a constant factor depending only on δ \delta δ . The bound holds on superpositions of valid addresses with an arbitrary joint state of the output qubit and of any reference system, and W W W uses the address register only as a control.
:::
Proof. Let A A A be the unitary that runs an odd number ℓ \ell ℓ of copies of the algorithm coherently, each on fresh work registers, and computes the majority of their output bits reversibly into a fresh qubit, the majority qubit. At a fixed valid address with zero work registers, the output bits of the copies are independent and each is wrong with probability at most 1 / 10 1/10 1/10 . The majority is wrong only if at least ℓ / 2 \ell/2 ℓ /2 of them are wrong, which has probability at most e − 2 ℓ ( 2 / 5 ) 2 e^{-2\ell(2/5)^2} e − 2 ℓ ( 2/5 ) 2 by Hoeffding’s inequality.
Let W = A − 1 CNOT A W=A^{-1}\operatorname{CNOT}A W = A − 1 CNOT A , where CNOT \operatorname{CNOT} CNOT is the controlled-NOT gate with the majority qubit as control and the output qubit as target. The inverse A − 1 A^{-1} A − 1 reverses the circuit of A A A and inverts each gate, so W W W uses the address register only as a control. Both A A A and E \mathcal{E} E use the address register only as a control. Apart from this control, A A A acts on the work registers and the majority qubit, and E \mathcal{E} E acts only on the output qubit, on which A A A does not act. Hence A A A commutes with E \mathcal{E} E , and W − E = A − 1 ( CNOT − E ) A W-\mathcal{E}=A^{-1}(\operatorname{CNOT}-\mathcal{E})A W − E = A − 1 ( CNOT − E ) A . We fix a valid address a a a and a state ψ \psi ψ with this address, zero work registers, and an arbitrary joint state of the output qubit and of a reference system, and we write A ψ = ψ g o o d + ψ b a d A\psi=\psi_{\mathrm{good}}+\psi_{\mathrm{bad}} A ψ = ψ good + ψ bad according to whether the majority qubit holds the value of the node at a a a . On ψ g o o d \psi_{\mathrm{good}} ψ good the operators CNOT \operatorname{CNOT} CNOT and E \mathcal{E} E add the same bit to the output qubit, so ( CNOT − E ) ψ g o o d = 0 (\operatorname{CNOT}-\mathcal{E})\psi_{\mathrm{good}}=0 ( CNOT − E ) ψ good = 0 . The norm of ψ b a d \psi_{\mathrm{bad}} ψ bad is ∥ ψ ∥ \|\psi\| ∥ ψ ∥ times the square root of the probability that the majority is wrong, hence at most e − ℓ ( 2 / 5 ) 2 ∥ ψ ∥ e^{-\ell(2/5)^2}\|\psi\| e − ℓ ( 2/5 ) 2 ∥ ψ ∥ , and the difference of two unitaries has norm at most two. Hence
∥ ( W − E ) ψ ∥ ≤ 2 e − ℓ ( 2 / 5 ) 2 ∥ ψ ∥ . \|(W-\mathcal{E})\psi\|\le2e^{-\ell(2/5)^2}\|\psi\|. ∥ ( W − E ) ψ ∥ ≤ 2 e − ℓ ( 2/5 ) 2 ∥ ψ ∥.
and a fixed odd ℓ \ell ℓ , depending only on δ \delta δ , makes the factor 2 e − ℓ ( 2 / 5 ) 2 2e^{-\ell(2/5)^2} 2 e − ℓ ( 2/5 ) 2 at most δ \delta δ . Different addresses occupy orthogonal subspaces that are invariant under both W W W and E \mathcal{E} E , so the same bound holds on superpositions of valid addresses, which is the statement. By the gate-set convention of § 3.1 , the circuit of A − 1 A^{-1} A − 1 has the same size as that of A A A , hence the same time, number of queries, and space. Since W W W runs 2 ℓ 2\ell 2 ℓ copies of the given algorithm or of its inverse together with the majority computation and one gate, its time, number of queries, and space exceed those of the given algorithm by a factor depending only on ℓ \ell ℓ , hence only on δ \delta δ .
Theorem A.3. There is a uniform quantum algorithm that, on every tree of height j j j that is valid with noise rate η \eta η , computes its value with error at most 1 / 10 1/10 1/10 , with at most C η j C_{\eta}^{j} C η j leaf queries and in time C η j poly ( n , j ) C_{\eta}^{j}\operatorname{poly}(n,j) C η j poly ( n , j ) , for a constant C η C_{\eta} C η . For every fixed δ > 0 \delta>0 δ > 0 and ζ > 0 \zeta>0 ζ > 0 , a unitary within δ \delta δ of the clean oracle for the values of such trees in the sense of Claim A.2, and a decoder of their secrets with error at most ζ \zeta ζ , have resource bounds of the same form.
Proof. We construct algorithms B j B_j B j with error at most 1 / 10 1/10 1/10 , one per height, each keeping the address of its node in a register that it uses only as a control. At height zero, B 0 B_0 B 0 is a leaf query. At height j ≥ 1 j\ge1 j ≥ 1 , we take the one-node algorithm of Claim A.1 with error at most 1 / 100 1/100 1/100 . It makes a fixed number q = q η , 1 / 100 + 1 q=q_{\eta,1/100}+1 q = q η , 1/100 + 1 of table queries, namely q η , 1 / 100 q_{\eta,1/100} q η , 1/100 queries to the code table and one query to the data table. Each table entry is the value of a child, which is a node of height j − 1 j-1 j − 1 , so a table query is a query to the values of nodes of height j − 1 j-1 j − 1 . We apply Claim A.2 to B j − 1 B_{j-1} B j − 1 with δ = 1 / ( 100 q ) \delta=1/(100q) δ = 1/ ( 100 q ) to obtain a unitary W W W within δ \delta δ of the clean oracle E \mathcal{E} E for these values, and we let B j B_j B j be the one-node algorithm with every table query replaced by a call of W W W . Each call of W W W uses its own fresh work registers, which are in the zero state before the call. Since the one-node algorithm and W W W use the address of the node only as a control, so does B j B_j B j .
We compare B j B_j B j with the one-node algorithm with exact table queries by a hybrid argument. For 0 ≤ i ≤ q 0\le i\le q 0 ≤ i ≤ q , let H i H_i H i be the algorithm that answers the first i i i table queries by W W W and the remaining ones by E \mathcal{E} E , so that H 0 H_0 H 0 is the one-node algorithm and H q = B j H_q=B_j H q = B j . The algorithms H i − 1 H_{i-1} H i − 1 and H i H_i H i differ only in the i i i th query, and their states before this query coincide. Before this query, the work registers of the call are fresh and therefore in the zero state. The address register of the call holds a superposition of addresses of children of the node, and every child of a valid node is valid. All other registers, including the work registers of the earlier calls of W W W , form the reference system. By Claim A.2 the states after this query differ in norm by at most δ \delta δ , and the later operations are the same unitaries in both algorithms, so the final states of H i − 1 H_{i-1} H i − 1 and H i H_i H i differ in norm by at most δ \delta δ . Hence the final states of B j B_j B j and of the one-node algorithm differ in norm by at most q δ = 1 / 100 q\delta= 1/100 q δ = 1/100 , and every output probability changes by at most 2 q δ = 1 / 50 2q\delta= 1/50 2 q δ = 1/50 . The error of B j B_j B j is therefore at most 1 / 100 + 1 / 50 < 1 / 10 1/100 + 1/50 < 1/10 1/100 + 1/50 < 1/10 . The argument uses only the bound 1 / 10 1/10 1/10 for B j − 1 B_{j-1} B j − 1 , so by induction on j j j every B j B_j B j has error at most 1 / 10 1/10 1/10 .
The number ℓ \ell ℓ of copies in Claim A.2 is a constant, since q q q and δ \delta δ depend only on η \eta η . For a constant K η K_\eta K η and a fixed polynomial poly ( n , j ) \operatorname{poly}(n,j) poly ( n , j ) , the numbers of queries Q j Q_j Q j , the times T j T_j T j , and the retained work space S j S_j S j satisfy
Q j ≤ K η Q j − 1 , T j ≤ K η ( T j − 1 + poly ( n , j ) ) , S j ≤ K η S j − 1 + poly ( n , j ) , Q_j \le K_\eta Q_{j-1}, \qquad T_j \le K_\eta(T_{j-1}+\operatorname{poly}(n,j)), \qquad S_j \le K_\eta S_{j-1}+\operatorname{poly}(n,j), Q j ≤ K η Q j − 1 , T j ≤ K η ( T j − 1 + poly ( n , j )) , S j ≤ K η S j − 1 + poly ( n , j ) ,
because each of the q q q calls of W W W runs ℓ \ell ℓ copies of B j − 1 B_{j-1} B j − 1 , each on its own work space, and then their inverses. These recurrences give the stated bounds after enlarging C η C_\eta C η .
All subtrees of one height use the same circuit, which is called in superposition by appending to the address of the node the bit 0 or 1 and the index of the child, as in § 5 . The description of the circuit is generated recursively within the time bound.
A unitary within δ \delta δ of the clean oracle is obtained from B j B_j B j by Claim A.2. To decode a secret with error ζ \zeta ζ , we run the algorithm of Claim A.1 with error ζ / 2 \zeta/2 ζ /2 , which makes q ′ = q η , ζ / 2 q' = q_{\eta,\zeta/2} q ′ = q η , ζ /2 queries, and we replace each query by a call of the unitary of Claim A.2 for the children with δ = ζ / ( 4 q ′ ) \delta= \zeta/(4q') δ = ζ / ( 4 q ′ ) , again on fresh work registers. By the hybrid argument above, this replacement adds at most 2 q ′ δ = ζ / 2 2q'\delta= \zeta/2 2 q ′ δ = ζ /2 to the error. All these quantities are constants, so the resource bounds have the stated form.
Verification with noisy code tables
Theorem A.4. For every fixed 0 ≤ η < 1 / 4 0 \le\eta< 1/4 0 ≤ η < 1/4 there is a classical public-coin interactive proof system for claims about nodes of trees that are valid with noise rate η \eta η , with completeness at least 0.99, soundness error at most 0.01, and a uniform quantum honest prover. There is a constant t η t_\eta t η with the following bounds for a claim about a node of height j j j . The verifier makes at most ( 2 t η ) j (2t_\eta)^j ( 2 t η ) j leaf queries and runs in time ( 2 t η ) j poly ( n , j ) (2t_\eta)^j\operatorname{poly}(n,j) ( 2 t η ) j poly ( n , j ) , and the communication is bounded likewise. The honest prover runs in time ( 2 t η C η ) j poly ( n , j ) (2t_\eta C_\eta)^j\operatorname{poly}(n,j) ( 2 t η C η ) j poly ( n , j ) , after enlarging C η C_\eta C η if necessary.
Proof. We maintain a fixed error bound at every height by keeping the success probabilities of honest trials and of trials on false claims on opposite sides of 3 / 4 3/4 3/4 . We put
ϵ = min { 1 / 100 , κ / 8 } , \epsilon= \min\{1/100,\kappa/8\}, ϵ = min { 1/100 , κ /8 } ,
and let t = t η t = t_\eta t = t η be a fixed positive multiple of four, so that 3 t / 4 3t/4 3 t /4 is an integer, large enough that
exp ( − 2 t ( 5 κ / 8 ) 2 ) ≤ ϵ . \exp\left(-2t(5\kappa/8)^2\right) \le\epsilon. exp ( − 2 t ( 5 κ /8 ) 2 ) ≤ ϵ .
We modify Protocol 5.2 as follows, with the same claims, public parameters, and oracle access as in § 5.2 . A leaf claim is checked by one query. For a claim ( w , b ) (w,b) ( w , b ) about an internal node of dimension m m m , the parties run t t t trials in sequence. In each trial the prover first sends a secret s ∈ F 2 m s \in\mathbb{F}_2^m s ∈ F 2 m . The verifier then sends a fresh uniformly random x ∈ F 2 m x \in\mathbb{F}_2^m x ∈ F 2 m , and the parties run the protocol recursively on the claim that code child w 0 x w0x w 0 x has value C m ( s , x ) C_m(s,x) C m ( s , x ) and then on the claim that data child w 1 s w1s w 1 s has value b b b . The trial succeeds if both recursive checks accept, and the verifier accepts the claim ( w , b ) (w,b) ( w , b ) if at least 3 t / 4 3t/4 3 t /4 trials succeed.
A malformed secret message makes its trial fail, and the verifier uses the secret zero in the recursive calls of that trial. Both recursive checks are run even after a failure, so the number and the order of the recursive calls do not depend on the prover’s messages.
Both parties derive the child claims from the transcript, and every verifier message consists only of fresh random bits. The protocol is therefore public-coin.
Both directions use the following tail bound, which requires no independence between the trials. Let Y 1 , … , Y t Y_1,\ldots,Y_t Y 1 , … , Y t be Bernoulli variables, and let the past of trial i i i be the transcript before that trial, which determines Y 1 , … , Y i − 1 Y_1,\ldots,Y_{i-1} Y 1 , … , Y i − 1 . Suppose that E [ Y i ∣ past ] ≤ γ \mathbb{E}[Y_i\mid\text{past}]\le\gamma E [ Y i ∣ past ] ≤ γ for every i i i . Then for every λ > 0 \lambda>0 λ > 0 the conditional exponential moment satisfies
E [ e λ Y i ∣ past ] ≤ 1 − γ + γ e λ , \mathbb{E}[e^{\lambda Y_i}\mid\text{past}]\le1-\gamma+\gamma e^\lambda, E [ e λ Y i ∣ past ] ≤ 1 − γ + γ e λ ,
and iterating this inequality over the trials gives E [ e λ ∑ i Y i ] ≤ ( 1 − γ + γ e λ ) t \mathbb{E}[e^{\lambda\sum_iY_i}]\le(1-\gamma+\gamma e^\lambda)^t E [ e λ ∑ i Y i ] ≤ ( 1 − γ + γ e λ ) t , which is the exponential moment of a sum of t t t independent Bernoulli variables with mean γ \gamma γ . Markov’s inequality and Hoeffding’s lemma 1 − γ + γ e λ ≤ e λ γ + λ 2 / 8 1-\gamma+\gamma e^\lambda\le e^{\lambda\gamma+\lambda^2/8} 1 − γ + γ e λ ≤ e λγ + λ 2 /8 , with λ = 4 θ \lambda=4\theta λ = 4 θ , then give Pr [ ∑ i Y i ≥ t ( γ + θ ) ] ≤ e − 2 t θ 2 \Pr[\sum_iY_i\ge t(\gamma+\theta)]\le e^{-2t\theta^2} Pr [ ∑ i Y i ≥ t ( γ + θ )] ≤ e − 2 t θ 2 for every θ > 0 \theta>0 θ > 0 . The lower tail bound, for conditional means at least γ \gamma γ , follows by applying the same argument to 1 − Y i 1-Y_i 1 − Y i .
We prove by induction on the height, uniformly over all valid subtrees and all previous histories, that a false claim is accepted with probability at most ϵ \epsilon ϵ against every prover, and that a true claim is accepted with probability at least 1 − ϵ 1-\epsilon 1 − ϵ when the prover is the honest prover described below. At leaves the verifier reads the value, so a false leaf claim is rejected and a true leaf claim is accepted with probability one.
For soundness, we consider a false claim ( w , b ) (w,b) ( w , b ) about a node of height j ≥ 1 j\ge1 j ≥ 1 with true secret s ∗ s^* s ∗ , and we fix the history before one of its trials. A malformed secret message makes the trial fail, so we may assume that the prover sends a secret s ∈ F 2 m s\in\mathbb{F}_2^m s ∈ F 2 m . If s = s ∗ s=s^* s = s ∗ , the claim that data child w 1 s ∗ w1s^* w 1 s ∗ has value b b b is false, since the value of the node is the value of this data child and differs from b b b . By induction this claim is accepted with probability at most ϵ \epsilon ϵ , and the trial succeeds with at most this probability. If s ≠ s ∗ s\ne s^* s = s ∗ , the agreement of s s s is at most 1 / 2 + η 1/2+\eta 1/2 + η , so the claim that code child w 0 x w0x w 0 x has value C m ( s , x ) C_m(s,x) C m ( s , x ) is true with probability at most 1 / 2 + η 1/2+\eta 1/2 + η over the choice of x x x . When this claim is false, it is accepted with probability at most ϵ \epsilon ϵ by induction, conditional on everything before. Hence the trial succeeds with probability at most
1 2 + η + ϵ ≤ 3 4 − 7 κ 8 , \frac{1}{2}+\eta+\epsilon\le\frac{3}{4}-\frac{7\kappa}{8}, 2 1 + η + ϵ ≤ 4 3 − 8 7 κ ,
because the trial succeeds only if the code check accepts, whatever the data check does. Averaging over the prover’s choice of s s s preserves the bound. The outcomes of the t t t trials are therefore Bernoulli variables whose conditional success probabilities, given the past, are at most 3 / 4 − 7 κ / 8 3/4-7\kappa/8 3/4 − 7 κ /8 . By the tail bound above with θ = 7 κ / 8 \theta=7\kappa/8 θ = 7 κ /8 and the choice of t t t , at least 3 t / 4 3t/4 3 t /4 of them succeed with probability at most exp ( − 2 t ( 7 κ / 8 ) 2 ) ≤ exp ( − 2 t ( 5 κ / 8 ) 2 ) ≤ ϵ \exp(-2t(7\kappa/8)^2)\le\exp(-2t(5\kappa/8)^2)\le\epsilon exp ( − 2 t ( 7 κ /8 ) 2 ) ≤ exp ( − 2 t ( 5 κ /8 ) 2 ) ≤ ϵ . The argument conditions only on the transcript, so it applies to quantum provers that send classical messages.
For completeness, the honest prover computes the secret of the node in every trial with the decoder of Theorem A.3 with error at most ϵ \epsilon ϵ , on fresh work registers for every run, and sends the result. It follows this policy at every invocation, including invocations on false child claims, which arise at corrupted code positions and after decoding errors. We consider a true claim ( w , b ) (w,b) ( w , b ) and one of its trials, with the history fixed. Since the decoder runs on fresh work registers, the recovered secret is wrong with probability at most ϵ \epsilon ϵ , conditional on the history. If it is correct, the data claim is true, and the code claim is false only if x x x is one of the at most η \eta η fraction of positions at which the code table differs from the codeword. When both child claims are true, each is rejected with probability at most ϵ \epsilon ϵ by induction, conditional on the history. Hence an honest trial succeeds with probability at least
1 − η − 3 ϵ ≥ 3 4 + 5 κ 8 , (11) 1-\eta-3\epsilon\ge\frac{3}{4}+\frac{5\kappa}{8}, \tag*{(11)} 1 − η − 3 ϵ ≥ 4 3 + 8 5 κ , (11)
where 3 ϵ 3\epsilon 3 ϵ is the sum of the bounds for one decoding error and two recursive rejections. The lower tail bound above with θ = 5 κ / 8 \theta= 5\kappa/8 θ = 5 κ /8 then shows that fewer than 3 t / 4 3t/4 3 t /4 trials succeed with probability at most exp ( − 2 t ( 5 κ / 8 ) 2 ) ≤ ϵ \exp(-2t(5\kappa/8)^2) \le\epsilon exp ( − 2 t ( 5 κ /8 ) 2 ) ≤ ϵ by the choice of t t t , so the claim is rejected with probability at most ϵ \epsilon ϵ .
Each invocation at an internal node makes 2 t 2t 2 t recursive invocations, so a claim about a node of height j j j causes at most ( 2 t ) j (2t)^j ( 2 t ) j leaf queries and at most 2 ( 2 t ) j 2(2t)^j 2 ( 2 t ) j invocations in total. Each invocation takes the verifier time poly ( n , j ) \operatorname{poly}(n,j) poly ( n , j ) and exchanges at most 2 t n 2tn 2 t n bits, which gives the bounds for the verifier and the communication. The honest prover runs the decoder of Theorem A.3 t t t times per invocation, each run in time at most C η j poly ( n , j ) C_\eta^j\operatorname{poly}(n,j) C η j poly ( n , j ) , and multiplying by the number of invocations gives its bound after enlarging C η C_\eta C η . Since ϵ ≤ 1 / 100 \epsilon\le1/100 ϵ ≤ 1/100 , the completeness and the soundness error stated in the theorem follow.
A matching lower bound on the number of messages
This appendix proves Theorem 1.6 . Throughout, instances have size n n n and height h ≤ h max ( n ) h \le h_{\max}(n) h ≤ h m a x ( n ) with the dimensions (2) , levels are numbered from the bottom as in § 4.2 , ρ i \rho_i ρ i is the projection at level i i i , N i N_i N i is the number of nodes at level i i i , and ( X 0 , X 1 ) (X_0,X_1) ( X 0 , X 1 ) is the coupled pair of leaf tables with root values 0 and 1. The code family has degree d d d . We put
t i = ⌊ m i 16 d ⌋ ( 0 ≤ i < h ) , P ( n , h ) = ∏ i < h ( t i + 1 ) , t_i = \left\lfloor\frac{m_i}{16d} \right\rfloor\quad(0 \le i < h), \qquad P(n,h) = \prod_{i<h}(t_i+1), t i = ⌊ 16 d m i ⌋ ( 0 ≤ i < h ) , P ( n , h ) = i < h ∏ ( t i + 1 ) ,
with P ( n , 0 ) = 1 P(n,0)=1 P ( n , 0 ) = 1 . The value t i t_i t i is the threshold in the definition of light blocks at level i i i , as in the proof of Theorem 6.5 .
The argument has five steps. Theorem B.1 shows that a DNF of width less than P ( n , h ) P(n,h) P ( n , h ) cannot distinguish the two root values, by applying Theorem 6.1 with ℓ = 1 \ell=1 ℓ = 1 and Claim 6.4 with J = 0 J=0 J = 0 at every level. Unlike Theorems 6.5 and 6.15 , which are stated for a fixed level and applied at a constant number of bottom levels, this theorem is uniform over all levels up to the full height h ≤ h max ( n ) h \le h_{\max}(n) h ≤ h m a x ( n ) . Lemma B.2 turns this into a query lower bound for two-message public-coin protocols. Lemma B.3 reduces a public-coin protocol with r r r rounds to a two-message one at the cost of a factor Δ r \Delta^r Δ r in the number of queries, where Δ \Delta Δ is polynomial in r r r and in the total length of the prover’s replies. For a polynomial-time verifier this factor is n O ( r ) n^{O(r)} n O ( r ) . Theorem B.4 combines the three. Finally, we prove Theorem 1.6 by adding stages for verifiers to the oracle construction of § 7.1 .
DNFs of small width cannot distinguish the root values
For 0 ≤ i < h ≤ h max ( n ) 0 \le i < h \le h_{\max}(n) 0 ≤ i < h ≤ h m a x ( n ) we have 16 i + 1 ≤ 16 h ≤ n 16^{i+1} \le16^h \le\sqrt{n} 1 6 i + 1 ≤ 1 6 h ≤ n , so n / 16 i ≥ 16 n n/16^i \ge16\sqrt{n} n /1 6 i ≥ 16 n and
m i = 8 ⌊ n 8 ⋅ 16 i ⌋ ≥ n 16 i − 8 ≥ max { n 2 ⋅ 16 i , 8 n } . (12) m_i = 8\left\lfloor\frac{n}{8\cdot16^i}\right\rfloor\ge\frac{n}{16^i}-8 \ge\max\left\{\frac{n}{2\cdot16^i},8\sqrt{n}\right\}. \tag*{(12)} m i = 8 ⌊ 8 ⋅ 1 6 i n ⌋ ≥ 1 6 i n − 8 ≥ max { 2 ⋅ 1 6 i n , 8 n } . (12)
Hence t i + 1 > m i / ( 16 d ) ≥ n / ( 32 d ⋅ 16 i ) t_i+1 > m_i/(16d) \ge n/(32d\cdot16^i) t i + 1 > m i / ( 16 d ) ≥ n / ( 32 d ⋅ 1 6 i ) , and since 2 ( h − 1 ) ≤ 2 h max ( n ) ≤ log n / 4 2(h-1) \le2h_{\max}(n) \le\log n/4 2 ( h − 1 ) ≤ 2 h m a x ( n ) ≤ log n /4 ,
log P ( n , h ) ≥ ∑ i < h ( log n − 4 i − log ( 32 d ) ) ≥ 3 4 h log n − h log ( 32 d ) . (13) \log P(n,h) \ge\sum_{i<h}(\log n-4i-\log(32d)) \ge\frac{3}{4}h\log n-h\log(32d). \tag*{(13)} log P ( n , h ) ≥ i < h ∑ ( log n − 4 i − log ( 32 d )) ≥ 4 3 h log n − h log ( 32 d ) . (13)
In the other direction P ( n , h ) ≤ ( n + 1 ) h P(n,h) \le(n+1)^h P ( n , h ) ≤ ( n + 1 ) h , since t i + 1 ≤ m i + 1 ≤ n + 1 t_i+1 \le m_i+1 \le n+1 t i + 1 ≤ m i + 1 ≤ n + 1 .
Theorem B.1 (Width reduction to a constant). There is a threshold on n n n , depending only on d d d , beyond which the following holds for every h ≤ h max ( n ) h \le h_{\max}(n) h ≤ h m a x ( n ) . Every DNF Φ \Phi Φ on the leaves of an instance of size n n n and height h h h with width less than P ( n , h ) P(n,h) P ( n , h ) satisfies
∣ E Φ ( X 1 ) − E Φ ( X 0 ) ∣ ≤ 2 − 2 n . \left|\mathbb{E}\,\Phi(X_1)-\mathbb{E}\,\Phi(X_0)\right| \le2^{-2\sqrt{n}}. ∣ E Φ ( X 1 ) − E Φ ( X 0 ) ∣ ≤ 2 − 2 n .
Proof. We normalize Φ \Phi Φ and write Φ 0 = Φ \Phi_0=\Phi Φ 0 = Φ and W 0 = width ( Φ ) W_0=\operatorname{width}(\Phi) W 0 = width ( Φ ) . For 0 ≤ i < h 0\le i<h 0 ≤ i < h let Φ i + 1 = ( Φ i ) ρ i \Phi_{i+1}=(\Phi_i)_{\rho_i} Φ i + 1 = ( Φ i ) ρ i be the DNF of Claim 6.4 applied to the N i N_i N i nodes at level i i i , each a block of height one and dimension m i m_i m i , with t = t i t=t_i t = t i and J = 0 J=0 J = 0 . Thus Φ i + 1 \Phi_{i+1} Φ i + 1 is obtained from Φ i \Phi_i Φ i by deleting every term for which at least one block at level i i i is light and projecting the remaining terms by ρ i \rho_i ρ i . It is a DNF on the node values at level i i i , determined by Φ \Phi Φ and ρ 0 , … , ρ i \rho_0,\ldots,\rho_i ρ 0 , … , ρ i , and it does not depend on the root value. By Claim 6.4, width ( Φ i + 1 ) ≤ ⌊ W i / ( t i + 1 ) ⌋ = : W i + 1 \operatorname{width}(\Phi_{i+1})\le\lfloor W_i/(t_i+1)\rfloor=:W_{i+1} width ( Φ i + 1 ) ≤ ⌊ W i / ( t i + 1 )⌋ =: W i + 1 , and
Φ i + 1 ( z ) ≤ Φ i ( ρ i ( z ) ) for every z . (14) \Phi_{i+1}(z)\le\Phi_i(\rho_i(z))\qquad\text{for every }z. \tag*{(14)} Φ i + 1 ( z ) ≤ Φ i ( ρ i ( z )) for every z . (14)
Since nested floors satisfy ⌊ ⌊ x / a ⌋ / b ⌋ = ⌊ x / ( a b ) ⌋ \lfloor\lfloor x/a\rfloor/b\rfloor=\lfloor x/(ab)\rfloor ⌊⌊ x / a ⌋ / b ⌋ = ⌊ x / ( ab )⌋ for positive integers a , b a,b a , b , we get W h = ⌊ W 0 / P ( n , h ) ⌋ = 0 W_h=\lfloor W_0/P(n,h)\rfloor=0 W h = ⌊ W 0 / P ( n , h )⌋ = 0 , because W 0 < P ( n , h ) W_0<P(n,h) W 0 < P ( n , h ) . A DNF of width zero has no literals, so Φ h \Phi_h Φ h is a constant c ∈ { 0 , 1 } c\in\{0,1\} c ∈ { 0 , 1 } that depends on the projections but not on the root value.
For a root value b b b let Y i b Y_i^b Y i b be the vector of node values at level i − 1 i-1 i − 1 of the instance with root value b b b , so that Y 0 b = X b Y_0^b=X_b Y 0 b = X b , Y i b = ρ i ( Y i + 1 b ) Y_i^b=\rho_i(Y_{i+1}^b) Y i b = ρ i ( Y i + 1 b ) for i < h i<h i < h , and Y h b = ( b ) Y_h^b=(b) Y h b = ( b ) . By (B.3), Φ h ( Y h b ) ≤ Φ h − 1 ( Y h − 1 b ) ≤ ⋯ ≤ Φ 0 ( Y 0 b ) = Φ ( X b ) \Phi_h(Y_h^b)\le\Phi_{h-1}(Y_{h-1}^b)\le\cdots\le\Phi_0(Y_0^b)=\Phi(X_b) Φ h ( Y h b ) ≤ Φ h − 1 ( Y h − 1 b ) ≤ ⋯ ≤ Φ 0 ( Y 0 b ) = Φ ( X b ) , so Φ ( X b ) = 1 \Phi(X_b)=1 Φ ( X b ) = 1 whenever c = 1 c=1 c = 1 . Let E ~ i b \widetilde E_i^b E i b be the event that Φ i ( Y i b ) = 1 \Phi_i(Y_i^b)=1 Φ i ( Y i b ) = 1 and Φ i + 1 ( Y i + 1 b ) = 0 \Phi_{i+1}(Y_{i+1}^b)=0 Φ i + 1 ( Y i + 1 b ) = 0 . By the last assertion of Claim 6.4, E ~ i b \widetilde E_i^b E i b is contained in the event that Φ i ( ρ i ( Y i + 1 b ) ) = 1 \Phi_i(\rho_i(Y_{i+1}^b))=1 Φ i ( ρ i ( Y i + 1 b )) = 1 and at least one block at level i i i is light for the first satisfied term of Φ i \Phi_i Φ i at ρ i ( Y i + 1 b ) \rho_i(Y_{i+1}^b) ρ i ( Y i + 1 b ) . If Φ ( X b ) = 1 \Phi(X_b)=1 Φ ( X b ) = 1 and c = 0 c=0 c = 0 , then the sequence Φ 0 ( Y 0 b ) , … , Φ h ( Y h b ) \Phi_0(Y_0^b),\ldots,\Phi_h(Y_h^b) Φ 0 ( Y 0 b ) , … , Φ h ( Y h b ) starts at one and ends at zero, so some E ~ i b \widetilde E_i^b E i b occurs.
We fix i < h i<h i < h and condition on the projections of the levels below i i i , which determine Φ i \Phi_i Φ i , and on Y i + 1 b Y_{i+1}^b Y i + 1 b , which is determined by the root value and the projections of the levels above i i i . These are independent of ρ i \rho_i ρ i by the argument of Claim 4.1(b). For every fixed value of Φ i \Phi_i Φ i and z = Y i + 1 b z=Y_{i+1}^b z = Y i + 1 b , Theorem 6.1 with K = N i K=N_i K = N i , W = W i W=W_i W = W i , t = t i t=t_i t = t i , and ℓ = 1 \ell=1 ℓ = 1 bounds the conditional probability of E ~ i b \widetilde E_i^b E i b by
2 N i W i ( m i ≤ d t i ) 2 − m i ≤ 2 W i 2 m i / 15 + log n / 8 2 H 2 ( 1 / 16 ) m i − m i ≤ 2 W i 2 − 0.59 m i + log n / 8 . 2N_iW_i\binom{m_i}{\le d t_i}2^{-m_i}\le2W_i\,2^{m_i/15+\log n/8}2^{H_2(1/16)m_i-m_i}\le2W_i\,2^{-0.59m_i+\log n/8}. 2 N i W i ( ≤ d t i m i ) 2 − m i ≤ 2 W i 2 m i /15 + l o g n /8 2 H 2 ( 1/16 ) m i − m i ≤ 2 W i 2 − 0.59 m i + l o g n /8 .
using (4.5) for N i N_i N i , d t i ≤ m i / 16 d t_i\le m_i/16 d t i ≤ m i /16 with the entropy bound of Section 3, and 1 − 0.34 − 1 / 15 > 0.59 1-0.34-1/15>0.59 1 − 0.34 − 1/15 > 0.59 . If W i = 0 W_i=0 W i = 0 , the event E ~ i b \widetilde E_i^b E i b is empty. Since W i ≤ W 0 < P ( n , h ) ≤ ( n + 1 ) h ≤ 2 ( log n ) 2 / 4 W_i\le W_0<P(n,h)\le(n+1)^h\le2^{(\log n)^2/4} W i ≤ W 0 < P ( n , h ) ≤ ( n + 1 ) h ≤ 2 ( l o g n ) 2 /4 and m i ≥ 8 n m_i\ge8\sqrt n m i ≥ 8 n by (B.1), the bound is at most 2 1 + ( log n ) 2 / 4 + log n / 8 − 4.7 n ≤ 2 − 4 n 2^{1+(\log n)^2/4+\log n/8-4.7\sqrt n}\le2^{-4\sqrt n} 2 1 + ( l o g n ) 2 /4 + l o g n /8 − 4.7 n ≤ 2 − 4 n for all sufficiently large n n n , uniformly in i i i and h h h . Averaging over the conditioning and summing over the h ≤ log n h\le\log n h ≤ log n levels,
Pr [ Φ ( X b ) = 1 and c = 0 ] ≤ ∑ i < h Pr [ E ~ i b ] ≤ 2 − 3 n . \Pr[\Phi(X_b)=1\text{ and }c=0]\le\sum_{i<h}\Pr[\widetilde E_i^b]\le2^{-3\sqrt n}. Pr [ Φ ( X b ) = 1 and c = 0 ] ≤ i < h ∑ Pr [ E i b ] ≤ 2 − 3 n .
Therefore E Φ ( X 1 ) ≤ Pr [ c = 1 ] + 2 − 3 n \mathbb{E}\,\Phi(X_1)\le\Pr[c=1]+2^{-3\sqrt n} E Φ ( X 1 ) ≤ Pr [ c = 1 ] + 2 − 3 n and E Φ ( X 0 ) ≥ Pr [ c = 1 ] \mathbb{E}\,\Phi(X_0)\ge\Pr[c=1] E Φ ( X 0 ) ≥ Pr [ c = 1 ] , so E Φ ( X 1 ) − E Φ ( X 0 ) ≤ 2 − 3 n \mathbb{E}\,\Phi(X_1)-\mathbb{E}\,\Phi(X_0)\le2^{-3\sqrt n} E Φ ( X 1 ) − E Φ ( X 0 ) ≤ 2 − 3 n , and the same bound holds with the root values exchanged. For h = 0 h=0 h = 0 the leaf table is the root bit itself, P ( n , 0 ) = 1 P(n,0)=1 P ( n , 0 ) = 1 , and a DNF of width zero is constant, so the difference is zero. □ \square □
From protocols to DNFs
In the remainder of this appendix the input of a protocol is a valid instance of size n n n and height h ≤ h max ( n ) h\le h_{\max}(n) h ≤ h m a x ( n ) , given by its leaf table X X X , and every other oracle answer is fixed. A verifier may compute arbitrarily. Only its queries to X X X and its messages are counted. The value of a protocol on X X X is the maximum, over all provers, of the probability that the verifier accepts. A protocol is correct on X X X if its value is at least 2 / 3 2/3 2/3 when the root value of X X X is one and at most 1 / 3 1/3 1/3 when the root value is zero.
Lemma B.2 (Two-message protocols). *Consider a protocol in which the verifier sends a uniformly random string of a fixed length, the prover replies with a string of a fixed length, and the verifier
makes at most q q q queries to X X X and decides as a deterministic function of its random string, the reply, and the answers. If the protocol is correct on every valid instance of size n n n and height h h h , and n n n is beyond the threshold of Theorem B.1 , then q ≥ P ( n , h ) q \ge P(n,h) q ≥ P ( n , h ) .
Proof. We fix the verifier’s random string c c c . For each reply w w w the verifier’s decision is computed by an adaptive decision tree of depth at most q q q over the leaves, and an input that satisfies the conjunction of the answers along an accepting path of this tree is accepted with the same reply. Let D c ( X ) D_c(X) D c ( X ) be the disjunction, over all replies w w w and all accepting paths, of these conjunctions. After merging identical conjunctions, D c D_c D c is a DNF of width at most q q q , and D c ( X ) = 1 D_c(X)=1 D c ( X ) = 1 exactly when some reply makes the verifier accept X X X . The value of the protocol on X X X is E c D c ( X ) \mathbb{E}_cD_c(X) E c D c ( X ) , since the prover may choose its reply after seeing c c c . Correctness on all valid instances gives E c D c ( X ) ≥ 2 / 3 \mathbb{E}_cD_c(X)\ge2/3 E c D c ( X ) ≥ 2/3 when X X X has root value one and E c D c ( X ) ≤ 1 / 3 \mathbb{E}_cD_c(X)\le1/3 E c D c ( X ) ≤ 1/3 when it has root value zero. Averaging over the coupled pair,
E c [ E D c ( X 1 ) − E D c ( X 0 ) ] ≥ 1 3 . \mathbb{E}_c\left[\mathbb{E}D_c(X_1)-\mathbb{E}D_c(X_0)\right]\ge\frac{1}{3}. E c [ E D c ( X 1 ) − E D c ( X 0 ) ] ≥ 3 1 .
If q < P ( n , h ) q<P(n,h) q < P ( n , h ) , Theorem B.1 bounds the bracketed difference by 2 − 2 n < 1 / 3 2^{-2\sqrt{n}}<1/3 2 − 2 n < 1/3 for every c c c , a contradiction.
In the next lemma a public-coin protocol proceeds in rounds. In round i i i the verifier sends a uniformly random string c i c_i c i of a fixed length ℓ i ≥ 0 \ell_i\ge0 ℓ i ≥ 0 and the prover replies with a string a i a_i a i of a fixed length s i ≥ 0 s_i\ge0 s i ≥ 0 . After the last round the verifier makes at most q q q queries to X X X and decides as a deterministic function of the transcript and the answers. The number r r r of rounds and the lengths ℓ i \ell_i ℓ i and s i s_i s i do not depend on X X X .
Lemma B.3 (Round reduction). Consider a public-coin protocol with r ≥ 1 r\ge1 r ≥ 1 rounds as above, and let S = ∑ i s i S=\sum_i s_i S = ∑ i s i and Δ = [ 10 4 r 2 ( S + r + 1 ) 2 ] \Delta=\left[10^4r^2(S+r+1)^2\right] Δ = [ 1 0 4 r 2 ( S + r + 1 ) 2 ] . There is a two-message protocol of the form of Lemma B.2, with at most q Δ r q\Delta^r q Δ r queries, whose verifier is determined by the given one, and whose value on every X X X is at least 5 / 6 5/6 5/6 if the value of the given protocol on X X X is at least 2 / 3 2/3 2/3 , and at most 1 / 6 1/6 1/6 if that value is at most 1 / 3 1/3 1/3 .
Proof. The new verifier samples the edge labels of a complete Δ \Delta Δ -ary tree of depth r r r . Every edge from a vertex at depth i − 1 i-1 i − 1 to one of its Δ \Delta Δ children is labelled by an independent uniformly random string of length ℓ i \ell_i ℓ i , which serves as a round-i i i challenge. The new verifier sends all labels in one message. The prover replies with a round-i i i reply of length s i s_i s i for every vertex at depth i ≥ 1 i\ge1 i ≥ 1 . Every root-to-leaf path now carries a complete transcript ( c 1 , a 1 , … , c r , a r ) (c_1,a_1,\ldots,c_r,a_r) ( c 1 , a 1 , … , c r , a r ) . The new verifier accepts if the given verifier accepts on at least half of the Δ r \Delta^r Δ r paths. Each evaluation of the given verifier makes at most q q q queries, so the new verifier makes at most q Δ r q\Delta^r q Δ r queries in total. A malformed reply is rejected. We show that the new protocol has the stated values on every fixed X X X .
We fix X X X . For a transcript prefix π i = ( c 1 , a 1 , … , c i − 1 , a i − 1 ) \pi_i=(c_1,a_1,\ldots,c_{i-1},a_{i-1}) π i = ( c 1 , a 1 , … , c i − 1 , a i − 1 ) before round i i i , we define the continuation values of the given protocol by backward induction, with v r + 1 ( π r + 1 ) ∈ { 0 , 1 } v_{r+1}(\pi_{r+1})\in\{0,1\} v r + 1 ( π r + 1 ) ∈ { 0 , 1 } the given verifier’s decision on the complete transcript,
w i ( π i , c ) = max a v i + 1 ( π i , c , a ) , v i ( π i ) = E c w i ( π i , c ) , w_i(\pi_i,c)=\max_a v_{i+1}(\pi_i,c,a),\qquad v_i(\pi_i)=\mathbb{E}_c w_i(\pi_i,c), w i ( π i , c ) = a max v i + 1 ( π i , c , a ) , v i ( π i ) = E c w i ( π i , c ) ,
where a a a ranges over strings of length s i s_i s i and c c c is uniform of length ℓ i \ell_i ℓ i . Then v 1 ( ∅ ) v_1(\varnothing) v 1 ( ∅ ) is the value of the given protocol on X X X . Indeed, a prover that chooses each reply to maximize the continuation value attains v 1 ( ∅ ) v_1(\varnothing) v 1 ( ∅ ) . No prover exceeds v 1 ( ∅ ) v_1(\varnothing) v 1 ( ∅ ) , since the behavior of any prover is a mixture of deterministic strategies and, by induction on the rounds, no deterministic strategy exceeds the continuation value. In the labelled tree, we define, for a vertex u u u at depth i − 1 i-1 i − 1 and a prefix π i \pi_i π i whose challenges are the labels on the path to u u u , the empirical values v ^ r + 1 = v r + 1 \widehat{v}_{r+1}=v_{r+1} v r + 1 = v r + 1 and
w ^ i ( π i , c ; u ′ ) = max a v ^ i + 1 ( π i , c , a ; u ′ ) , v ^ i ( π i ; u ) = 1 Δ ∑ j = 1 Δ w ^ i ( π i , c u , j ; u j ) . \widehat{w}_i(\pi_i,c;u')=\max_a \widehat{v}_{i+1}(\pi_i,c,a;u'), \qquad\widehat{v}_i(\pi_i;u)=\frac{1}{\Delta}\sum_{j=1}^{\Delta}\widehat{w}_i(\pi_i,c_{u,j};u_j). w i ( π i , c ; u ′ ) = a max v i + 1 ( π i , c , a ; u ′ ) , v i ( π i ; u ) = Δ 1 j = 1 ∑ Δ w i ( π i , c u , j ; u j ) .
where u ′ u' u ′ is a vertex at depth i i i and c c c is the label of the edge into u ′ u' u ′ , and where u 1 , … , u Δ u_1,\ldots,u_\Delta u 1 , … , u Δ are the children of u u u and c u , j c_{u,j} c u , j is the label of the edge to u j u_j u j . The reply at a vertex affects only the paths through that vertex, so v ^ 1 ( ∅ ; r o o t ) \widehat{v}_1(\varnothing;\mathrm{root}) v 1 ( ∅ ; root ) is the maximum, over all replies of the prover, of the fraction of accepting paths. It remains to compare v ^ 1 \widehat{v}_1 v 1 with v 1 v_1 v 1 .
We put δ = 1 / ( 12 r ) \delta=1/(12r) δ = 1/ ( 12 r ) . We fix a vertex u u u at depth i − 1 i-1 i − 1 and a reply prefix ( a 1 , … , a i − 1 ) (a_1,\ldots,a_{i-1}) ( a 1 , … , a i − 1 ) , which together with the labels on the path to u u u determine a prefix π i \pi_i π i . Conditional on the labels on the path to u u u , the labels c u , 1 , … , c u , Δ c_{u,1},\ldots,c_{u,\Delta} c u , 1 , … , c u , Δ are independent and uniform, so w i ( π i , c u , 1 ) , … , w i ( π i , c u , Δ ) w_i(\pi_i,c_{u,1}),\ldots,w_i(\pi_i,c_{u,\Delta}) w i ( π i , c u , 1 ) , … , w i ( π i , c u , Δ ) are independent random variables in [ 0 , 1 ] [0,1] [ 0 , 1 ] with mean v i ( π i ) v_i(\pi_i) v i ( π i ) , and Hoeffding’s inequality [38 ] gives
Pr [ ∣ 1 Δ ∑ j w i ( π i , c u , j ) − v i ( π i ) ∣ > δ ] ≤ 2 e − 2 Δ δ 2 = 2 e − Δ / ( 72 r 2 ) . \Pr\left[\left|\frac{1}{\Delta}\sum_j w_i(\pi_i,c_{u,j})-v_i(\pi_i)\right|>\delta\right]\leq2e^{-2\Delta\delta^2}=2e^{-\Delta/(72r^2)}. Pr [ Δ 1 j ∑ w i ( π i , c u , j ) − v i ( π i ) > δ ] ≤ 2 e − 2Δ δ 2 = 2 e − Δ/ ( 72 r 2 ) .
There are fewer than Δ r \Delta^r Δ r vertices of depth less than r r r and at most 2 S 2^S 2 S reply prefixes at each, so with probability at least 1 − ϑ 1-\vartheta 1 − ϑ , where ϑ ≤ 2 S + 1 Δ r e − Δ / ( 72 r 2 ) \vartheta\leq2^{S+1}\Delta^r e^{-\Delta/(72r^2)} ϑ ≤ 2 S + 1 Δ r e − Δ/ ( 72 r 2 ) , the displayed deviation is at most δ \delta δ for every vertex and every reply prefix. We call this the good event. It is determined by the labels alone, before the prover replies.
On the good event we claim that ∣ v ^ i ( π i ; u ) − v i ( π i ) ∣ ≤ ( r − i + 1 ) δ |\widehat{v}_i(\pi_i;u)-v_i(\pi_i)|\leq(r-i+1)\delta ∣ v i ( π i ; u ) − v i ( π i ) ∣ ≤ ( r − i + 1 ) δ for every vertex u u u at depth i − 1 i-1 i − 1 and every prefix π i \pi_i π i as above. For i = r + 1 i=r+1 i = r + 1 there is nothing to prove. Assuming the claim for the vertices at depth i i i , for every child u j u_j u j of u u u and every reply a a a we have ∣ v ^ i + 1 ( π i , c u , j , a ; u j ) − v i + 1 ( π i , c u , j , a ) ∣ ≤ ( r − i ) δ |\widehat{v}_{i+1}(\pi_i,c_{u,j},a;u_j)-v_{i+1}(\pi_i,c_{u,j},a)|\leq(r-i)\delta ∣ v i + 1 ( π i , c u , j , a ; u j ) − v i + 1 ( π i , c u , j , a ) ∣ ≤ ( r − i ) δ , so the maxima over a a a differ by at most ( r − i ) δ (r-i)\delta ( r − i ) δ , that is, ∣ w ^ i ( π i , c u , j ; u j ) − w i ( π i , c u , j ) ∣ ≤ ( r − i ) δ |\widehat{w}_i(\pi_i,c_{u,j};u_j)-w_i(\pi_i,c_{u,j})|\leq(r-i)\delta ∣ w i ( π i , c u , j ; u j ) − w i ( π i , c u , j ) ∣ ≤ ( r − i ) δ . Averaging over j j j and using the good event gives the claim for the vertices at depth i − 1 i-1 i − 1 . At the root, ∣ v ^ 1 ( ∅ ; r o o t ) − v 1 ( ∅ ) ∣ ≤ r δ = 1 / 12 |\widehat{v}_1(\varnothing;\mathrm{root})-v_1(\varnothing)|\leq r\delta=1/12 ∣ v 1 ( ∅ ; root ) − v 1 ( ∅ ) ∣ ≤ r δ = 1/12 . Hence if the value of the given protocol is at least 2 / 3 2/3 2/3 , the prover can make at least a 7 / 12 7/12 7/12 fraction of the paths accept, and if that value is at most 1 / 3 1/3 1/3 , no reply makes more than a 5 / 12 5/12 5/12 fraction accept. The threshold 1 / 2 1/2 1/2 separates the two cases on the good event.
Finally, we show that ϑ < 1 / 6 \vartheta<1/6 ϑ < 1/6 . We put U = S + r + 1 ≥ 2 U=S+r+1\geq2 U = S + r + 1 ≥ 2 , so that Δ ≤ 2 ⋅ 10 4 r 2 U 2 \Delta\leq2\cdot10^4r^2U^2 Δ ≤ 2 ⋅ 1 0 4 r 2 U 2 and ln Δ ≤ 10 + 2 ln r + 2 ln U \ln\Delta\leq10+2\ln r+2\ln U ln Δ ≤ 10 + 2 ln r + 2 ln U . Using r ≤ U r\leq U r ≤ U , ln U ≤ U / 2 \ln U\leq U/2 ln U ≤ U /2 , and ( S + 1 ) ln 2 ≤ U 2 (S+1)\ln2\leq U^2 ( S + 1 ) ln 2 ≤ U 2 ,
ln ϑ ≤ ( S + 1 ) ln 2 + r ln Δ − 10 4 72 U 2 ≤ U 2 + ( 10 U + 2 U 2 ) − 138 U 2 < − ln 6. \ln\vartheta\leq(S+1)\ln2+r\ln\Delta-\frac{10^4}{72}U^2\leq U^2+(10U+2U^2)-138U^2<-\ln6. ln ϑ ≤ ( S + 1 ) ln 2 + r ln Δ − 72 1 0 4 U 2 ≤ U 2 + ( 10 U + 2 U 2 ) − 138 U 2 < − ln 6.
Therefore the value of the new protocol is at least 1 − ϑ > 5 / 6 1-\vartheta>5/6 1 − ϑ > 5/6 in the first case and at most ϑ < 1 / 6 \vartheta<1/6 ϑ < 1/6 in the second.
We put a polynomial-time public-coin verifier into the form of Lemma B.3 as follows. Suppose that on input 1 n 1^n 1 n it runs in time at most n a n^a n a with every oracle, prover, and random string, and has M M M alternating communication slots, counting empty messages as in Section 3. The schedule and the lengths of its random challenges are fixed by the input. Adding a formal empty first challenge if the prover speaks first and a formal empty last reply if the verifier speaks last gives r ≤ ⌊ M / 2 ⌋ + 1 r\leq\lfloor M/2\rfloor+1 r ≤ ⌊ M /2 ⌋ + 1 rounds. These formal entries are notation, not additional communication slots. For M = 0 M=0 M = 0 we take one round with both entries empty. Each genuine challenge stays in its original slot, with its original fixed length. We encode each genuine prover reply by its length followed by padding to [ n a ] [n^a] [ n a ] bits, and we reject malformed encodings. For n ≥ 2 n\geq2 n ≥ 2 this uses at most 2 n a 2n^a 2 n a bits per reply, so s i ≤ 2 n a s_i\leq2n^a s i ≤ 2 n a and S ≤ 2 r n a S \le2rn^{a} S ≤ 2 r n a . Formal replies have length zero. This changes only the encoding of replies and preserves their order relative to all random challenges. The verifier’s final decision is a deterministic function of the transcript and of at most q ≤ n a q \le n^{a} q ≤ n a oracle queries. Thus the protocol has the form required by Lemma B.3 and has the same value on every X X X .
Theorem B.4 (Finite form of the lower bound). For every a ≥ 1 a \ge1 a ≥ 1 there is a threshold on n n n , depending only on a a a and d d d , beyond which the following holds for every h ≤ h max ( n ) h \le h_{\max}(n) h ≤ h m a x ( n ) with h ≥ 42 a h \ge42a h ≥ 42 a . Every public-coin verifier that runs in time at most n a n^{a} n a on input 1 n 1^{n} 1 n with every oracle, prover, and random string, and whose protocol is correct on every valid instance of size n n n and height h h h , uses at least h / ( 14 a ) h/(14a) h / ( 14 a ) communication slots.
Proof. Let M M M be the number of communication slots and suppose that M < h / ( 14 a ) M < h/(14a) M < h / ( 14 a ) . We put the protocol into the form of Lemma B.3 with r ≤ ⌊ M / 2 ⌋ + 1 ≤ n a r \le\lfloor M/2 \rfloor+ 1 \le n^{a} r ≤ ⌊ M /2 ⌋ + 1 ≤ n a , S ≤ 2 r n a S \le2rn^{a} S ≤ 2 r n a , and q ≤ n a q \le n^{a} q ≤ n a . The two-message protocol of Lemma B.3 is correct on every valid instance of size n n n and height h h h , with completeness at least 5 / 6 5/6 5/6 and soundness error at most 1 / 6 1/6 1/6 , so Lemma B.2 gives q Δ r ≥ P ( n , h ) q\Delta^{r} \ge P(n,h) q Δ r ≥ P ( n , h ) . Since S + r + 1 ≤ 4 n 2 a S+r+1 \le4n^{2a} S + r + 1 ≤ 4 n 2 a , we have log Δ ≤ log ( 2 ⋅ 10 4 ) + 2 log r + 2 log ( 4 n 2 a ) ≤ 7 a log n \log\Delta\le\log(2 \cdot10^{4}) + 2\log r + 2\log(4n^{2a}) \le7a\log n log Δ ≤ log ( 2 ⋅ 1 0 4 ) + 2 log r + 2 log ( 4 n 2 a ) ≤ 7 a log n once log n ≥ 19 \log n \ge19 log n ≥ 19 . We take logarithms in q Δ r ≥ P ( n , h ) q\Delta^{r} \ge P(n,h) q Δ r ≥ P ( n , h ) and use the bounds q ≤ n a q \le n^{a} q ≤ n a and log Δ ≤ 7 a log n \log\Delta\le7a\log n log Δ ≤ 7 a log n on the left and (B.2) with log n ≥ 4 log ( 32 d ) \log n \ge4\log(32d) log n ≥ 4 log ( 32 d ) on the right. This gives
a log n + 7 a r log n ≥ log P ( n , h ) ≥ 1 2 h log n , a\log n + 7ar\log n \ge\log P(n,h) \ge\frac{1}{2}h\log n, a log n + 7 a r log n ≥ log P ( n , h ) ≥ 2 1 h log n ,
so r ≥ h / ( 14 a ) − 1 / 7 r \ge h/(14a)-1/7 r ≥ h / ( 14 a ) − 1/7 and M ≥ 2 r − 2 ≥ h / ( 7 a ) − 3 M \ge2r-2 \ge h/(7a)-3 M ≥ 2 r − 2 ≥ h / ( 7 a ) − 3 . For h ≥ 42 a h \ge42a h ≥ 42 a this is at least h / ( 14 a ) h/(14a) h / ( 14 a ) , contradicting the assumption. □ \square □
Private coins are handled by the transformation of Goldwasser and Sipser [31 Section 4.2] (see also [29 ] ). Suppose a polynomial-time verifier V V V is supplied with a polynomially bounded, polynomial-time computable bound M ( n ) M(n) M ( n ) on its number of communication slots. If V V V halts early, we record its decision and fill the remaining slots with dummy messages, whose contents do not affect that decision. We encode each message by its length followed by padding within its slot, as for the replies above. The resulting fixed-schedule private-coin protocol has the same value as V V V . The Goldwasser–Sipser transformation turns this protocol into a polynomial-time public-coin verifier V ′ V' V ′ with at most c 0 ( M ( n ) + 1 ) c_{0}(M(n)+1) c 0 ( M ( n ) + 1 ) slots, for an absolute positive integer c 0 c_{0} c 0 . For every fixed input and oracle, an original value at least 2 / 3 2/3 2/3 gives a transformed value at least 2 / 3 2/3 2/3 , and an original value at most 1 / 3 1/3 1/3 gives a transformed value at most 1 / 3 1/3 1/3 .
In the full Goldwasser–Sipser protocol, the public challenges specify random hash functions and random targets, while the final check simulates the original verifier on a proposed transcript. We pad the challenges within their slots to input-dependent fixed lengths, using fresh independent bits and ignoring unused suffixes, and we defer all consistency checks to the final decision. This gives the public-coin form of § 3 . No later challenge is revealed before an earlier reply. The construction relativizes because its oracle-dependent checks are simulations of V V V . Its running time is polynomial in a time bound for V V V and for computing M ( n ) M(n) M ( n ) . We use this polynomial bound when we freeze the oracle below.
The oracle
Proof of Theorem 1.6 . We modify the construction of § 7.1 as follows. In addition to the machines of that construction, we enumerate all triples ( V , a , k ) (V,a,k) ( V , a , k ) in which V V V is a verifier with oracle access, run under a clock of n a n^{a} n a steps on input 1 n 1^{n} 1 n and rejecting when the clock runs out, a ≥ 1 a \ge1 a ≥ 1 is an integer, and k ≥ 1 k \ge1 k ≥ 1 is a repetition index. Thus every pair ( V , a ) (V,a) ( V , a ) occurs infinitely often. For a fixed positive integer K K K , we cap a simulation of V V V at ⌊ h ( n ) / K ⌋ \lfloor h(n)/K\rfloor ⌊ h ( n ) / K ⌋ communication slots. If the simulation requests another slot, we reject before sending or receiving that message. If the simulation decides earlier, we record that decision. We fill any unused slots up to the cap with dummy messages and retain the recorded decision. This padded verifier has the same value as the capped simulation. We choose an integer a 1 ≥ max { a , 2 } a_1 \ge\max\{a,2\} a 1 ≥ max { a , 2 } so that, for every fixed K K K , this verifier and the computation of its slot bound take time at most n a 1 n^{a_1} n a 1 for all sufficiently large n n n . The exponent can be chosen independently of K K K , since computing h ( n ) h(n) h ( n ) , dividing by a fixed integer, counting slots, and padding take polynomial time. The threshold on n n n may depend on K K K . The Goldwasser–Sipser transformation has a uniform polynomial overhead in the time bound of the verifier, so we can choose an integer a ′ ≥ a 1 a' \ge a_1 a ′ ≥ a 1 , depending only on a 1 a_1 a 1 and not on K K K , such that the transformed verifier runs in time at most n a ′ n^{a'} n a ′ for all sufficiently large n n n . We put
β V = 1 28 a ′ c 0 , H V = max { 42 a ′ , 56 a ′ c 0 } . \beta_V=\frac{1}{28a'c_0}, \qquad H_V=\max\{42a',56a'c_0\}. β V = 28 a ′ c 0 1 , H V = max { 42 a ′ , 56 a ′ c 0 } .
Let V β V_\beta V β be the padded capped verifier just defined with the positive integer K = 28 a ′ c 0 K=28a'c_0 K = 28 a ′ c 0 . It has exactly M ( n ) = ⌊ β V h ( n ) ⌋ M(n)=\lfloor\beta_Vh(n)\rfloor M ( n ) = ⌊ β V h ( n )⌋ slots, and M ( n ) M(n) M ( n ) is computable in polynomial time. Let V β ′ V'_\beta V β ′ be the public-coin verifier obtained from V β V_\beta V β by the Goldwasser–Sipser transformation. It runs in time at most n a ′ n^{a'} n a ′ and uses at most c 0 ( M ( n ) + 1 ) ≤ c 0 ( β V h ( n ) + 1 ) c_0(M(n)+1)\le c_0(\beta_Vh(n)+1) c 0 ( M ( n ) + 1 ) ≤ c 0 ( β V h ( n ) + 1 ) slots for all sufficiently large n n n .
The stages for the machines of Section § 7.1 are unchanged. At the stage of a triple ( V , a , k ) (V,a,k) ( V , a , k ) , we choose n ≥ 3 n\ge3 n ≥ 3 with h ( n ) ≥ H V h(n)\ge H_V h ( n ) ≥ H V that exceeds the current length bound of the construction, the threshold of Theorem B.4 for a ′ a' a ′ , and the thresholds for the stated running-time bounds of V β V_\beta V β and V β ′ V'_\beta V β ′ . Such n n n exists because h h h is unbounded. We assign to every unassigned instance of size other than n n n whose addresses have length at most n a ′ n^{a'} n a ′ its default tree of root value zero, and we assign zero to the unassigned malformed strings of length at most n a ′ n^{a'} n a ′ , exactly as before. The target instance, the instance of size n n n , is entirely unassigned, because its addresses have length at least n + 1 n+1 n + 1 , greater than the previous length bound. Its addresses have length at most 3 n ≤ n a ′ 3n\le n^{a'} 3 n ≤ n a ′ . Every oracle query of V β ′ V'_\beta V β ′ on input 1 n 1^n 1 n is therefore either to the target or to a string that is now fixed.
Thus V β ′ V'_\beta V β ′ on input 1 n 1^n 1 n is a public-coin protocol of the kind considered above, with the target leaf table X X X as its input. It runs in time at most n a ′ n^{a'} n a ′ and uses at most
c 0 ( β V h ( n ) + 1 ) ≤ h ( n ) 28 a ′ + c 0 ≤ 3 h ( n ) 56 a ′ < h ( n ) 14 a ′ c_0(\beta_Vh(n)+1)\le\frac{h(n)}{28a'}+c_0\le\frac{3h(n)}{56a'}<\frac{h(n)}{14a'} c 0 ( β V h ( n ) + 1 ) ≤ 28 a ′ h ( n ) + c 0 ≤ 56 a ′ 3 h ( n ) < 14 a ′ h ( n )
slots, because h ( n ) ≥ 56 a ′ c 0 h(n)\ge56a'c_0 h ( n ) ≥ 56 a ′ c 0 . By Theorem B.4 , since h ( n ) ≥ 42 a ′ h(n)\ge42a' h ( n ) ≥ 42 a ′ , V β ′ V'_\beta V β ′ is not correct on some valid target instance X X X . We assign this instance, assign zero to every remaining unassigned string of length at most n a ′ n^{a'} n a ′ , and replace the length bound by n a ′ n^{a'} n a ′ . Every string that either V β V_\beta V β or V β ′ V'_\beta V β ′ can query on input 1 n 1^n 1 n is now fixed, since a ′ ≥ a 1 a'\ge a_1 a ′ ≥ a 1 . The guarantee of the transformation for each fixed input implies that V β V_\beta V β is not correct on 1 n 1^n 1 n either. If the root of X X X is one, no prover makes V β V_\beta V β accept with probability at least 2 / 3 2/3 2/3 . If the root of X X X is zero, some prover makes V β V_\beta V β accept with probability greater than 1 / 3 1/3 1/3 . These values do not change at later stages.
We complete the oracle and define L h ′ \mathcal{L}'_h L h ′ as in Section § 7.1 . All stored instances are valid, so the quantum algorithm, the protocol, and the resource bounds of Theorem 1.3 hold as before, and the stages of the machines of Section § 7.1 give L h ′ ∉ P H O h \mathcal{L}'_h\notin\mathrm{PH}^{O_h} L h ′ ∈ / PH O h by Claim 7.3 .
Now let V V V be a polynomial-time verifier such that L h ′ \mathcal{L}'_h L h ′ has an interactive proof system relative to O h ′ O'_h O h ′ with verifier V V V , completeness at least 2 / 3 2/3 2/3 , and soundness error at most 1 / 3 1/3 1/3 . Some clocked verifier in the enumeration, with an exponent a a a , has the same behavior as V V V on every input 1 n 1^n 1 n with n ≥ 2 n\ge2 n ≥ 2 , with every oracle, prover, and random string. We use the constant β V \beta_V β V of that pair. Let n n n be the length chosen at the stage of a triple ( V , a , k ) (V,a,k) ( V , a , k ) , and suppose that V V V uses at most β V h ( n ) \beta_Vh(n) β V h ( n ) slots on input 1 n 1^n 1 n with every prover and random string. Then V V V never requests a slot beyond the cap, so its value on 1 n 1^n 1 n agrees with that of V β V_\beta V β , since dummy padding after a recorded decision does not affect the value. But V β V_\beta V β is incorrect on 1 n 1^n 1 n relative to the final oracle, a contradiction. Hence V V V uses more than β V h ( n ) \beta_V h(n) β V h ( n ) slots on input 1 n 1^n 1 n for every such length n n n . There are infinitely many of these lengths, and all satisfy h ( n ) ≥ H V h(n) \ge H_V h ( n ) ≥ H V .
For the fixed height function h h h , the constant β V \beta_V β V depends on the running-time bounds used above through a ′ a' a ′ . The lower bound holds on infinitely many lengths rather than on all large lengths. At other lengths the stored instances are chosen at other stages or are default trees. For h = h max h = h_{\max} h = h m a x the theorem excludes every proof system that uses o ( log n ) o(\log n) o ( log n ) messages at all sufficiently large lengths, while Theorem 1.3 gives one with 2 h ( n ) ≤ log n / 4 2h(n) \le\log n/4 2 h ( n ) ≤ log n /4 messages. The lower bound makes no assumption on the computational power of the provers, and it applies in particular to the public-coin protocol of Theorem 1.3 itself. Therefore, on infinitely many lengths and up to a factor that depends on the verifier, the number of messages of that protocol is the least possible.
Codes from bent functions
This appendix gives nonlinear code families of Definition 3.1, whose codewords are the shifts of a bent function, and in particular a family of degree three. It also records the connection between the addressing function of § 3.2 and Forrelation.
A Boolean function g g g on F 2 m \mathbb{F}_2^m F 2 m is bent if all Fourier coefficients of ( − 1 ) g (-1)^g ( − 1 ) g have the same magnitude 2 − m / 2 2^{-m/2} 2 − m /2 , and its dual g ~ \widetilde{g} g is the Boolean function that records their signs, so that
2 − m ∑ x ∈ F 2 m ( − 1 ) g ( x ) + x ⋅ α = 2 − m / 2 ( − 1 ) g ~ ( α ) for all α ∈ F 2 m . 2^{-m}\sum_{x\in\mathbb{F}_2^m}(-1)^{g(x)+x\cdot\alpha}=2^{-m/2}(-1)^{\widetilde{g}(\alpha)}\qquad\text{for all }\alpha\in\mathbb{F}_2^m. 2 − m x ∈ F 2 m ∑ ( − 1 ) g ( x ) + x ⋅ α = 2 − m /2 ( − 1 ) g ( α ) for all α ∈ F 2 m .
Bent functions were introduced by Rothaus [55 ] , and Carlet [19 ] is a general reference. The code C m ( s , x ) = g ( x + s ) C_m(s,x)=g(x+s) C m ( s , x ) = g ( x + s ) has as codewords the shifts of g g g . The Hadamard transform of its phase state is the state with amplitude
2 − m / 2 ( − 1 ) s ⋅ α + g ~ ( α ) at α ∈ F 2 m , 2^{-m/2}(-1)^{s\cdot\alpha+\widetilde{g}(\alpha)}\qquad\text{at }\alpha\in\mathbb{F}_2^m, 2 − m /2 ( − 1 ) s ⋅ α + g ( α ) at α ∈ F 2 m ,
so when g ~ \widetilde{g} g is efficiently computable, the unitary U m = H ⊗ m D g ~ H ⊗ m U_m=H^{\otimes m}D_{\widetilde{g}}H^{\otimes m} U m = H ⊗ m D g H ⊗ m , where D f D_f D f multiplies ∣ x ⟩ \lvert x\rangle ∣ x ⟩ by ( − 1 ) f ( x ) (-1)^{f(x)} ( − 1 ) f ( x ) for a Boolean function f f f , recovers s s s exactly. This is Rötteler’s hidden-shift algorithm [56 ] with the dual computed rather than queried. For every fixed x x x , the coordinate s ↦ g ( x + s ) s\mapsto g(x+s) s ↦ g ( x + s ) is a multilinear polynomial in s s s of degree at most the degree of g g g , since translation by a constant does not increase the degree. Hence a family ( g m ) (g_m) ( g m ) of bent functions of degree at most d d d , one for every positive multiple m m m of eight, with g m g_m g m and g ~ m \widetilde{g}_m g m computable in time polynomial in m m m uniformly in m m m , gives the code family C m ( s , x ) = g m ( x + s ) C_m(s,x)=g_m(x+s) C m ( s , x ) = g m ( x + s ) of degree d d d .
An explicit cubic example exists at every m = 8 r m=8r m = 8 r and comes from the Maiorana–McFarland construction [45 , 19 ] . We write the input as ( u , w ) (u,w) ( u , w ) with u , w ∈ F 2 4 r u,w\in\mathbb{F}_2^{4r} u , w ∈ F 2 4 r and let π \pi π act on every group of four bits of w w w by the permutation
π ( w 1 , w 2 , w 3 , w 4 ) = ( w 1 + w 2 w 3 , w 2 + w 3 w 4 , w 3 , w 4 ) , \pi(w_1,w_2,w_3,w_4)=(w_1+w_2w_3,\ w_2+w_3w_4,\ w_3,\ w_4), π ( w 1 , w 2 , w 3 , w 4 ) = ( w 1 + w 2 w 3 , w 2 + w 3 w 4 , w 3 , w 4 ) ,
whose inverse is
π − 1 ( w 1 , w 2 , w 3 , w 4 ) = ( w 1 + w 2 w 3 + w 3 w 4 , w 2 + w 3 w 4 , w 3 , w 4 ) . \pi^{-1}(w_1,w_2,w_3,w_4)=(w_1+w_2w_3+w_3w_4,\ w_2+w_3w_4,\ w_3,\ w_4). π − 1 ( w 1 , w 2 , w 3 , w 4 ) = ( w 1 + w 2 w 3 + w 3 w 4 , w 2 + w 3 w 4 , w 3 , w 4 ) .
The function g m ( u , w ) = u ⋅ π ( w ) g_m(u,w)=u\cdot\pi(w) g m ( u , w ) = u ⋅ π ( w ) is bent, and summing its Fourier transform first over u u u shows that its dual is
g ~ m ( α , β ) = β ⋅ π − 1 ( α ) ( α , β ∈ F 2 4 r ) . \widetilde{g}_m(\alpha,\beta)=\beta\cdot\pi^{-1}(\alpha)\qquad(\alpha,\beta\in\mathbb{F}_2^{4r}). g m ( α , β ) = β ⋅ π − 1 ( α ) ( α , β ∈ F 2 4 r ) .
Both functions have degree three and polynomial-size circuits that implement their phase oracles exactly, so the codes whose codewords are the shifts of the functions g m g_m g m form a code family of degree three.
For the Hadamard code and η = 0 \eta=0 η = 0 , the value R s R_s R s of the addressing function of § 3.2 is determined by a Forrelation, since ( − 1 ) R s (-1)^{R_s} ( − 1 ) R s is the 3-fold Forrelation of the functions ( − 1 ) L (-1)^L ( − 1 ) L , ( − 1 ) R (-1)^{R} ( − 1 ) R , and ( − 1 ) L (-1)^L ( − 1 ) L in the sense of Aaronson and Ambainis [3 ] . Indeed, if L L L is the codeword of s s s , if ∣ L ⟩ = ∣ C s ⟩ |L\rangle=|C_s\rangle ∣ L ⟩ = ∣ C s ⟩ is its phase state, and if D R D_R D R multiplies ∣ y ⟩ |y\rangle ∣ y ⟩ by ( − 1 ) R y (-1)^{R_y} ( − 1 ) R y , then the 3-fold Forrelation equals
⟨ + ∣ ⊗ m D L H ⊗ m D R H ⊗ m D L ∣ + ⟩ ⊗ m = ⟨ L ∣ H ⊗ m D R H ⊗ m ∣ L ⟩ , \langle+|^{\otimes m}D_LH^{\otimes m}D_RH^{\otimes m}D_L|+\rangle^{\otimes m}=\langle L|H^{\otimes m}D_RH^{\otimes m}|L\rangle, ⟨ + ∣ ⊗ m D L H ⊗ m D R H ⊗ m D L ∣ + ⟩ ⊗ m = ⟨ L ∣ H ⊗ m D R H ⊗ m ∣ L ⟩ ,
and
⟨ L ∣ H ⊗ m D R H ⊗ m ∣ L ⟩ = ( − 1 ) R s , \langle L|H^{\otimes m}D_RH^{\otimes m}|L\rangle=(-1)^{R_s}, ⟨ L ∣ H ⊗ m D R H ⊗ m ∣ L ⟩ = ( − 1 ) R s ,
since the Hadamard transform maps ∣ L ⟩ |L\rangle ∣ L ⟩ to ∣ s ⟩ |s\rangle ∣ s ⟩ .