Introduction
Context and Motivation
Randomness and probability theory have shaped many central developments in theoretical computer science. Probabilistic techniques underpin the design and analysis of efficient algorithms [44 ] , establish the existence of combinatorial objects such as expanders and error-correcting codes [Sha48, HLW06, AS16], and enable advances in cryptography [16 ] and proof verification [3 ] . They also provide powerful tools for establishing computational limitations, as illustrated by the use of random restrictions to prove lower bounds on the size of Boolean circuits [15 Haš86] .
These applications raise a natural foundational question: which axioms suffice to formalize probabilistic reasoning? In a seminal work, Jeřábek [Jeř07a] introduced the bounded arithmetic theory A P C 1 \mathrm{APC}_{1} APC 1 and developed a robust framework for formalizing results from theoretical computer science that rely on probabilistic techniques. For nearly two decades, A P C 1 \mathrm{APC}_{1} APC 1 and its extensions have provided a standard setting for such formalizations. Its applications range from reasoning about randomized algorithms [Jeř07a, LC12], cryptography [19 ] , and learning [49 ] , to proofs of a variety of circuit size lower bounds [43 ] .
While the axioms of A P C 1 \mathrm{APC}_{1} APC 1 suffice to prove these and many other results, it is unclear whether they are necessary. Understanding this question is particularly important in light of recent developments in logic, complexity theory, and cryptography. On the one hand, there is a growing body of work on the unprovability of conjectures of interest in bounded arithmetic theories. Here, meaningful results arise when a theory T T T formalizes a broad range of proofs yet remains amenable to techniques for establishing unprovability results (see, e.g., [40 , 46 , 1 ] and references therein). On the other hand, recent work has revealed unexpected connections between unprovability results and the construction of advanced cryptographic primitives [22 , 19 , 18 ] . Weakening the theory underlying the unprovability assumption strengthens these results and makes the security of the resulting cryptographic primitives more plausible.
Recently, Chen, Li, Oliveira, and Williams [11 ] investigated whether probabilistic arguments from theoretical computer science could be formalized using weaker axioms. They introduced the theory A P X 1 \mathrm{APX}_{1} APX 1 as a base theory for feasible probabilistic reasoning and showed that it supports formalizations of several influential results from algorithms and complexity theory, including the lower bound P A R I T Y ∉ A C 0 \mathrm{PARITY} \notin\mathrm{AC}^{0} PARITY ∈ / AC 0 [15 ] , the correctness of the BLR linearity test [6 ] , and the Schwartz–Zippel lemma [Sch80, Zip79]. We refer to their paper for further applications of A P X 1 \mathrm{APX}_{1} APX 1 to logic and complexity theory.
Both A P X 1 \mathrm{APX}_{1} APX 1 and A P C 1 \mathrm{APC}_{1} APC 1 extend Cook’s theory P V 1 \mathrm{PV}_{1} PV 1 [12 ] , a first-order theory of polynomial-time reasoning whose language contains function symbols for polynomial-time algorithms. While A P C 1 \mathrm{APC}_{1} APC 1 relies on the dual weak pigeonhole principle (dWPHP), which asserts that a function from a finite set to a set twice as large cannot be surjective, A P X 1 \mathrm{APX}_{1} APX 1 builds its probabilistic toolkit from four natural axioms for a fresh approximate counting function symbol P P P . [11 ] showed that A P C 1 \mathrm{APC}_{1} APC 1 simulates A P X 1 \mathrm{APX}_{1} APX 1 for statements in the language of P V 1 \mathrm{PV}_{1} PV 1 , and that A P X 1 \mathrm{APX}_{1} APX 1 does not prove dWPHP under cryptographic and complexity-theoretic assumptions. Thus, under plausible computational assumptions, A P X 1 \mathrm{APX}_{1} APX 1 is strictly weaker than A P C 1 \mathrm{APC}_{1} APC 1 , at least for statements of higher quantifier complexity such as dWPHP.
In this work, we investigate the gap between P V 1 \mathrm{PV}_{1} PV 1 , A P X 1 \mathrm{APX}_{1} APX 1 , and A P C 1 \mathrm{APC}_{1} APC 1 , and the strength of A P X 1 \mathrm{APX}_{1} APX 1 and its extensions with respect to the provability of combinatorial principles of lower quantifier complexity. Specifically, we are interested in the provability of ∀ Σ 1 b ( P V 1 ) \forall\Sigma^{b}_{1}(\mathrm{PV}_{1}) ∀ Σ 1 b ( PV 1 ) sentences, i.e., statements of the form1
∀ x ∃ y ≤ poly ( ∥ x ∥ ) ϕ ( x , y ) , (1) \forall x\ \exists y \le\operatorname{poly}(\lVert x\rVert)\ \phi(x,y), \tag*{(1)} ∀ x ∃ y ≤ poly (∥ x ∥) ϕ ( x , y ) , (1)
where ϕ ( x , y ) \phi(x,y) ϕ ( x , y ) is a quantifier-free formula in the language of P V 1 \mathrm{PV}_{1} PV 1 . Such statements express the totality of search problems in TFNP (see, e.g., [Kra95, Chapter 7] and [47 Section 10.3] ), an active research area with several connections to algorithms and complexity theory (see, e.g., [13 Tha24] ). We ask which such problems are provably total in A P X 1 \mathrm{APX}_{1} APX 1 , and how they compare with those of P V 1 \mathrm{PV}_{1} PV 1 and A P C 1 \mathrm{APC}_{1} APC 1 .
This investigation is also motivated by the desire to understand the power of randomness in proofs. While the computational power of randomness is central to the P versus BPP question, asking whether A P X 1 \mathrm{APX}_{1} APX 1 proves more combinatorial principles than P V 1 \mathrm{PV}_{1} PV 1 provides an analogous question in proof complexity. In other words, it asks whether access to a framework for probabilistic reasoning yields existence proofs beyond those available in the underlying theory of deterministic computation.
In the context of A P X 1 \mathrm{APX}_{1} APX 1 versus A P C 1 \mathrm{APC}_{1} APC 1 , a result of Thapen [Tha02] (see [Jeř04, Proposition 1.14]) implies that A P X 1 \mathrm{APX}_{1} APX 1 and A P C 1 \mathrm{APC}_{1} APC 1 have the same ∀ Σ 1 b ( P V 1 ) \forall\Sigma^{b}_{1}(\mathrm{PV}_{1}) ∀ Σ 1 b ( PV 1 ) consequences if and only if A P X 1 \mathrm{APX}_{1} APX 1 proves the retraction weak pigeonhole principle (rwPHP). This combinatorial principle asserts the totality of the search problem LossyCode, which has attracted recent attention in complexity theory [31 , 41 , 10 , 39 , 14 ] . Given Boolean circuits E n c : { 0 , 1 } n → { 0 , 1 } n − 1 \mathrm{Enc}\colon\{0,1\}^{n}\to\{0,1\}^{n-1} Enc : { 0 , 1 } n → { 0 , 1 } n − 1 and D e c : { 0 , 1 } n − 1 → { 0 , 1 } n \mathrm{Dec}\colon\{0,1\}^{n-1}\to\{0,1\}^{n} Dec : { 0 , 1 } n − 1 → { 0 , 1 } n , the task is to find x x x such that D e c ( E n c ( x ) ) ≠ x \mathrm{Dec}(\mathrm{Enc}(x))\ne x Dec ( Enc ( x )) = x . Thus a solution witnesses the failure of a proposed compression scheme to preserve every input.
Whether A P X 1 \mathrm{APX}_{1} APX 1 proves rwPHP was one of the main questions left open in [11 ] . In this direction, they showed that every TFNP problem provably total in A P X 1 \mathrm{APX}_{1} APX 1 reduces in polynomial time to a problem called Refuter(Yao). Although a reduction from Refuter(Yao) to LossyCode was known, the converse remained open. Moreover, A P X 1 \mathrm{APX}_{1} APX 1 was not shown to prove the totality of Refuter(Yao) (i.e., Equation (1) for the relevant formula ϕ \phi ϕ ), leaving open whether this computational problem is harder than the provably total search problems of A P X 1 \mathrm{APX}_{1} APX 1 .
Results
Our contributions can be summarised as follows:
First, we show that Refuter(Yao) and LossyCode (corresponding to the principle rwPHP) are equivalent under polynomial-time reductions, and that their totality statements are equivalent over P V 1 \mathrm{PV}_{1} PV 1 . We also describe a complete problem for the TFNP consequences of A P X 1 \mathrm{APX}_{1} APX 1 by applying the framework of Thapen [Tha24]. This problem, called Local(A P X 1 \mathrm{APX}_{1} APX 1 ), reduces to Refuter(Yao) and LossyCode.
Then, we investigate the provability of rwPHP and other pigeonhole principles in A P X 1 \mathrm{APX}_{1} APX 1 and its extensions:
We obtain unconditional results in the relativized setting, showing that dwPHP and the weak pigeonhole principle wPHP are not provable in A P X 1 \mathrm{APX}_{1} APX 1 . These unprovability results extend to the true universal theory T r u e ∀ A P X 1 \mathrm{True}_{\forall}\mathrm{APX}_{1} True ∀ APX 1 . In contrast, rwPHP is provable in T r u e ∀ A P X 1 \mathrm{True}_{\forall}\mathrm{APX}_{1} True ∀ APX 1 .
Through a substantially more involved argument, we show that rwPHP is not provable in relativized A P X 1 \mathrm{APX}_{1} APX 1 . Thus, in the relativized setting, A P C 1 \mathrm{APC}_{1} APC 1 is not ∀ Σ 1 b \forall\Sigma^{b}_{1} ∀ Σ 1 b -conservative over A P X 1 \mathrm{APX}_{1} APX 1 .
Complementing these results, we show that wPHP and dwPHP are provable in a multiplicative extension A P X 1 ∗ \mathrm{APX}_{1}^{*} APX 1 ∗ of A P X 1 \mathrm{APX}_{1} APX 1 , which allows approximate counting with relative rather than additive precision. Together with the preceding lower bounds, this separates A P X 1 \mathrm{APX}_{1} APX 1 from A P X 1 ∗ \mathrm{APX}_{1}^{*} APX 1 ∗ in the relativized setting.
Finally, we establish that the unprovability of rwPHP in relativized APX1 _1 1 is part of a more general phenomenon: for the class of finite combinatorial principles specified in § 1.2.3 , the existence of an infinite model of the negation of a principle characterizes its unprovability in APX1 _1 1 . This result, analogous to a theorem of Riis [50 ] , applies to rwPHP and to many other natural combinatorial principles. Furthermore, it allows us to show that, in the relativized setting, PV1 _1 1 and APX1 _1 1 prove exactly the same finite combinatorial principles of this form.
In the following sections, we explain our results in detail.
LossyCode, Refuter(Yao), and Total Search Problems of APX1 _1 1
We first recall the search problem Refuter(Yao) introduced in [11 ] . An instance consists of a circuit G : ( { 0 , 1 } n ) m → [ n ] × { 0 , 1 } s G \colon(\{0,1\}^{n})^{m} \to[n] \times\{0,1\}^{s} G : ({ 0 , 1 } n ) m → [ n ] × { 0 , 1 } s , called a predictor generator , that takes a list D \mathcal{D} D of m m m strings in { 0 , 1 } n \{0,1\}^{n} { 0 , 1 } n and outputs an index i ∈ { 1 , … , n } i \in\{1,\ldots,n\} i ∈ { 1 , … , n } and a circuit P : { 0 , 1 } i − 1 → { 0 , 1 } P \colon\{0,1\}^{i-1} \to\{0,1\} P : { 0 , 1 } i − 1 → { 0 , 1 } of description length at most s s s . For an advantage parameter δ > 0 \delta> 0 δ > 0 , the task is to find a list D \mathcal{D} D such that, writing ( i , P ) = G ( D ) (i,P)=G(\mathcal{D}) ( i , P ) = G ( D ) ,
Pr x ← D [ P ( x < i ) = x i ] < 1 2 + δ , \Pr_{x \leftarrow\mathcal{D}}[P(x_{<i})=x_i] < \frac{1}{2}+\delta, x ← D Pr [ P ( x < i ) = x i ] < 2 1 + δ ,
where x x x is a uniformly chosen entry of the list and x < i x_{<i} x < i denotes its first i − 1 i-1 i − 1 bits. Thus a solution refutes the claim that G G G always produces a predictor with advantage at least δ \delta δ for the distribution it receives. The parameters satisfy ( δ 2 / 10 ) m ≥ s + ⌈ log n ⌉ + 1 (\delta^2/10)m \ge s+\lceil\log n\rceil+1 ( δ 2 /10 ) m ≥ s + ⌈ log n ⌉ + 1 , which guarantees totality. Our first result identifies the complexity of this problem with that of LossyCode.
Theorem 1.2. (Equivalence of Refuter(Yao) and LossyCode). The problems Refuter(Yao) and LossyCode are equivalent under deterministic polynomial-time mapping reductions. Moreover, their totality statements are equivalent over PV1 _1 1 .
This equivalence does not settle whether APX1 _1 1 proves the totality of Refuter(Yao). As recalled above, every TFNP problem provably total in APX1 _1 1 reduces in polynomial time to Refuter(Yao) [11 ] , but this witnessing result does not establish that Refuter(Yao) itself is provably total in APX1 _1 1 .
To obtain a problem that captures precisely the TFNP consequences of APX1 _1 1 , we apply Thapen’s framework [Tha24] and define Local(APX1 _1 1 ). An instance is a sequence of circuits describing an inspector’s strategy for a finite interaction with a purported approximate counting oracle. In each round, the inspector uses the previous answers to choose a query ( C , Δ ) (C,\Delta) ( C , Δ ) , and the oracle responds with a rational number of the prescribed bit-length. A solution is a transcript of answers that agree on repeated queries and violate no counting axiom whose oracle values are all present in the transcript. The inspector therefore fails to expose an inconsistency. Both the length of a transcript and the time needed to verify it are polynomial in the size of the instance. We refer to Section 4.2 for the formal definition of Local(APX1 _1 1 ).
Theorem 1.3. (A complete problem for the TFNP consequences of APX1 _1 1 ). The theory APX1 _1 1 proves the totality of Local(APX1 _1 1 ). Moreover, every TFNP problem provably total in APX1 _1 1 reduces to Local(APX1 _1 1 ) by a deterministic polynomial-time mapping reduction.
Writing TFNP(APX1 _1 1 ) for the TFNP problems provably total in APX1 _1 1 , we can summarize these results as follows:
TFNP ( A P X 1 ) ≤ p Local ( A P X 1 ) ≤ p Refuter ( Y a o ) ≤ p LossyCode . \operatorname{TFNP}(\mathrm{APX}_1) \mathrel{\leq_p} \operatorname{Local}(\mathrm{APX}_1) \mathrel{\leq_p} \operatorname{Refuter}(\mathrm{Yao}) \mathrel{\leq_p} \operatorname{LossyCode}. TFNP ( APX 1 ) ≤ p Local ( APX 1 ) ≤ p Refuter ( Yao ) ≤ p LossyCode .
Here the relations ≤ p \leq_p ≤ p and ≡ p \equiv_p ≡ p refer to deterministic polynomial-time mapping reductions. The reduction from Local(APX1 _1 1 ) to Refuter(Yao) follows by applying the witnessing theorem of [11 ] to the totality of Local(APX1 _1 1 ).2
We prove the two theorems above in § 4 .
These results leave open whether APX1 ⊢ ? _1 \vdash^{?} 1 ⊢ ? rwPHP and whether the reverse reduction from LossyCode to Local(APX1 _1 1 ) exists, making all three problems equivalent under polynomial-time reductions. A proof of rwPHP in APX1 _1 1 would imply such a reduction by the aforementioned witnessing theorem.
Establishing the unprovability of rwPHP in APX1 _1 1 under computational assumptions appears difficult. A standard approach is to use witnessing theorems to extract an algorithm from a hypothetical proof and then contradict a hardness assumption. For example, randomized witnessing rules out the provability of wPHP in APX1 _1 1 assuming the existence of collision resistant hash functions. A more sophisticated witnessing argument from [24 ] rules out dwPHP under sub-exponentially secure indistinguishability obfuscation together with the assumption that coNP is not contained infinitely often in NP/poly [11 ] . However, randomized witnessing applied to a hypothetical proof of rwPHP would yield a randomized algorithm for LossyCode running in expected polynomial time, and such an algorithm already exists. Indeed, at most 2 n − 1 2^{n-1} 2 n − 1 strings x ∈ { 0 , 1 } n x \in\{0,1\}^{n} x ∈ { 0 , 1 } n can satisfy Dec ( Enc ( x ) ) = x \operatorname{Dec}(\operatorname{Enc}(x)) = x Dec ( Enc ( x )) = x , since Enc is injective on the set of correctly decoded strings. A uniformly random x x x is therefore a solution with probability at least 1 / 2 1/2 1/2 , and repeated sampling with verification finds and confirms a solution in expected polynomial time. Consequently, the existence of the extracted algorithm provides no contradiction.
This limitation motivates our investigation of unconditional unprovability results in the relativized setting, to which we turn next.
Approximate Counting and Weak Pigeonhole Principles
Before stating our next results, we explain how rwPHP and APX1 _1 1 can be relativized in a natural way.
Remark 1.4 (Relativizations of APX1 _1 1 and rwPHP). Relativization replaces the explicit compression and decompression circuits in rwPHP by fresh function symbols f f f and g g g . The relativized retraction principle asserts that a map f f f from [ 2 N ] [2N] [ 2 N ] to [ N ] [N] [ N ] cannot have a left inverse g g g , where [ N ] = { 0 , … , N − 1 } [N] = \{0,\ldots,N-1\} [ N ] = { 0 , … , N − 1 } , and we typically think of N = 2 n N = 2^n N = 2 n . This is captured by the sentence
rwPHP ( f , g ) ≔ ∀ N ( N > 1 → ∃ x < 2 N ( f ( x ) ≥ N ∨ g ( f ( x ) ) ≠ x ) ) . \operatorname{rwPHP}(f,g) \coloneqq\forall N\left(N > 1 \to\exists x < 2N\left(f(x) \geq N \lor g(f(x)) \ne x\right)\right). rwPHP ( f , g ) : = ∀ N ( N > 1 → ∃ x < 2 N ( f ( x ) ≥ N ∨ g ( f ( x )) = x ) ) . It is also possible to formulate the principle using binary strings, in which case the oracle f f f maps n n n bits to n − 1 n-1 n − 1 bits, the oracle g g g maps n − 1 n-1 n − 1 bits to n n n bits, and the principle asserts that some x ∈ { 0 , 1 } n x \in\{0,1\}^{n} x ∈ { 0 , 1 } n satisfies g ( f ( x ) ) ≠ x g(f(x)) \ne x g ( f ( x )) = x . The chosen formulation is inessential in our results.
The theory APX1 ( f , g ) _1(f,g) 1 ( f , g ) allows these same oracles both in the underlying polynomial-time computations and in the Boolean circuits submitted to P. Thus P(C , Δ C,\Delta C , Δ ) is intended to approximate Pr z [ C f , g ( z ) = 1 ] \operatorname{Pr}_{z}[C^{f,g}(z)=1] Pr z [ C f , g ( z ) = 1 ] with additive error at most 1 / ∥ Δ ∥ 1/\lVert\Delta\rVert 1/ ∥ Δ ∥ . Formally, the theory extends PV1 _1 1 (P, f , g f,g f , g ) by the four approximate counting axioms, now applied to circuits with oracle gates for f f f and g g g . We refer to § 3 for the details.
We obtain the following unconditional result.3
Theorem 1.5 (Unprovability of the retraction weak pigeonhole principle).
APX 1 ( f , g ) ⊬ rwPHP ( f , g ) . \operatorname{APX}_1(f,g) \nvdash\operatorname{rwPHP}(f,g). APX 1 ( f , g ) ⊬ rwPHP ( f , g ) .
This theorem identifies a limitation of the approximate counting axioms. They support an internally consistent notion of size, but do not suffice to establish the expected lower bound on the size of the set of inputs on which decoding fails. Indeed, although this set contains at least half of all inputs in every standard interpretation, the theory cannot prove that it is non-empty for every input length. At the same time, the formalizations in [11 ] show that these axioms support many substantial probabilistic arguments from algorithms and complexity theory.
We derive Theorem 1.5 from a more general result about finite combinatorial principles, discussed in the next subsection.
Both wPHP and dwPHP imply rwPHP already over P V 1 \mathrm{PV}_1 PV 1 , and the implications hold with oracle functions as well. This is because a collision in f f f forces decoding to fail on at least one of the two colliding inputs, while a point outside the range of g g g cannot be decoded correctly. It is therefore useful to study the (un)provability of these stronger principles in A P X 1 \mathrm{APX}_1 APX 1 and its extensions. Their unprovability proofs provide a starting point for our argument, while also revealing why the retraction principle requires additional ideas.
For this comparison, we introduce two extensions of A P X 1 \mathrm{APX}_1 APX 1 and their natural relativizations. The first one is the true universal theory of A P X 1 \mathrm{APX}_1 APX 1 , denoted T r u e ∀ A P X 1 \mathrm{True}_{\forall}\mathrm{APX}_1 True ∀ APX 1 .
We also introduce a natural variant of A P X 1 \mathrm{APX}_1 APX 1 , denoted by A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ , designed to support a stronger form of approximate counting.
The relativized theories A P X 1 ∗ ( f ) \mathrm{APX}_1^*(f) APX 1 ∗ ( f ) , A P X 1 ∗ ( g ) \mathrm{APX}_1^*(g) APX 1 ∗ ( g ) , and A P X 1 ∗ ( f , g ) \mathrm{APX}_1^*(f,g) APX 1 ∗ ( f , g ) are defined by allowing the corresponding oracle gates in counting queries and oracle calls in the underlying computations, just as for A P X 1 \mathrm{APX}_1 APX 1 .
We obtain the following positive and negative results.
Theorem 1.8 ((Un)provability of pigeonhole principles in extensions of A P X 1 \mathrm{APX}_1 APX 1 ). The following statements hold:
T r u e ∀ A P X 1 ( f , g ) ⊢ r w P H P ( f , g ) \mathrm{True}_{\forall}\mathrm{APX}_1(f,g) \vdash\mathrm{rwPHP}(f,g) True ∀ APX 1 ( f , g ) ⊢ rwPHP ( f , g ) .
T r u e ∀ A P X 1 ( g ) ⊬ d w P H P ( g ) \mathrm{True}_{\forall}\mathrm{APX}_1(g) \nvdash\mathrm{dwPHP}(g) True ∀ APX 1 ( g ) ⊬ dwPHP ( g ) .
T r u e ∀ A P X 1 ( f ) ⊬ w P H P ( f ) \mathrm{True}_{\forall}\mathrm{APX}_1(f) \nvdash\mathrm{wPHP}(f) True ∀ APX 1 ( f ) ⊬ wPHP ( f ) .
A P X 1 ∗ ( g ) ⊢ d w P H P ( g ) \mathrm{APX}_1^*(g) \vdash\mathrm{dwPHP}(g) APX 1 ∗ ( g ) ⊢ dwPHP ( g ) . In particular , A P X 1 ∗ ⊢ d w P H P \mathrm{APX}_1^* \vdash\mathrm{dwPHP} APX 1 ∗ ⊢ dwPHP .
A P X 1 ∗ ( f ) ⊢ w P H P ( f ) \mathrm{APX}_1^*(f) \vdash\mathrm{wPHP}(f) APX 1 ∗ ( f ) ⊢ wPHP ( f ) . In particular , A P X 1 ∗ ⊢ w P H P \mathrm{APX}_1^* \vdash\mathrm{wPHP} APX 1 ∗ ⊢ wPHP .
The first item of Theorem 1.8 highlights a distinction essential to Theorem 1.5 : adding true universal axioms already suffices to prove rwPHP. To see why, consider the oracle circuit C f , g C^{f,g} C f , g that accepts precisely when g ( f ( x ) ) ≠ x g(f(x)) \ne x g ( f ( x )) = x . Its acceptance probability is at least 1 / 2 1/2 1/2 , and the corresponding lower bound on its approximate count is a true universal statement. With this estimate available, A P X 1 ( f , g ) \mathrm{APX}_1(f,g) APX 1 ( f , g ) can prove the existence of an input x x x on which decoding fails. In contrast, the unprovability results for wPHP and dwPHP in the second and third items of Theorem 1.8 remain valid even after all true universal axioms are added.
A consequence is that, in the case of wPHP and dwPHP, the corresponding lower bound argument can provide genuine approximate counting answers as the adversary constructs the oracle showing unprovability. On the other hand, our adversary for rwPHP must preserve the axiom instances exposed during the interaction without requiring the counting answers to be accurate. Exploiting the distinction between the approximate counting axioms and their intended interpretation is a central difficulty in establishing Theorem 1.5 .
The remaining items of Theorem 1.8 separate additive and multiplicative approximate counting in the relativized setting. The theory A P X 1 ∗ ( f ) \mathrm{APX}_1^*(f) APX 1 ∗ ( f ) proves wPHP( f ) (f) ( f ) , which is unprovable even in T r u e ∀ A P X 1 ( f ) \mathrm{True}_{\forall}\mathrm{APX}_1(f) True ∀ APX 1 ( f ) , and A P X 1 ∗ ( g ) \mathrm{APX}_1^*(g) APX 1 ∗ ( g ) proves dwPHP( g ) (g) ( g ) , which is unprovable even in T r u e ∀ A P X 1 ( g ) \mathrm{True}_{\forall}\mathrm{APX}_1(g) True ∀ APX 1 ( g ) . Since the multiplicative theory extends the additive theory, it follows that in the relativized setting, A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ is strictly stronger than A P X 1 \mathrm{APX}_1 APX 1 . We refer to § 5.3 for some computational consequences of Theorem 1.8 that might be of independent interest.
The more delicate argument for rwPHP is part of a general connection between unprovability in A P X 1 \mathrm{APX}_1 APX 1 and the existence of infinite models. We turn to this connection next.
Finite Combinatorial Principles, Infinite Models, and the Limits of APX1
Our next results connect the provability of finite combinatorial principles with their behavior on infinite structures. For a natural class of principles that hold in every non-empty finite structure, we show that their finite formulations are unprovable in relativized A P X 1 \mathrm{APX}_1 APX 1 exactly when they admit an infinite counterexample. When no such counterexample exists, the finite formulation is already provable in the corresponding relativization of P V 1 \mathrm{PV}_1 PV 1 . Thus, for this class of principles, the approximate counting axioms yield no additional proving power.
For example, an infinite counterexample to rwPHP is obtained on N \mathbb{N} N by defining
f 0 ( x ) = 2 x , f 1 ( x ) = 2 x + 1 , h ( y ) = ⌊ y / 2 ⌋ . f_0(x)=2x,\qquad f_1(x)=2x+1,\qquad h(y)=\lfloor y/2\rfloor. f 0 ( x ) = 2 x , f 1 ( x ) = 2 x + 1 , h ( y ) = ⌊ y /2 ⌋ .
The functions f 0 f_0 f 0 and f 1 f_1 f 1 encode two disjoint copies of N \mathbb{N} N into a single copy: one uses the even numbers, and the other uses the odd numbers. Decoding recovers the original copy from the parity of the encoded value and the original element by applying h h h . Thus every input is recovered correctly. This gives an infinite counterexample to the retraction principle.
To formally state the results of this section, we first need to introduce the relevant terminology.
L \mathcal{L} L -Principles, L ^ \widehat{\mathcal{L}} L -Translations, and A P X 1 ( L ^ ) \mathrm{APX}_1(\widehat{\mathcal{L}}) APX 1 ( L ) . Let L \mathcal{L} L be a non-empty finite language consisting of function and constant symbols and disjoint from the language of A P X 1 \mathrm{APX}_1 APX 1 . Let C \mathcal{C} C be its set of constant symbols and F \mathcal{F} F its set of function symbols.
In order to discuss the provability of finite combinatorial principles expressed as L \mathcal{L} L -statements but restricted to a domain [ N ] [N] [ N ] , it will be convenient to replace each function symbol f ∈ F f\in\mathcal{F} f ∈ F of arity d d d by a symbol f ^ ( s , x 1 , … , x d ) \widehat{f}(s,x_1,\ldots,x_d) f ( s , x 1 , … , x d ) , and each constant c ∈ C c\in\mathcal{C} c ∈ C by a unary symbol c ^ ( s ) \widehat{c}(s) c ( s ) . Write L ^ \widehat{\mathcal{L}} L for the resulting language. Now define the following formula over the language L ^ ∪ { ≤ } \widehat{\mathcal{L}}\cup\{\leq\} L ∪ { ≤ } :
Closed L ^ ( N ) ≜ ⋀ c ∈ C c ^ ( N ) < N ∧ ⋀ f ∈ F ∀ u 1 , … , u arity ( f ) < N f ^ ( N , u 1 , … , u arity ( f ) ) < N , \operatorname{Closed}_{\widehat{\mathcal{L}}}(N)\ \triangleq\ \bigwedge_{c\in\mathcal{C}}\widehat{c}(N)<N\ \wedge\ \bigwedge_{f\in\mathcal{F}}\forall u_1,\ldots,u_{\operatorname{arity}(f)}<N\ \widehat{f}(N,u_1,\ldots,u_{\operatorname{arity}(f)})<N, Closed L ( N ) ≜ c ∈ C ⋀ c ( N ) < N ∧ f ∈ F ⋀ ∀ u 1 , … , u arity ( f ) < N f ( N , u 1 , … , u arity ( f ) ) < N ,
where < < < is the P V 1 \mathrm{PV}_1 PV 1 symbol corresponding to the order relation < < < . This formula will be useful when we consider L \mathcal{L} L -structures on [ N ] = { 0 , … , N − 1 } [N]=\{0,\ldots,N-1\} [ N ] = { 0 , … , N − 1 } .
Let A P X 1 ( L ^ ) \mathrm{APX}_1(\widehat{\mathcal{L}}) APX 1 ( L ) denote the relativized theory in which the symbols of L ^ \widehat{\mathcal{L}} L are available as oracles both to polynomial-time computations and to the circuits submitted to the approximate counting oracle P ( C , Δ ) \mathrm{P}(C,\Delta) P ( C , Δ ) , with the length axioms
∥ f ^ ( s , x ˉ ) ∥ ≤ ∥ s ∥ and ∥ c ^ ( s ) ∥ ≤ ∥ s ∥ \lVert\widehat{f}(s,\bar{x})\rVert\leq\lVert s\rVert\quad\text{and}\quad\lVert\widehat{c}(s)\rVert\leq\lVert s\rVert ∥ f ( s , x ˉ )∥ ≤ ∥ s ∥ and ∥ c ( s )∥ ≤ ∥ s ∥
included before admitting derived functions in the Cobham’s style definition of relativized P V 1 ( P , L ^ ) \mathrm{PV}_1(\mathrm{P},\widehat{\mathcal{L}}) PV 1 ( P , L ) . The notation P V 1 ( L ^ ) \mathrm{PV}_1(\widehat{\mathcal{L}}) PV 1 ( L ) uses the same parameterized oracles and length axioms, with the counting oracle omitted.
Finally, for an L \mathcal{L} L -formula ψ \psi ψ , write ψ [ N ] \psi^{[N]} ψ [ N ] for its finitary translation at size N N N (where N N N is a fresh variable), which is defined recursively by
x [ N ] ≜ x , c [ N ] ≜ c ^ ( N ) , ( f ( t 1 , … , t d ) ) [ N ] ≜ f ^ ( N , t 1 [ N ] , … , t d [ N ] ) , x^{[N]}\mathrel{\triangleq}x,\qquad c^{[N]}\mathrel{\triangleq}\widehat{c}(N),\qquad\left(f(t_1,\ldots,t_d)\right)^{[N]}\mathrel{\triangleq}\widehat{f}\left(N,t_1^{[N]},\ldots,t_d^{[N]}\right), x [ N ] ≜ x , c [ N ] ≜ c ( N ) , ( f ( t 1 , … , t d ) ) [ N ] ≜ f ( N , t 1 [ N ] , … , t d [ N ] ) ,
( ∀ x ϕ ) [ N ] ≜ ∀ x < N ϕ [ N ] , ( ∃ x ϕ ) [ N ] ≜ ∃ x < N ϕ [ N ] . (\forall x\ \phi)^{[N]}\mathrel{\triangleq}\forall x<N\ \phi^{[N]},\qquad(\exists x\ \phi)^{[N]}\mathrel{\triangleq}\exists x<N\ \phi^{[N]}. ( ∀ x ϕ ) [ N ] ≜ ∀ x < N ϕ [ N ] , ( ∃ x ϕ ) [ N ] ≜ ∃ x < N ϕ [ N ] .
and commutes with equality and Boolean connectives. All references below to infinite structures concern the original language L \mathcal{L} L .
We are now ready to state the main result of this section. In the statement below, we think of a tuple ( x 1 , … , x k ) (x_1,\ldots,x_k) ( x 1 , … , x k ) as a potential solution to the search problem encoded by ϕ \phi ϕ .
Theorem 1.9 (Riis-style dichotomy for relativized A P X 1 \mathrm{APX}_1 APX 1 ). Let ϕ ( x 1 , … , x k ) \phi(x_1,\ldots,x_k) ϕ ( x 1 , … , x k ) be a formula in the language L \mathcal{L} L with equality. If ∀ x 1 ⋯ ∀ x k ¬ ϕ ( x 1 , … , x k ) \forall x_1\cdots\forall x_k\neg\phi(x_1,\ldots,x_k) ∀ x 1 ⋯ ∀ x k ¬ ϕ ( x 1 , … , x k ) has an infinite model, then
A P X 1 ( L ^ ) ⊬ ∀ N ≥ 1 ( C l o s e d L ^ ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) . \mathrm{APX}_1(\widehat{\mathcal{L}})\nvdash\forall N\geq1\left(\mathrm{Closed}_{\widehat{\mathcal{L}}}(N)\to\exists x_1,\ldots,x_k<N\ \phi^{[N]}(x_1,\ldots,x_k)\right). APX 1 ( L ) ⊬ ∀ N ≥ 1 ( Closed L ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) .
Theorem 1.9 is an analogue of Riis’ finitisation theorems [50 ] (see also [Mül21] for a more recent related work). For sentences expressed in an additional relational language, Riis showed that provability of their finite restrictions in the relativized theories T 2 1 \mathrm{T}^1_2 T 2 1 or S 2 2 \mathrm{S}^2_2 S 2 2 is equivalent to validity in all structures for that relational language. Crucially, the proof of the finite restriction may use all the axioms of the ambient arithmetic theory, whereas an infinite counterexample need only interpret the additional combinatorial symbols, i.e., it need not carry any arithmetic structure or satisfy the axioms of the theory. Thus a purely combinatorial infinite counterexample can obstruct an arithmetic proof. Theorem 1.9 establishes an obstruction of the same form in the context of relativized A P X 1 \mathrm{APX}_1 APX 1 . Note that this phenomenon does not extend to relativized A P C 1 \mathrm{APC}_1 APC 1 , which proves r w P H P \mathrm{rwPHP} rwPHP despite the existence of an infinite counterexample.
displayed sentence is therefore the relativized weak pigeonhole principle asserting that this map has a collision.
In the next example, we explain how a principle that relies on a relation symbol, in addition to function and constant symbols, can be reformulated by replacing it with a function symbol.
Theorem 1.9 clarifies the weakness of the approximate counting axioms of APX 1 \operatorname{APX}_1 APX 1 . While they support a broad range of probabilistic arguments [11 ] , APX 1 \operatorname{APX}_1 APX 1 cannot distinguish the finite from the infinite.
As a consequence of Theorem 1.9, for combinatorial principles of the above form that hold in every non-empty finite L \mathcal{L} L -structure, provability of their translations in APX 1 ( L ^ ) \operatorname{APX}_1(\widehat{\mathcal{L}}) APX 1 ( L ) is equivalent to the absence of an infinite counterexample. Indeed, one obtains the following characterization.
Corollary 1.12 (Finite relativized combinatorial principles provable in APX 1 \operatorname{APX}_1 APX 1 ). Let φ ( x 1 , … , x k ) \varphi(x_1,\ldots,x_k) φ ( x 1 , … , x k ) be any formula in L \mathcal{L} L with equality, and suppose that ∃ x ˉ φ ˉ ( x ˉ ) \exists\bar{x}\ \bar{\varphi}(\bar{x}) ∃ x ˉ φ ˉ ( x ˉ ) holds in every non-empty finite L \mathcal{L} L -structure. Write
Θ φ ≜ ∀ N ≥ 1 ( Closed L ^ ( N ) → ∃ x 1 , … , x k < N φ [ N ] ( x 1 , … , x k ) ) . \Theta_{\varphi} \mathrel{\triangleq} \forall N \ge1 \left(\operatorname{Closed}_{\widehat{\mathcal{L}}}(N) \to\exists x_1,\ldots,x_k < N\ \varphi^{[N]}(x_1,\ldots,x_k)\right). Θ φ ≜ ∀ N ≥ 1 ( Closed L ( N ) → ∃ x 1 , … , x k < N φ [ N ] ( x 1 , … , x k ) ) . Then the following are equivalent:
APX 1 ( L ^ ) ⊢ Θ φ \operatorname{APX}_1(\widehat{\mathcal{L}}) \vdash\Theta_{\varphi} APX 1 ( L ) ⊢ Θ φ .
PV 1 ( L ^ ) ⊢ Θ φ \operatorname{PV}_1(\widehat{\mathcal{L}}) \vdash\Theta_{\varphi} PV 1 ( L ) ⊢ Θ φ .
∃ x ˉ φ ˉ ( x ˉ ) \exists\bar{x}\ \bar{\varphi}(\bar{x}) ∃ x ˉ φ ˉ ( x ˉ ) holds in every infinite L \mathcal{L} L -structure.
Corollary 1.12 indicates that in terms of the provability of a large class of combinatorial principles, APX 1 \operatorname{APX}_1 APX 1 behaves more like its deterministic base theory PV 1 \operatorname{PV}_1 PV 1 than like APC 1 \operatorname{APC}_1 APC 1 .
Techniques
We now explain the main ideas underlying our most technical results (Theorem 1.5 and Theorem 1.9). As a warm-up, we provide an overview of the unprovability of dwPHP in True∀ _{\forall} ∀ APX1 _1 1 in the relativized setting (Theorem 1.8 Item 2).
Unprovability of dwPHP (Theorem 1.8 Item 2). Assume towards a contradiction that True∀ _{\forall} ∀ APX1 _1 1 proves dwPHP in the relativized setting. Applying the KPT witnessing theorem [KPT91], we obtain a winning strategy for the “inspector” in the following “dwPHP game”. The game is defined in terms of functions g : [ N ] → [ 2 N ] g : [N] \to[2N] g : [ N ] → [ 2 N ] and a finite number of true universal sentences Ψ 1 , Ψ 2 , … , Ψ ℓ \Psi_1, \Psi_2, \ldots, \Psi_\ell Ψ 1 , Ψ 2 , … , Ψ ℓ (i.e., universal sentences in the language of PV1 ( g , P ) _1(g, P) 1 ( g , P ) that hold in every interpretation of g g g and any valid interpretation of the approximate counting oracle P P P ), and consists of m = poly log ( N ) m = \operatorname{poly}\log(N) m = poly log ( N ) rounds. In each round, the inspector can either make a query to g g g , make a query to P P P , or make an inversion query. Here, a query to P P P consists of an oracle circuit C ( − ) C^{(-)} C ( − ) of size at most s = poly log ( N ) s = \operatorname{poly}\log(N) s = poly log ( N ) , and the adversary must return a value p ∈ [ 0 , 1 ] p \in[0,1] p ∈ [ 0 , 1 ] as the purported value of Pr z [ C g ( z ) = 1 ] \Pr_z[C^g(z) = 1] Pr z [ C g ( z ) = 1 ] within additive error ε = 1 / poly log ( N ) \varepsilon= 1/\operatorname{poly}\log(N) ε = 1/ poly log ( N ) . An inversion query consists of an element y ∈ [ 2 N ] y \in[2N] y ∈ [ 2 N ] , and the adversary must return a preimage x ∈ [ N ] x \in[N] x ∈ [ N ] such that g ( x ) = y g(x) = y g ( x ) = y ; if the adversary is unable to do so, the inspector wins. Finally, if the inspector is able to find a violation of one of the axioms Ψ i \Psi_i Ψ i , then the inspector also wins.
We will construct a winning strategy for the adversary as long as m m m , s s s , ε − 1 \varepsilon^{-1} ε − 1 are sufficiently small compared to N N N (which leads to the contradiction). If there were no P P P queries, then the adversary could win by constructing a partial function g g g lazily: For each query g ( x ) g(x) g ( x ) such that x x x is not already in the current domain of g g g , we assign g ( x ) = 0 ∈ [ 2 N ] g(x) = 0 \in[2N] g ( x ) = 0 ∈ [ 2 N ] ; for each inversion query y y y , pick a random element x ∈ [ N ] x \in[N] x ∈ [ N ] outside the current domain of g g g and assign g ( x ) = y g(x) = y g ( x ) = y . As long as m < N m < N m < N , the domain size of g g g will be less than N N N and the adversary will not run out of preimages for inversion queries.
It remains to handle the P P P oracle queries. The idea is to fix a small pseudorandom set S S S such that for every small circuit C C C and every “valid” g g g ,
Pr z [ C g ( z ) = 1 ] ≈ Pr z ← S [ C g ( z ) = 1 ] , \Pr_z[C^g(z) = 1] \approx\Pr_{z \gets S}[C^g(z) = 1], z Pr [ C g ( z ) = 1 ] ≈ z ← S Pr [ C g ( z ) = 1 ] ,
and return Pr z ← S [ C g ( z ) = 1 ] \Pr_{z \gets S}[C^g(z) = 1] Pr z ← S [ C g ( z ) = 1 ] as the estimate. During this process, we need to evaluate C g ( z ) C^g(z) C g ( z ) for every z ∈ S z \in S z ∈ S . Again, whenever we make a query g ( x ) g(x) g ( x ) such that x x x is not already in the current domain of g g g , we assign g ( x ) = 0 g(x) = 0 g ( x ) = 0 . At first glance, it may appear that this is self-defeating: during the game, the domain size of g g g is upper bounded by ∣ S ∣ ⋅ m ⋅ s |S| \cdot m \cdot s ∣ S ∣ ⋅ m ⋅ s , so we want a pseudorandom set of size ∣ S ∣ |S| ∣ S ∣ that is pseudorandom against every g g g with this domain size; on the other hand, a standard union bound only gives a pseudorandom set of large size that is pseudorandom against functions with a smaller description. However, notice that we lazily assigned 0 0 0 to all g g g -values except in the inversion queries, hence the number of preimages mapped to a non-zero element in [ 2 N ] [2N] [ 2 N ] is at most m m m . We say g g g is “valid” if there are at most m m m preimages that map to a non-zero element. It is then easy to obtain a pseudorandom set of size ∣ S ∣ = poly ( m , s , 1 / ε ) |S| = \operatorname{poly}(m,s,1/\varepsilon) ∣ S ∣ = poly ( m , s , 1/ ε ) that ε \varepsilon ε -fools every C g C^g C g for small circuit C C C and valid g g g . As long as the domain size of g g g is poly ( m , ∣ S ∣ ) < N \operatorname{poly}(m, |S|) < N poly ( m , ∣ S ∣ ) < N , the adversary wins the game.
We note that in the above proof, the adversary replies with honest probabilities in the following sense. If we let g f i n a l g^{\mathrm{final}} g final be the function g g g at the end of the game, then every P( C ) (C) ( C ) query is answered with an ε \varepsilon ε -approximation of Pr z [ C g f i n a l ( z ) = 1 ] \Pr_z[C^{g^{\mathrm{final}}}(z) = 1] Pr z [ C g final ( z ) = 1 ] . Hence, these answers will satisfy any universal axiom Ψ i \Psi_i Ψ i and the adversary wins the game. Looking ahead, to show the unprovability of rwPHP in APX1 _1 1 , the adversary cannot reply with honest probabilities, as True∀ _{\forall} ∀ APX1 _1 1 indeed proves rwPHP (Theorem 1.8 Item 1).
Unprovability of rwPHP (Theorem 1.5 ). We now explain at a high level the unprovability of the retraction weak pigeonhole principle (rwPHP), which asserts for PV1 _1 1 function symbols f : { 0 , 1 } n + 1 → { 0 , 1 } n f : \{0,1\}^{n+1} \to\{0,1\}^n f : { 0 , 1 } n + 1 → { 0 , 1 } n and g : { 0 , 1 } n → { 0 , 1 } n + 1 g : \{0,1\}^{n} \to\{0,1\}^{n+1} g : { 0 , 1 } n → { 0 , 1 } n + 1 that there exists x ∈ { 0 , 1 } n + 1 x \in\{0,1\}^{n+1} x ∈ { 0 , 1 } n + 1 such that g ( f ( x ) ) ≠ x g(f(x)) \ne x g ( f ( x )) = x . The general Riis-style dichotomy follows a very similar argument.
We will establish using witnessing methods that if A P X 1 \mathrm{APX}_{1} APX 1 proves rwPHP in the relativized setting, then there is a winning strategy for the “inspector” in the following “rwPHP game” (we will actually prove a broad generalization of this in § 6 ). The rwPHP game is defined in terms of functions f : [ 2 N ] → [ N ] f : [2N] \to[N] f : [ 2 N ] → [ N ] and g : [ N ] → [ 2 N ] g : [N] \to[2N] g : [ N ] → [ 2 N ] . The game proceeds for m = poly log ( N ) m = \operatorname{poly}\log(N) m = poly log ( N ) rounds and in each round, the inspector supplies a distribution T i \mathcal{T}_{i} T i over decision trees T T T of height h ≤ poly log ( N ) h \le\operatorname{poly}\log(N) h ≤ poly log ( N ) which query the functions f , g f,g f , g on various inputs and output a value in { 0 , 1 } \{0,1\} { 0 , 1 } . The adversary must reply with a value p i ∈ [ 0 , 1 ] p_i \in[0,1] p i ∈ [ 0 , 1 ] . At the end of the game, the inspector outputs a value x ∈ [ 2 N ] x \in[2N] x ∈ [ 2 N ] , and wins the game if g ( f ( x ) ) ≠ x g(f(x)) \ne x g ( f ( x )) = x . The values p i p_i p i are supposed to represent Pr T ∼ T i [ T ( f , g ) = 1 ] \Pr_{T \sim\mathcal{T}_i}[T(f,g)=1] Pr T ∼ T i [ T ( f , g ) = 1 ] . However, the adversary is allowed to deviate from this “honest answer,” as long as they obey the following “local consistency” rules for some error parameter ϵ ≥ ( poly log ( N ) ) − 1 \epsilon\ge(\operatorname{poly}\log(N))^{-1} ϵ ≥ ( poly log ( N ) ) − 1 :
(Deterministic Consistency) If the inspector supplies a distribution supported on a single decision tree T i T_i T i , then the adversary must reply with the true probability Pr [ T i ( f , g ) = 1 ] ∈ { 0 , 1 } \Pr[T_i(f,g)=1] \in\{0,1\} Pr [ T i ( f , g ) = 1 ] ∈ { 0 , 1 } .
(Mixture Consistency) For any three round indices i 1 , i 2 , i 3 i_1,i_2,i_3 i 1 , i 2 , i 3 such that T i 1 = 1 2 T i 2 + 1 2 T i 3 \mathcal{T}_{i_1} = \frac{1}{2}\mathcal{T}_{i_2} + \frac{1}{2}\mathcal{T}_{i_3} T i 1 = 2 1 T i 2 + 2 1 T i 3 , if the adversary responded with values p i 1 , p i 2 , p i 3 p_{i_1},p_{i_2},p_{i_3} p i 1 , p i 2 , p i 3 , it must be that ∣ p i 1 − 1 2 p i 2 − 1 2 p i 3 ∣ ≤ ϵ \left|p_{i_1} - \frac{1}{2}p_{i_2} - \frac{1}{2}p_{i_3}\right| \le\epsilon p i 1 − 2 1 p i 2 − 2 1 p i 3 ≤ ϵ .
Our goal is to construct an adversary that always wins when m , h , ϵ − 1 ≤ poly log ( N ) m,h,\epsilon^{-1} \le\operatorname{poly}\log(N) m , h , ϵ − 1 ≤ poly log ( N ) . As discussed above, this lower bound cannot be proven by an adversary that always gives honest answers: In this case the game amounts to a standard randomized decision tree which aims to solve the search problem associated with rwPHP, which is easy using binary search (using the fact that a random x x x satisfies g ( f ( x ) ) ≠ x g(f(x)) \ne x g ( f ( x )) = x with probability ≥ 1 2 \ge\frac{1}{2} ≥ 2 1 ). This highlights the subtlety of the lower bound: to construct our adversary, we must answer “fake probabilities” in such a way that (1) they preclude the determination of any particular solution to the rwPHP search problem, and (2) they are indistinguishable from honest probabilities according to the two local consistency rules.
Our strategy will be as follows. Over the course of the game, the adversary will maintain a partial matching ρ i \rho_i ρ i after round i i i has been completed. When the next tree distribution T i \mathcal{T}_i T i is supplied, the adversary will take s s s independent samples T i , 1 , … , T i , s ∼ T i T_{i,1},\ldots,T_{i,s} \sim\mathcal{T}_i T i , 1 , … , T i , s ∼ T i (for some parameter s = poly ( h , m , ϵ − 1 ) s = \operatorname{poly}(h,m,\epsilon^{-1}) s = poly ( h , m , ϵ − 1 ) to be determined later). It then runs over each of the trees T i , j T_{i,j} T i , j in order and does the following. Starting at the root of T i , j T_{i,j} T i , j , if the tree queries f ( x ) f(x) f ( x ) and x x x is matched in ρ i \rho_i ρ i , we traverse the tree as if the answer to the query was the mate of x x x in ρ i \rho_i ρ i . If x x x is unmatched in ρ i \rho_i ρ i , we choose a uniformly random unmatched element y ∈ [ N ] y \in[N] y ∈ [ N ] , extend ρ i \rho_i ρ i to add the pair ( x , y ) (x,y) ( x , y ) , and traverse the tree according to f ( x ) = y f(x)=y f ( x ) = y . We perform the symmetric operation for queries of the form g ( y ) g(y) g ( y ) . We can always perform an appropriate move provided ∣ ρ i ∣ + s h ≤ N |\rho_i|+sh \le N ∣ ρ i ∣ + s h ≤ N which we will make sure to maintain throughout the game. When all trees T i , 1 , … , T i , s T_{i,1},\ldots,T_{i,s} T i , 1 , … , T i , s have been traversed in order, we reach a leaf in each tree and hence determine the corresponding output bits b i , 1 , … , b i , s ∈ { 0 , 1 } b_{i,1},\ldots,b_{i,s} \in\{0,1\} b i , 1 , … , b i , s ∈ { 0 , 1 } of these trees at those leaves. The adversary then responds with the value p i = 1 s ∑ j b i , j p_i = \frac{1}{s}\sum_j b_{i,j} p i = s 1 ∑ j b i , j , and sets ρ i + 1 ⊇ ρ i \rho_{i+1} \supseteq\rho_i ρ i + 1 ⊇ ρ i to be the extended matching obtained from all the extensions made to ρ i \rho_i ρ i during these traversals.
Now, when we reach the end of the game and ρ m \rho_m ρ m is the final matching, we will guarantee by our choice of parameters that ∣ ρ m ∣ < N |\rho_m| < N ∣ ρ m ∣ < N . The inspector must decide on some x f i n a l ∈ [ 2 N ] x_{\mathrm{final}} \in[2N] x final ∈ [ 2 N ] to output as their final answer; we extend ρ m \rho_m ρ m to ρ f i n a l \rho_{\mathrm{final}} ρ final such that x f i n a l x_{\mathrm{final}} x final is matched in ρ f i n a l \rho_{\mathrm{final}} ρ final , which is possible since ∣ ρ m ∣ < N |\rho_m| < N ∣ ρ m ∣ < N . We then choose any pair of functions f , g f,g f , g such that for all ( x , y ) ∈ ρ f i n a l (x,y) \in\rho_{\mathrm{final}} ( x , y ) ∈ ρ final , f ( x ) = y f(x)=y f ( x ) = y and g ( y ) = x g(y)=x g ( y ) = x . We want to argue that with high probability over the randomness of the adversary (corresponding to the random matching choices and random trees sampled), this pair ( f , g ) (f,g) ( f , g ) will witness the failure of the inspector. First observe that, since g ( f ( x f i n a l ) ) = x f i n a l g(f(x_{\mathrm{final}})) = x_{\mathrm{final}} g ( f ( x final )) = x final , the inspector failed to find an rwPHP solution. Second, since f ( x ) = y f(x)=y f ( x ) = y and g ( y ) = x g(y)=x g ( y ) = x for all ( x , y ) ∈ ρ f i n a l (x,y) \in\rho_{\mathrm{final}} ( x , y ) ∈ ρ final , the deterministic consistency rule is obeyed with probability 1. So it remains only to show that with high probability the mixture consistency rule is obeyed by the adversary’s answers p i p_i p i .
To prove mixture consistency, we consider an alternate hypothetical sequence of answers p i f i n a l p_i^{\mathrm{final}} p i final defined as the probability of outputting b = 1 b = 1 b = 1 in the following experiment for each i i i . Sample a fresh T i ∼ T i T_i \sim\mathcal{T}_i T i ∼ T i and randomly traverse through T i T_i T i starting from ρ f i n a l \rho_{\mathrm{final}} ρ final : each query f ( x ) f(x) f ( x ) is answered according to ρ f i n a l \rho_{\mathrm{final}} ρ final if x x x is matched in ρ f i n a l \rho_{\mathrm{final}} ρ final , and is otherwise set to a uniform element of [ N ] [N] [ N ] which is unmatched in the current extension of ρ f i n a l \rho_{\mathrm{final}} ρ final obtained thus far. Queries of the form g ( y ) g(y) g ( y ) are handled similarly. We end up at a leaf of T i T_i T i with bit b b b and output b b b . We perform this process in parallel for each i ≤ m i \le m i ≤ m to define the values p i f i n a l p_i^{\mathrm{final}} p i final , instead of iterating over the rounds in order and updating the matching each time (this is crucial). Now, for these values p i f i n a l p_i^{\mathrm{final}} p i final , the mixture consistency rules are obeyed precisely: p i f i n a l p_i^{\mathrm{final}} p i final is the probability of outputting 1 in some experiment in which the first step is to take a uniform sample from T i T_i T i , so its value is linear in the distribution of T i \mathcal{T}_i T i . So it would suffice to show that with nonzero probability over the randomness of the adversary, ∣ p i − p i f i n a l ∣ ≤ ϵ / 2 |p_i-p_i^{\mathrm{final}}| \le\epsilon/2 ∣ p i − p i final ∣ ≤ ϵ /2 for every i ≤ m i \le m i ≤ m . From this, we immediately get mixture consistency for each relevant triple p i 1 , p i 2 , p i 3 p_{i_1},p_{i_2},p_{i_3} p i 1 , p i 2 , p i 3 .
To prove that ∣ p i − p i f i n a l ∣ ≤ ϵ / 2 |p_i-p_i^{\mathrm{final}}| \le\epsilon/2 ∣ p i − p i final ∣ ≤ ϵ /2 , we will consider two more sets of intermediate p p p values and proceed by a kind of hybrid argument. The key claim underlying each step of the hybrid argument is a general lemma (Lemma 6.5 ) which says the following. Consider two decision trees T 1 , T 2 T_1,T_2 T 1 , T 2 , a partial matching ρ \rho ρ , and two experiments. In the first experiment, we randomly traverse T 1 T_1 T 1 followed by T 2 T_2 T 2 , using the initial matching ρ \rho ρ and randomly answering each query f ( x ) f(x) f ( x ) (resp. g ( y ) g(y) g ( y ) ) by choosing a random element in [ N ] [N] [ N ] (resp. [ 2 N ] [2N] [ 2 N ] ) which has so far been unmatched. After the traversal of T 1 T_1 T 1 we reach some leaf ℓ 1 ∈ T 1 \ell_1 \in T_1 ℓ 1 ∈ T 1 , and then after the traversal of T 2 T_2 T 2 we reach some ℓ 2 ∈ T 2 \ell_2 \in T_2 ℓ 2 ∈ T 2 . The second experiment is defined identically except we first traverse T 2 T_2 T 2 and then T 1 T_1 T 1 . Lemma 6.5 states that if the heights of the trees T 1 , T 2 T_1,T_2 T 1 , T 2 and the size of ρ \rho ρ are all much smaller than N N N , then the distribution of the leaves ( ℓ 1 , ℓ 2 ) (\ell_1,\ell_2) ( ℓ 1 , ℓ 2 ) we reach in these two experiments will be close in statistical distance. Roughly speaking, this allows us to undo the sequence of matching extensions used to determine p i f i n a l p_i^{\mathrm{final}} p i final and show that p i p_i p i is close to p i f i n a l p_i^{\mathrm{final}} p i final .
To prove Lemma 6.5 (and more generally, to make all of the probabilistic arguments easier during the analysis of the adversary), we define a global random variable ω \omega ω which simultaneously determines the path we will reach in any tree T T T by such a traversal starting with any initial matching ρ \rho ρ . This random variable is defined by choosing, for each x ∈ [ 2 N ] x \in[2N] x ∈ [ 2 N ] a uniformly random ordering of the elements of [ N ] [N] [ N ] (and symmetrically for each y ∈ [ N ] y \in[N] y ∈ [ N ] an ordering of [ 2 N ] [2N] [ 2 N ] ). Traversals of decision trees are then defined by answering queries according to the current partial assignment or else by matching x / y x/y x / y to the least unpaired element in its associated ordering. In this terminology, Lemma 6.5 will say that with high probability over the global randomness ω \omega ω , the pair of leaves ℓ 1 , ℓ 2 \ell_1,\ell_2 ℓ 1 , ℓ 2 obtained in the T 1 , T 2 T_1,T_2 T 1 , T 2 and T 2 , T 1 T_2,T_1 T 2 , T 1 experiments are the same (this is actually a stronger statement than the former statistical distance bound, and is what we will directly prove). The argument that T 1 ∘ T 2 T_1 \circ T_2 T 1 ∘ T 2 behaves as T 2 ∘ T 1 T_2 \circ T_1 T 2 ∘ T 1 with high probability regarding matching extensions and reached leaves proceeds by induction on the total depth h 1 + h 2 h_1+h_2 h 1 + h 2 of these trees, ultimately relying on an elementary probabilistic analysis of the effect of a single swap of two basic matching operations.
We remark that the probabilities p i p_i p i (and p i f i n a l p_i^{\mathrm{final}} p i final ) that our adversary provides are indeed different from honest probabilities. They are evaluated over ρ f i n a l \rho_{\mathrm{final}} ρ final where the f f f - and g g g -queries always get matched, which ensures that the decision tree queries never find any unmatched element. For example, if the inspector submits the randomized decision tree { T z } z \{T_z\}_z { T z } z such that for some rwPHP instance ( f ′ , g ′ ) (f',g') ( f ′ , g ′ ) , T z = 1 T_z=1 T z = 1 if and only if g ′ ( f ′ ( z ) ) = z g'(f'(z))=z g ′ ( f ′ ( z )) = z , then our adversary outputs 1 while the true probability is always at most 1 / 2 1/2 1/2 .
Finally, we briefly mention how the aforementioned ideas can be extended to a substantially large class of principles.
Generalization to finite combinatorial principles (Theorem 1.9). The above proof strategy extends to any finite combinatorial principle that can be captured using quantifier-free first-order formulas and admits an infinite counter-model M \mathcal{M} M (a weaker form of Theorem 1.9). In a bit more detail, instead of lazy-sampling a partial matching between [ N ] [N] [ N ] and [ 2 N ] [2N] [ 2 N ] , we lazy-sample a partial matching between [ N ] [N] [ N ] and M \mathcal{M} M . For this, we define a global random variable ω \omega ω that chooses a uniformly random ordering of [ N ] [N] [ N ] for each element in M \mathcal{M} M , and a uniformly random ordering of (a finite subset of) M \mathcal{M} M for each element in [ N ] [N] [ N ] . The partial injection from [ N ] [N] [ N ] to M \mathcal{M} M together with a natural adaptation of the argument described above guarantees the existence of a winning strategy for the adversary. In turn, this implies that there is no proof of the finitisation of the principle in relativized A P X 1 \mathrm{APX}_1 APX 1 , since one can show that a winning inspector can be extracted from a candidate proof using witnessing and other ideas. We refer to § 6 for more details. The argument can be extended to quantified formulas (as in the actual statement of Theorem 1.9) using Herbrandization, a standard technique from mathematical logic.
Our approach shares with Riis’ forcing proof [50 ] the use of partial maps to transfer information from an infinite counter-model. In the forcing approach, this construction takes place over a nonstandard model of arithmetic, and a central task is to ensure that it yields a model of the required arithmetic axioms (see Atserias and Müller [2 ] and Müller [Mül21] for related results and techniques). Here, witnessing replaces the construction of a model with a finite adversary argument. The additional challenge is to maintain the local consistency of approximate counting answers as the partial structure grows. As explained above, our construction and its analysis supply this consistency without requiring the answers to approximate the true probabilities of a completed finite structure.
Acknowledgements. We would like to thank Ondra Ježil for discussions about the provability of weak pigeonhole principles in bounded arithmetic. We also thank Moritz Müller for conversations about Riis’ result.
Funding Information. This work received support from the UKRI Frontier Research Guarantee Grant EP/Y007999/1 and the Centre for Discrete Mathematics and its Applications (DIMAP) at the University of Warwick. The authors would also like to thank the Isaac Newton Institute for Mathematical Sciences, Cambridge, for support and hospitality during the programme Logical Foundations of Complexity Theory (LFC), where part of the work on this paper was undertaken. The LFC programme was supported by EPSRC grant EP/Z000580/1. Jiatu Li is supported by the MIT Schwarzman College of Computing PhD Fellowship. Oliver Korten is supported by the National Science Foundation under Grant No. DMS-2424441.
AI Methodology. Following the recommendation of the “AI and TCS: The Next Six Months” white paper, we describe the usage of AI tools in this research project in detail.
Table 1.
All AI-generated content was independently verified and edited by the authors, who take full responsibility for the correctness of all claims and proofs in this paper.
The main technical contribution of LLM tools is in the proof of Theorem 1.5 . The authors formulated a framework (similar to § 6.1 but only for rwPHP) that reduces unprovability of rwPHP to lower bounds for a query problem related to randomized decision trees, and worked out proofs of partial cases (e.g. non-adaptive queries with “dishonest” adversaries or n / poly ( log n ) n/\operatorname{poly}(\log n) n / poly ( log n ) adaptive queries with “honest” adversaries that provide genuine approximate count estimates). The authors then formulated a proof strategy for the general case (fully describing the behavior of the adversary) and reduced its correctness to a key “robustification lemma” which they could not prove; they asked GPT 5.6 (from OpenAI) to prove this robustification lemma, and it succeeded. The machine-generated proof involved a formulation and proof of a key order-swapping lemma (see Lemma 6.5 ). After confirming this original proof, the authors suggested a significant simplification to the adversary’s strategy to GPT 5.6, and the machine subsequently proved that this simpler strategy worked (and gave an analysis of the strategy which was much simpler than the analysis in the original proof). This latter proof is the one given in the current manuscript; it still relies on the key order-swapping lemma devised by GPT 5.6 for the original proof. Finally, the authors worked out a mostly complete proof sketch of an extension of this rwPHP result to Theorem 1.9 and presented it to GPT 5.6, which filled in some minor missing details in this argument.
LLM tools are also used for routine mathematics, including drafting proofs (with the ideas given as part of the prompt), adapting proof techniques to a similar setting, calculating parameters, and fixing errors. This affects Corollary 1.12 (GPT 6), Theorem 4.2 (by Claude Fable 5), § 5.1 (by GPT 6), Theorem 5.5 (by GPT 5.6 and Claude Fable 5), Theorem 5.12 (by Claude Opus 5.5), Theorem 5.14 (by Claude Opus 5.5), Lemma 6.11 (by GPT 6), and results in the Appendix (by Claude Fable 5, Claude Fable 5.1, and Claude Opus 5.5). In these cases, LLM tools have not provided substantial conceptual or technical contributions.
Moreover, LLM tools (primarily GPT 6) are used to improve the presentation of the introduction through interaction with the authors.
Preliminaries
Basic Notation
For a string x ∈ { 0 , 1 } ∗ x \in\{0,1\}^{*} x ∈ { 0 , 1 } ∗ , we use ∥ x ∥ \lVert x\rVert ∥ x ∥ to denote the bit length of x x x (this is to distinguish from the absolute value ∣ ⋅ ∣ \lvert\cdot\rvert ∣ ⋅ ∣ ). We use ∥ v ∥ 1 \lVert v\rVert_{1} ∥ v ∥ 1 to denote the ℓ 1 \ell_{1} ℓ 1 -norm of a vector v ∈ R n v \in\mathbb{R}^{n} v ∈ R n , and in particular, ∥ x ∥ 1 \lVert x\rVert_{1} ∥ x ∥ 1 to denote the Hamming weight of a string x ∈ { 0 , 1 } n x \in\{0,1\}^{n} x ∈ { 0 , 1 } n .
We write T ⊢ ϕ \mathrm{T} \vdash\phi T ⊢ ϕ to denote that ϕ \phi ϕ is provable in first-order logic from T. We write T ⊢ F O ϕ \mathrm{T} \vdash_{\mathrm{FO}} \phi T ⊢ FO ϕ to emphasise provability of the sentence in first-order predicate logic, i.e., when the sentence is logically valid.
Bounded Arithmetic and Theory PV1 _1 1
We recall the background in bounded arithmetic needed below. For further details about bounded arithmetic, we refer to [11 ] and the survey [46 ] .
Theorem PV1 _1 1 . Our base theory PV1 _1 1 is a first-order theory formalizing deterministic polynomial-time reasoning. We use a standard presentation over finite binary strings, with natural numbers, rational numbers, circuits, and finite sequences represented by suitable efficient encodings. The language of PV1 _1 1 contains function symbols for polynomial-time algorithms, introduced through composition and limited recursion on notation, together with axioms describing these constructions. In the standard model, terms therefore compute polynomial-time functions, and quantifier-free formulas define polynomial-time predicates. Conversely, every polynomial-time predicate can be represented by a quantifier-free formula using its characteristic function.
The theory P V 1 \mathrm{PV}_1 PV 1 supports induction on notation for quantifier-free formulas. It also proves ordinary induction for such formulas, i.e., for every quantifier-free formula φ ( i , a ˉ ) \varphi(i,\bar{a}) φ ( i , a ˉ ) ,
P V 1 ⊢ ∀ a ˉ ∀ b ( φ ( 0 , a ˉ ) ∧ ∀ i < b ( φ ( i , a ˉ ) → φ ( i + 1 , a ˉ ) ) → φ ( b , a ˉ ) ) . \mathrm{PV}_1 \vdash\forall\bar{a}\forall b\left(\varphi(0,\bar{a}) \land\forall i < b\left(\varphi(i,\bar{a}) \to\varphi(i+1,\bar{a})\right) \to\varphi(b,\bar{a})\right). PV 1 ⊢ ∀ a ˉ ∀ b ( φ ( 0 , a ˉ ) ∧ ∀ i < b ( φ ( i , a ˉ ) → φ ( i + 1 , a ˉ ) ) → φ ( b , a ˉ ) ) .
A further property essential to our applications is that P V 1 \mathrm{PV}_1 PV 1 admits a universal axiomatization, meaning an equivalent presentation whose axioms are universal closures of quantifier-free formulas. We refer to [38 ] for a detailed presentation of P V 1 \mathrm{PV}_1 PV 1 .
A quantifier is bounded if it has the form ∃ y ≤ t ( x ˉ ) \exists y \leq t(\bar{x}) ∃ y ≤ t ( x ˉ ) or ∀ y ≤ t ( x ˉ ) \forall y \leq t(\bar{x}) ∀ y ≤ t ( x ˉ ) , where the term t t t does not contain y y y . It is sharply bounded if its bound has the form ∥ t ( x ˉ ) ∥ \lVert t(\bar{x})\rVert ∥ t ( x ˉ )∥ (recall ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ denotes bit length). The statements expressing totality of search problems that we consider typically have the form
∀ x ∃ y ≤ t ( x ) R ( x , y ) , \forall x\exists y \leq t(x)\ R(x,y), ∀ x ∃ y ≤ t ( x ) R ( x , y ) ,
where R R R is quantifier-free in the language of P V 1 \mathrm{PV}_1 PV 1 . Such statements belong to the class of sentences ∀ Σ 1 b ( P V 1 ) \forall\Sigma^b_1(\mathrm{PV}_1) ∀ Σ 1 b ( PV 1 ) , which assert that every input has a witness of polynomially bounded bit length whose validity can be checked in polynomial time.
We write n ∈ L o g n \in\mathrm{Log} n ∈ Log to indicate that n = ∥ u ∥ n = \lVert u\rVert n = ∥ u ∥ for an auxiliary string u u u . Formally, ∀ n ∈ L o g ψ ( n ) \forall n \in\mathrm{Log}\ \psi(n) ∀ n ∈ Log ψ ( n ) abbreviates ∀ u ψ ( ∥ u ∥ ) \forall u\ \psi(\lVert u\rVert) ∀ u ψ (∥ u ∥) . This convention supplies a parameter of length n n n , allowing constructions of size polynomial in n n n , including 1 n 1^n 1 n and the binary representation of 2 n 2^n 2 n . Similarly, n ∈ L o g L o g n \in\mathrm{LogLog} n ∈ LogLog indicates n = ∥ ∥ u ∥ ∥ n = \lVert\lVert u\rVert\rVert n = ∥∥ u ∥∥ . For precision parameters, the notation δ − 1 ∈ L o g \delta^{-1} \in\mathrm{Log} δ − 1 ∈ Log means that δ = 1 / ∥ Δ ∥ \delta= 1/\lVert\Delta\rVert δ = 1/ ∥ Δ ∥ for a string Δ \Delta Δ .
We also use relativized theories P V 1 ( F ) \mathrm{PV}_1(F) PV 1 ( F ) , where F F F is a tuple of fresh constant and function symbols, typically with specified polynomial bounds on output length. These symbols and their length axioms are added before closing the language under composition and limited recursion on notation, with induction available for quantifier-free formulas in the resulting language. Terms then describe polynomial-time computations with oracle access to F F F . These theories likewise admit universal axiomatizations. The particular oracle symbols and length bounds used here are specified in § 3 .
Witnessing Theorems
We will need the following formulation of Herbrand’s Theorem.
Theorem 2.1 (Herbrand’s Theorem; finite instance form (see, e.g., [7 Section 2.5.1] ).) Let T T T be a universal theory in a first-order language K \mathcal{K} K with equality and at least one constant symbol. Let c ˉ \bar{c} c ˉ be a (possibly empty) tuple of fresh parameter constants, and let χ ( c ˉ , x ˉ ) \chi(\bar{c},\bar{x}) χ ( c ˉ , x ˉ ) be a quantifier-free formula in K ( c ˉ ) \mathcal{K}(\bar{c}) K ( c ˉ ) whose free variables are among x ˉ \bar{x} x ˉ . If
T ⊢ ∃ x ˉ χ ( c ˉ , x ˉ ) , T \vdash\exists\bar{x}\ \chi(\bar{c},\bar{x}), T ⊢ ∃ x ˉ χ ( c ˉ , x ˉ ) , then there are finitely many ground instances θ j ( s ˉ j ( c ˉ ) ) \theta_j(\bar{s}_j(\bar{c})) θ j ( s ˉ j ( c ˉ )) , 1 ≤ j ≤ m 1 \leq j \leq m 1 ≤ j ≤ m , of axioms ∀ u ˉ j θ j ( u ˉ j ) \forall\bar{u}_j\ \theta_j(\bar{u}_j) ∀ u ˉ j θ j ( u ˉ j ) of T T T , and finitely many tuples of ground terms t ˉ i ( c ˉ ) \bar{t}_i(\bar{c}) t ˉ i ( c ˉ ) , 1 ≤ i ≤ r 1 \leq i \leq r 1 ≤ i ≤ r , of the same length as x ˉ \bar{x} x ˉ , such that
⊢ F O ⋀ j = 1 m θ j ( s ˉ j ( c ˉ ) ) ⟶ ⋁ i = 1 r χ ( c ˉ , t ˉ i ( c ˉ ) ) . \vdash_{\mathrm{FO}} \bigwedge_{j=1}^{m}\theta_j(\bar{s}_j(\bar{c})) \longrightarrow\bigvee_{i=1}^{r}\chi(\bar{c},\bar{t}_i(\bar{c})). ⊢ FO j = 1 ⋀ m θ j ( s ˉ j ( c ˉ )) ⟶ i = 1 ⋁ r χ ( c ˉ , t ˉ i ( c ˉ )) . Here ⊢ F O \vdash_{\mathrm{FO}} ⊢ FO denotes derivability in first-order logic with equality, every formula θ j \theta_j θ j is quantifier-free, and all terms belong to K ( c ˉ ) \mathcal{K}(\bar{c}) K ( c ˉ ) .
We will also need to extract information from a proof of a sentence of higher quantifier complexity. The following result will be useful.
Theorem 2.2 (KPT Witnessing Theorem [KPT91]). Let T T T be a universal first-order theory in a language L \mathcal{L} L , and let φ ( x , y , z ) \varphi(x,y,z) φ ( x , y , z ) be a quantifier-free L \mathcal{L} L -formula. Suppose that
T ⊢ ∀ x ∃ y ∀ z φ ( x , y , z ) . T \vdash\forall x \exists y \forall z\ \varphi(x,y,z). T ⊢ ∀ x ∃ y ∀ z φ ( x , y , z ) . Then there exist a constant r ≥ 1 r \ge1 r ≥ 1 and L \mathcal{L} L -terms t 1 ( x ) , t 2 ( x , z 1 ) , … , t r ( x , z 1 , … , z r − 1 ) t_1(x),t_2(x,z_1),\ldots,t_r(x,z_1,\ldots,z_{r-1}) t 1 ( x ) , t 2 ( x , z 1 ) , … , t r ( x , z 1 , … , z r − 1 ) such that
T ⊢ ∀ x ∀ z 1 ⋯ ∀ z r ⋁ i = 1 r φ ( x , t i ( x , z 1 , … , z i − 1 ) , z i ) . T \vdash\forall x \forall z_1 \cdots\forall z_r \bigvee_{i=1}^{r} \varphi(x,t_i(x,z_1,\ldots,z_{i-1}),z_i). T ⊢ ∀ x ∀ z 1 ⋯ ∀ z r i = 1 ⋁ r φ ( x , t i ( x , z 1 , … , z i − 1 ) , z i ) . (The variables x x x , y y y , z z z may also denote tuples, in which case each t i t_i t i is a corresponding tuple of terms.)
Unrelativized Combinatorial Principles
Refuter(Yao)
We review the definition of the TFZPP problem called Refuter(Yao) [11 ] . Recall that Yao’s distinguisher-to-predictor transformation [Yao82] shows that if a distribution D \mathcal{D} D over { 0 , 1 } n \{0,1\}^n { 0 , 1 } n is not ε \varepsilon ε -pseudorandom, i.e., there is a circuit C : { 0 , 1 } n → { 0 , 1 } C:\{0,1\}^n \to\{0,1\} C : { 0 , 1 } n → { 0 , 1 } (called distinguisher ) such that
∣ Pr [ C ( D ) ] − Pr [ C ( U n ) ] ∣ > ε , \left|\Pr[C(\mathcal{D})]-\Pr[C(\mathcal{U}_n)]\right|>\varepsilon, ∣ Pr [ C ( D )] − Pr [ C ( U n )] ∣ > ε ,
then there exists i ∈ [ n ] i \in[n] i ∈ [ n ] and a predictor P : { 0 , 1 } i − 1 → { 0 , 1 } P:\{0,1\}^{i-1}\to\{0,1\} P : { 0 , 1 } i − 1 → { 0 , 1 } such that
Pr x ← D [ P ( x < i ) = x i ] ≥ 1 2 + ε 4 n , \Pr_{x\leftarrow\mathcal{D}}[P(x_{<i})=x_i]\ge\frac{1}{2}+\frac{\varepsilon}{4n}, x ← D Pr [ P ( x < i ) = x i ] ≥ 2 1 + 4 n ε ,
i.e., P P P predicts the i i i -th bit of D \mathcal{D} D with advantage at least ε / 4 n \varepsilon/4n ε /4 n .
We say that a discrete probability distribution D \mathcal{D} D is flat if it is the uniform distribution over a multiset. The size of the distribution is the size of this multiset. We will represent flat distributions explicitly as a list of strings. In the subsequent discussions, we might tacitly assume that the relevant distribution is flat and explicitly represented.
Definition 2.3. The search problem Refuter(Yao) is defined as follows.
(Parameters). Length of strings n n n , distribution size m m m , predictor size s s s , and advantage δ ∈ [ 0 , 1 ] \delta\in[0,1] δ ∈ [ 0 , 1 ] .
(Input). A circuit G : { 0 , 1 } n m → [ n ] × { 0 , 1 } s G:\{0,1\}^{nm}\to[n]\times\{0,1\}^{s} G : { 0 , 1 } nm → [ n ] × { 0 , 1 } s (called predictor generator ).
(Solution). Any explicit flat distribution D ∈ ( { 0 , 1 } n ) m \mathcal{D}\in(\{0,1\}^{n})^m D ∈ ({ 0 , 1 } n ) m of size m m m such that the following holds:
Let ( i , P ) ≜ G ( D ) (i,P)\triangleq G(\mathcal{D}) ( i , P ) ≜ G ( D ) , where P : { 0 , 1 } i − 1 → { 0 , 1 } P:\{0,1\}^{i-1}\to\{0,1\} P : { 0 , 1 } i − 1 → { 0 , 1 } is parsed as a circuit of description length ≤ s \le s ≤ s . Then
Pr x ← D [ P ( x < i ) = x i ] < 1 2 + δ . \Pr_{x\leftarrow\mathcal{D}}[P(x_{<i})=x_i]<\frac{1}{2}+\delta. x ← D Pr [ P ( x < i ) = x i ] < 2 1 + δ .
In other words, P P P is not a predictor of the i i i -th bit of D \mathcal{D} D with advantage δ \delta δ .
At a high level, Refuter(Yao) asks to generate a distribution D \mathcal{D} D that is unpredictable against a given predictor generator G G G – a deterministic algorithm that aims to output a predictor P P P for D \mathcal{D} D . The distribution D \mathcal{D} D is not necessarily an unpredictable (or equivalently, pseudorandom) distribution against small circuits ; it suffices to fool the given deterministic predictor generator G G G .
To ensure that Refuter(Yao) is a total search problem, we assume ( δ 2 / 10 ) ⋅ m ≥ s + ⌈ log n ⌉ + 1 (\delta^2/10)\cdot m \ge s+\lceil\log n\rceil+1 ( δ 2 /10 ) ⋅ m ≥ s + ⌈ log n ⌉ + 1 if it is not explicitly specified (see [11 ] for more discussions).
Pigeonhole Principles and Total Search Problems
Definition 2.4 (Lossy Code). We define LossyCode as the following total search problem: Given circuits C : { 0 , 1 } n → { 0 , 1 } m C:\{0,1\}^{n}\to\{0,1\}^{m} C : { 0 , 1 } n → { 0 , 1 } m and D : { 0 , 1 } m → { 0 , 1 } n D:\{0,1\}^{m}\to\{0,1\}^{n} D : { 0 , 1 } m → { 0 , 1 } n , where m < n m<n m < n , the solution is a string x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n such that D ( C ( x ) ) ≠ x D(C(x))\ne x D ( C ( x )) = x .
Definition 2.5 (rwPHP). The retraction weak Pigeonhole Principle (rwPHP) is defined as the ∀ Σ 1 \forall\Sigma_{1} ∀ Σ 1 -sentence in the language of P V 1 \mathrm{PV}_{1} PV 1 stating that “LossyCode is total”. Specifically: for every pair of circuits C : { 0 , 1 } n → { 0 , 1 } m C:\{0,1\}^{n}\to\{0,1\}^{m} C : { 0 , 1 } n → { 0 , 1 } m and D : { 0 , 1 } m → { 0 , 1 } n D:\{0,1\}^{m}\to\{0,1\}^{n} D : { 0 , 1 } m → { 0 , 1 } n satisfying n , m ∈ L o g n,m\in\mathrm{Log} n , m ∈ Log , m < n m<n m < n , there exists x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n such that D ( C ( x ) ) ≠ x D(C(x))\ne x D ( C ( x )) = x .
APX, APX*, and Related Theories
APX and APX*
We first recall the theory A P X 1 \mathrm{APX}_{1} APX 1 introduced in [11 ] . The language of A P X 1 \mathrm{APX}_{1} APX 1 is the relativized theory P V 1 ( P ) \mathrm{PV}_{1}(P) PV 1 ( P ) , where ∥ P ( C , Δ ) ∥ ≤ ∥ C ∥ + 2 ∥ Δ ∥ \lVert P(C,\Delta)\rVert\le\lVert C\rVert+2\lVert\Delta\rVert ∥ P ( C , Δ )∥ ≤ ∥ C ∥ + 2 ∥ Δ ∥ is intended to output a rational number p ∈ Pr x ← U [ C ( x ) = 1 ] ± 1 / ∥ Δ ∥ p\in\Pr_{x\gets U}[C(x)=1]\pm1/\lVert\Delta\rVert p ∈ Pr x ← U [ C ( x ) = 1 ] ± 1/ ∥ Δ ∥ . For simplicity, we use P δ ( C ) P_{\delta}(C) P δ ( C ) to denote P ( C , 1 δ − 1 ) P(C,1^{\delta^{-1}}) P ( C , 1 δ − 1 ) for δ − 1 ∈ L o g \delta^{-1}\in\mathrm{Log} δ − 1 ∈ Log .
Besides the ordinary axioms for relativized P V 1 \mathrm{PV}_{1} PV 1 (where functions are interpreted as polynomial-time oracle algorithms), four axioms are introduced to govern the behavior of the oracle P P P :
P-ORACLE AXIOMS FOR A P X 1 \mathrm{APX}_{1} APX 1
(Basic Axiom). P δ ( C ) ∈ [ 0 , 1 ] ∩ Q P_{\delta}(C)\in[0,1]\cap\mathbb{Q} P δ ( C ) ∈ [ 0 , 1 ] ∩ Q .
(Boundary Axiom). If C C C is a circuit that does not read its input bits, then P δ ( C ) = Val ( C ) ∈ { 0 , 1 } P_{\delta}(C)=\operatorname{Val}(C)\in\{0,1\} P δ ( C ) = Val ( C ) ∈ { 0 , 1 } , where Val ( C ) \operatorname{Val}(C) Val ( C ) denotes the output of C C C .
(Precision Consistency Axiom). For every circuit C C C and every δ 1 − 1 , δ 2 − 1 , β − 1 ∈ L o g \delta_{1}^{-1},\delta_{2}^{-1},\beta^{-1}\in\mathrm{Log} δ 1 − 1 , δ 2 − 1 , β − 1 ∈ Log , ∣ P δ 1 ( C ) − P δ 2 ( C ) ∣ ≤ δ 1 + δ 2 + β \lvert P_{\delta_{1}}(C)-P_{\delta_{2}}(C)\rvert\le\delta_{1}+\delta_{2}+\beta ∣ P δ 1 ( C ) − P δ 2 ( C )∣ ≤ δ 1 + δ 2 + β .
(Local Consistency Axiom). For every circuit C C C and δ − 1 , β − 1 ∈ L o g \delta^{-1},\beta^{-1}\in\mathrm{Log} δ − 1 , β − 1 ∈ Log , let Fix b ( C ) \operatorname{Fix}_{b}(C) Fix b ( C ) be the circuit obtained by fixing the rightmost input bit of C C C to b b b , then
∣ P δ ( C ) − P δ ( Fix 0 ( C ) ) + P δ ( Fix 1 ( C ) ) 2 ∣ ≤ 2 δ + β . \left|P_{\delta}(C)-\frac{P_{\delta}(\operatorname{Fix}_{0}(C))+P_{\delta}(\operatorname{Fix}_{1}(C))}{2}\right|\le2\delta+\beta. P δ ( C ) − 2 P δ ( Fix 0 ( C )) + P δ ( Fix 1 ( C )) ≤ 2 δ + β .
Intuitively, the theory captures minimal mathematical reasoning capability corresponding to probabilistic polynomial time. It is shown that A P X 1 \mathrm{APX}_{1} APX 1 provides a rich toolkit for probability theory, where probability is formalized using the oracle P P P .
The Theory A P X 1 ∗ \mathrm{APX}_{1}^{*} APX 1 ∗ . We define the theory A P X 1 ∗ \mathrm{APX}_{1}^{*} APX 1 ∗ corresponding to minimal theory for multiplicative-error approximate counting (i.e. the complexity class p r S B P \mathrm{prSBP} prSBP ) by modifying the last two axioms to satisfy the behavior of a multiplicative-error approximate counting oracle: P δ ( C ) ∈ ( 1 ± δ ) ⋅ Pr x ← U [ C ( x ) = 1 ] P_{\delta}(C)\in(1\pm\delta)\cdot\Pr_{x\gets U}[C(x)=1] P δ ( C ) ∈ ( 1 ± δ ) ⋅ Pr x ← U [ C ( x ) = 1 ] .
For simplicity, we introduce the notation u ≲ ∗ v u\lesssim^{*}v u ≲ ∗ v for numbers u , v u,v u , v as the abbreviation for the formula “∀ β − 1 ∈ L o g u ≤ ( 1 + β ) ⋅ v \forall\beta^{-1}\in\mathrm{Log}\ u\le(1+\beta)\cdot v ∀ β − 1 ∈ Log u ≤ ( 1 + β ) ⋅ v ”, and u ≈ ∗ v u\approx^{*}v u ≈ ∗ v as the abbreviation of the formula “u ≲ ∗ v ∧ v ≲ ∗ u u\lesssim^{*}v\wedge v\lesssim^{*}u u ≲ ∗ v ∧ v ≲ ∗ u ”; this hides the slack parameter β \beta β . We can then describe the axioms of A P X 1 ∗ \mathrm{APX}_{1}^{*} APX 1 ∗ :
P-ORACLE AXIOMS FOR APX1 ∗ {}^{*}_{1} 1 ∗
(Precision Consistency Axiom). For every circuit C C C and every δ 1 − 1 , δ 2 − 1 ∈ Log \delta_1^{-1}, \delta_2^{-1} \in\operatorname{Log} δ 1 − 1 , δ 2 − 1 ∈ Log ,
( 1 − δ 1 ) P δ 2 ( C ) ≲ ∗ ( 1 + δ 2 ) P δ 1 ( C ) (1-\delta_1)P_{\delta_2}(C) \mathrel{\lesssim^{*}} (1+\delta_2)P_{\delta_1}(C) ( 1 − δ 1 ) P δ 2 ( C ) ≲ ∗ ( 1 + δ 2 ) P δ 1 ( C )
( 1 − δ ) p M ≲ ∗ ( 1 + δ ) P δ ( C ) and ( 1 − δ ) P δ ( C ) ≲ ∗ ( 1 + δ ) p M (1-\delta)p_M \mathrel{\lesssim^{*}} (1+\delta)P_{\delta}(C) \quad\text{and}\quad(1-\delta)P_{\delta}(C) \mathrel{\lesssim^{*}} (1+\delta)p_M ( 1 − δ ) p M ≲ ∗ ( 1 + δ ) P δ ( C ) and ( 1 − δ ) P δ ( C ) ≲ ∗ ( 1 + δ ) p M
where p M ≔ 1 2 ( P δ ( Fix 0 ( C ) ) + P δ ( Fix 1 ( C ) ) ) p_M \coloneqq\frac{1}{2}(P_{\delta}(\operatorname{Fix}_0(C)) + P_{\delta}(\operatorname{Fix}_1(C))) p M : = 2 1 ( P δ ( Fix 0 ( C )) + P δ ( Fix 1 ( C ))) .
Note that an additive-error approximate counting oracle P δ + ( ⋅ ) P^{+}_{\delta}(\cdot) P δ + ( ⋅ ) can be implemented by a multiplicative-error approximate counting oracle P δ ∗ ( ⋅ ) P^{*}_{\delta}(\cdot) P δ ∗ ( ⋅ ) , as P δ ∗ ( C ) ∈ ( 1 ± δ ) ⋅ p P^{*}_{\delta}(C) \in(1 \pm\delta)\cdot p P δ ∗ ( C ) ∈ ( 1 ± δ ) ⋅ p implies that P δ + ( C ) ∈ p ± δ P^{+}_{\delta}(C) \in p \pm\delta P δ + ( C ) ∈ p ± δ . Accordingly, we can show that APX1 ∗ {}^{*}_{1} 1 ∗ is indeed an extension of APX1 _1 1 .
Proposition 3.1. For every sentence ϕ \phi ϕ in the language of PV1 _1 1 (P), APX1 ⊢ ϕ _1 \vdash\phi 1 ⊢ ϕ implies that APX1 ∗ ⊢ ϕ {}^{*}_{1} \vdash\phi 1 ∗ ⊢ ϕ .
Proof. It suffices to show that axioms of APX1 _1 1 can be proved in APX1 ∗ {}^{*}_{1} 1 ∗ . As the two theories share basic and boundary axioms, it suffices to verify the other two axioms. Fix the slack parameter β − 1 ∈ Log \beta^{-1} \in\operatorname{Log} β − 1 ∈ Log of the target APX1 _1 1 axiom and let β ′ ≔ β / 3 \beta' \coloneqq\beta/3 β ′ : = β /3 (so that β ′ − 1 ∈ Log \beta'^{-1} \in\operatorname{Log} β ′ − 1 ∈ Log ); below, the notation ≲ ∗ \lesssim^{*} ≲ ∗ in the axioms of APX1 ∗ {}^{*}_{1} 1 ∗ is instantiated at the slack β ′ \beta' β ′ .
(PRECISION CONSISTENCY AXIOM FOR APX1 _1 1 .) We may assume that δ 1 + δ 2 + β < 1 \delta_1+\delta_2+\beta<1 δ 1 + δ 2 + β < 1 , as otherwise the axiom is immediate from the BASIC AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ ; in particular δ 1 , δ 2 < 1 \delta_1,\delta_2<1 δ 1 , δ 2 < 1 . The PRECISION CONSISTENCY AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ (with the roles of δ 1 , δ 2 \delta_1,\delta_2 δ 1 , δ 2 exchanged) gives ( 1 − δ 2 ) P δ 1 ( C ) ≤ ( 1 + β ′ ) ( 1 + δ 1 ) P δ 2 ( C ) (1-\delta_2)P_{\delta_1}(C) \le(1+\beta')(1+\delta_1)P_{\delta_2}(C) ( 1 − δ 2 ) P δ 1 ( C ) ≤ ( 1 + β ′ ) ( 1 + δ 1 ) P δ 2 ( C ) , and therefore
P δ 1 ( C ) − P δ 2 ( C ) ≤ ( ( 1 + β ′ ) ( 1 + δ 1 ) − 1 ) ⋅ P δ 2 ( C ) + δ 2 ⋅ P δ 1 ( C ) ≤ δ 1 + δ 2 + 2 β ′ ≤ δ 1 + δ 2 + β , P_{\delta_1}(C)-P_{\delta_2}(C) \le\bigl((1+\beta')(1+\delta_1)-1\bigr)\cdot P_{\delta_2}(C)+\delta_2\cdot P_{\delta_1}(C)\le\delta_1+\delta_2+2\beta'\le\delta_1+\delta_2+\beta, P δ 1 ( C ) − P δ 2 ( C ) ≤ ( ( 1 + β ′ ) ( 1 + δ 1 ) − 1 ) ⋅ P δ 2 ( C ) + δ 2 ⋅ P δ 1 ( C ) ≤ δ 1 + δ 2 + 2 β ′ ≤ δ 1 + δ 2 + β , where the second inequality uses P δ 1 ( C ) , P δ 2 ( C ) ∈ [ 0 , 1 ] P_{\delta_1}(C),P_{\delta_2}(C)\in[0,1] P δ 1 ( C ) , P δ 2 ( C ) ∈ [ 0 , 1 ] (the BASIC AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ ) and δ 1 < 1 \delta_1<1 δ 1 < 1 ; the bound on P δ 2 ( C ) − P δ 1 ( C ) P_{\delta_2}(C)-P_{\delta_1}(C) P δ 2 ( C ) − P δ 1 ( C ) is symmetric.
(LOCAL CONSISTENCY AXIOM FOR APX1 _1 1 .) Similarly, we may assume 2 δ + β < 1 2\delta+\beta<1 2 δ + β < 1 , so δ < 1 / 2 \delta<1/2 δ < 1/2 ; also p M ∈ [ 0 , 1 ] p_M\in[0,1] p M ∈ [ 0 , 1 ] by the BASIC AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ . From ( 1 − δ ) P δ ( C ) ≤ ( 1 + β ′ ) ( 1 + δ ) p M (1-\delta)P_{\delta}(C)\le(1+\beta')(1+\delta)p_M ( 1 − δ ) P δ ( C ) ≤ ( 1 + β ′ ) ( 1 + δ ) p M we obtain
P δ ( C ) − p M ≤ ( ( 1 + β ′ ) ( 1 + δ ) − 1 ) ⋅ p M + δ ⋅ P δ ( C ) ≤ 2 δ + 2 β ′ ≤ 2 δ + β , P_{\delta}(C)-p_M\le\bigl((1+\beta')(1+\delta)-1\bigr)\cdot p_M+\delta\cdot P_{\delta}(C)\le2\delta+2\beta'\le2\delta+\beta, P δ ( C ) − p M ≤ ( ( 1 + β ′ ) ( 1 + δ ) − 1 ) ⋅ p M + δ ⋅ P δ ( C ) ≤ 2 δ + 2 β ′ ≤ 2 δ + β , and the bound on p M − P δ ( C ) p_M-P_{\delta}(C) p M − P δ ( C ) follows from ( 1 − δ ) p M ≤ ( 1 + β ′ ) ( 1 + δ ) P δ ( C ) (1-\delta)p_M\le(1+\beta')(1+\delta)P_{\delta}(C) ( 1 − δ ) p M ≤ ( 1 + β ′ ) ( 1 + δ ) P δ ( C ) analogously.
This completes the proof.
Standard Models and Admissible Models. Similar to [11 ] , we now justify that the axioms for APX1 ∗ {}^{*}_{1} 1 ∗ capture exactly the intended behavior of P by showing that standard models (i.e. P-oracle behaves as a multiplicative-error counting oracle) are exactly admissible models (i.e. P-oracle satisfying axioms).
Let M \mathcal{M} M denote the standard model of PV1 _1 1 : the universe is the set of all binary strings, and every function symbol of PV1 _1 1 is interpreted by the polynomial-time algorithm defining it. For a function P ^ : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ \widehat{P}:\{0,1\}^{*}\times\{0,1\}^{*}\to\{0,1\}^{*} P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ , let M ( P ^ ) \mathcal{M}(\widehat{P}) M ( P ) denote the model of PV1 _1 1 (P) obtained from M \mathcal{M} M in which P is interpreted by P ^ \widehat{P} P .
Definition 3.2 (Standard Models). A function P ^ : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ \widehat{P} : \{0,1\}^{*} \times\{0,1\}^{*} \to\{0,1\}^{*} P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ is a correct multiplicative-error approximate counting function if the following conditions hold:
for every circuit C : { 0 , 1 } n → { 0 , 1 } C : \{0,1\}^{n} \to\{0,1\} C : { 0 , 1 } n → { 0 , 1 } and every Δ \Delta Δ , P ^ ( C , Δ ) \widehat{P}(C,\Delta) P ( C , Δ ) is (the encoding of) a rational number q ∈ [ 0 , 1 ] q \in[0,1] q ∈ [ 0 , 1 ] of length at most ∥ C ∥ + 2 ∥ Δ ∥ \lVert C\rVert+ 2\lVert\Delta\rVert ∥ C ∥ + 2 ∥ Δ ∥ such that q ∈ ( 1 ± 1 / ∥ Δ ∥ ) ⋅ p ( C ) q \in(1 \pm1/\lVert\Delta\rVert) \cdot p(C) q ∈ ( 1 ± 1/ ∥ Δ ∥) ⋅ p ( C ) , where p ( C ) ≔ Pr x ∈ { 0 , 1 } n [ C ( x ) = 1 ] p(C) \coloneqq\Pr_{x\in\{0,1\}^{n}}[C(x)=1] p ( C ) : = Pr x ∈ { 0 , 1 } n [ C ( x ) = 1 ] ; and
P ^ ( C , Δ ) = Val ( C ) ∈ { 0 , 1 } \widehat{P}(C,\Delta) = \operatorname{Val}(C) \in\{0,1\} P ( C , Δ ) = Val ( C ) ∈ { 0 , 1 } whenever C C C does not read its input bits.
We say that M ( P ^ ) M(\widehat{P}) M ( P ) is a standard model of A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ if P ^ \widehat{P} P is a correct multiplicative-error approximate counting function.
Definition 3.3 (Admissible Models). Let P ^ : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ \widehat{P} : \{0,1\}^{*} \times\{0,1\}^{*} \to\{0,1\}^{*} P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ be a function. We say that M ( P ^ ) M(\widehat{P}) M ( P ) is an admissible model of A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ if it satisfies all axioms of A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ .
The following proposition establishes the equivalence between standard and admissible models. Its proof is essentially an adaption of [11 Theorem 2.5] , and is deferred to Section A.1.
Proposition 3.4. Let P ^ : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ \widehat{P} : \{0,1\}^{*} \times\{0,1\}^{*} \to\{0,1\}^{*} P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ be any function. Then M ( P ^ ) M(\widehat{P}) M ( P ) is a standard model of A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ if and only if it is an admissible model of A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ .
Relativized Theories and Relativized Principles
To study the (un)provability of combinatorial principles such as wPHP, dwPHP and rwPHP in bounded theories, we will also work with relativized theories and principles, where the compression and decompression circuits are replaced by fresh function symbols, see, e.g., [Jeř07b]. First, we discuss relativization in the context of pigeonhole principles.
Relativized A P X 1 \mathrm{APX}_{1} APX 1 and A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ for Pigeonhole Principles. Let f , g f,g f , g be two new function symbols with the intended length bounds ∥ f ( u ) ∥ = ∥ u ∥ − 1 \lVert f(u)\rVert= \lVert u\rVert- 1 ∥ f ( u )∥ = ∥ u ∥ − 1 and ∥ g ( v ) ∥ = ∥ v ∥ + 1 \lVert g(v)\rVert= \lVert v\rVert+ 1 ∥ g ( v )∥ = ∥ v ∥ + 1 . We define P V 1 ( f , g ) \mathrm{PV}_{1}(f,g) PV 1 ( f , g ) as the relativized theory of P V 1 \mathrm{PV}_{1} PV 1 , where f f f and g g g are added as base functions and the length bounds are added as axioms. Function symbols in P V 1 ( f , g ) \mathrm{PV}_{1}(f,g) PV 1 ( f , g ) are therefore polynomial-time oracle algorithms with oracle calls to f f f and g g g .
The relativized version of A P X 1 \mathrm{APX}_{1} APX 1 further extends P V 1 ( f , g ) \mathrm{PV}_{1}(f,g) PV 1 ( f , g ) by containing an approximate-counting symbol P ( C , Δ ) P(C,\Delta) P ( C , Δ ) . The input C C C is parsed as an ( f , g ) (f,g) ( f , g ) -oracle Boolean circuit, and Δ \Delta Δ is the precision parameter. The intended semantics of P ( C , Δ ) P(C,\Delta) P ( C , Δ ) is that
P ( C , Δ ) ∈ Pr z ∈ { 0 , 1 } ℓ [ C f , g ( z ) = 1 ] ± 1 ∥ Δ ∥ . (2) P(C,\Delta) \in\Pr_{z\in\{0,1\}^{\ell}}[C^{f,g}(z)=1] \pm\frac{1}{\lVert\Delta\rVert}. \tag*{(2)} P ( C , Δ ) ∈ z ∈ { 0 , 1 } ℓ Pr [ C f , g ( z ) = 1 ] ± ∥ Δ ∥ 1 . (2)
where ℓ \ell ℓ is the input length of C C C . Similar to the unrelativized theory A P X 1 \mathrm{APX}_{1} APX 1 , we do not allow the circuit C C C to contain P-oracles.
The axioms of A P X 1 ( f , g ) \mathrm{APX}_{1}(f,g) APX 1 ( f , g ) consist of the axioms of P V 1 ( f , g ) \mathrm{PV}_{1}(f,g) PV 1 ( f , g ) and the counting axioms for A P X 1 \mathrm{APX}_{1} APX 1 (see Section 3.1). The basic, precision and local consistency axioms are identical (with the change that the circuit can query f f f and g g g ). The boundary axiom will be:
(Boundary Axiom. ) If C C C does not read its input bits and δ − 1 ∈ L o g \delta^{-1} \in\mathrm{Log} δ − 1 ∈ Log , then P δ ( C ) = Val f , g ( C ) ∈ { 0 , 1 } P_{\delta}(C) = \operatorname{Val}^{f,g}(C) \in\{0,1\} P δ ( C ) = Val f , g ( C ) ∈ { 0 , 1 } , where Val f , g ( C ) \operatorname{Val}^{f,g}(C) Val f , g ( C ) denotes the output of C C C , which may involve oracle queries to f f f and g g g .
Similarly, we can define the relativized theory A P X 1 ∗ ( f , g ) \mathrm{APX}^{*}_{1}(f,g) APX 1 ∗ ( f , g ) , where the local and precision consistency axioms are replaced by that of A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ (relativized). Note that we may also define the relativized theory with only f f f or g g g accordingly.
Relativized Pigeonhole Principles. The purpose of introducing f , g f, g f , g is to phrase combinatorial principles in a black-box fashion. The relativized retraction PHP, denoted by rwPHP( f , g ) (f, g) ( f , g ) , is defined as4
rwPHP ( f , g ) ≔ ∀ n ∈ Log ∃ x ∈ { 0 , 1 } n ( ∥ f ( x ) ∥ ≥ n ∨ g ( f ( x ) ) ≠ x ) . (3) \operatorname{rwPHP}(f,g) \coloneqq\forall n \in\operatorname{Log}\ \exists x \in\{0,1\}^{n}\left(\lVert f(x)\rVert\ge n \lor g(f(x)) \ne x\right). \tag*{(3)} rwPHP ( f , g ) : = ∀ n ∈ Log ∃ x ∈ { 0 , 1 } n ( ∥ f ( x )∥ ≥ n ∨ g ( f ( x )) = x ) . (3)
These sentences can be defined in the language of PV 1 ( f , g ) \operatorname{PV}_{1}(f,g) PV 1 ( f , g ) (and thus also APX 1 ( f , g ) \operatorname{APX}_{1}(f,g) APX 1 ( f , g ) ). Similarly, we define the relativized versions of dwPHP and wPHP as
dwPHP ( g ) ≔ ∀ n ∈ Log ∃ y ∈ { 0 , 1 } n + 1 ∀ x ∈ { 0 , 1 } n g ( x ) ≠ y (4) \operatorname{dwPHP}(g) \coloneqq\forall n \in\operatorname{Log}\ \exists y \in\{0,1\}^{n+1}\ \forall x \in\{0,1\}^{n}\ g(x) \ne y \tag*{(4)} dwPHP ( g ) : = ∀ n ∈ Log ∃ y ∈ { 0 , 1 } n + 1 ∀ x ∈ { 0 , 1 } n g ( x ) = y (4)
wPHP ( f ) ≔ ∀ n ∈ Log ∃ x 1 , x 2 ∈ { 0 , 1 } n \operatorname{wPHP}(f) \coloneqq\forall n \in\operatorname{Log}\ \exists x_{1},x_{2} \in\{0,1\}^{n} wPHP ( f ) : = ∀ n ∈ Log ∃ x 1 , x 2 ∈ { 0 , 1 } n
( x 1 ≠ x 2 ∧ ( f ( x 1 ) = f ( x 2 ) ∨ ∥ f ( x 1 ) ∥ ≥ n ∨ ∥ f ( x 2 ) ∥ ≥ n ) ) . (5) \left(x_{1} \ne x_{2} \land\left(f(x_{1})=f(x_{2}) \lor\lVert f(x_{1})\rVert\ge n \lor\lVert f(x_{2})\rVert\ge n\right)\right). \tag*{(5)} ( x 1 = x 2 ∧ ( f ( x 1 ) = f ( x 2 ) ∨ ∥ f ( x 1 )∥ ≥ n ∨ ∥ f ( x 2 )∥ ≥ n ) ) . (5)
These sentences are in the language of PV 1 ( g ) \operatorname{PV}_{1}(g) PV 1 ( g ) and PV 1 ( f ) \operatorname{PV}_{1}(f) PV 1 ( f ) , respectively.
We also consider a relativized extension of APX 1 \operatorname{APX}_{1} APX 1 for Theorem 1.9, where the additional function symbols represent maps on a finite universe [ N ] [N] [ N ] . Unlike the functions used in the pigeonhole principles above, these maps need not satisfy an output length bound depending only on the lengths of their arguments, uniformly in N N N . For example, f ( 0 ) f(0) f ( 0 ) may equal N − 1 N-1 N − 1 . To incorporate such functions into the underlying theory of polynomial-time computation, we introduce N N N as an explicit argument of each new symbol and impose the universal length bound
∥ f ( N , x ˉ ) ∥ ≤ ∥ N ∥ . \lVert f(N,\bar{x})\rVert\le\lVert N\rVert. ∥ f ( N , x ˉ )∥ ≤ ∥ N ∥ .
These bounds are included before closing the language of the theory under composition and limited recursion on notation. We give the precise definition next.
The Relativized Theory APX 1 ( L ^ ) \operatorname{APX}_{1}(\widehat{\mathcal{L}}) APX 1 ( L ) . Let L \mathcal{L} L be a finite language consisting of function and constant symbols. For each d d d -ary function symbol f ∈ L f \in\mathcal{L} f ∈ L , introduce a function symbol f ^ \widehat{f} f of arity d + 1 d+1 d + 1 . An original constant symbol c c c is treated as the case d = 0 d=0 d = 0 , giving a unary symbol c ^ \widehat{c} c . Write L ^ \widehat{\mathcal{L}} L for this parameterized language.
The primitive symbols satisfy the universal length axioms
∥ f ^ ( s , x 1 , … , x d ) ∥ ≤ ∥ s ∥ , f ∈ L , \lVert\widehat{f}(s,x_{1},\ldots,x_{d})\rVert\le\lVert s\rVert,\qquad f \in\mathcal{L}, ∥ f ( s , x 1 , … , x d )∥ ≤ ∥ s ∥ , f ∈ L ,
including ∥ c ^ ( s ) ∥ ≤ ∥ s ∥ \lVert\widehat{c}(s)\rVert\le\lVert s\rVert ∥ c ( s )∥ ≤ ∥ s ∥ for constants. The size argument s s s is an ordinary input and may vary between oracle calls. These are the only axioms imposed on the primitive symbols of L ^ \widehat{\mathcal{L}} L .
We first define the base theory B = PV 1 ( L ^ , P ) B=\operatorname{PV}_{1}(\widehat{\mathcal{L}},P) B = PV 1 ( L , P ) . Start with the ordinary PV 1 \operatorname{PV}_{1} PV 1 functions and axioms, the primitive symbols L ^ ∪ { P } \widehat{\mathcal{L}}\cup\{P\} L ∪ { P } , their length axioms above, and
∥ P ( C , Δ ) ∥ ≤ ∥ C ∥ + 2 ∥ Δ ∥ . \lVert P(C,\Delta)\rVert\le\lVert C\rVert+2\lVert\Delta\rVert. ∥ P ( C , Δ )∥ ≤ ∥ C ∥ + 2 ∥ Δ ∥ .
As usual, generate further functions in stages by composition and limited recursion on notation. At each stage, include the defining axioms for the functions admitted so far and quantifier-free induction on notation, with parameters, in the current language.
The theory APX 1 ( L ^ ) \operatorname{APX}_{1}(\widehat{\mathcal{L}}) APX 1 ( L ) extends B B B by the four approximate counting axioms, defined in the natural way. As before, P ( C , Δ ) P(C,\Delta) P ( C , Δ ) can be applied to Boolean circuits with L ^ \widehat{\mathcal{L}} L -oracle gates and no P P P gates.
For applications to finite L \mathcal{L} L -structures on [ N ] [N] [ N ] , the original symbols are represented by the slice f ^ ( N , x ˉ ) \widehat{f}(N,\bar{x}) f ( N , x ˉ ) and c ^ ( N ) \widehat{c}(N) c ( N ) . Closure of this slice under the functions, and membership of its constants in [ N ] [N] [ N ] , are hypotheses of the finite principles rather than axioms of APX 1 ( L ^ ) \operatorname{APX}_{1}(\widehat{\mathcal{L}}) APX 1 ( L ) . Note that every L \mathcal{L} L -structure on [ N ] [N] [ N ] can be represented in this way: use its tables at the slice s = N s=N s = N on arguments from [ N ] [N] [ N ] , and return zero elsewhere. The length axioms hold because every value is below N N N .
True-APX: True Universal Axioms of (Relativized) APX1
Definition 3.5 (Standard models). A standard model of the language of A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) is a structure over the standard integers in which g g g is interpreted by an arbitrary family of functions { g m : { 0 , 1 } m − 1 → { 0 , 1 } m } \{g_m:\{0,1\}^{m-1}\to\{0,1\}^m\} { g m : { 0 , 1 } m − 1 → { 0 , 1 } m } , the symbol P is interpreted by a correct approximate-counting oracle for g g g (defined below), and every P V 1 ( g , P ) \mathrm{PV}_1(g,\mathrm{P}) PV 1 ( g , P ) -function symbol is interpreted by its defining polynomial-time machine with oracle access to g g g and P. Here a function P is a correct approximate-counting oracle for g g g if for every g g g -oracle circuit C : { 0 , 1 } m → { 0 , 1 } C:\{0,1\}^m\to\{0,1\} C : { 0 , 1 } m → { 0 , 1 } and every Δ \Delta Δ :
P ( C , Δ ) ∈ Q ∩ [ 0 , 1 ] P(C,\Delta)\in\mathbb{Q}\cap[0,1] P ( C , Δ ) ∈ Q ∩ [ 0 , 1 ] ;
∣ P ( C , Δ ) − Pr z ← { 0 , 1 } m [ C g ( z ) = 1 ] ∣ ≤ 1 / ∥ Δ ∥ \left|P(C,\Delta)-\Pr_{z\leftarrow\{0,1\}^m}[C^g(z)=1]\right|\leq1/\|\Delta\| P ( C , Δ ) − Pr z ← { 0 , 1 } m [ C g ( z ) = 1 ] ≤ 1/∥Δ∥ ;
P ( C , Δ ) = Val g ( C ) P(C,\Delta)=\operatorname{Val}^g(C) P ( C , Δ ) = Val g ( C ) whenever C C C does not read its random input.
Definition 3.6 (True universal axioms and True∀APX1). A true universal axiom of A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) is a universal sentence Ψ = ∀ u ⃗ ψ ( u ⃗ ) \Psi=\forall\vec{u}\,\psi(\vec{u}) Ψ = ∀ u ψ ( u ) , with ψ \psi ψ quantifier-free in the language of A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) , that holds in every standard model. The true universal theory of A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) is the set of all true universal axioms. We use T r u e ∀ A P X 1 ( g ) \mathrm{True}_{\forall}\mathrm{APX}_1(g) True ∀ APX 1 ( g ) to denote the theory consisting of P V 1 ( P , g ) \mathrm{PV}_1(\mathrm{P},g) PV 1 ( P , g ) extended with the set of all true universal axioms. We extend this definition to T r u e ∀ A P X 1 ( f , g ) \mathrm{True}_{\forall}\mathrm{APX}_1(f,g) True ∀ APX 1 ( f , g ) in the natural way.
Specifically, the four A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) axioms are true universal axioms of A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) . Moreover, the true universal theory includes combinatorial axioms that are unlikely to be provable in A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) , as well as other mathematical statements; we provide two examples.
Example 3.7 (#rwPHP). The approximate counting version of retraction weak Pigeonhole Principle, denoted #rwPHP, is the following statement:
For every g g g -oracle circuits C : { 0 , 1 } n → { 0 , 1 } n − 1 C:\{0,1\}^n\to\{0,1\}^{n-1} C : { 0 , 1 } n → { 0 , 1 } n − 1 , D : { 0 , 1 } n − 1 → { 0 , 1 } n D:\{0,1\}^{n-1}\to\{0,1\}^n D : { 0 , 1 } n − 1 → { 0 , 1 } n , and every δ − 1 , β − 1 ∈ L o g \delta^{-1},\beta^{-1}\in\mathrm{Log} δ − 1 , β − 1 ∈ Log , let T C , D : { 0 , 1 } n → { 0 , 1 } T_{C,D}:\{0,1\}^n\to\{0,1\} T C , D : { 0 , 1 } n → { 0 , 1 } be the circuit T ( x ) ≔ [ D ( C ( x ) ) = x ] T(x)\coloneqq[D(C(x))=x] T ( x ) : = [ D ( C ( x )) = x ] , P δ ( T C , D ) ≤ 1 / 2 + δ + β P_\delta(T_{C,D})\leq1/2+\delta+\beta P δ ( T C , D ) ≤ 1/2 + δ + β .
This is a true sentence for any correct approximate-counting oracle. By the Existence Lemma in A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) (see [11 ] ), if A P X 1 ( g ) ⊬ # r w P H P \mathrm{APX}_1(g)\nvdash\#\mathrm{rwPHP} APX 1 ( g ) ⊬ # rwPHP , then A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) proves the ordinary retraction weak Pigeonhole Principle.
We record the following result (Theorem 1.8 Item 1), which follows from the discussion above using that #rwPHP is a universal sentence that holds in every standard model.
Proposition 3.8. T r u e ∀ A P X 1 ( f , g ) ⊢ r w P H P ( f , g ) \mathrm{True}_{\forall}\mathrm{APX}_1(f,g)\vdash\mathrm{rwPHP}(f,g) True ∀ APX 1 ( f , g ) ⊢ rwPHP ( f , g ) .
Example 3.9 (prBPP = prP). Assume that p r B P P = p r P \mathrm{prBPP}=\mathrm{prP} prBPP = prP and let capp ( C , Δ ) \operatorname{capp}(C,\Delta) capp ( C , Δ ) be the polynomial-time algorithm that outputs a number in Pr x [ C ( x ) = 1 ] ± 1 / ∥ Δ ∥ \Pr_x[C(x)=1]\pm1/\|\Delta\| Pr x [ C ( x ) = 1 ] ± 1/∥Δ∥ for circuits C C C without oracle gates. The correctness of the algorithm can be formalized as the following universal statement:
For every circuit C : { 0 , 1 } n → { 0 , 1 } C:\{0,1\}^n\to\{0,1\} C : { 0 , 1 } n → { 0 , 1 } (without oracle gates), any δ , β ∈ L o g − 1 \delta,\beta\in\mathrm{Log}^{-1} δ , β ∈ Log − 1 , it follows that ∣ P δ ( C ) − capp ( C , δ − 1 ) ∣ ≤ 2 δ + β \left|P_\delta(C)-\operatorname{capp}(C,\delta^{-1})\right|\leq2\delta+\beta P δ ( C ) − capp ( C , δ − 1 ) ≤ 2 δ + β .
This is a true sentence (and thus a true universal axiom) if p r B P P = p r P \mathrm{prBPP}=\mathrm{prP} prBPP = prP and capp \operatorname{capp} capp is a correct algorithm for approximate counting. Note that this sentence does not involve the g g g -oracle.
LossyCode, Refuter(Yao), and Total Search Problems of APX1
In this section, we prove Theorem 1.2 and Theorem 1.3 .
Equivalence Between LossyCode (rwPHP) and Refuter(Yao)
Recall that [11 ] proved a witnessing theorem for the ∀ Σ 1 b \forall\Sigma^{b}_{1} ∀ Σ 1 b -fragment of the theory A P X 1 \mathrm{APX}_{1} APX 1 via the search problem Refuter(Yao), namely, TFNP-problems that are provably total in A P X 1 \mathrm{APX}_{1} APX 1 can be reduced to Refuter(Yao). Yet it is unclear whether Refuter(Yao) is provably total in A P X 1 \mathrm{APX}_{1} APX 1 .
Theorem 4.1 (Witnessing for APX1 _1 1 [11 ] ). Let φ ( x , y ) \varphi(x,y) φ ( x , y ) be a quantifier-free formula in the language of P V 1 \mathrm{PV}_{1} PV 1 . If A P X 1 ⊢ ∀ x ∃ y φ ( x , y ) \mathrm{APX}_{1} \vdash\forall x \exists y\ \varphi(x,y) APX 1 ⊢ ∀ x ∃ y φ ( x , y ) , there exists a deterministic polynomial-time Turing reduction from the search problem defined by φ \varphi φ to Refuter(Yao).
We show that the answer is likely no by proving P V 1 \mathrm{PV}_{1} PV 1 -equivalence between the totality of Refuter(Yao) and rwPHP, which is unlikely provable in A P X 1 \mathrm{APX}_{1} APX 1 (as we will show later). In particular, we show that Refuter(Yao) and the search problem LossyCode are equivalent with respect to polynomial-time reduction.
Theorem 4.2. There are polynomial-time mapping reductions between Refuter(Yao) and LossyCode. Moreover, the totality of Refuter(Yao) and rwPHP (i.e. totality of LossyCode), as ∀ Σ 1 b \forall\Sigma^{b}_{1} ∀ Σ 1 b -formulas in the language of P V 1 \mathrm{PV}_{1} PV 1 , are equivalent with respect to P V 1 \mathrm{PV}_{1} PV 1 .
Proof. We note that the reduction from Refuter(Yao) to LossyCode is proved in [11 Theorem 5.4] and the idea originates from [31 ] ; the formalization in P V 1 \mathrm{PV}_{1} PV 1 is left as an exercise. In the rest of the proof, we construct the reduction from LossyCode to Refuter(Yao).
Let C : { 0 , 1 } n → { 0 , 1 } n − 1 C : \{0,1\}^{n} \to\{0,1\}^{n-1} C : { 0 , 1 } n → { 0 , 1 } n − 1 be the compressor and D : { 0 , 1 } n − 1 → { 0 , 1 } n D : \{0,1\}^{n-1} \to\{0,1\}^{n} D : { 0 , 1 } n − 1 → { 0 , 1 } n be the decompressor of a LossyCode instance; we assume without loss of generality that the stretch is 1. Let ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) be a parameter to be determined later. The reduction consists of the following two steps.
Construct a new instance where the decompressor is the truth table generator T T s , ℓ : { 0 , 1 } s → { 0 , 1 } ℓ \mathrm{TT}_{s,\ell} : \{0,1\}^{s} \to\{0,1\}^{\ell} TT s , ℓ : { 0 , 1 } s → { 0 , 1 } ℓ that takes a circuit of size s s s and outputs the first ℓ \ell ℓ -bits of its truth-table, where s = ℓ ϵ s = \ell^{\epsilon} s = ℓ ϵ . More formally, we construct a polynomial-time mapping reduction from ( C , D ) (C,D) ( C , D ) to a new instance ( E , T T s , ℓ ) (E,\mathrm{TT}_{s,\ell}) ( E , TT s , ℓ ) of LossyCode.
We further reduce the instance ( E , T T s , ℓ ) (E,\mathrm{TT}_{s,\ell}) ( E , TT s , ℓ ) to Refuter(Yao) with desired parameters.
We note that for any ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , the first step can be achieved by the standard “tree-construction” [30 ] (see, e.g., [31 , 32 , 41 ] ), and its formalization in P V 1 \mathrm{PV}_{1} PV 1 is straightforward (see, e.g., [Jeř07b, Theorem 3.1 (iii)]). We then focus on the second step.
Now let ( E , T T s , ℓ ) (E,\mathrm{TT}_{s,\ell}) ( E , TT s , ℓ ) be the instance of LossyCode with ϵ ≜ 1 / 20 \epsilon\triangleq1/20 ϵ ≜ 1/20 and s = ℓ ϵ s = \ell^{\epsilon} s = ℓ ϵ . We assume without loss of generality that m m m is sufficiently large. Let ℓ = 2 ν \ell= 2^{\nu} ℓ = 2 ν , we construct a Refuter(Yao) instance with parameters
n ′ ≜ ν , m ≜ 2 ν / 10 = ℓ 1 / 10 , s ′ ≜ s + ν 3 , δ ≜ 1 / 4 , (6) n' \triangleq\nu,\qquad m \triangleq2^{\nu/10} = \ell^{1/10},\qquad s' \triangleq s + \nu^{3},\qquad\delta\triangleq1/4, \tag*{(6)} n ′ ≜ ν , m ≜ 2 ν /10 = ℓ 1/10 , s ′ ≜ s + ν 3 , δ ≜ 1/4 , (6)
which satisfy ( δ 2 / 10 ) ⋅ m ≥ s ′ + ⌈ log ℓ ⌉ + 1 (\delta^{2}/10)\cdot m \ge s' + \lceil\log\ell\rceil+ 1 ( δ 2 /10 ) ⋅ m ≥ s ′ + ⌈ log ℓ ⌉ + 1 since s ≤ ℓ 1 / 20 s \le\ell^{1/20} s ≤ ℓ 1/20 .
The predictor generator G : { 0 , 1 } ν m → [ ν ] × { 0 , 1 } s ′ G : \{0,1\}^{\nu m} \to[\nu] \times\{0,1\}^{s'} G : { 0 , 1 } ν m → [ ν ] × { 0 , 1 } s ′ parses its input as a list D = ( x ( 1 ) , … , x ( m ) ) \mathcal{D} = (x^{(1)},\ldots,x^{(m)}) D = ( x ( 1 ) , … , x ( m ) ) of ν \nu ν -bit strings. For 0 ≤ j < ν 0 \le j < \nu 0 ≤ j < ν , let f j : { 0 , 1 } j → { 0 , 1 } f_j : \{0,1\}^{j} \to\{0,1\} f j : { 0 , 1 } j → { 0 , 1 } be the empirically optimal predictor of the ( j + 1 ) (j+1) ( j + 1 ) -st bit: f j ( z ) f_j(z) f j ( z ) is the most common value of ( x ( t ) ) j + 1 (x^{(t)})_{j+1} ( x ( t ) ) j + 1 among the samples with ( x ( t ) ) 1 … j = z (x^{(t)})_{1\ldots j} = z ( x ( t ) ) 1 … j = z , counted with multiplicity (0 to break tie). We say that f j f_j f j errs on x ( t ) x^{(t)} x ( t ) if f j ( ( x ( t ) ) 1 … j ) ≠ ( x ( t ) ) j + 1 f_j((x^{(t)})_{1\ldots j}) \ne(x^{(t)})_{j+1} f j (( x ( t ) ) 1 … j ) = ( x ( t ) ) j + 1 .
Claim. For every t ∈ [ m ] t \in[m] t ∈ [ m ] , the number of j ∈ { 0 , … , ν − 1 } j \in\{0,\ldots,\nu-1\} j ∈ { 0 , … , ν − 1 } such that f j f_j f j errs on x ( t ) x^{(t)} x ( t ) is at most log m \log m log m .
Proof. Let c t , j c_{t,j} c t , j be the number of indices t ′ ∈ [ m ] t' \in[m] t ′ ∈ [ m ] such that x ≤ j ( t ′ ) = x ≤ j ( t ) x^{(t')}_{\le j} = x^{(t)}_{\le j} x ≤ j ( t ′ ) = x ≤ j ( t ) , so that c t , 0 = m c_{t,0} = m c t , 0 = m . The sequence c t , j c_{t,j} c t , j is non-increasing in j j j , and c t , j ≥ 1 c_{t,j} \ge1 c t , j ≥ 1 . Suppose that f j f_j f j errs on x ( t ) x^{(t)} x ( t ) and let b ≜ ( x ( t ) ) j + 1 b \triangleq(x^{(t)})_{j+1} b ≜ ( x ( t ) ) j + 1 . Among the c t , j c_{t,j} c t , j samples sharing the prefix ( x ( t ) ) ≤ j (x^{(t)})_{\le j} ( x ( t ) ) ≤ j , the number of those with ( j + 1 ) (j+1) ( j + 1 ) -st bit equal to b b b is at most c t , j / 2 c_{t,j}/2 c t , j /2 : otherwise b b b would be the strict majority value and f j f_j f j would output b b b instead. Hence c t , j + 1 ≤ c t , j / 2 c_{t,j+1} \le c_{t,j}/2 c t , j + 1 ≤ c t , j /2 , and there are at most log m \log m log m erring indices. □ \square □
Summing the claim above over t ∈ [ m ] t \in[m] t ∈ [ m ] and using log m = ν / 10 \log m = \nu/10 log m = ν /10 ,
∑ j = 0 ν − 1 ∣ { t ∈ [ m ] : f j errs on x ( t ) } ∣ ≤ m log m = m ν 10 , (7) \sum_{j=0}^{\nu-1} \left|\{t \in[m] : f_j \text{ errs on } x^{(t)}\}\right| \le m \log m = \frac{m\nu}{10}, \tag*{(7)} j = 0 ∑ ν − 1 { t ∈ [ m ] : f j errs on x ( t ) } ≤ m log m = 10 m ν , (7)
so there exists j < ν j < \nu j < ν such that f j f_j f j errs on at most m / 10 m/10 m /10 samples. The predictor generator G G G then:
computes the smallest j j j such that f j f_j f j errs on at most m / 10 m/10 m /10 samples;
computes the truth table F j F_j F j of the function f ~ j : { 0 , 1 } ν → { 0 , 1 } \widetilde{f}_j : \{0,1\}^{\nu} \to\{0,1\} f j : { 0 , 1 } ν → { 0 , 1 } defined as f ~ j ( w ) ≜ f j ( w 1 … j ) \widetilde{f}_j(w) \triangleq f_j(w_{1\ldots j}) f j ( w ) ≜ f j ( w 1 … j ) ;
computes E ( F j ) ∈ { 0 , 1 } ν E(F_j) \in\{0,1\}^{\nu} E ( F j ) ∈ { 0 , 1 } ν and parses the output as a circuit K : { 0 , 1 } ν → { 0 , 1 } K : \{0,1\}^{\nu} \to\{0,1\} K : { 0 , 1 } ν → { 0 , 1 } ; and
outputs ( j + 1 , P ) (j+1,P) ( j + 1 , P ) , where P ( z ) ≜ K ( z ∘ 0 ν − j ) P(z) \triangleq K(z \circ0^{\nu-j}) P ( z ) ≜ K ( z ∘ 0 ν − j ) .
It can be verified that the instance map outputs G G G with the parameters in Equation (6) . To see the correctness of the reduction, let D \mathcal{D} D be any solution of G G G , and suppose toward a contradiction that TT s , ℓ ( E ( F j ) ) = F j \operatorname{TT}_{s,\ell}(E(F_j)) = F_j TT s , ℓ ( E ( F j )) = F j , i.e., tt ( K ) = F j \operatorname{tt}(K) = F_j tt ( K ) = F j . Then for every z ∈ { 0 , 1 } j z \in\{0,1\}^{j} z ∈ { 0 , 1 } j we have P ( z ) = f j ( z ) P(z) = f_j(z) P ( z ) = f j ( z ) , so P P P errs on at most m / 10 m/10 m /10 samples, and subsequently
Pr x ∼ D [ P ( x < i ) = x i ] ≥ 9 10 > 1 2 + δ , \Pr_{x \sim\mathcal{D}}[P(x_{<i}) = x_i] \ge\frac{9}{10} > \frac{1}{2}+\delta, x ∼ D Pr [ P ( x < i ) = x i ] ≥ 10 9 > 2 1 + δ ,
contradicting that D \mathcal{D} D is a solution.
Formalization in P V 1 \mathrm{PV}_1 PV 1 . As mentioned above, it suffices to verify that the step 2 (the reduction from the LossyCode instance ( E , T T s , ℓ ) (E,\mathrm{TT}_{s,\ell}) ( E , TT s , ℓ ) to Refuter(Yao)) can be formalized in P V 1 \mathrm{PV}_1 PV 1 . Recall that rwPHP formalizes exactly LossyCode is total, and we formalize it with n ∈ L o g n \in\mathrm{Log} n ∈ Log . It is worth noting that the construction of the truth table F j F_j F j is feasible as ν ∈ L o g L o g \nu\in\mathrm{LogLog} ν ∈ LogLog (recall that ν = log ℓ \nu= \log\ell ν = log ℓ and ℓ = poly ( n , ∣ C ∣ , ∣ D ∣ ) \ell= \operatorname{poly}(n, |C|, |D|) ℓ = poly ( n , ∣ C ∣ , ∣ D ∣ ) ). The rest of the proof can be formalized straightforwardly, with some routine work that has been comprehensively described in literature (see, e.g., [48 Kra19, 38 ] ). □ \square □
Witnessing Theorem for the ForallSigmaPV-Consequences of APX1
Both A P X 1 \mathrm{APX}_1 APX 1 and A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ are universal theories in the language of relativized P V 1 \mathrm{PV}_1 PV 1 . Following a recent work of [Tha24], we derive witnessing theorems for the ∀ Σ 1 b \forall\Sigma^b_1 ∀ Σ 1 b -fragments of these theories.
Definition 4.3 (Witness of Axiom Violation). Let L = { ( C i , Δ i , p i ) } i ∈ [ k ] L = \{(C_i,\Delta_i,p_i)\}_{i\in[k]} L = {( C i , Δ i , p i ) } i ∈ [ k ] be a list of query-answer pairs to the P oracle, where each C i C_i C i is a circuit, Δ i \Delta_i Δ i is a string, and p i ∈ [ 0 , 1 ] p_i \in[0,1] p i ∈ [ 0 , 1 ] is a rational number with at most ∥ C i ∥ + 2 ∥ Δ i ∥ \lVert C_i\rVert+2\lVert\Delta_i\rVert ∥ C i ∥ + 2 ∥ Δ i ∥ bits. A witness of axiom violation for local consistency axiom of A P X 1 \mathrm{APX}_1 APX 1 is a tuple ( u , v , w , B ) (u,v,w,B) ( u , v , w , B ) , u , v , w ∈ [ k ] u,v,w \in[k] u , v , w ∈ [ k ] , such that the followings hold.
C v , C w C_v, C_w C v , C w are exactly C u C_u C u with last bit fixed to be 0 and 1, respectively.
∣ Δ u ∣ = ∣ Δ v ∣ = ∣ Δ w ∣ |\Delta_u| = |\Delta_v| = |\Delta_w| ∣ Δ u ∣ = ∣ Δ v ∣ = ∣ Δ w ∣ . Let δ ≜ 1 / ∣ Δ u ∣ \delta\triangleq1/|\Delta_u| δ ≜ 1/∣ Δ u ∣ , and β ≜ 1 / ∣ B ∣ \beta\triangleq1/|B| β ≜ 1/∣ B ∣ .
∣ p u − ( p v + p w ) / 2 ∣ > 2 δ + β \left|p_u - (p_v+p_w)/2\right| > 2\delta+\beta ∣ p u − ( p v + p w ) /2 ∣ > 2 δ + β .
Accordingly, we can define witness of violation for other axioms of A P X 1 \mathrm{APX}_1 APX 1 and A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ . Note that given the list L L L and τ \tau τ , it can be verified in polynomial time whether τ \tau τ is indeed a witness of axiom violation.
Definition 4.4 (Inspector-Adversary Game). The inspector-adversary game for the theory A P X 1 \mathrm{APX}_1 APX 1 (resp. the theory A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ) is defined as follows.
In each round, the inspector outputs a circuit C i C_i C i and a string Δ i \Delta_i Δ i (called inspector’s challenge ), and the adversary outputs a rational p i ∈ [ 0 , 1 ] p_i \in[0,1] p i ∈ [ 0 , 1 ] with at most ∥ C i ∥ + 2 ∥ Δ i ∥ \lVert C_i\rVert+2\lVert\Delta_i\rVert ∥ C i ∥ + 2 ∥ Δ i ∥ bits (called adversary’s response ).
Let { P ( C i , Δ i ) = p i } i ∈ [ k ] \{P(C_i,\Delta_i)=p_i\}_{i\in[k]} { P ( C i , Δ i ) = p i } i ∈ [ k ] be a transcript of k k k rounds. The inspector wins after k k k rounds, if it can output a valid witness of axiom violation for any axiom of A P X 1 \mathrm{APX}_1 APX 1 (resp. A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ).
Definition 4.5 (Local). The search problem Local(A P X 1 \mathrm{APX}_1 APX 1 ), associated with the Inspector-Adversary Game for A P X 1 \mathrm{APX}_1 APX 1 , is defined as follows: Given a query algorithm Q = ( M 1 , M 2 , … , M k , M k + 1 ) Q = (M_1, M_2, \ldots, M_k, M_{k+1}) Q = ( M 1 , M 2 , … , M k , M k + 1 ) , where M i M_i M i is a circuit that takes the previous transcript as input and outputs the message in the i i i -th round, and in particular, M k + 1 M_{k+1} M k + 1 is intended to output a witness of axiom violation for any A P X 1 \mathrm{APX}_1 APX 1 axiom. The solution is a list of adversary’s responses p 1 , … , p k p_1, \ldots, p_k p 1 , … , p k given which the inspector does not win after k k k rounds.
Similarly, we can define the search problem Local(A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ) according to the Inspector-Adversary Game for A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ (instead of A P X 1 \mathrm{APX}_1 APX 1 ).
We show that Local(A P X 1 \mathrm{APX}_1 APX 1 ) (resp. Local(A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ )) captures ∀ Σ 1 b \forall\Sigma^b_1 ∀ Σ 1 b -consequences of A P X 1 \mathrm{APX}_1 APX 1 (resp. A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ). First, Thapen [Tha24] shows that provably total TFNP problems reduce to their inspector-adversary game search problems; indeed, Thapen proves a more general result that for any theory P V 1 ( f ) \mathrm{PV}_1(f) PV 1 ( f ) augmented with universal axioms about the f f f -oracle, provably total TFNP problems in the theory reduce to their corresponding Inspector-Adversary Game. In particular, we have:
Lemma 4.6 ([Tha24, Lemma 3.7]). Let R ( x , y ) R(x,y) R ( x , y ) be a P V 1 \mathrm{PV}_1 PV 1 -predicate. Then:
if A P X 1 ⊢ ∀ x ∃ y R ( x , y ) \mathrm{APX}_1 \vdash\forall x \exists y\ R(x,y) APX 1 ⊢ ∀ x ∃ y R ( x , y ) , then R ≤ p L o c a l ( A P X 1 ) R \le_p \mathrm{Local}(\mathrm{APX}_1) R ≤ p Local ( APX 1 ) ;
if A P X 1 ∗ ⊢ ∀ x ∃ y R ( x , y ) \mathrm{APX}_1^* \vdash\forall x \exists y\ R(x,y) APX 1 ∗ ⊢ ∀ x ∃ y R ( x , y ) , then R ≤ p L o c a l ( A P X 1 ∗ ) R \le_p \mathrm{Local}(\mathrm{APX}_1^*) R ≤ p Local ( APX 1 ∗ ) ;
(both via single-query polynomial-time reducibility.)
The above lemma shows that each computational problem Local(⋅ \cdot ⋅ ) is strong enough for witnessing ∀ Σ 1 b \forall\Sigma^b_1 ∀ Σ 1 b -consequences of the corresponding theory. The next lemma shows that each of them is also the weakest possible TFNP problem for witnessing.
Lemma 4.7. A P X 1 \mathrm{APX}_1 APX 1 (resp. A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ) proves that Local(A P X 1 \mathrm{APX}_1 APX 1 ) is total (resp. Local(A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ) is total).
Proof. We work in A P X 1 \mathrm{APX}_1 APX 1 (resp. A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ). We need to prove that for any given query algorithm Q = ( M 1 , M 2 , … , M k , M k + 1 ) Q = (M_1, M_2, \ldots, M_k, M_{k+1}) Q = ( M 1 , M 2 , … , M k , M k + 1 ) , there exists a transcript given which the inspector does not win in k k k rounds. Indeed, we compute iterative as follows:
Let ( C 1 , Δ 1 ) = M 1 ( τ 1 : = ∅ ) (C_1, \Delta_1) = M_1(\tau_1 := \varnothing) ( C 1 , Δ 1 ) = M 1 ( τ 1 := ∅ ) , we define p 1 ≜ P ( C 1 , Δ 1 ) p_1 \triangleq P(C_1, \Delta_1) p 1 ≜ P ( C 1 , Δ 1 )
Let τ 2 \tau_2 τ 2 be the transcript before this step, and ( C 2 , Δ 2 ) = M 2 ( τ 2 ) (C_2, \Delta_2) = M_2(\tau_2) ( C 2 , Δ 2 ) = M 2 ( τ 2 ) , then p 2 ≜ P ( C 2 , Δ 2 ) p_2 \triangleq P(C_2, \Delta_2) p 2 ≜ P ( C 2 , Δ 2 ) .
… \ldots …
Finally, p k ≜ P ( C k , Δ k ) p_k \triangleq P(C_k, \Delta_k) p k ≜ P ( C k , Δ k ) .
Note that p 1 , … , p k p_1, \ldots, p_k p 1 , … , p k can be computed via a P-oracle polynomial time algorithm, and can thus be defined. Moreover, with the axioms of A P X 1 \mathrm{APX}_1 APX 1 (resp. A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ), we can conclude that the inspector must fail.
Approximate Counting and Weak Pigeonhole Principles
In this section, we study upper bounds and (relativized) lower bounds for weak pigeonhole principles in bounded theories for approximate counting. In particular, we derive Theorem 1.5 and prove the remaining items of Theorem 1.8 .
Unprovability of Relativized rwPHP in APX1
In this section, we use Theorem 1.9 to show that A P X 1 ( f , g ) ⊬ r w P H P ( f , g ) \mathrm{APX}_1(f,g) \nvdash\mathrm{rwPHP}(f,g) APX 1 ( f , g ) ⊬ rwPHP ( f , g ) (Theorem 1.5 ). Recall that
r w P H P ( f , g ) = ∀ N ( N > 1 → ∃ x < 2 N ( f ( x ) ≥ N ∨ g ( f ( x ) ) ≠ x ) ) . \mathrm{rwPHP}(f,g) = \forall N\left(N > 1 \rightarrow\exists x < 2N\left(f(x) \ge N \lor g(f(x)) \ne x\right)\right). rwPHP ( f , g ) = ∀ N ( N > 1 → ∃ x < 2 N ( f ( x ) ≥ N ∨ g ( f ( x )) = x ) ) .
As in the example following Theorem 1.9 in § 1.2.3 , we represent the two halves of the compression map by unary function symbols f 0 f_0 f 0 and f 1 f_1 f 1 . Introduce one further unary function symbol h h h , and let L ≜ { f 0 , f 1 , h } \mathcal{L} \triangleq\{f_0,f_1,h\} L ≜ { f 0 , f 1 , h } . Define
φ ( x ) ≜ h ( f 0 ( x ) ) ≠ x ∨ h ( f 1 ( x ) ) ≠ x ∨ f 0 ( x ) = f 1 ( x ) . \varphi(x) \triangleq h(f_0(x)) \ne x \vee h(f_1(x)) \ne x \vee f_0(x) = f_1(x). φ ( x ) ≜ h ( f 0 ( x )) = x ∨ h ( f 1 ( x )) = x ∨ f 0 ( x ) = f 1 ( x ) .
Thus ∀ x ¬ φ ( x ) \forall x \neg\varphi(x) ∀ x ¬ φ ( x ) asserts that h h h is a common left inverse of f 0 f_0 f 0 and f 1 f_1 f 1 , and that f 0 ( x ) ≠ f 1 ( x ) f_0(x) \ne f_1(x) f 0 ( x ) = f 1 ( x ) for every x x x . This sentence has an infinite model with universe N \mathbb{N} N :
f 0 ( x ) = 2 x , f 1 ( x ) = 2 x + 1 , h ( y ) = ⌊ y / 2 ⌋ . f_0(x) = 2x,\qquad f_1(x) = 2x+1,\qquad h(y) = \lfloor y/2\rfloor. f 0 ( x ) = 2 x , f 1 ( x ) = 2 x + 1 , h ( y ) = ⌊ y /2 ⌋ .
Consequently, Theorem 1.9 gives A P X 1 ( L ^ ) ⊬ Θ φ \mathrm{APX}_1(\widehat{\mathcal{L}}) \nvdash\Theta_\varphi APX 1 ( L ) ⊬ Θ φ , where
Θ φ ≜ ∀ N ≥ 1 ( Closed L ^ ( N ) → ∃ x < N φ [ N ] ( x ) ) . \Theta_\varphi\triangleq\forall N \ge1\left(\operatorname{Closed}_{\widehat{\mathcal{L}}}(N) \to\exists x < N\ \varphi^{[N]}(x)\right). Θ φ ≜ ∀ N ≥ 1 ( Closed L ( N ) → ∃ x < N φ [ N ] ( x ) ) .
Finally, in order to obtain Theorem 1.5 , it is enough to show that a proof of rwPHP ( f , g ) \operatorname{rwPHP}(f,g) rwPHP ( f , g ) in A P X 1 ( f , g ) \mathrm{APX}_1(f,g) APX 1 ( f , g ) would yield a proof of Θ φ \Theta_\varphi Θ φ in A P X 1 ( L ^ ) \mathrm{APX}_1(\widehat{\mathcal{L}}) APX 1 ( L ) . For completeness, we describe the argument below.
If A P X 1 ( f , g ) ⊢ rwPHP ( f , g ) \mathrm{APX}_1(f,g) \vdash\operatorname{rwPHP}(f,g) APX 1 ( f , g ) ⊢ rwPHP ( f , g ) then A P X 1 ( L ^ ) ⊢ Θ φ \mathrm{APX}_1(\widehat{\mathcal{L}}) \vdash\Theta_\varphi APX 1 ( L ) ⊢ Θ φ . For each N > 1 N > 1 N > 1 , define
F N ( z ) ≜ { f ^ 0 ( N , z ) , z < N , f ^ 1 ( N , z − N ) , N ≤ z < 2 N , F_N(z) \triangleq
\begin{cases}
\widehat{f}_0(N,z), & z < N,\\
\widehat{f}_1(N,z-N), & N \le z < 2N,
\end{cases} F N ( z ) ≜ { f 0 ( N , z ) , f 1 ( N , z − N ) , z < N , N ≤ z < 2 N ,
and
G N ( y ) ≜ { h ^ ( N , y ) , f ^ 0 ( N , h ^ ( N , y ) ) = y , N + h ^ ( N , y ) , f ^ 0 ( N , h ^ ( N , y ) ) ≠ y , ( y < N ) . G_N(y) \triangleq
\begin{cases}
\widehat{h}(N,y), & \widehat{f}_0(N,\widehat{h}(N,y)) = y,\\
N+\widehat{h}(N,y), & \widehat{f}_0(N,\widehat{h}(N,y)) \ne y,
\end{cases}
\qquad(y < N). G N ( y ) ≜ { h ( N , y ) , N + h ( N , y ) , f 0 ( N , h ( N , y )) = y , f 0 ( N , h ( N , y )) = y , ( y < N ) .
Extend F N F_N F N and G N G_N G N by 0 0 0 outside [ 2 N ] [2N] [ 2 N ] and [ N ] [N] [ N ] , respectively. These are P V 1 ( L ^ ) \mathrm{PV}_1(\widehat{\mathcal{L}}) PV 1 ( L ) functions, defined uniformly in the parameter N N N . Under Closed L ^ ( N ) \operatorname{Closed}_{\widehat{\mathcal{L}}}(N) Closed L ( N ) , they restrict to maps
F N : [ 2 N ] → [ N ] , G N : [ N ] → [ 2 N ] . F_N\colon[2N]\to[N],\qquad G_N\colon[N]\to[2N]. F N : [ 2 N ] → [ N ] , G N : [ N ] → [ 2 N ] .
Given these definitions, it is not hard to check that the theory P V 1 ( L ^ ) \mathrm{PV}_1(\widehat{\mathcal{L}}) PV 1 ( L ) proves that, for every N > 1 N > 1 N > 1 , the following implication holds:
Closed L ^ ( N ) ∧ ∃ z < 2 N ( F N ( z ) ≥ N ∨ G N ( F N ( z ) ) ≠ z ) → ∃ x < N φ [ N ] ( x ) . \operatorname{Closed}_{\widehat{\mathcal{L}}}(N)\wedge\exists z<2N\left(F_N(z)\ge N\vee G_N(F_N(z))\ne z\right)
\to\exists x<N\ \varphi^{[N]}(x). Closed L ( N ) ∧ ∃ z < 2 N ( F N ( z ) ≥ N ∨ G N ( F N ( z )) = z ) → ∃ x < N φ [ N ] ( x ) .
Now suppose, towards a contradiction, that A P X 1 ( f , g ) ⊢ rwPHP ( f , g ) \mathrm{APX}_1(f,g)\vdash\operatorname{rwPHP}(f,g) APX 1 ( f , g ) ⊢ rwPHP ( f , g ) . In this proof, replace calls to f f f and g g g by the P V 1 ( L ^ ) \mathrm{PV}_1(\widehat{\mathcal{L}}) PV 1 ( L ) functions F N F_N F N and G N G_N G N , treating N > 1 N>1 N > 1 as a parameter. Inside counting queries, replace each oracle circuit C C C by the oracle circuit C N C_N C N over L ^ \widehat{\mathcal{L}} L obtained by the same substitutions at its oracle gates. One can check by verifying axioms and induction (in the meta-language) on the complexity of proofs that this translation can be carried out so that the resulting proof is valid in A P X 1 ( L ^ ) \mathrm{APX}_1(\widehat{\mathcal{L}}) APX 1 ( L ) . It therefore yields the N N N instance of rwPHP ( F N , G N ) \operatorname{rwPHP}(F_N,G_N) rwPHP ( F N , G N ) .
By the preceding reduction, we get that
A P X 1 ( L ^ ) ⊢ ∀ N > 1 ( Closed L ^ ( N ) → ∃ x < N φ [ N ] ( x ) ) . \mathrm{APX}_1(\widehat{\mathcal{L}})\vdash\forall N>1\left(\operatorname{Closed}_{\widehat{\mathcal{L}}}(N)\to\exists x<N\ \varphi^{[N]}(x)\right). APX 1 ( L ) ⊢ ∀ N > 1 ( Closed L ( N ) → ∃ x < N φ [ N ] ( x ) ) .
Finally, for N = 1 N=1 N = 1 , closure gives f ^ 0 ( 1 , 0 ) = f ^ 1 ( 1 , 0 ) = 0 \widehat{f}_0(1,0)=\widehat{f}_1(1,0)=0 f 0 ( 1 , 0 ) = f 1 ( 1 , 0 ) = 0 , so φ [ 1 ] ( 0 ) \varphi^{[1]}(0) φ [ 1 ] ( 0 ) holds. Together with the displayed consequence, this proves Θ φ \Theta_\varphi Θ φ in A P X 1 ( L ^ ) \mathrm{APX}_1(\widehat{\mathcal{L}}) APX 1 ( L ) , contradicting Theorem 1.9. Therefore A P X 1 ( f , g ) ⊬ rwPHP ( f , g ) \mathrm{APX}_1(f,g)\nvdash\operatorname{rwPHP}(f,g) APX 1 ( f , g ) ⊬ rwPHP ( f , g ) , as required.
Unprovability of Relativized (d)wPHP in True-APX1
A Lower Bound for dwPHP
We first prove the following lower bound on inspector algorithms for dwPHP. Looking ahead, we will use this lower bound and the KPT witnessing theorem Theorem 2.2 to show the unprovability of dwPHP(g g g ) in the true universal theory of APX1 ( g ) _1(g) 1 ( g ) .
Lemma 5.1. Let k ∈ N k \in\mathbb{N} k ∈ N be a constant and let Ψ 1 , … , Ψ k \Psi_1,\ldots,\Psi_k Ψ 1 , … , Ψ k be true universal axioms of A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) , where Ψ j = ∀ u ⃗ ψ j ( u ⃗ ) \Psi_j = \forall\vec{u}\ \psi_j(\vec{u}) Ψ j = ∀ u ψ j ( u ) with ψ j \psi_j ψ j quantifier-free. Let t ( n ) ≥ n t(n) \ge n t ( n ) ≥ n be a non-decreasing function and I ( 1 n ) \mathcal{I}(1^n) I ( 1 n ) be a (non-uniform) query algorithm of size t = t ( n ) t = t(n) t = t ( n ) , g = { g n : { 0 , 1 } n − 1 → { 0 , 1 } n } g = \{g_n : \{0,1\}^{n-1} \to\{0,1\}^n\} g = { g n : { 0 , 1 } n − 1 → { 0 , 1 } n } , P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ P : \{0,1\}^* \times\{0,1\}^* \to\{0,1\}^* P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ such that ∥ P ( C , Δ ) ∥ ≤ ∥ C ∥ + 2 ∥ Δ ∥ \lVert P(C,\Delta)\rVert\le\lVert C\rVert+ 2\lVert\Delta\rVert ∥ P ( C , Δ )∥ ≤ ∥ C ∥ + 2 ∥ Δ ∥ . The algorithm (called inspector) may take one of the following three types of queries:
(g g g queries): Given x ∈ { 0 , 1 } m − 1 x \in\{0,1\}^{m-1} x ∈ { 0 , 1 } m − 1 , the oracle outputs g ( x ) ∈ { 0 , 1 } m g(x) \in\{0,1\}^m g ( x ) ∈ { 0 , 1 } m .
(P P P queries): Given an oracle circuit C C C and a string Δ \Delta Δ , the oracle outputs P ( C , Δ ) P(C,\Delta) P ( C , Δ ) .
(inversion queries): Given y ∈ { 0 , 1 } n y \in\{0,1\}^n y ∈ { 0 , 1 } n , the oracle either outputs some string x ∈ { 0 , 1 } n − 1 x \in\{0,1\}^{n-1} x ∈ { 0 , 1 } n − 1 such that g ( x ) = y g(x) = y g ( x ) = y , or ⊥ \perp ⊥ .
Note that the algorithm I ( 1 n ) \mathcal{I}(1^n) I ( 1 n ) can query the g g g oracle on input of any length ≤ t \le t ≤ t , while for inversion queries it is only allowed to query y y y of length exactly n n n . The inspector is said to succeed (resp. fail) if at least one (resp. neither) of the following two conditions holds:
(range avoidance): the oracle outputs ⊥ \perp ⊥ in an inversion query y ∈ { 0 , 1 } n y \in\{0,1\}^n y ∈ { 0 , 1 } n .
(axiom violation): the inspector finds and outputs some j ∈ [ k ] j \in[k] j ∈ [ k ] and a tuple u ⃗ \vec{u} u of strings such that the instance ψ j ( u ⃗ ) \psi_j(\vec{u}) ψ j ( u ) evaluates to false by the oracle answers to g g g and P P P .
Then for some constant ε > 0 \varepsilon> 0 ε > 0 , if t ( n ) ≤ 2 ε n t(n) \le2^{\varepsilon n} t ( n ) ≤ 2 ε n for all sufficiently large n n n , there are { g n } \{g_n\} { g n } , P P P , and an inversion oracle such that for infinitely many n n n , I ( 1 n ) \mathcal{I}(1^n) I ( 1 n ) fails.
Proof. Fix k ∈ N k \in\mathbb{N} k ∈ N and axioms Ψ 1 , … , Ψ k \Psi_1,\ldots,\Psi_k Ψ 1 , … , Ψ k , and let d ≥ 1 d \ge1 d ≥ 1 be a constant such that for every i ∈ [ k ] i \in[k] i ∈ [ k ] , Ψ i = ∀ u ⃗ ψ ( u ⃗ ) \Psi_i = \forall\vec{u}\ \psi(\vec{u}) Ψ i = ∀ u ψ ( u ) , ψ ( u ⃗ ) \psi(\vec{u}) ψ ( u ) will make g g g -oracle queries and P P P -oracle queries on input length at most n d n^d n d when n = ∥ u ⃗ ∥ n = \lVert\vec{u}\rVert n = ∥ u ∥ is sufficiently large. Note that the constant d d d always exists as ψ ( u ⃗ ) \psi(\vec{u}) ψ ( u ) are quantifier-free formulas in the language of A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) and are thus polynomial-time algorithms with ( g , P ) (g,P) ( g , P ) -oracles.
Let ε > 0 \varepsilon> 0 ε > 0 be a parameter to be determined, and let N = { n 1 , n 2 , … } N = \{n_1,n_2,\ldots\} N = { n 1 , n 2 , … } be a set of input lengths on which we will ensure that I \mathcal{I} I does not succeed. Let n ∈ N n \in N n ∈ N , t = t ( n ) t = t(n) t = t ( n ) , t ~ = t d \widetilde{t} = t^d t = t d . Let ℓ = ℓ ( n ) \ell= \ell(n) ℓ = ℓ ( n ) be a parameter to be determined. For x ⃗ = ( x 1 , … , x ℓ ) \vec{x} = (x_1,\ldots,x_\ell) x = ( x 1 , … , x ℓ ) , y ⃗ = ( y 1 , … , y ℓ ) \vec{y} = (y_1,\ldots,y_\ell) y = ( y 1 , … , y ℓ ) , where x i x_i x i ’s are distinct and ∥ y i ∥ = ∥ x i ∥ + 1 ≤ t ~ \lVert y_i\rVert= \lVert x_i\rVert+ 1 \le\widetilde{t} ∥ y i ∥ = ∥ x i ∥ + 1 ≤ t for every i ∈ [ ℓ ] i \in[\ell] i ∈ [ ℓ ] , we define g x ⃗ , y ⃗ g_{\vec{x},\vec{y}} g x , y as
g x ⃗ , y ⃗ ( x ) ≔ { y i x = x i , 0 ∥ x ∥ + 1 x ∉ { x 1 , … , x ℓ } . g_{\vec{x},\vec{y}}(x) \coloneqq
\begin{cases}
y_i & x = x_i,\\
0^{\lVert x\rVert+1} & x \notin\{x_1,\ldots,x_\ell\}.
\end{cases} g x , y ( x ) : = { y i 0 ∥ x ∥ + 1 x = x i , x ∈ / { x 1 , … , x ℓ } .
Let D n ⊆ { 0 , 1 } t ~ D_n \subseteq\{0,1\}^{\widetilde{t}} D n ⊆ { 0 , 1 } t and let D n ≤ m D_n^{\le m} D n ≤ m be its projection to the first m m m bits. It is said to be pseudorandom if for every such x ⃗ , y ⃗ \vec{x},\vec{y} x , y and any oracle circuit C : { 0 , 1 } m → { 0 , 1 } C : \{0,1\}^m \to\{0,1\} C : { 0 , 1 } m → { 0 , 1 } of size at most t ~ \widetilde{t} t , D n ≤ m D_n^{\le m} D n ≤ m ( 1 / t ~ ) (1/\widetilde{t}) ( 1/ t ) -fools the circuit C g x ⃗ , y ⃗ C^{g_{\vec{x},\vec{y}}} C g x , y . Specifically,
∣ Pr z ← D n ≤ m [ C g x ⃗ , y ⃗ ( z ) = 1 ] − Pr z ← { 0 , 1 } m [ C g x ⃗ , y ⃗ ( z ) = 1 ] ∣ ≤ 1 2 t ~ . (8) \left|
\Pr_{z \leftarrow D_n^{\le m}}\left[C^{g_{\vec{x},\vec{y}}}(z)=1\right]
-
\Pr_{z \leftarrow\{0,1\}^m}\left[C^{g_{\vec{x},\vec{y}}}(z)=1\right]
\right|
\le\frac{1}{2\widetilde{t}}. \tag*{(8)} z ← D n ≤ m Pr [ C g x , y ( z ) = 1 ] − z ← { 0 , 1 } m Pr [ C g x , y ( z ) = 1 ] ≤ 2 t 1 . (8)
By the Hoeffding bound, we know that for any fixed x ⃗ , y ⃗ \vec{x},\vec{y} x , y and circuit C C C , if we sample a size-s s s multiset D ⊆ { 0 , 1 } t ~ D \subseteq\{0,1\}^{\widetilde{t}} D ⊆ { 0 , 1 } t uniformly at random, D n ≤ m D_n^{\le m} D n ≤ m fools C C C with probability 1 − 2 exp ( − s / ( 2 t ~ 2 ) ) 1 - 2\exp(-s/(2\widetilde{t}^2)) 1 − 2 exp ( − s / ( 2 t 2 )) . There are at most 2 2 ( t ~ + 1 ) ℓ 2^{2(\widetilde{t}+1)\ell} 2 2 ( t + 1 ) ℓ choices of ( x ⃗ , y ⃗ ) (\vec{x},\vec{y}) ( x , y ) and at most 2 O ( t ~ log t ~ ) 2^{O(\widetilde{t}\log\widetilde{t})} 2 O ( t l o g t ) oracle circuits of size at most t ~ \widetilde{t} t . Therefore, by union bound over x ⃗ , y ⃗ , C \vec{x},\vec{y},C x , y , C , there exists a pseudorandom set D n ⊆ { 0 , 1 } t ~ D_n \subseteq\{0,1\}^{\widetilde{t}} D n ⊆ { 0 , 1 } t of size at most s ( n ) ≤ 100 ⋅ t 3 d ℓ 2 n s(n) \le100 \cdot t^{3d}\ell^2\sqrt{n} s ( n ) ≤ 100 ⋅ t 3 d ℓ 2 n ( ∗ ) (*) ( ∗ ) .
Construction of Adversary. Let n 0 ∈ N n_0 \in\mathbb{N} n 0 ∈ N be sufficiently large. We will construct the oracle g g g and P iteratively, starting with g ( z ) g(z) g ( z ) and P ( C , Δ ) \mathrm{P}(C,\Delta) P ( C , Δ ) being undetermined for any input z z z and C , Δ C,\Delta C , Δ . In the i i i -th iteration, we will fix entries of g g g , P to force I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) fails; in addition, we will maintain the invariance that after the i i i -th iteration:
We fix g g g on all inputs of length at most t ~ ( n i ) \tilde{t}(n_i) t ~ ( n i ) and P whenever ∥ C ∥ , ∥ Δ ∥ ≤ t ~ ( n i ) \lVert C\rVert,\lVert\Delta\rVert\leq\tilde{t}(n_i) ∥ C ∥ , ∥ Δ ∥ ≤ t ~ ( n i ) .
g g g agrees with g x ⃗ , y ⃗ ( x ) g_{\vec{x},\vec{y}}(x) g x , y ( x ) on fixed strings for a list x ⃗ , y ⃗ \vec{x},\vec{y} x , y of length at most ℓ ( n i ) \ell(n_i) ℓ ( n i ) .
For any ∥ C ∥ , ∥ Δ ∥ ≤ t ~ ( n i ) \lVert C\rVert,\lVert\Delta\rVert\leq\tilde{t}(n_i) ∥ C ∥ , ∥ Δ ∥ ≤ t ~ ( n i ) , ∣ P ( C , Δ ) − Pr x [ C g ( x ) = 1 ] ∣ ≤ 1 / ∥ Δ ∥ \left|\mathrm{P}(C,\Delta)-\Pr_x[C^{g}(x)=1]\right|\leq1/\lVert\Delta\rVert ∣ P ( C , Δ ) − Pr x [ C g ( x ) = 1 ] ∣ ≤ 1/ ∥ Δ ∥ .
The procedure will not stall; see ( ⋄ ) (\diamond) ( ⋄ ) below.
For i = 0 i=0 i = 0 , we fix g g g to be all-zero on input length at most t ~ ( n 0 ) \tilde{t}(n_0) t ~ ( n 0 ) and fix P to be the correct acceptance probability with respect to g g g . We now describe the i i i -th iteration of the procedure.
(Iteration i i i ). Fix a pseudorandom set D n ⊆ { 0 , 1 } t ~ D_n \subseteq\{0,1\}^{\tilde{t}} D n ⊆ { 0 , 1 } t ~ . We run the algorithm I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) and answer queries if the corresponding entry for g g g and P are fixed. Otherwise we work as follows:
For any g g g query on x x x , we fix g ( x ) = 0 ∥ x ∥ + 1 g(x)=0^{\lVert x\rVert+1} g ( x ) = 0 ∥ x ∥ + 1 and answer it.
For any P query on circuit C : { 0 , 1 } m → { 0 , 1 } C:\{0,1\}^{m}\to\{0,1\} C : { 0 , 1 } m → { 0 , 1 } and parameter Δ \Delta Δ , we evaluate C g ( z ) C^g(z) C g ( z ) for any z ∈ D n ≤ m z\in D_n^{\leq m} z ∈ D n ≤ m , during which any unfixed g g g -query will be fixed to output the all zero string. Let
p ≜ Pr z ← D n ≤ m [ C g ( z ) = 1 ] , (9) p \triangleq\Pr_{z\leftarrow D_n^{\leq m}}[C^g(z)=1], \tag*{(9)} p ≜ z ← D n ≤ m Pr [ C g ( z ) = 1 ] , (9)
and fix and answer P ( C , Δ ) \mathrm{P}(C,\Delta) P ( C , Δ ) to be any dyadic rational number that is 1 / ( 2 ∥ Δ ∥ ) 1/(2\lVert\Delta\rVert) 1/ ( 2 ∥ Δ ∥) -close to p p p .
For any inversion query y ∈ { 0 , 1 } n i y\in\{0,1\}^{n_i} y ∈ { 0 , 1 } n i , if we have set x x x such that g ( x ) = y g(x)=y g ( x ) = y , we answer x x x . Otherwise, we find any x ∈ { 0 , 1 } n i − 1 x\in\{0,1\}^{n_i-1} x ∈ { 0 , 1 } n i − 1 such that g ( x ) g(x) g ( x ) has not been fixed, fix g ( x ) = y g(x)=y g ( x ) = y , and then answer x x x . We will ensure that such x x x always exists later ( ⋄ ) (\diamond) ( ⋄ ) .
After that, we fix g ( x ) = 0 ∥ x ∥ + 1 g(x)=0^{\lVert x\rVert+1} g ( x ) = 0 ∥ x ∥ + 1 for any unfixed x x x with ∥ x ∥ ≤ t ~ ( n i ) \lVert x\rVert\leq\tilde{t}(n_i) ∥ x ∥ ≤ t ~ ( n i ) . Then for every circuit C : { 0 , 1 } m → { 0 , 1 } C:\{0,1\}^{m}\to\{0,1\} C : { 0 , 1 } m → { 0 , 1 } of size at most t ~ ( n i ) \tilde{t}(n_i) t ~ ( n i ) and any Δ \Delta Δ of length at most t ~ ( n i ) \tilde{t}(n_i) t ~ ( n i ) , we fix P ( C , Δ ) \mathrm{P}(C,\Delta) P ( C , Δ ) according to (9) .
Let g g g , P be the union of all fixed g g g , P in the procedure for i = 1 , 2 , … i=1,2,\ldots i = 1 , 2 , … . We argue that for the functions g g g , P, it is always possible to answer inversion queries such that I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) fails for any i i i .
Proof of Correctness. We first show that the adversary will succeed if the four invariance properties hold. Notice that if I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) succeeds instead, it either outputs an instance u ⃗ \vec{u} u such that ψ j ( u ⃗ ) \psi_j(\vec{u}) ψ j ( u ) is false for some j ∈ [ k ] j\in[k] j ∈ [ k ] , or finds a string y y y on which g − 1 ( y ) = ∅ g^{-1}(y)=\varnothing g − 1 ( y ) = ∅ . It can be verified that the latter is ruled out by the fourth property and by the construction procedure.
To rule out the former case, we first observe that after the i i i -th iteration, the functions g g g and P are fixed on input length ≤ t ~ ( n i ) \leq\tilde{t}(n_i) ≤ t ~ ( n i ) . Fix any j ∈ [ k ] j\in[k] j ∈ [ k ] . For any instance u ⃗ \vec{u} u provided by the inspector that intended to falsify Ψ j \Psi_j Ψ j , let m = ∥ u ⃗ ∥ m=\lVert\vec{u}\rVert m = ∥ u ∥ , we know that m ≤ t ( n i ) m\leq t(n_i) m ≤ t ( n i ) as the inspector runs in at most t ( n i ) t(n_i) t ( n i ) time. Recall that we set d ≥ 1 d\geq1 d ≥ 1 so that to evaluate ψ j ( u ⃗ ) \psi_j(\vec{u}) ψ j ( u ) , all g g g -oracle and P-oracle queries are of length at most m d ≤ t ~ ( n i ) m^d\leq\tilde{t}(n_i) m d ≤ t ~ ( n i ) , and thus are already fixed. Moreover, by the third invariant, we know that the P-oracle is a correct approximate-counting oracle. (Note that conditions (1) and (3) of Definition 3.5 follow immediately from the implementation of P ( ⋅ , ⋅ ) \mathrm{P}(\cdot,\cdot) P ( ⋅ , ⋅ ) .) Therefore, the instance u ⃗ \vec{u} u cannot falsify Ψ j \Psi_j Ψ j as it is true for any fixed g g g and correct approximate-counting oracle P.
It remains to verify the invariance properties.
(Invariance 1): This is straightforward from the construction procedure.
(Invariance 2): Note that g ( x ) g(x) g ( x ) is set to be non-zero in the i i i -th iteration only if x x x was chosen to answer an inversion query made by I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) . In the i i i -th iteration, we will answer at most t ( n i ) t(n_i) t ( n i ) inversion queries from I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) . Subsequently, the statement holds provided that ℓ ( n i ) ≥ t ( n i ) + ℓ ( n i − 1 ) \ell(n_i)\geq t(n_i)+\ell(n_{i-1}) ℓ ( n i ) ≥ t ( n i ) + ℓ ( n i − 1 ) . Set ℓ ( n i ) ≜ n i ⋅ t ( n i ) \ell(n_i)\triangleq n_i\cdot t(n_i) ℓ ( n i ) ≜ n i ⋅ t ( n i ) ( ⋆ ) (\star) ( ⋆ ) . (Invariance 3): Fix any C ∈ { 0 , 1 } m → { 0 , 1 } C \in\{0,1\}^{m} \to\{0,1\} C ∈ { 0 , 1 } m → { 0 , 1 } and Δ \Delta Δ of length at most t ~ ( n i ) \widetilde{t}(n_i) t ( n i ) . By invariance 2, we know that g g g agrees with g x ⃗ , y ⃗ g_{\vec{x},\vec{y}} g x , y in the i i i -th iteration for a list x ⃗ , y ⃗ \vec{x},\vec{y} x , y of length ℓ ( n i ) \ell(n_i) ℓ ( n i ) . Recall that D n i D_{n_i} D n i is a pseudorandom set, and in particular D n i ≤ m D_{n_i}^{\leq m} D n i ≤ m ( 1 / ( 2 t ~ ( n i ) ) ) (1/(2\widetilde{t}(n_i))) ( 1/ ( 2 t ( n i ))) -fools any size-t ~ ( n i ) \widetilde{t}(n_i) t ( n i ) oracle circuit with g x ⃗ , y ⃗ g_{\vec{x},\vec{y}} g x , y to answer the oracle queries. Moreover, we know by the construction that whenever we fix P P P in the i i i -th iteration, it is fixed to be the empirical estimation over the set D n i D_{n_i} D n i . Subsequently, it agrees with the actual acceptance probability with error at most 1 / ( 2 t ~ ( n i ) ) + 1 / ( 2 ∥ Δ ∥ ) ≤ 1 / ∥ Δ ∥ 1/(2\widetilde{t}(n_i)) + 1/(2\lVert\Delta\rVert) \leq1/\lVert\Delta\rVert 1/ ( 2 t ( n i )) + 1/ ( 2 ∥ Δ ∥) ≤ 1/ ∥ Δ ∥ .
(Invariance 4): We will show that the number of fixed g ( x ) g(x) g ( x ) for x ∈ { 0 , 1 } n i − 1 x \in\{0,1\}^{n_i-1} x ∈ { 0 , 1 } n i − 1 during the run of I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) is at most 2 n i − 2 2^{n_i-2} 2 n i − 2 ; as a result, there is always an unfixed x ∈ { 0 , 1 } n i − 1 x \in\{0,1\}^{n_i-1} x ∈ { 0 , 1 } n i − 1 when we answer inversion oracle queries. We set n i ≥ 2 t ~ ( n i − 1 ) n_i \geq2\widetilde{t}(n_{i-1}) n i ≥ 2 t ( n i − 1 ) so g ( x ) g(x) g ( x ) is unfixed for any x ∈ { 0 , 1 } n i − 1 x \in\{0,1\}^{n_i-1} x ∈ { 0 , 1 } n i − 1 before the i i i -th iteration. In the i i i -th iteration, each g g g -oracle query or inversion query will fix at most 1 entry, and each P P P -oracle query will fix at most s ( n i ) ⋅ t ( n i ) s(n_i)\cdot t(n_i) s ( n i ) ⋅ t ( n i ) entries of g g g . Therefore in total, the number of entries in g g g on input length n i − 1 n_i-1 n i − 1 fixed by these three types of queries is at most
2 ⋅ ( t ( n i ) ) 2 ⋅ s ( n i ) ≤ 100 ⋅ ( t ( n i ) ) 5 d ⋅ ℓ ( n i ) 2 ⋅ n i ≤ 100 ⋅ ( t ( n i ) ) 7 d ⋅ n i 2.5 . 2\cdot(t(n_i))^2\cdot s(n_i) \leq100\cdot(t(n_i))^{5d}\cdot\ell(n_i)^2\cdot\sqrt{n_i} \leq100\cdot(t(n_i))^{7d}\cdot n_i^{2.5}. 2 ⋅ ( t ( n i ) ) 2 ⋅ s ( n i ) ≤ 100 ⋅ ( t ( n i ) ) 5 d ⋅ ℓ ( n i ) 2 ⋅ n i ≤ 100 ⋅ ( t ( n i ) ) 7 d ⋅ n i 2.5 .
where the first inequality follows from ( ∗ ) (*) ( ∗ ) and the second inequality follows from ( ⋆ ) (\star) ( ⋆ ) . By setting ε : = 1 / ( 10 d ) \varepsilon:= 1/(10d) ε := 1/ ( 10 d ) and the assumption t ( n i ) ≤ 2 ε n i t(n_i) \leq2^{\varepsilon n_i} t ( n i ) ≤ 2 ε n i , this is at most 100 ⋅ 2 0.7 n i ⋅ n i 2.5 ≤ 2 n i − 2 100\cdot2^{0.7n_i}\cdot n_i^{2.5} \leq2^{n_i-2} 100 ⋅ 2 0.7 n i ⋅ n i 2.5 ≤ 2 n i − 2 for sufficiently large n i n_i n i .
The following is then an immediate corollary of the KPT witnessing theorem (Theorem 2.2).
Theorem 5.2. T r u e ∀ A P X 1 ( g ) ⊬ d w P H P ( g ) \mathrm{True}_{\forall}\mathrm{APX}_1(g) \nvdash\mathrm{dwPHP}(g) True ∀ APX 1 ( g ) ⊬ dwPHP ( g ) . In particular , A P X 1 ( g ) ⊬ d w P H P ( g ) \mathrm{APX}_1(g) \nvdash\mathrm{dwPHP}(g) APX 1 ( g ) ⊬ dwPHP ( g ) .
Proof. Let T be the set of true universal axioms of A P X 1 ( g ) \mathrm{APX}_1(g) APX 1 ( g ) , and suppose that P V 1 ( P , g ) + T ⊢ d w P H P ( g ) \mathrm{PV}_1(P,g)+\mathrm{T} \vdash\mathrm{dwPHP}(g) PV 1 ( P , g ) + T ⊢ dwPHP ( g ) . A proof invokes only finitely many axioms Ψ 1 , … , Ψ k ∈ T \Psi_1,\ldots,\Psi_k \in\mathrm{T} Ψ 1 , … , Ψ k ∈ T , so P V 1 ( P , g ) + { Ψ 1 , … , Ψ k } ⊢ d w P H P ( g ) \mathrm{PV}_1(P,g)+\{\Psi_1,\ldots,\Psi_k\}\vdash\mathrm{dwPHP}(g) PV 1 ( P , g ) + { Ψ 1 , … , Ψ k } ⊢ dwPHP ( g ) . For simplicity, we assume that all axioms Ψ i = ∀ u i ψ ( u i ) \Psi_i=\forall u_i\,\psi(u_i) Ψ i = ∀ u i ψ ( u i ) have only one variable. Then we know that P V 1 ( P , g ) ⊢ d w P H P ( g ) ∨ ⋁ i ∈ [ k ] ∃ u i ¬ ψ i ( u i ) \mathrm{PV}_1(P,g)\vdash\mathrm{dwPHP}(g)\vee\bigvee_{i\in[k]}\exists u_i\,\neg\psi_i(u_i) PV 1 ( P , g ) ⊢ dwPHP ( g ) ∨ ⋁ i ∈ [ k ] ∃ u i ¬ ψ i ( u i ) . Subsequently we can see that:
P V 1 ( P , g ) ⊢ ∀ n ∈ L o g ∃ y ∈ { 0 , 1 } n ∃ ( u 1 , … , u k ) ∀ x ∈ { 0 , 1 } n − 1 g ( x ) ≠ y ∨ ⋁ i ∈ [ k ] ¬ ψ i ( u i ) . \mathrm{PV}_1(P,g)\vdash\forall n\in\mathrm{Log}\ \exists y\in\{0,1\}^{n}\ \exists(u_1,\ldots,u_k)\ \forall x\in\{0,1\}^{n-1}\ g(x)\ne y\vee\bigvee_{i\in[k]}\neg\psi_i(u_i). PV 1 ( P , g ) ⊢ ∀ n ∈ Log ∃ y ∈ { 0 , 1 } n ∃ ( u 1 , … , u k ) ∀ x ∈ { 0 , 1 } n − 1 g ( x ) = y ∨ i ∈ [ k ] ⋁ ¬ ψ i ( u i ) .
By the KPT Witnessing Theorem (Theorem 2.2) applied to the (universal) theory P V 1 ( P , g ) \mathrm{PV}_1(P,g) PV 1 ( P , g ) , there are a constant r ∈ N r\in\mathbb{N} r ∈ N and a polynomial-size Inspector (or Student) that, on input 1 n 1^n 1 n , makes g g g and P P P oracle queries, that wins against any Adversary (or Teacher) in the following sense:
In each round, the Inspector proposes (from previous transcript) a string y ∈ { 0 , 1 } n y\in\{0,1\}^{n} y ∈ { 0 , 1 } n and u 1 , … , u k u_1,\ldots,u_k u 1 , … , u k . If one of u i u_i u i witnesses ¬ ψ ( u i ) \neg\psi(u_i) ¬ ψ ( u i ) the Inspector wins.
The Adversary outputs a string x ∈ { 0 , 1 } n − 1 x\in\{0,1\}^{n-1} x ∈ { 0 , 1 } n − 1 such that g ( x ) = y g(x)=y g ( x ) = y ; if impossible, the Inspector wins.
This matches the game in Lemma 5.1 , and thus leads to a contradiction as the Inspector has complexity poly ( n ) \operatorname{poly}(n) poly ( n ) and makes at most r = O ( 1 ) r=O(1) r = O ( 1 ) inversion queries for g g g .
Remark 5.3. The query lower bound and unprovability result supplement the results of [24 ] (see also the follow-up papers [9 , 23 RWZ26, RLZ26] ), which shows the hardness of the range avoidance problem (see Definition 5.16) and the unprovability of d w P H P \mathrm{dwPHP} dwPHP in P V 1 \mathrm{PV}_1 PV 1 under cryptographic assumptions (see also [11 ] for an easy generalization to A P X 1 \mathrm{APX}_1 APX 1 ).
It is worth noting that since the function g g g is modelled as an oracle, the lower bound in Lemma 5.1 allows exponentially many inversion queries, whereas the hardness result of [24 RWZ26] allows only O ( 1 ) O(1) O ( 1 ) queries. In fact, assuming circuit lower bounds, there is an algorithm for solving range avoidance that makes only polynomially many queries (see [24 Appendix A] ).
A Lower Bound for wPHP
We now prove a similar lower bound for Weak PHP against APX1 _1 1 . Standard models and true universal axioms of APX1 ( f ) _1(f) 1 ( f ) are defined as in Definitions 3.5 and 3.6, with g g g replaced by the length-decreasing oracle f = { f n : { 0 , 1 } n → { 0 , 1 } n − 1 } f=\{f_n:\{0,1\}^n\to\{0,1\}^{n-1}\} f = { f n : { 0 , 1 } n → { 0 , 1 } n − 1 } .
Lemma 5.4. Let k ∈ N k\in\mathbb{N} k ∈ N be a constant and let Ψ 1 , … , Ψ k \Psi_1,\ldots,\Psi_k Ψ 1 , … , Ψ k be true universal axioms of APX1 ( f ) _1(f) 1 ( f ) , where Ψ j = ∀ u ⃗ ψ j ( u ⃗ ) \Psi_j=\forall\vec{u}\ \psi_j(\vec{u}) Ψ j = ∀ u ψ j ( u ) with ψ j \psi_j ψ j quantifier-free. Let t ( n ) ≥ n t(n)\ge n t ( n ) ≥ n be a non-decreasing function and I ( 1 n ) \mathcal{I}(1^n) I ( 1 n ) be a (non-uniform) query algorithm in size t = t ( n ) t=t(n) t = t ( n ) , f = { f n : { 0 , 1 } n → { 0 , 1 } n − 1 } f=\{f_n:\{0,1\}^n\to\{0,1\}^{n-1}\} f = { f n : { 0 , 1 } n → { 0 , 1 } n − 1 } , P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ P:\{0,1\}^*\times\{0,1\}^*\to\{0,1\}^* P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ such that ∥ P ( C , Δ ) ∥ ≤ ∥ C ∥ + 2 ∥ Δ ∥ \|P(C,\Delta)\|\le\|C\|+2\|\Delta\| ∥ P ( C , Δ ) ∥ ≤ ∥ C ∥ + 2∥Δ∥ . The algorithm (called inspector) may take one of the following two types of queries:
(f f f queries): Given x ∈ { 0 , 1 } m x\in\{0,1\}^m x ∈ { 0 , 1 } m , the oracle outputs f ( x ) ∈ { 0 , 1 } m − 1 f(x)\in\{0,1\}^{m-1} f ( x ) ∈ { 0 , 1 } m − 1 .
(P P P queries): Given an oracle circuit C C C and a string Δ \Delta Δ , the oracle outputs P ( C , Δ ) P(C,\Delta) P ( C , Δ ) .
The algorithm I ( 1 n ) \mathcal{I}(1^n) I ( 1 n ) can query the f f f oracle on inputs of any length ≤ t \le t ≤ t . It is said to succeed (resp. fail) if at least one (resp. neither) of the following two conditions holds:
(collision): the inspector outputs distinct x , x ′ ∈ { 0 , 1 } n x,x'\in\{0,1\}^n x , x ′ ∈ { 0 , 1 } n such that f ( x ) = f ( x ′ ) f(x)=f(x') f ( x ) = f ( x ′ ) .
Then for some constant ε > 0 \varepsilon>0 ε > 0 , if t ( n ) ≤ 2 ε n t(n)\le2^{\varepsilon n} t ( n ) ≤ 2 ε n for all sufficiently large n n n , there are { f n } \{f_n\} { f n } and P P P such that for infinitely many n n n , I ( 1 n ) \mathcal{I}(1^n) I ( 1 n ) fails.
Proof. Fix k ∈ N k\in\mathbb{N} k ∈ N and axioms Ψ 1 , … , Ψ k \Psi_1,\ldots,\Psi_k Ψ 1 , … , Ψ k , and let d ≥ 1 d\ge1 d ≥ 1 be a constant such that for every j ∈ [ k ] j\in[k] j ∈ [ k ] , the evaluation of ψ j ( u ⃗ ) \psi_j(\vec{u}) ψ j ( u ) makes f f f -oracle and P P P -oracle queries on inputs of length at most n d n^d n d when n = ∥ u ⃗ ∥ n=\|\vec{u}\| n = ∥ u ∥ is sufficiently large; such d d d exists as ψ j ( u ⃗ ) \psi_j(\vec{u}) ψ j ( u ) are quantifier-free formulas in the language of APX1 ( f ) _1(f) 1 ( f ) and are thus polynomial-time algorithms with ( f , P ) (f,P) ( f , P ) -oracles. Let t ~ ( n ) ≜ ( t ( n ) ) d \widetilde{t}(n)\triangleq(t(n))^d t ( n ) ≜ ( t ( n ) ) d . Let N = { n 1 , n 2 , … } N=\{n_1,n_2,\ldots\} N = { n 1 , n 2 , … } be a set of input lengths with n i ≥ 2 t ~ ( n i − 1 ) n_i\ge2\widetilde{t}(n_{i-1}) n i ≥ 2 t ( n i − 1 ) and n 0 n_0 n 0 sufficiently large. We fix f f f and P P P iteratively, maintaining that:
After the i i i -th iteration, f f f is fixed on all inputs of length ≤ t ~ ( n i ) \le\widetilde{t}(n_i) ≤ t ( n i ) , P P P is fixed when ∥ C ∥ , ∥ Δ ∥ ≤ t ~ ( n i ) \|C\|,\|\Delta\|\le\widetilde{t}(n_i) ∥ C ∥ , ∥Δ∥ ≤ t ( n i ) .
Every value of P P P fixed in the i i i -th iteration is within 1 / t ~ ( n i ) ≤ 1 / ∥ Δ ∥ 1/\widetilde{t}(n_i)\le1/\|\Delta\| 1/ t ( n i ) ≤ 1/∥Δ∥ of the acceptance probability Pr z [ C f ( z ) = 1 ] \Pr_z[C^f(z)=1] Pr z [ C f ( z ) = 1 ] with respect to the final f f f .
For i = 0 i=0 i = 0 , we fix f f f on all input lengths at most t ~ ( n 0 ) \widetilde{t}(n_0) t ( n 0 ) to be the truncation function x ↦ x 1 ⋯ x ∥ x ∥ − 1 x\mapsto x_1\cdots x_{\|x\|-1} x ↦ x 1 ⋯ x ∥ x ∥ − 1 and fix P P P to be the correct acceptance probabilities with respect to f f f .
(Iteration i i i ). Write t = t ( n i ) t=t(n_i) t = t ( n i ) and t ~ = t ~ ( n i ) \widetilde{t}=\widetilde{t}(n_i) t = t ( n i ) . On every new input length m ≤ t ~ m\le\widetilde{t} m ≤ t other than n i n_i n i , fix f m f_m f m to be the truncation function. On input length n i n_i n i , choose a uniformly random function f n i : { 0 , 1 } n i → { 0 , 1 } n i − 1 f_{n_i}:\{0,1\}^{n_i}\to\{0,1\}^{n_i-1} f n i : { 0 , 1 } n i → { 0 , 1 } n i − 1 . Independently, sample a multiset D ⊆ { 0 , 1 } t ~ D\subseteq\{0,1\}^{\widetilde{t}} D ⊆ { 0 , 1 } t of size s = t ~ 4 s=\widetilde{t}^4 s = t 4 uniformly at random.
Now f f f is fixed on all lengths at most t ~ \widetilde{t} t ; for every pair ( C , Δ ) (C,\Delta) ( C , Δ ) with ∥ C ∥ , ∥ Δ ∥ ≤ t ~ \|C\|,\|\Delta\|\le\widetilde{t} ∥ C ∥ , ∥Δ∥ ≤ t that is not fixed yet, and where C : { 0 , 1 } m → { 0 , 1 } C:\{0,1\}^m\to\{0,1\} C : { 0 , 1 } m → { 0 , 1 } , we fix P ( C , Δ ) P(C,\Delta) P ( C , Δ ) to be any rational that is 1 / ( 2 ∥ Δ ∥ ) 1/(2\|\Delta\|) 1/ ( 2∥Δ∥ ) -close to Pr z ∼ D < m [ C f ( z ) = 1 ] \Pr_{z\sim D^{<m}}[C^f(z)=1] Pr z ∼ D < m [ C f ( z ) = 1 ] as in (5.2. Note that a circuit of size at most t ~ \widetilde{t} t queries f f f only on inputs of length at most t ~ \widetilde{t} t , so these values are determined at this point and are not affected by later iterations. We claim that with positive probability over the choice of ( f n i , D ) (f_{n_i},D) ( f n i , D ) , the following two events hold simultaneously.
(Honesty): every value of P P P fixed in this iteration is within 1 / t ~ 1/\widetilde{t} 1/ t of Pr z [ C f ( z ) = 1 ] \Pr_z[C^f(z)=1] Pr z [ C f ( z ) = 1 ] . Fix any choice of the function f f f as mentioned above. For every circuit C C C of size at most t ~ \widetilde{t} t , the empirical estimate over s = t ~ 4 s=\widetilde{t}^4 s = t 4 uniform samples deviates from the acceptance probability by more than 1 / ( 2 t ~ ) 1/(2\widetilde{t}) 1/ ( 2 t ) with probability at most 2 exp ( − 2 s / t ~ 2 ) = 2 exp ( − 2 t ~ 2 ) 2\exp(-2s/\widetilde{t}^2)=2\exp(-2\widetilde{t}^2) 2 exp ( − 2 s / t 2 ) = 2 exp ( − 2 t 2 ) by the Hoeffding bound. If this does not happen, then P ( C , Δ ) P(C,\Delta) P ( C , Δ ) deviates from the acceptance probability by at most 1 / ( 2 t ~ ) + 1 / ( 2 ∥ Δ ∥ ) ≤ 1 / ∥ Δ ∥ 1/(2\tilde{t}) + 1/(2\lVert\Delta\rVert) \le1/\lVert\Delta\rVert 1/ ( 2 t ~ ) + 1/ ( 2 ∥ Δ ∥) ≤ 1/ ∥ Δ ∥ . Taking a union bound over the at most 2 O ( t ~ log t ~ ) 2^{O(\tilde{t}\log\tilde{t})} 2 O ( t ~ l o g t ~ ) oracle circuits of size at most t ~ \tilde{t} t ~ , the event (Honesty) fails with probability at most 1 / 6 1/6 1/6 .
(No collision): I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) does not output distinct x , x ′ ∈ { 0 , 1 } n i x,x' \in\{0,1\}^{n_i} x , x ′ ∈ { 0 , 1 } n i with f ( x ) = f ( x ′ ) f(x)=f(x') f ( x ) = f ( x ′ ) . Fix any D D D . We may assume that I \mathcal{I} I queries both x x x and x ′ x' x ′ before it halts, as this only adds two f f f -queries; it then suffices to show that with probability at least 5 / 6 5/6 5/6 , no two queried entries of length n i n_i n i receive the same value. The answers received by the inspector are determined by the values of f f f at its at most t t t direct f f f -queries, together with the at most s ⋅ t ~ s \cdot\tilde{t} s ⋅ t ~ f f f -queries when evaluating each of its at most t t t queried circuits over the samples of D D D . Hence the run of I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) queries at most
B ≜ 2 + t + t ⋅ s ⋅ t ~ ≤ 2 t ~ 6 B \triangleq2+t+t\cdot s\cdot\tilde{t}\le2\tilde{t}^{6} B ≜ 2 + t + t ⋅ s ⋅ t ~ ≤ 2 t ~ 6
entries of f f f ; moreover, f f f is deterministic except on entries of length n i n_i n i .
For the analysis, we implement the answers to the entries of length n i n_i n i by lazy sampling : upon a query x ∈ { 0 , 1 } n i x\in\{0,1\}^{n_i} x ∈ { 0 , 1 } n i that was not queried before, the oracle answers with an independent uniformly random string v ( x ) ∈ { 0 , 1 } n i − 1 v(x)\in\{0,1\}^{n_i-1} v ( x ) ∈ { 0 , 1 } n i − 1 ; repeated queries are answered according to v v v . The joint distribution of the answers is identical to that of the function f n i f_{n_i} f n i sampled upfront. By the union bound, the probability that any two queried entries receive the same value is at most 2 B 2 / 2 n i 2B^2/2^{n_i} 2 B 2 / 2 n i . By setting ε : = 1 / ( 24 d ) \varepsilon:=1/(24d) ε := 1/ ( 24 d ) and the assumption t ( n i ) ≤ 2 ε n i t(n_i)\le2^{\varepsilon n_i} t ( n i ) ≤ 2 ε n i , we have B ≤ 2 t 6 d ≤ 2 n i / 3 B\le2t^{6d}\le2^{n_i/3} B ≤ 2 t 6 d ≤ 2 n i /3 for sufficiently large n i n_i n i , and thus the event (No collision) fails with probability at most 2 B 2 / 2 n i ≤ 1 / 6 2B^2/2^{n_i}\le1/6 2 B 2 / 2 n i ≤ 1/6 .
Since (Honesty) fails with probability at most 1 / 6 1/6 1/6 for every fixed f n i f_{n_i} f n i , and (No collision) fails with probability at most 1 / 6 1/6 1/6 for every fixed D D D , with positive probability both events hold; fix such a pair ( f n i , D ) (f_{n_i},D) ( f n i , D ) and proceed to the next iteration.
Finally, suppose that I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) succeeds. It cannot output a collision by (No collision) . It cannot output an instance ( j , u ⃗ ) (j,\vec{u}) ( j , u ) falsifying Ψ j \Psi_j Ψ j either: since ∥ u ⃗ ∥ ≤ t ( n i ) \lVert\vec{u}\rVert\le t(n_i) ∥ u ∥ ≤ t ( n i ) and by the choice of d d d , all f f f -oracle and P-oracle queries made to evaluate ψ j ( u ⃗ ) \psi_j(\vec{u}) ψ j ( u ) concern lengths at most ∥ u ⃗ ∥ d ≤ t ~ ( n i ) \lVert\vec{u}\rVert^d\le\tilde{t}(n_i) ∥ u ∥ d ≤ t ~ ( n i ) and thus are already fixed, and the pair ( f , P ) (f,\mathrm{P}) ( f , P ) is a standard model of A P X 1 ( f ) \mathrm{APX}_1(f) APX 1 ( f ) : every fixed value of P \mathrm{P} P is within 1 / ∥ Δ ∥ 1/\lVert\Delta\rVert 1/ ∥ Δ ∥ of the acceptance probability with respect to the final f f f , is a rational in [ 0 , 1 ] [0,1] [ 0 , 1 ] , and equals Val f ( C ) \operatorname{Val}_f(C) Val f ( C ) exactly whenever C C C does not read its random input (in which case all evaluations over D ≤ m D^{\le m} D ≤ m agree). Therefore I ( 1 n i ) \mathcal{I}(1^{n_i}) I ( 1 n i ) fails for every i i i .
The following is then an immediate corollary of the Herbrand witnessing theorem.
Theorem 5.5. T r u e A P X 1 ( f ) ⊬ w P H P ( f ) \mathrm{True}_{\mathrm{APX}_1}(f)\nvdash\mathrm{wPHP}(f) True APX 1 ( f ) ⊬ wPHP ( f ) . In particular A P X 1 ( f ) ⊬ w P H P ( f ) \mathrm{APX}_1(f)\nvdash\mathrm{wPHP}(f) APX 1 ( f ) ⊬ wPHP ( f ) .
Proof. Let T be the set of true universal axioms of A P X 1 ( f ) \mathrm{APX}_1(f) APX 1 ( f ) . Suppose that P V 1 ( P , f ) + T ⊢ w P H P ( f ) \mathrm{PV}_1(\mathrm{P},f)+\mathrm{T}\vdash\mathrm{wPHP}(f) PV 1 ( P , f ) + T ⊢ wPHP ( f ) . A proof invokes only finitely many axioms Ψ 1 , … , Ψ k ∈ T \Psi_1,\ldots,\Psi_k\in\mathrm{T} Ψ 1 , … , Ψ k ∈ T , and for simplicity we assume that all axioms Ψ i = ∀ u ⃗ ψ i ( u ⃗ ) \Psi_i=\forall\vec{u}\,\psi_i(\vec{u}) Ψ i = ∀ u ψ i ( u ) have only one variable. As in the proof of Theorem 5.2 , we can see that:
P V 1 ( P , f ) ⊢ ∀ n ∈ Log ∃ x , x ′ ∈ { 0 , 1 } n ∃ ( u 1 , … , u k ) ( ( x ≠ x ′ ∧ f ( x ) = f ( x ′ ) ) ∨ ⋁ i ∈ [ k ] ¬ ψ i ( u i ) ) . \mathrm{PV}_1(\mathrm{P},f)\vdash\forall n\in\operatorname{Log}\ \exists x,x'\in\{0,1\}^n\ \exists(u_1,\ldots,u_k)\left((x\ne x'\land f(x)=f(x'))\lor\bigvee_{i\in[k]}\neg\psi_i(u_i)\right). PV 1 ( P , f ) ⊢ ∀ n ∈ Log ∃ x , x ′ ∈ { 0 , 1 } n ∃ ( u 1 , … , u k ) ( x = x ′ ∧ f ( x ) = f ( x ′ )) ∨ i ∈ [ k ] ⋁ ¬ ψ i ( u i ) .
The Herbrand witnessing theorem applied to the universal theory P V 1 ( P , f ) \mathrm{PV}_1(\mathrm{P},f) PV 1 ( P , f ) yields a single polynomial-size inspector that, for every f f f and P, outputs a tuple ( x , x ′ , u 1 , … , u k ) (x,x',u_1,\ldots,u_k) ( x , x ′ , u 1 , … , u k ) satisfying the displayed disjunction: the inspector evaluates the finitely many Herbrand candidates extracted from the proof and outputs the first one that verifies. This inspector succeeds on every input length in the sense of Lemma 5.4 , which contradicts Lemma 5.4 as poly ( n ) ≤ 2 ε n \operatorname{poly}(n)\le2^{\varepsilon n} poly ( n ) ≤ 2 ε n for all sufficiently large n n n .
all true ∀ Σ 0 b ( P V 1 ) \forall\Sigma^{b}_{0}(\mathrm{PV}_{1}) ∀ Σ 0 b ( PV 1 ) consequences of S 2 1 + d w P H P S^{1}_{2}+\mathrm{dwPHP} S 2 1 + dwPHP , for which the witnessing theorem still applies. Theorem 5.5 is technically incomparable as the true universal theory A P X 1 ( f ) \mathrm{APX}_{1}(f) APX 1 ( f ) could contain sentences that are not in S 2 1 + d w P H P S^{1}_{2}+\mathrm{dwPHP} S 2 1 + dwPHP (or even its extension with all true ∀ Σ 0 b ( P V 1 ) \forall\Sigma^{b}_{0}(\mathrm{PV}_{1}) ∀ Σ 0 b ( PV 1 ) sentences). Nevertheless, the proof follows exactly the same route: For each fixed f f f , any ∀ Σ 1 b ( P V 1 ( f ) ) \forall\Sigma^{b}_{1}(\mathrm{PV}_{1}(f)) ∀ Σ 1 b ( PV 1 ( f )) -consequence, including w P H P ( f ) \mathrm{wPHP}(f) wPHP ( f ) admits a zero-error witnessing algorithm (i.e. answering P-oracle queries by empirical estimation). Then take f f f to be a random function, which is likely collision-resistant.
Provability of (d)wPHP in APX1*
We now show both wPHP and dwPHP are provable in A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ , the bounded theory for multiplicative-error approximate counting. We note that a computational version of these upper bounds, specifically
W e a k P i g e o n ∈ F P p r S B P and A v o i d ∈ F P p r S B P , \mathrm{WeakPigeon} \in\mathrm{FP}^{\mathrm{prSBP}} \qquad\text{and} \qquad\mathrm{Avoid} \in\mathrm{FP}^{\mathrm{prSBP}}, WeakPigeon ∈ FP prSBP and Avoid ∈ FP prSBP ,
is probably folklore (see [33 , 21 ] for discussions of the latter inclusion). Our main contribution is the proof complexity upper bounds of the principles in the (seemingly weak) theory A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ . Moreover, by Thapen’s witnessing theorem (see Lemma 4.6), we obtain (possibly) better upper bounds for PWPP, which might be of independent interest (see Theorem 5.14 ).
Basic Counting Functionalities in APX*
We first develop basic counting functionalities in the theory A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ , analogous to [11 Section 3] for A P X 1 \mathrm{APX}_{1} APX 1 . These results follow from essentially the same idea in [11 ] ; we defer the proofs of Lemmas 5.7 to 5.9 to Section A.2.
Lemma 5.7 (Global Consistency for A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ ). A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ proves the following statement . Let n , δ − 1 ∈ L o g n,\delta^{-1}\in\mathrm{Log} n , δ − 1 ∈ Log and C 1 , C 2 : { 0 , 1 } n → { 0 , 1 } C_{1},C_{2}:\{0,1\}^{n}\to\{0,1\} C 1 , C 2 : { 0 , 1 } n → { 0 , 1 } be circuits such that C 1 ( x ) ≤ C 2 ( x ) C_{1}(x)\le C_{2}(x) C 1 ( x ) ≤ C 2 ( x ) for every x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n . Then
( 1 − δ ) ⋅ P δ ( C 1 ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C 2 ) . (1-\delta)\cdot P_{\delta}(C_{1})\lesssim^{*}(1+\delta)\cdot P_{\delta}(C_{2}). ( 1 − δ ) ⋅ P δ ( C 1 ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C 2 ) . In particular, if C 1 ( x ) = C 2 ( x ) C_{1}(x)=C_{2}(x) C 1 ( x ) = C 2 ( x ) for every x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n , then both ( 1 − δ ) ⋅ P δ ( C 1 ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C 2 ) (1-\delta)\cdot P_{\delta}(C_{1})\lesssim^{*}(1+\delta)\cdot P_{\delta}(C_{2}) ( 1 − δ ) ⋅ P δ ( C 1 ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C 2 ) and ( 1 − δ ) ⋅ P δ ( C 2 ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C 1 ) (1-\delta)\cdot P_{\delta}(C_{2})\lesssim^{*}(1+\delta)\cdot P_{\delta}(C_{1}) ( 1 − δ ) ⋅ P δ ( C 2 ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C 1 ) .
We will need the fact that if the acceptance probability of a circuit is noticeably smaller than ( 1 − δ ) ⋅ 2 − n (1-\delta)\cdot2^{-n} ( 1 − δ ) ⋅ 2 − n , then it is unsatisfiable. This can be viewed as a multiplicative-error counterpart of [11 Lemma 3.7] on the acceptance probability of the “less-than-t t t ” circuit.
Lemma 5.8 (Non-Existence Lemma for A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ ). A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ proves the following statement . Let n , δ − 1 ∈ L o g n,\delta^{-1}\in\mathrm{Log} n , δ − 1 ∈ Log satisfying δ < 1 \delta<1 δ < 1 and C : { 0 , 1 } n → { 0 , 1 } C:\{0,1\}^{n}\to\{0,1\} C : { 0 , 1 } n → { 0 , 1 } be a circuit. If there is x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n such that C ( x ) = 1 C(x)=1 C ( x ) = 1 , then ( 1 − δ ) ⋅ 2 − n ≲ ∗ P δ ( C ) (1-\delta)\cdot2^{-n}\lesssim^{*}P_{\delta}(C) ( 1 − δ ) ⋅ 2 − n ≲ ∗ P δ ( C ) . (Or equivalently, if ( 1 + β ) ⋅ P δ ( C ) < ( 1 − δ ) ⋅ 2 − n (1+\beta)\cdot P_{\delta}(C)<(1-\delta)\cdot2^{-n} ( 1 + β ) ⋅ P δ ( C ) < ( 1 − δ ) ⋅ 2 − n for some β − 1 ∈ L o g \beta^{-1}\in\mathrm{Log} β − 1 ∈ Log , then C ( x ) = 0 C(x)=0 C ( x ) = 0 for every x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n .)
We will need the following generic averaging argument, which implies several useful facts. The counterpart for A P X 1 \mathrm{APX}_{1} APX 1 is in [11 Section 3.2.3] .
Lemma 5.9 (Averaging on Linear Combination for A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ ). A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ proves the following statement . Let n , m , δ − 1 ∈ L o g n,m,\delta^{-1}\in\mathrm{Log} n , m , δ − 1 ∈ Log , C 1 , … , C m : { 0 , 1 } n → { 0 , 1 } C_{1},\ldots,C_{m}:\{0,1\}^{n}\to\{0,1\} C 1 , … , C m : { 0 , 1 } n → { 0 , 1 } be circuits, and λ 1 + , … , λ m + , λ 1 − , … , λ m − ∈ Q \lambda^{+}_{1},\ldots,\lambda^{+}_{m},\lambda^{-}_{1},\ldots,\lambda^{-}_{m}\in\mathbb{Q} λ 1 + , … , λ m + , λ 1 − , … , λ m − ∈ Q be non-negative. Let
μ + ≜ ∑ i ∈ [ m ] λ i + ⋅ P δ ( C i ) and μ − ≜ ∑ i ∈ [ m ] λ i − ⋅ P δ ( C i ) . \mu^{+}\mathrel{\triangleq}\sum_{i\in[m]}\lambda^{+}_{i}\cdot P_{\delta}(C_{i})
\qquad\text{and}\qquad
\mu^{-}\mathrel{\triangleq}\sum_{i\in[m]}\lambda^{-}_{i}\cdot P_{\delta}(C_{i}). μ + ≜ i ∈ [ m ] ∑ λ i + ⋅ P δ ( C i ) and μ − ≜ i ∈ [ m ] ∑ λ i − ⋅ P δ ( C i ) .
Then for every β − 1 ∈ L o g \beta^{-1} \in\mathrm{Log} β − 1 ∈ Log , there is z ∈ { 0 , 1 } n z \in\{0,1\}^{n} z ∈ { 0 , 1 } n such that
( 1 + β ) ( 1 + δ ) ⋅ ∑ i ∈ [ m ] λ i + ⋅ C i ( z ) ( 1 − δ ) ⋅ ∑ i ∈ [ m ] λ i − ⋅ C i ( z ) ≥ μ + μ − . \frac{(1+\beta)(1+\delta)\cdot\sum_{i\in[m]}\lambda_i^+\cdot C_i(z)}{(1-\delta)\cdot\sum_{i\in[m]}\lambda_i^-\cdot C_i(z)}\geq\frac{\mu^+}{\mu^-}. ( 1 − δ ) ⋅ ∑ i ∈ [ m ] λ i − ⋅ C i ( z ) ( 1 + β ) ( 1 + δ ) ⋅ ∑ i ∈ [ m ] λ i + ⋅ C i ( z ) ≥ μ − μ + .
where a / b ≥ c / d a/b \geq c/d a / b ≥ c / d is an abbreviation of a d ≥ b c ad \geq bc a d ≥ b c . Moreover, if μ + > 0 \mu^+ > 0 μ + > 0 and μ − > 0 \mu^- > 0 μ − > 0 , then z z z can be chosen such that the inequality is strict, i.e., a d > b c ad > bc a d > b c .
Corollary 5.10 (Existence Lemma for APX1 ∗ ^*_1 1 ∗ ). APX1 ∗ ^*_1 1 ∗ proves the following statement. Let n n n , δ − 1 ∈ L o g \delta^{-1} \in\mathrm{Log} δ − 1 ∈ Log , δ < 1 \delta< 1 δ < 1 , and C : { 0 , 1 } n → { 0 , 1 } C:\{0,1\}^{n}\to\{0,1\} C : { 0 , 1 } n → { 0 , 1 } be a circuit. If P δ ( C ) > 0 P_\delta(C)>0 P δ ( C ) > 0 , then there is x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n such that C ( x ) = 1 C(x)=1 C ( x ) = 1 .
Proof. We work in APX1 ∗ ^*_1 1 ∗ . Fix n n n , δ − 1 ∈ L o g \delta^{-1}\in\mathrm{Log} δ − 1 ∈ Log . Let μ ≜ P δ ( C ) > 0 \mu\triangleq P_\delta(C)>0 μ ≜ P δ ( C ) > 0 and β = 0.01 \beta=0.01 β = 0.01 . By Averaging on Linear Combination for APX$^*_1$ with circuits C C C and the constant-1 circuit O : { 0 , 1 } n → { 0 , 1 } O:\{0,1\}^{n}\to\{0,1\} O : { 0 , 1 } n → { 0 , 1 } (that does not read the input and outputs 1) and coefficients λ C + = λ O + = 1 \lambda_C^+=\lambda_O^+=1 λ C + = λ O + = 1 , λ C − = λ O − = 0 \lambda_C^-=\lambda_O^-=0 λ C − = λ O − = 0 , there exists x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n such that
( 1 + β ) ( 1 + δ ) C ( x ) ( 1 − δ ) O ( x ) ≥ μ P δ ( O ) = μ 1 . \frac{(1+\beta)(1+\delta)C(x)}{(1-\delta)O(x)}\geq\frac{\mu}{P_\delta(O)}=\frac{\mu}{1}. ( 1 − δ ) O ( x ) ( 1 + β ) ( 1 + δ ) C ( x ) ≥ P δ ( O ) μ = 1 μ .
Note that O ( x ) = 1 O(x)=1 O ( x ) = 1 , and the equality follows from the BOUNDARY AXIOM FOR APX1 ∗ ^*_1 1 ∗ . This further implies that C ( x ) ≥ ( 1 − δ ) μ ( 1 + β ) ( 1 + δ ) > 0 C(x)\geq\frac{(1-\delta)\mu}{(1+\beta)(1+\delta)}>0 C ( x ) ≥ ( 1 + β ) ( 1 + δ ) ( 1 − δ ) μ > 0 ; subsequently, C ( x ) = 1 C(x)=1 C ( x ) = 1 .
Note that the existence lemma for APX1 _1 1 in [11 ] requires P δ ( C ) > δ + β P_\delta(C)>\delta+\beta P δ ( C ) > δ + β for some β − 1 ∈ L o g \beta^{-1}\in\mathrm{Log} β − 1 ∈ Log , whereas in APX1 ∗ ^*_1 1 ∗ it suffices that P δ ( C ) P_\delta(C) P δ ( C ) is positive.
Corollary 5.11 (Inclusion-Exclusion for APX1 ∗ ^*_1 1 ∗ ). APX1 ∗ ^*_1 1 ∗ proves the following statement. Let n n n , δ − 1 ∈ L o g \delta^{-1}\in\mathrm{Log} δ − 1 ∈ Log and C 1 , C 2 , C ∨ , C ∧ : { 0 , 1 } n → { 0 , 1 } C_1,C_2,C_\vee,C_\wedge:\{0,1\}^{n}\to\{0,1\} C 1 , C 2 , C ∨ , C ∧ : { 0 , 1 } n → { 0 , 1 } be circuits such that C ∨ ( x ) = C 1 ( x ) ∨ C 2 ( x ) C_\vee(x)=C_1(x)\vee C_2(x) C ∨ ( x ) = C 1 ( x ) ∨ C 2 ( x ) and C ∧ ( x ) = C 1 ( x ) ∧ C 2 ( x ) C_\wedge(x)=C_1(x)\wedge C_2(x) C ∧ ( x ) = C 1 ( x ) ∧ C 2 ( x ) for every x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n . Then
( 1 − δ ) ⋅ ( P δ ( C ∨ ) + P δ ( C ∧ ) ) ≲ ∗ ( 1 + δ ) ⋅ ( P δ ( C 1 ) + P δ ( C 2 ) ) (10) (1-\delta)\cdot\left(P_\delta(C_\vee)+P_\delta(C_\wedge)\right)\lesssim^*(1+\delta)\cdot\left(P_\delta(C_1)+P_\delta(C_2)\right) \tag*{(10)} ( 1 − δ ) ⋅ ( P δ ( C ∨ ) + P δ ( C ∧ ) ) ≲ ∗ ( 1 + δ ) ⋅ ( P δ ( C 1 ) + P δ ( C 2 ) ) (10)
and
( 1 − δ ) ⋅ ( P δ ( C 1 ) + P δ ( C 2 ) ) ≲ ∗ ( 1 + δ ) ⋅ ( P δ ( C ∨ ) + P δ ( C ∧ ) ) . (11) (1-\delta)\cdot\left(P_\delta(C_1)+P_\delta(C_2)\right)\lesssim^*(1+\delta)\cdot\left(P_\delta(C_\vee)+P_\delta(C_\wedge)\right). \tag*{(11)} ( 1 − δ ) ⋅ ( P δ ( C 1 ) + P δ ( C 2 ) ) ≲ ∗ ( 1 + δ ) ⋅ ( P δ ( C ∨ ) + P δ ( C ∧ ) ) . (11)
In particular , if C 1 ( x ) ∧ C 2 ( x ) = 0 C_1(x)\wedge C_2(x)=0 C 1 ( x ) ∧ C 2 ( x ) = 0 for every x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n , then ( 1 − δ ) ⋅ P δ ( C ∨ ) ≲ ∗ ( 1 + δ ) ⋅ ( P δ ( C 1 ) + P δ ( C 2 ) ) (1-\delta)\cdot P_\delta(C_\vee)\lesssim^*(1+\delta)\cdot(P_\delta(C_1)+P_\delta(C_2)) ( 1 − δ ) ⋅ P δ ( C ∨ ) ≲ ∗ ( 1 + δ ) ⋅ ( P δ ( C 1 ) + P δ ( C 2 )) and ( 1 − δ ) ⋅ ( P δ ( C 1 ) + P δ ( C 2 ) ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C ∨ ) (1-\delta)\cdot(P_\delta(C_1)+P_\delta(C_2))\lesssim^*(1+\delta)\cdot P_\delta(C_\vee) ( 1 − δ ) ⋅ ( P δ ( C 1 ) + P δ ( C 2 )) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C ∨ ) .
Proof. We work in APX1 ∗ ^*_1 1 ∗ . Fix n n n , δ − 1 ∈ L o g \delta^{-1}\in\mathrm{Log} δ − 1 ∈ Log and circuits C 1 , C 2 , C ∨ , C ∧ : { 0 , 1 } n → { 0 , 1 } C_1,C_2,C_\vee,C_\wedge:\{0,1\}^{n}\to\{0,1\} C 1 , C 2 , C ∨ , C ∧ : { 0 , 1 } n → { 0 , 1 } . We only prove (11) ; other parts are left as an exercise.5 Let λ 1 + = λ 2 + = λ ∨ + = λ ∧ + = 1 \lambda_1^+=\lambda_2^+=\lambda_\vee^+=\lambda_\wedge^+=1 λ 1 + = λ 2 + = λ ∨ + = λ ∧ + = 1 and \lambda_\vee^-=\lambda_\wedge^-=\lambda_1^-=\lambda_2^-=0. We apply Averaging on Linear Combination for APX^*_1‘ t o c i r c u i t s ` to circuits ‘ t oc i r c u i t s C_1,C_2,C_\vee,C_\wedge$ and coefficients λ i + , λ i − \lambda_i^+,\lambda_i^- λ i + , λ i − . Let
μ + ≜ P δ ( C 1 ) + P δ ( C 2 ) , μ − ≜ P δ ( C ∨ ) + P δ ( C ∧ ) . \mu^+\triangleq P_\delta(C_1)+P_\delta(C_2),\qquad\mu^-\triangleq P_\delta(C_\vee)+P_\delta(C_\wedge). μ + ≜ P δ ( C 1 ) + P δ ( C 2 ) , μ − ≜ P δ ( C ∨ ) + P δ ( C ∧ ) .
We may assume that μ + > 0 \mu^+>0 μ + > 0 , as otherwise (11) is trivial. We may also assume that μ − > 0 \mu^->0 μ − > 0 . This is because if μ − = 0 \mu^-=0 μ − = 0 , then P δ ( C ∨ ) = P δ ( C ∧ ) = 0 P_\delta(C_\vee)=P_\delta(C_\wedge)=0 P δ ( C ∨ ) = P δ ( C ∧ ) = 0 by the BASIC AXIOM FOR APX1 ∗ ^*_1 1 ∗ . Since C i ( x ) ≤ C ∨ ( x ) C_i(x)\leq C_\vee(x) C i ( x ) ≤ C ∨ ( x ) for every x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n and i ∈ { 1 , 2 } i\in\{1,2\} i ∈ { 1 , 2 } , Global Consistency for APX1 ∗ ^*_1 1 ∗ gives ( 1 − δ ) ⋅ P δ ( C i ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C ∨ ) = 0 (1-\delta)\cdot P_\delta(C_i)\lesssim^*(1+\delta)\cdot P_\delta(C_\vee)=0 ( 1 − δ ) ⋅ P δ ( C i ) ≲ ∗ ( 1 + δ ) ⋅ P δ ( C ∨ ) = 0 , i.e., ( 1 − δ ) ⋅ P δ ( C i ) ≤ 0 (1-\delta)\cdot P_\delta(C_i)\leq0 ( 1 − δ ) ⋅ P δ ( C i ) ≤ 0 ; therefore ( 1 − δ ) ⋅ μ + ≤ 0 (1-\delta)\cdot\mu^+\leq0 ( 1 − δ ) ⋅ μ + ≤ 0 , and (11) holds.
Assume that μ + , μ − > 0 \mu^+,\mu^->0 μ + , μ − > 0 . Then (the strict form of) Averaging on Linear Combination for APX$^*_1$ implies that for every β − 1 ∈ L o g \beta^{-1}\in\mathrm{Log} β − 1 ∈ Log , there exists z ∈ { 0 , 1 } n z\in\{0,1\}^{n} z ∈ { 0 , 1 } n such that
μ + μ − < ( 1 + β ) ( 1 + δ ) ( C 1 ( z ) + C 2 ( z ) ) ( 1 − δ ) ( C ∨ ( z ) + C ∧ ( z ) ) . \frac{\mu^+}{\mu^-}<\frac{(1+\beta)(1+\delta)(C_1(z)+C_2(z))}{(1-\delta)(C_\vee(z)+C_\wedge(z))}. μ − μ + < ( 1 − δ ) ( C ∨ ( z ) + C ∧ ( z )) ( 1 + β ) ( 1 + δ ) ( C 1 ( z ) + C 2 ( z )) .
The inequality means that ( 1 − δ ) ( C ∨ ( z ) + C ∧ ( z ) ) ⋅ μ + < ( 1 + β ) ( 1 + δ ) ( C 1 ( z ) + C 2 ( z ) ) ⋅ μ − (1-\delta)(C_\vee(z)+C_\wedge(z))\cdot\mu^+<(1+\beta)(1+\delta)(C_1(z)+C_2(z))\cdot\mu^- ( 1 − δ ) ( C ∨ ( z ) + C ∧ ( z )) ⋅ μ + < ( 1 + β ) ( 1 + δ ) ( C 1 ( z ) + C 2 ( z )) ⋅ μ − . Since the LHS is non-negative, C 1 ( z ) + C 2 ( z ) > 0 C_1(z)+C_2(z)>0 C 1 ( z ) + C 2 ( z ) > 0 . We can then cancel the common positive factor C 1 ( z ) + C 2 ( z ) = C ∨ ( z ) + C ∧ ( z ) C_1(z)+C_2(z)=C_\vee(z)+C_\wedge(z) C 1 ( z ) + C 2 ( z ) = C ∨ ( z ) + C ∧ ( z ) , which gives (11) .
An Upper Bound for dwPHP
Theorem 5.12. APX 1 ∗ ( g ) ⊢ dwPHP ( g ) \operatorname{APX}^{*}_{1}(g) \vdash\operatorname{dwPHP}(g) APX 1 ∗ ( g ) ⊢ dwPHP ( g ) . Consequently, APX 1 ∗ ⊢ dwPHP \operatorname{APX}^{*}_{1} \vdash\operatorname{dwPHP} APX 1 ∗ ⊢ dwPHP .
Indeed, we will prove a slightly stronger version: there exists a ( g , P ) (g,\mathrm{P}) ( g , P ) -oracle algorithm A ( 1 n ) A(1^{n}) A ( 1 n ) that finds y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n that is not in the range of g g g . This immediately implies Theorem 5.12 by fixing y ≔ A ( 1 n ) y \coloneqq A(1^{n}) y : = A ( 1 n ) .
Theorem 5.13. Let g g g be a function symbol with intended output length ∥ g ( u ) ∥ = ∥ u ∥ + 1 \lVert g(u)\rVert= \lVert u\rVert+ 1 ∥ g ( u )∥ = ∥ u ∥ + 1 . There is a P V 1 ( g , P ) \mathrm{PV}_{1}(g,\mathrm{P}) PV 1 ( g , P ) function A A A such that the following is provable in APX 1 ∗ ( g ) \operatorname{APX}^{*}_{1}(g) APX 1 ∗ ( g ) : for every n ∈ L o g n \in\mathrm{Log} n ∈ Log , A ( 1 n ) A(1^{n}) A ( 1 n ) outputs y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n such that for every x ∈ { 0 , 1 } n − 1 x \in\{0,1\}^{n-1} x ∈ { 0 , 1 } n − 1 , g ( x ) ≠ y g(x) \ne y g ( x ) = y .
Consequently, there is a P V 1 ( P ) \mathrm{PV}_{1}(\mathrm{P}) PV 1 ( P ) function B B B such that APX 1 ∗ \operatorname{APX}^{*}_{1} APX 1 ∗ proves the following: for every n ∈ L o g n \in\mathrm{Log} n ∈ Log and circuit C : { 0 , 1 } n − 1 → { 0 , 1 } n C \colon\{0,1\}^{n-1} \to\{0,1\}^{n} C : { 0 , 1 } n − 1 → { 0 , 1 } n , B ( C ) B(C) B ( C ) outputs y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n such that for any x ∈ { 0 , 1 } n − 1 x \in\{0,1\}^{n-1} x ∈ { 0 , 1 } n − 1 , C ( x ) ≠ y C(x) \ne y C ( x ) = y .
Proof. We argue in APX 1 ∗ ( g ) \operatorname{APX}^{*}_{1}(g) APX 1 ∗ ( g ) . Let n ∈ L o g n \in\mathrm{Log} n ∈ Log (we may assume n ≥ 1 n \ge1 n ≥ 1 ) and η − 1 ∈ L o g \eta^{-1} \in\mathrm{Log} η − 1 ∈ Log be a parameter to be determined (where η ≤ 1 / 100 \eta\le1/100 η ≤ 1/100 ), and κ ≔ ( 1 − η ) / ( 1 + η ) 2 \kappa\coloneqq(1-\eta)/(1+\eta)^{2} κ : = ( 1 − η ) / ( 1 + η ) 2 . For y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n , let T y : { 0 , 1 } n − 1 → { 0 , 1 } T_y \colon\{0,1\}^{n-1} \to\{0,1\} T y : { 0 , 1 } n − 1 → { 0 , 1 } be the g g g -oracle circuit such that T y ( x ) = 1 T_y(x)=1 T y ( x ) = 1 iff y y y is a prefix of g ( x ) g(x) g ( x ) , and p ( y ) ≔ P η ( T y ) p(y) \coloneqq P_{\eta}(T_y) p ( y ) : = P η ( T y ) . In particular, for y = ε y=\varepsilon y = ε being the empty string, T y T_y T y is a circuit that is functionally equivalent to the constant-1 circuit. By the BOUNDARY AXIOM FOR APX 1 ∗ \operatorname{APX}^{*}_{1} APX 1 ∗ and Global Consistency for APX 1 ∗ \operatorname{APX}^{*}_{1} APX 1 ∗ , we can show that p ( ε ) ≤ ( 1 + η ) 2 / ( 1 − η ) = κ − 1 p(\varepsilon) \le(1+\eta)^{2}/(1-\eta)=\kappa^{-1} p ( ε ) ≤ ( 1 + η ) 2 / ( 1 − η ) = κ − 1 .
Consider the ( g , P ) (g,\mathrm{P}) ( g , P ) -oracle algorithm A ( 1 n ) A(1^{n}) A ( 1 n ) that will find a string y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n that is not in the range of g g g . The algorithm starts with y ← ε y \leftarrow\varepsilon y ← ε , and iteratively constructs y y y such that p ( y ) p(y) p ( y ) is sufficiently small.
For ∥ y ∥ < n \lVert y\rVert< n ∥ y ∥ < n , it can be proved in P V 1 \mathrm{PV}_{1} PV 1 that T y 0 ( x ) ∧ T y 1 ( x ) = 0 T_{y0}(x) \land T_{y1}(x)=0 T y 0 ( x ) ∧ T y 1 ( x ) = 0 for every x ∈ { 0 , 1 } n − 1 x \in\{0,1\}^{n-1} x ∈ { 0 , 1 } n − 1 , and T y ( x ) = T y 0 ( x ) ∨ T y 1 ( x ) T_y(x)=T_{y0}(x)\lor T_{y1}(x) T y ( x ) = T y 0 ( x ) ∨ T y 1 ( x ) (using the length axiom ∥ g ( x ) ∥ = n \lVert g(x)\rVert=n ∥ g ( x )∥ = n ). By the Inclusion-Exclusion for APX 1 ∗ \operatorname{APX}^{*}_{1} APX 1 ∗ with C 1 ≔ T y 0 C_1 \coloneqq T_{y0} C 1 : = T y 0 , C 2 ≔ T y 1 C_2 \coloneqq T_{y1} C 2 : = T y 1 , and C ∨ ≔ T y C_{\lor}\coloneqq T_y C ∨ : = T y , we can prove that
p ( y 0 ) + p ( y 1 ) = P η ( T y 0 ) + P η ( T y 1 ) ≤ ( 1 + η ) 2 1 − η ⋅ P η ( T y ) = κ − 1 ⋅ p ( y ) . p(y0)+p(y1)=P_{\eta}(T_{y0})+P_{\eta}(T_{y1})\le\frac{(1+\eta)^2}{1-\eta}\cdot P_{\eta}(T_y)=\kappa^{-1}\cdot p(y). p ( y 0 ) + p ( y 1 ) = P η ( T y 0 ) + P η ( T y 1 ) ≤ 1 − η ( 1 + η ) 2 ⋅ P η ( T y ) = κ − 1 ⋅ p ( y ) .
When ∥ y ∥ < n \lVert y\rVert<n ∥ y ∥ < n , the algorithm chooses b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } such that p ( y b ) ≤ 1 2 κ ⋅ p ( y ) p(yb)\le\frac{1}{2\kappa}\cdot p(y) p ( y b ) ≤ 2 κ 1 ⋅ p ( y ) , and sets y ← y b y\leftarrow yb y ← y b .
By induction on a quantifier-free formula, we can prove that the algorithm A ( 1 n ) A(1^{n}) A ( 1 n ) outputs y ∈ { 0 , 1 } n y\in\{0,1\}^{n} y ∈ { 0 , 1 } n such that p ( y ) ≤ κ − 1 ⋅ ( 2 κ ) − n = 2 − n ⋅ κ − ( n + 1 ) p(y)\le\kappa^{-1}\cdot(2\kappa)^{-n}=2^{-n}\cdot\kappa^{-(n+1)} p ( y ) ≤ κ − 1 ⋅ ( 2 κ ) − n = 2 − n ⋅ κ − ( n + 1 ) .
We now set the parameters. Let η ≔ 1 / ( 100 n ) ≤ 1 / 100 \eta\coloneqq1/(100n)\le1/100 η : = 1/ ( 100 n ) ≤ 1/100 , so we have κ ≥ 1 − 5 η \kappa\ge1-5\eta κ ≥ 1 − 5 η and κ n + 1 > 0.8 \kappa^{n+1}>0.8 κ n + 1 > 0.8 . This means that
( 1 + η ) ⋅ p ( y ) ≤ ( 1 + η ) ⋅ κ − ( n + 1 ) ⋅ 2 − n < 1.3 ⋅ 2 − n < ( 1 − η ) ⋅ 2 − ( n − 1 ) . (1+\eta)\cdot p(y)\le(1+\eta)\cdot\kappa^{-(n+1)}\cdot2^{-n}<1.3\cdot2^{-n}<(1-\eta)\cdot2^{-(n-1)}. ( 1 + η ) ⋅ p ( y ) ≤ ( 1 + η ) ⋅ κ − ( n + 1 ) ⋅ 2 − n < 1.3 ⋅ 2 − n < ( 1 − η ) ⋅ 2 − ( n − 1 ) .
Since T y T_y T y has n − 1 n-1 n − 1 input bits, by the Non-Existence Lemma for APX 1 ∗ \operatorname{APX}^{*}_{1} APX 1 ∗ (with δ ≔ η \delta\coloneqq\eta δ : = η and β ≔ η \beta\coloneqq\eta β : = η ), we know that T y ( x ) = 0 T_y(x)=0 T y ( x ) = 0 for every x ∈ { 0 , 1 } n − 1 x\in\{0,1\}^{n-1} x ∈ { 0 , 1 } n − 1 . This completes the proof, as T y ( x ) = 0 T_y(x)=0 T y ( x ) = 0 means that y y y is not a prefix of g ( x ) g(x) g ( x ) , and in particular g ( x ) ≠ y g(x)\ne y g ( x ) = y . □ \square □
An Upper Bound for wPHP
Theorem 5.14. APX 1 ∗ ( f ) ⊢ wPHP ( f ) \operatorname{APX}^{*}_{1}(f)\vdash\operatorname{wPHP}(f) APX 1 ∗ ( f ) ⊢ wPHP ( f ) . Consequently, APX 1 ∗ ⊢ wPHP \operatorname{APX}^{*}_{1}\vdash\operatorname{wPHP} APX 1 ∗ ⊢ wPHP .
Proof. We argue in APX 1 ∗ ( f ) \operatorname{APX}^{*}_{1}(f) APX 1 ∗ ( f ) . Let n ∈ L o g n\in\mathrm{Log} n ∈ Log and η − 1 ∈ L o g \eta^{-1}\in\mathrm{Log} η − 1 ∈ Log be a parameter to be determined (where η ≤ 1 / 100 \eta\le1/100 η ≤ 1/100 ), and κ ≔ ( 1 − η ) / ( 1 + η ) 2 \kappa\coloneqq(1-\eta)/(1+\eta)^2 κ : = ( 1 − η ) / ( 1 + η ) 2 . For y ∈ { 0 , 1 } n − 1 y\in\{0,1\}^{n-1} y ∈ { 0 , 1 } n − 1 , let T y : { 0 , 1 } n → { 0 , 1 } T_y\colon\{0,1\}^{n}\to\{0,1\} T y : { 0 , 1 } n → { 0 , 1 } be the f f f -oracle circuit such that T y ( x ) = 1 T_y(x)=1 T y ( x ) = 1 iff y y y is a prefix of f ( x ) f(x) f ( x ) , and p ( y ) ≔ P η ( T y ) p(y)\coloneqq P_{\eta}(T_y) p ( y ) : = P η ( T y ) . In particular, for y = ε y=\varepsilon y = ε being the empty string, T y T_y T y is a circuit that is functionally equivalent to the constant-1 circuit. By the BOUNDARY AXIOM FOR APX 1 ∗ \operatorname{APX}^{*}_{1} APX 1 ∗ and Global Consistency for APX 1 ∗ \operatorname{APX}^{*}_{1} APX 1 ∗ , we can show that p ( ε ) ≥ ( 1 − η ) / ( 1 + η ) 2 = κ p(\varepsilon)\ge(1-\eta)/(1+\eta)^2=\kappa p ( ε ) ≥ ( 1 − η ) / ( 1 + η ) 2 = κ .
Consider the ( f , P ) (f,\mathrm{P}) ( f , P ) -oracle algorithm A ( 1 n ) A(1^{n}) A ( 1 n ) that will find a string y ∈ { 0 , 1 } n − 1 y\in\{0,1\}^{n-1} y ∈ { 0 , 1 } n − 1 such that ∣ f − 1 ( y ) ∣ ≥ 2 \lvert f^{-1}(y)\rvert\ge2 ∣ f − 1 ( y )∣ ≥ 2 . The algorithm starts with y ← ε y\leftarrow\varepsilon y ← ε , and iteratively constructs y y y such that p ( y ) p(y) p ( y ) is sufficiently large.
It can be proved that T y 0 ( x ) ∧ T y 1 ( x ) = 0 T_{y_0}(x) \wedge T_{y_1}(x) = 0 T y 0 ( x ) ∧ T y 1 ( x ) = 0 for every x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n , and T y ( x ) = T y 0 ( x ) ∨ T y 1 ( x ) T_y(x) = T_{y_0}(x) \vee T_{y_1}(x) T y ( x ) = T y 0 ( x ) ∨ T y 1 ( x ) . By the Inclusion-Exclusion for APX1 ∗ _1^* 1 ∗ with C 1 ≜ T y 0 C_1 \triangleq T_{y_0} C 1 ≜ T y 0 , C 2 ≜ T y 1 C_2 \triangleq T_{y_1} C 2 ≜ T y 1 , and C ∨ ≜ T y C_{\vee} \triangleq T_y C ∨ ≜ T y , we can prove that
p ( y 0 ) + p ( y 1 ) = P η ( T y 0 ) + P η ( T y 1 ) ≥ 1 − η ( 1 + η ) 2 ⋅ P η ( T y ) = κ ⋅ p ( y ) . p(y0) + p(y1) = P_\eta(T_{y_0}) + P_\eta(T_{y_1}) \ge\frac{1-\eta}{(1+\eta)^2} \cdot P_\eta(T_y) = \kappa\cdot p(y). p ( y 0 ) + p ( y 1 ) = P η ( T y 0 ) + P η ( T y 1 ) ≥ ( 1 + η ) 2 1 − η ⋅ P η ( T y ) = κ ⋅ p ( y ) .
When ∥ y ∥ < n − 1 \lVert y\rVert< n-1 ∥ y ∥ < n − 1 , the algorithm chooses b ∈ { 0 , 1 } b \in\{0,1\} b ∈ { 0 , 1 } such that p ( y b ) ≥ κ 2 ⋅ p ( y ) p(yb) \ge\frac{\kappa}{2} \cdot p(y) p ( y b ) ≥ 2 κ ⋅ p ( y ) , and sets y ← y b y \leftarrow yb y ← y b .
By induction on a quantifier-free formula, we can prove that the algorithm A ( 1 n ) A(1^n) A ( 1 n ) outputs y ∈ { 0 , 1 } n − 1 y \in\{0,1\}^{n-1} y ∈ { 0 , 1 } n − 1 such that p ( y ) ≥ 2 − ( n − 1 ) ⋅ κ n p(y) \ge2^{-(n-1)} \cdot\kappa^n p ( y ) ≥ 2 − ( n − 1 ) ⋅ κ n .
For x ∈ { 0 , 1 } ≤ n x \in\{0,1\}^{\le n} x ∈ { 0 , 1 } ≤ n , let T y , x : { 0 , 1 } n − ∥ x ∥ → { 0 , 1 } T_{y,x} : \{0,1\}^{n-\lVert x\rVert} \to\{0,1\} T y , x : { 0 , 1 } n − ∥ x ∥ → { 0 , 1 } be the circuit such that T y , x ( z ) = 1 T_{y,x}(z) = 1 T y , x ( z ) = 1 iff f ( z ∘ x ) = y f(z \circ x) = y f ( z ∘ x ) = y . In particular, T y , ε T_{y,\varepsilon} T y , ε is functionally equivalent to T y T_y T y . Let q y ( x ) ≜ P η ( T y , x ) q_y(x) \triangleq P_\eta(T_{y,x}) q y ( x ) ≜ P η ( T y , x ) ; by Global Consistency for APX1 ∗ _1^* 1 ∗ , we know that q y ( ε ) ≥ κ ⋅ p ( y ) q_y(\varepsilon) \ge\kappa\cdot p(y) q y ( ε ) ≥ κ ⋅ p ( y ) . Next, we consider the following ( f , P ) (f,P) ( f , P ) -oracle algorithm E ( 1 n , y ) E(1^n,y) E ( 1 n , y ) that outputs x ∈ { 0 , 1 } < n x \in\{0,1\}^{<n} x ∈ { 0 , 1 } < n such that q y ( 0 x ) > 0 q_y(0x) > 0 q y ( 0 x ) > 0 and q y ( 1 x ) > 0 q_y(1x) > 0 q y ( 1 x ) > 0 . The algorithm starts with x ← ε x \leftarrow\varepsilon x ← ε and constructs x x x iteratively as follows.
Note that for b ∈ { 0 , 1 } b \in\{0,1\} b ∈ { 0 , 1 } , T y , b x ≜ Fix b ( T y , x ) T_{y,bx} \triangleq\operatorname{Fix}_b(T_{y,x}) T y , b x ≜ Fix b ( T y , x ) . Therefore by the LOCAL CONSISTENCY AXIOM FOR APX1 ∗ _1^* 1 ∗ , we know that
q y ( 0 x ) + q y ( 1 x ) 2 = P η ( T y , 0 x ) + P η ( T y , 1 x ) 2 ≥ 1 − η ( 1 + η ) 2 ⋅ P η ( T y , x ) = κ ⋅ q y ( x ) . \frac{q_y(0x)+q_y(1x)}{2}=\frac{P_\eta(T_{y,0x})+P_\eta(T_{y,1x})}{2}\ge\frac{1-\eta}{(1+\eta)^2}\cdot P_\eta(T_{y,x})=\kappa\cdot q_y(x). 2 q y ( 0 x ) + q y ( 1 x ) = 2 P η ( T y , 0 x ) + P η ( T y , 1 x ) ≥ ( 1 + η ) 2 1 − η ⋅ P η ( T y , x ) = κ ⋅ q y ( x ) .
In each iteration, the algorithm computes q y ( 0 x ) q_y(0x) q y ( 0 x ) and q y ( 1 x ) q_y(1x) q y ( 1 x ) . If both are positive, it succeeds and outputs x x x . Otherwise, it sets x ← b x x \leftarrow bx x ← b x for the b ∈ { 0 , 1 } b \in\{0,1\} b ∈ { 0 , 1 } maximizing q y ( b x ) q_y(bx) q y ( b x ) , so q y ( b x ) ≥ 2 κ ⋅ q y ( x ) q_y(bx) \ge2\kappa\cdot q_y(x) q y ( b x ) ≥ 2 κ ⋅ q y ( x ) .
By induction on a quantifier-free formula, we can prove that in the i i i -th iteration, the algorithm maintains x ∈ { 0 , 1 } i x \in\{0,1\}^i x ∈ { 0 , 1 } i such that q y ( x ) ≥ ( 2 κ ) i ⋅ q y ( ε ) ≥ ( 2 κ ) i ⋅ 2 − ( n − 1 ) ⋅ κ n + 1 q_y(x) \ge(2\kappa)^i \cdot q_y(\varepsilon) \ge(2\kappa)^i \cdot2^{-(n-1)} \cdot\kappa^{n+1} q y ( x ) ≥ ( 2 κ ) i ⋅ q y ( ε ) ≥ ( 2 κ ) i ⋅ 2 − ( n − 1 ) ⋅ κ n + 1 . If the algorithm does not succeed after n n n iterations, we will construct x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n such that q y ( x ) ≥ ( 2 κ ) n ⋅ 2 − ( n − 1 ) ⋅ κ n + 1 = 2 κ 2 n + 1 q_y(x) \ge(2\kappa)^n \cdot2^{-(n-1)} \cdot\kappa^{n+1} = 2\kappa^{2n+1} q y ( x ) ≥ ( 2 κ ) n ⋅ 2 − ( n − 1 ) ⋅ κ n + 1 = 2 κ 2 n + 1 .
We now set the parameters. Let η ≜ 1 / ( 100 n ) ≤ 1 / 100 \eta\triangleq1/(100n) \le1/100 η ≜ 1/ ( 100 n ) ≤ 1/100 , so we have κ ≥ 1 − 5 η \kappa\ge1-5\eta κ ≥ 1 − 5 η and κ 2 n + 1 > 0.8 \kappa^{2n+1} > 0.8 κ 2 n + 1 > 0.8 . This means if the algorithm does not succeed, we will have q y ( x ) > 1 q_y(x) > 1 q y ( x ) > 1 , which violates the BASIC AXIOM FOR APX1 ∗ _1^* 1 ∗ . Subsequently, the algorithm E ( 1 n , y ) E(1^n,y) E ( 1 n , y ) must succeed in finding x ∈ { 0 , 1 } < n x \in\{0,1\}^{<n} x ∈ { 0 , 1 } < n such that q y ( 0 x ) , q y ( 1 x ) > 0 q_y(0x),q_y(1x) > 0 q y ( 0 x ) , q y ( 1 x ) > 0 . Then by the Existence Lemma for APX1 ∗ _1^* 1 ∗ , there exist z 0 , z 1 z_0,z_1 z 0 , z 1 such that
T y , 0 x ( z 0 ) = 1 , i.e., f ( z 0 ∘ 0 ∘ x ) = y , T y , 1 x ( z 1 ) = 1 , i.e., f ( z 1 ∘ 1 ∘ x ) = y . T_{y,0x}(z_0)=1,\ \text{i.e., } f(z_0\circ0\circ x)=y,\qquad T_{y,1x}(z_1)=1,\ \text{i.e., } f(z_1\circ1\circ x)=y. T y , 0 x ( z 0 ) = 1 , i.e., f ( z 0 ∘ 0 ∘ x ) = y , T y , 1 x ( z 1 ) = 1 , i.e., f ( z 1 ∘ 1 ∘ x ) = y .
This completes the proof, as x 0 ≜ z 0 ∘ 0 ∘ x x_0 \triangleq z_0 \circ0 \circ x x 0 ≜ z 0 ∘ 0 ∘ x and x 1 ≜ z 1 ∘ 1 ∘ x x_1 \triangleq z_1 \circ1 \circ x x 1 ≜ z 1 ∘ 1 ∘ x are distinct strings of length n n n such that f ( x 0 ) = f ( x 1 ) f(x_0)=f(x_1) f ( x 0 ) = f ( x 1 ) .
Complexity-theoretic implication. It is worth mentioning that Theorem 5.14 has an immediate consequence in complexity theory by the witnessing theorems of Thapen [Tha24] (see Lemma 4.6 ). Recall that Local(APX1 _1 1 ) (resp. Local(APX1 ∗ _1^* 1 ∗ )) is the total search problem that, given a non-uniform query algorithm representing a strategy of the inspector in the Inspector-Adversary game for the theory APX1 _1 1 (resp. APX1 ∗ _1^* 1 ∗ ), outputs a transcript on which the inspector fails (see Definitions 4.4 and 4.5 ). By definition, Local(APX1 _1 1 ) and Local(APX1 ∗ _1^* 1 ∗ ) are in TFNP as the standard models of APX1 _1 1 , APX1 ∗ _1^* 1 ∗ give a winning strategy for the adversary.
We first recall the definition of some search problems.
Definition 5.15 (WeakPigeon; see, e.g., [Jeř16]). WeakPigeon is defined as the following search problem in TFNP: Given a circuit C : { 0 , 1 } n → { 0 , 1 } n − 1 C : \{0,1\}^n \to\{0,1\}^{n-1} C : { 0 , 1 } n → { 0 , 1 } n − 1 , a solution is a pair of distinct strings x 1 , x 2 ∈ { 0 , 1 } n x_1,x_2 \in\{0,1\}^n x 1 , x 2 ∈ { 0 , 1 } n such that C ( x 1 ) = C ( x 2 ) C(x_1)=C(x_2) C ( x 1 ) = C ( x 2 ) . The complexity class PWPP of search problems is defined as the TFNP problems that are polynomial-time reducible to WeakPigeon.
Definition 5.16 (Avoid; see, e.g., [32 ] and references therein). Avoid is defined as the following search problem in T F Σ 2 \mathrm{TF}\Sigma_2 TF Σ 2 : Given a circuit C : { 0 , 1 } n − 1 → { 0 , 1 } n C:\{0,1\}^{n-1}\to\{0,1\}^n C : { 0 , 1 } n − 1 → { 0 , 1 } n , a solution is a string y ∈ { 0 , 1 } n y\in\{0,1\}^n y ∈ { 0 , 1 } n such that for every x ∈ { 0 , 1 } n − 1 x\in\{0,1\}^{n-1} x ∈ { 0 , 1 } n − 1 , C ( x ) ≠ y C(x)\ne y C ( x ) = y .
Theorem 5.17. WeakPigeon ≤ p \le_p ≤ p Local(A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ) via single-query polynomial-time reducibility .
Proof. This follows directly from the unrelativized version of Theorem 5.14 and Lemma 4.6 .
We note that Theorem 5.12 or Theorem 5.13 cannot be used to prove Avoid ≤ p \le_p ≤ p Local(A P X 1 ∗ \mathrm{APX}_1^* APX 1 ∗ ) as Avoid is not a TFNP problem. In fact, under plausible assumptions, Avoid ̸ ≤ p \not\le_p ≤ p TFNP since otherwise there will be an NP search algorithm for Avoid (see [9 , 23 RWZ26, 42 ] ).
Finite Combinatorial Principles, Infinite Models, and the Limits of APX1
In this section, we establish Theorem 1.9 and Corollary 1.12. The proof of Theorem 1.9 is a combination of two steps. First, we introduce a certain game played between an inspector and an adversary. We show in § 6.1 that an infinite model provides a winning strategy for the adversary in this game. In contrast, we show in § 6.3 that a proof of the relevant sentence in the theory yields an inspector that wins the game. Combining these two results implies the unprovability in Theorem 1.9.
Theorem 1.9 (Riis-style dichotomy for relativized APX1). Let ϕ ( x 1 , … , x k ) \phi(x_1,\ldots,x_k) ϕ ( x 1 , … , x k ) be a formula in the language L \mathcal{L} L with equality. If ∀ x 1 ⋯ ∀ x k ¬ ϕ ( x 1 , … , x k ) \forall x_1\cdots\forall x_k\,\neg\phi(x_1,\ldots,x_k) ∀ x 1 ⋯ ∀ x k ¬ ϕ ( x 1 , … , x k ) has an infinite model, then
A P X 1 ( L ^ ) ⊬ ∀ N ≥ 1 ( C l o s e d L ^ ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) . \mathrm{APX}_1(\widehat{\mathcal{L}})\nvdash\forall N\ge1\left(\mathrm{Closed}_{\widehat{\mathcal{L}}}(N)\to\exists x_1,\ldots,x_k<N\ \phi^{[N]}(x_1,\ldots,x_k)\right). APX 1 ( L ) ⊬ ∀ N ≥ 1 ( Closed L ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) . For simplicity, we work with quantifier-free L \mathcal{L} L -formulas in § 6.1 below. In § 6.2 and § 6.3 , we describe how standard techniques allow us to reduce the case of quantified formulas to the simpler setting of quantifier-free formulas.
Winning Strategies from Infinite Models
In this section, we fix some finite first-order language L \mathcal{L} L consisting of function and constant symbols, and a quantifier-free formula ϕ ( v 1 , … , v k ) \phi(v_1,\ldots,v_k) ϕ ( v 1 , … , v k ) over L \mathcal{L} L with equality and exactly k k k free variables v 1 , … , v k v_1,\ldots,v_k v 1 , … , v k . We assume that ϕ \phi ϕ exhausts all the symbols in L \mathcal{L} L , so that ϕ \phi ϕ determines L \mathcal{L} L (this is for notation, so that various parameters with dependence on L , ϕ \mathcal{L},\phi L , ϕ can be defined only in terms of ϕ \phi ϕ ). We will consider a game G ϕ ( N ) G_\phi(N) G ϕ ( N ) played over finite universes of size N N N , where ϕ \phi ϕ is fixed and N N N grows to infinity. We start by introducing some terminology necessary to describe the game:
Definition 6.1 (Partial Structures, witnesses and decision trees). A partial L \mathcal{L} L -structure ρ \rho ρ on [ N ] [N] [ N ] assigns a value c ρ c^\rho c ρ in [ N ] [N] [ N ] to some subset of the constant symbols and assigns a partial function f ρ : [ N ] d → [ N ] f^\rho:[N]^d\to[N] f ρ : [ N ] d → [ N ] to each d d d -ary function symbol f f f . For two partial structures ρ , ρ ′ \rho,\rho' ρ , ρ ′ we say ρ ′ ⊇ ρ \rho'\supseteq\rho ρ ′ ⊇ ρ (“ρ ′ \rho' ρ ′ extends ρ \rho ρ ”) if every constant symbol defined in ρ \rho ρ is defined and has the same value in ρ ′ \rho' ρ ′ , and every partial function in ρ ′ \rho' ρ ′ extends the corresponding partial function in ρ \rho ρ . For an assignment x ˉ = x 1 , … , x k ∈ [ N ] \bar{x}=x_1,\ldots,x_k\in[N] x ˉ = x 1 , … , x k ∈ [ N ] to the variables v 1 , … , v k v_1,\ldots,v_k v 1 , … , v k of ϕ \phi ϕ , we say that ρ ⊨ ϕ [ x ˉ ] \rho\models\phi[\bar{x}] ρ ⊨ ϕ [ x ˉ ] if each term in ϕ [ x ˉ ] \phi[\bar{x}] ϕ [ x ˉ ] has a well-defined value in [ N ] [N] [ N ] under the partial structure ρ \rho ρ and the assignment x ˉ \bar{x} x ˉ (according to the natural interpretation6 ), and after substituting these values for the terms, the sentence ϕ [ x ˉ ] \phi[\bar{x}] ϕ [ x ˉ ] is true. We say that a partial structure is “ϕ \phi ϕ -witnessing” if there exists some ( x 1 , … , x k ) ∈ [ N ] k (x_1,\ldots,x_k)\in[N]^k ( x 1 , … , x k ) ∈ [ N ] k such that ρ ⊨ ϕ [ x 1 , … , x k ] \rho\models\phi[x_1,\ldots,x_k] ρ ⊨ ϕ [ x 1 , … , x k ] .
An ( N , ϕ ) (N,\phi) ( N , ϕ ) decision tree T T T is a finite rooted tree. Each internal node queries either a constant c c c or a “table entry” f ( x ˉ ) f(\bar{x}) f ( x ˉ ) , where x ˉ ∈ [ N ] arity ( f ) \bar{x} \in[N]^{\operatorname{arity}(f)} x ˉ ∈ [ N ] arity ( f ) ; this node has one child for every possible answer in [ N ] [N] [ N ] . Every leaf ℓ ∈ T \ell\in T ℓ ∈ T is labeled with a bit value b ℓ ∈ { 0 , 1 } b_\ell\in\{0,1\} b ℓ ∈ { 0 , 1 } . For two such trees T 1 , T 2 T_1,T_2 T 1 , T 2 , we define T 1 ∘ T 2 T_1 \circ T_2 T 1 ∘ T 2 to be the tree obtained by attaching a copy of T 2 T_2 T 2 to each leaf of T 1 T_1 T 1 (the root of each copy is identified with its associated leaf). We will not bother to define the bit values b ℓ b_\ell b ℓ for T 1 ∘ T 2 T_1 \circ T_2 T 1 ∘ T 2 since they have no relevance to us. The height of the tree T T T is the maximum number of queries on a root-to-leaf path. An ( N , ϕ ) (N,\phi) ( N , ϕ ) RDT (randomized decision tree) is a probability distribution over ( N , ϕ ) (N,\phi) ( N , ϕ ) decision trees; its height is the maximum height of a tree in its support. When N , ϕ N,\phi N , ϕ are clear from context, we simply refer to them as decision trees and RDTs respectively.
For a partial structure ρ \rho ρ and a tree T T T , we say that ρ \rho ρ “determines a path through T T T to a leaf” if, starting at the root of T T T and answering each query according to ρ \rho ρ , no query ever yields an undefined value (and hence we trace a path to some leaf).
Definition 6.2 (Game G ϕ ( N ; m , h , ϵ ) G_\phi(N;m,h,\epsilon) G ϕ ( N ; m , h , ϵ ) ). For ϕ \phi ϕ as above, N , m , h ∈ N N,m,h \in\mathbb{N} N , m , h ∈ N , ϵ ∈ ( 0 , 1 ] \epsilon\in(0,1] ϵ ∈ ( 0 , 1 ] , we define a game G ϕ ( N ; m , h , ϵ ) G_\phi(N;m,h,\epsilon) G ϕ ( N ; m , h , ϵ ) as follows. The players are called the “inspector” and the “adversary.” The game proceeds for m m m rounds. In round i i i , the inspector supplies an ( N , ϕ ) (N,\phi) ( N , ϕ ) RDT T i T_i T i of height at most h h h , and the adversary responds with a value p i ∈ [ 0 , 1 ] p_i \in[0,1] p i ∈ [ 0 , 1 ] . After all rounds are complete, the adversary supplies a partial L \mathcal{L} L -structure ρ \rho ρ on [ N ] [N] [ N ] . The adversary wins when all of the following conditions hold:
ρ \rho ρ is not ϕ \phi ϕ -witnessing.
(Deterministic Consistency ). If supp ( T i ) = { T } \operatorname{supp}(T_i)=\{T\} supp ( T i ) = { T } for some deterministic tree T T T , then ρ \rho ρ determines a path in T T T ending at a leaf ℓ ∈ T \ell\in T ℓ ∈ T with b ℓ = p i b_\ell=p_i b ℓ = p i ; in particular, p i ∈ { 0 , 1 } p_i \in\{0,1\} p i ∈ { 0 , 1 } .
(Mixture Consistency ). For any three round indices i 1 , i 2 , i 3 i_1,i_2,i_3 i 1 , i 2 , i 3 such that T i 1 = 1 2 T i 2 + 1 2 T i 3 T_{i_1}=\frac{1}{2}T_{i_2}+\frac{1}{2}T_{i_3} T i 1 = 2 1 T i 2 + 2 1 T i 3 , we have $\left|p_{i_1}-\frac{1}{2}p_{i_2}-\frac{1}{2}p_{i_3}\right|\leq\epsilon.
We are now ready to state the main theorem of this section:
Theorem 6.3 (Winning strategy). Suppose there is an infinite L \mathcal{L} L -structure M \mathcal{M} M satisfying
M ⊨ ∀ v 1 ⋯ ∀ v k ¬ ϕ ( v 1 , … , v k ) . \mathcal{M}\models\forall v_1\cdots\forall v_k\neg\phi(v_1,\ldots,v_k). M ⊨ ∀ v 1 ⋯ ∀ v k ¬ ϕ ( v 1 , … , v k ) . Let a a a be the maximum arity of a function symbol in L \mathcal{L} L (a = 0 a=0 a = 0 if L \mathcal{L} L only has constant symbols). The adversary has a winning strategy in G ϕ ( N ; m , h , ϵ ) G_\phi(N;m,h,\epsilon) G ϕ ( N ; m , h , ϵ ) whenever
N ≥ 10 5 ( a + 1 ) 2 m 2 h 2 ϵ − 4 ( ln ( 2 m ) ) 2 . (12) N \geq10^5(a+1)^2m^2h^2\epsilon^{-4}(\ln(2m))^2. \tag*{(12)} N ≥ 1 0 5 ( a + 1 ) 2 m 2 h 2 ϵ − 4 ( ln ( 2 m ) ) 2 . (12)
Let U \mathcal{U} U be the (infinite) universe of M \mathcal{M} M . Our argument will center around the construction of a certain partial injection π : [ N ] → U \pi:[N]\to\mathcal{U} π : [ N ] → U . For any such partial injection we can naturally associate a partial L \mathcal{L} L -structure ρ π \rho_\pi ρ π on [ N ] [N] [ N ] : for a constant c c c , if c M = X c^\mathcal{M}=X c M = X and π − 1 ( X ) \pi^{-1}(X) π − 1 ( X ) is defined, we set c ρ π = π − 1 ( X ) c^{\rho_\pi}=\pi^{-1}(X) c ρ π = π − 1 ( X ) . Similarly, if f f f is a function symbol of arity d d d , f M ( X ˉ ) = Y f^\mathcal{M}(\bar{X})=Y f M ( X ˉ ) = Y , and π − 1 ( X 1 ) , … , π − 1 ( X d ) , π − 1 ( Y ) \pi^{-1}(X_1),\ldots,\pi^{-1}(X_d),\pi^{-1}(Y) π − 1 ( X 1 ) , … , π − 1 ( X d ) , π − 1 ( Y ) are all defined, then we set f ρ π ( π − 1 ( X 1 ) , … , π − 1 ( X d ) ) = π − 1 ( Y ) f^{\rho_\pi}(\pi^{-1}(X_1),\ldots,\pi^{-1}(X_d))=\pi^{-1}(Y) f ρ π ( π − 1 ( X 1 ) , … , π − 1 ( X d )) = π − 1 ( Y ) . In all other cases ρ π \rho_\pi ρ π is undefined. Observe that if π ′ ⊇ π \pi'\supseteq\pi π ′ ⊇ π then ρ π ′ ⊇ ρ π \rho_{\pi'}\supseteq\rho_\pi ρ π ′ ⊇ ρ π , and for all π \pi π , ρ π \rho_\pi ρ π is not ϕ \phi ϕ -witnessing. We use ∣ π ∣ |\pi| ∣ π ∣ as shorthand for ∣ { x ∈ [ N ] ∣ π is defined at x } ∣ |\{x\in[N]\mid\pi\text{ is defined at }x\}| ∣ { x ∈ [ N ] ∣ π is defined at x } ∣ .
We will describe a randomized strategy for the adversary; before the i t h i^{\mathrm{th}} i th round, the adversary will have generated some partial injection π i − 1 \pi_{i-1} π i − 1 , and after seeing the inspector’s next move T i T_i T i , the adversary will choose an extension π i ⊇ π i − 1 \pi_i\supseteq\pi_{i-1} π i ⊇ π i − 1 (using randomness) and some answer p i p_i p i for that round. At the end, the adversary will supply ρ π m \rho_{\pi_m} ρ π m as the final partial L \mathcal{L} L -structure. We will argue that for any inspector strategy, with positive probability over the internal randomness of our adversary, the resulting play-sequence will be winning for the adversary. Since ρ π m \rho_{\pi_m} ρ π m will always be nonwitnessing, we will only have to confirm the other two win conditions; in fact, once our strategy is defined it will be clear also that condition (2) for singleton RDTs is handled automatically, so the entire crux of the proof will be in demonstrating that the affine constraints in (3) are satisfied.
We will now define one of the two sources of randomness used by the adversary. Fix an arbitrary set S ⊆ U S \subseteq\mathcal{U} S ⊆ U with ∣ S ∣ = N |S| = N ∣ S ∣ = N . Define a “priority oracle” ω \omega ω to consist of a total ordering ω x \omega_x ω x on S S S for each x ∈ [ N ] x \in[N] x ∈ [ N ] , as well as a total ordering ω X \omega_X ω X on [ N ] [N] [ N ] for each X ∈ U X \in\mathcal{U} X ∈ U . Let Ω \Omega Ω be the set of all priority oracles, equipped with the product of the uniform measures on the component orderings; ω ∼ Ω \omega\sim\Omega ω ∼ Ω denotes a sample from this distribution. For a priority oracle ω \omega ω , a decision tree T T T of height h h h , and a partial injection π : [ N ] → U \pi: [N] \to\mathcal{U} π : [ N ] → U satisfying ∣ π ∣ + ( a + 1 ) h ≤ N |\pi| + (a+1)h \leq N ∣ π ∣ + ( a + 1 ) h ≤ N , we define T ω ( π ) T^\omega(\pi) T ω ( π ) to be the extension of π \pi π obtained by the following traversal. Start at the root of T T T with π ′ = π \pi' = \pi π ′ = π . At each internal node querying f ( x 1 , … , x d ) f(x_1,\ldots,x_d) f ( x 1 , … , x d ) , perform the following steps, treating a constant query c c c as a zero-arity query with value c M c^{\mathcal{M}} c M :
For i = 1 , … , d i = 1,\ldots,d i = 1 , … , d in order, if x i ∉ dom ( π ′ ) x_i \notin\operatorname{dom}(\pi') x i ∈ / dom ( π ′ ) , extend π ′ \pi' π ′ by setting π ′ ( x i ) \pi'(x_i) π ′ ( x i ) to the ω x i \omega_{x_i} ω x i -least element of S ∖ range ( π ′ ) S \setminus\operatorname{range}(\pi') S ∖ range ( π ′ ) .
Set X = f M ( π ′ ( x 1 ) , … , π ′ ( x d ) ) X = f^{\mathcal{M}}(\pi'(x_1),\ldots,\pi'(x_d)) X = f M ( π ′ ( x 1 ) , … , π ′ ( x d )) . If X ∉ range ( π ′ ) X \notin\operatorname{range}(\pi') X ∈ / range ( π ′ ) , extend π ′ \pi' π ′ by setting π ′ ( y ) = X \pi'(y) = X π ′ ( y ) = X , where y y y is the ω X \omega_X ω X -least element of [ N ] ∖ dom ( π ′ ) [N] \setminus\operatorname{dom}(\pi') [ N ] ∖ dom ( π ′ ) .
Follow the edge in T T T labeled ( π ′ ) − 1 ( X ) (\pi')^{-1}(X) ( π ′ ) − 1 ( X ) .
Upon reaching a leaf, set T ω ( π ) = π ′ T^\omega(\pi) = \pi' T ω ( π ) = π ′ . Let out ω ( T , π ) \operatorname{out}^\omega(T,\pi) out ω ( T , π ) denote the bit labeling the leaf reached in this traversal.
We are now ready to describe the adversary’s strategy. At the start, the adversary samples once and for all ω ∼ Ω \omega\sim\Omega ω ∼ Ω , and initializes π 0 = ∅ \pi_0 = \varnothing π 0 = ∅ . Fix some parameter s s s depending on N , m , h , ϵ N,m,h,\epsilon N , m , h , ϵ which we will set later. Say that round i − 1 i-1 i − 1 is complete and the current injection is π i − 1 \pi_{i-1} π i − 1 . In round i i i , if the inspector supplies T i \mathcal{T}_i T i , the adversary uses fresh independent randomness to sample T i , 1 , … , T i , s ∼ T i \mathcal{T}_{i,1},\ldots,\mathcal{T}_{i,s} \sim\mathcal{T}_i T i , 1 , … , T i , s ∼ T i , sets π i = ( T i , 1 ∘ ⋯ ∘ T i , s ) ω ( π i − 1 ) \pi_i = (\mathcal{T}_{i,1} \circ\cdots\circ\mathcal{T}_{i,s})^\omega(\pi_{i-1}) π i = ( T i , 1 ∘ ⋯ ∘ T i , s ) ω ( π i − 1 ) , and sets p i = 1 s ∑ j ≤ s out ω ( T i , j , π i ) p_i = \frac{1}{s}\sum_{j \leq s}\operatorname{out}^\omega(\mathcal{T}_{i,j},\pi_i) p i = s 1 ∑ j ≤ s out ω ( T i , j , π i ) . At the end of the last round m m m , the adversary outputs ρ π m \rho_{\pi_m} ρ π m as the final partial structure. It is now easy to observe (as promised earlier) that winning condition (2) will always be satisfied for the adversary. Since π m ⊇ π i \pi_m \supseteq\pi_i π m ⊇ π i , whenever T i \mathcal{T}_i T i is a singleton supported on a fixed tree T i \mathcal{T}_i T i , we have p i = out ω ( T i , π i ) = out ω ( T i , π m ) p_i = \operatorname{out}^\omega(\mathcal{T}_i,\pi_i) = \operatorname{out}^\omega(\mathcal{T}_i,\pi_m) p i = out ω ( T i , π i ) = out ω ( T i , π m ) . It remains to argue that with nonzero probability, the final state of the game satisfies condition (3).
Given a transcript of the game (including all the sampled randomness used in the adversary’s strategy), we define 3 more sequences of numbers ( p i e m p , p i t r u e , p i f i n a l ) i ≤ m (p_i^{\mathrm{emp}}, p_i^{\mathrm{true}}, p_i^{\mathrm{final}})_{i \leq m} ( p i emp , p i true , p i final ) i ≤ m which will be used in the analysis of the game’s outcome. These values are given by:
p i e m p = 1 s ∑ j ≤ s out ω ( T i , j , π i − 1 ) , p i t r u e = E T i ∼ T i [ out ω ( T i , π i − 1 ) ] , p i f i n a l = E T i ∼ T i [ out ω ( T i , π m ) ] . p_i^{\mathrm{emp}} = \frac{1}{s}\sum_{j \leq s} \operatorname{out}^\omega(\mathcal{T}_{i,j},\pi_{i-1}), \qquad p_i^{\mathrm{true}} = \mathbb{E}_{\mathcal{T}_i \sim\mathcal{T}_i}[\operatorname{out}^\omega(\mathcal{T}_i,\pi_{i-1})], \qquad p_i^{\mathrm{final}} = \mathbb{E}_{\mathcal{T}_i \sim\mathcal{T}_i}[\operatorname{out}^\omega(\mathcal{T}_i,\pi_m)]. p i emp = s 1 j ≤ s ∑ out ω ( T i , j , π i − 1 ) , p i true = E T i ∼ T i [ out ω ( T i , π i − 1 )] , p i final = E T i ∼ T i [ out ω ( T i , π m )] .
Observe that whenever i 1 , i 2 , i 3 i_1,i_2,i_3 i 1 , i 2 , i 3 are such that T i 1 = 1 2 T i 2 + 1 2 T i 3 \mathcal{T}_{i_1} = \frac{1}{2}\mathcal{T}_{i_2} + \frac{1}{2}\mathcal{T}_{i_3} T i 1 = 2 1 T i 2 + 2 1 T i 3 , we must have p i 1 f i n a l = 1 2 p i 2 f i n a l + 1 2 p i 3 f i n a l p_{i_1}^{\mathrm{final}} = \frac{1}{2}p_{i_2}^{\mathrm{final}} + \frac{1}{2}p_{i_3}^{\mathrm{final}} p i 1 final = 2 1 p i 2 final + 2 1 p i 3 final exactly. We will argue that with nonzero probability over ω \omega ω and the additional subsampling randomness of the adversary, the following holds for all i i i :
p i = p i e m p , ∣ p i e m p − p i t r u e ∣ ≤ ϵ 4 , ∣ p i t r u e − p i f i n a l ∣ ≤ ϵ 4 p_i = p_i^{\mathrm{emp}}, \qquad|p_i^{\mathrm{emp}} - p_i^{\mathrm{true}}| \leq\frac{\epsilon}{4}, \qquad|p_i^{\mathrm{true}} - p_i^{\mathrm{final}}| \leq\frac{\epsilon}{4} p i = p i emp , ∣ p i emp − p i true ∣ ≤ 4 ϵ , ∣ p i true − p i final ∣ ≤ 4 ϵ
This will imply that for all such i 1 , i 2 , i 3 i_1,i_2,i_3 i 1 , i 2 , i 3 , ∣ p i 1 − ( 1 2 p i 2 + 1 2 p i 3 ) ∣ ≤ ϵ |p_{i_1} - (\frac{1}{2}p_{i_2} + \frac{1}{2}p_{i_3})| \leq\epsilon ∣ p i 1 − ( 2 1 p i 2 + 2 1 p i 3 ) ∣ ≤ ϵ and hence the game state is winning for the adversary (recall that the other two win conditions are satisfied by design).
We need two technical claims before we can proceed with the proof of Theorem 6.3 . We first define a “fresh state” which consists of a pair ( π , Ω ^ ) (\pi,\widehat{\Omega}) ( π , Ω ) with π : [ N ] → U \pi: [N] \to\mathcal{U} π : [ N ] → U a partial injection and Ω ^ \widehat{\Omega} Ω a distribution of priority oracles satisfying the following: all of the orders Ω ^ x , Ω ^ X \widehat{\Omega}_x,\widehat{\Omega}_X Ω x , Ω X with x ∈ [ N ] , X ∈ U x \in[N], X \in\mathcal{U} x ∈ [ N ] , X ∈ U unmatched in π \pi π are jointly independent and uniformly distributed (“unmatched” means π ( x ) \pi(x) π ( x ) is undefined, and X ∉ range ( π ) X \notin\operatorname{range}(\pi) X ∈ / range ( π ) ). The first technical claim is the simple observation that, if we start in a fresh state, then run a decision tree and condition on its outcome, we end up in another fresh state. In other words, the priority orders of unmatched elements remain independent and uniform, since consulting an element’s order immediately matches that element, leaving the orders of all remaining unmatched elements untouched.
Observation 6.4. Let ( π , Ω ~ ) (\pi,\widetilde{\Omega}) ( π , Ω ) be a fresh state and let T T T be a decision tree with ∣ π ∣ + ( a + 1 ) height ( T ) ≤ N |\pi|+(a+1)\operatorname{height}(T)\le N ∣ π ∣ + ( a + 1 ) height ( T ) ≤ N (so that T ω ( π ) T^{\omega}(\pi) T ω ( π ) is well-defined). Let π ′ ⊇ π \pi' \supseteq\pi π ′ ⊇ π be such that Pr ω ∼ Ω ~ [ T ω ( π ) = π ′ ] > 0 \Pr_{\omega\sim\widetilde{\Omega}}[T^{\omega}(\pi)=\pi']>0 Pr ω ∼ Ω [ T ω ( π ) = π ′ ] > 0 , and let Ω ′ \Omega' Ω ′ be the distribution of ω ∼ Ω ~ \omega\sim\widetilde{\Omega} ω ∼ Ω conditioned on T ω ( π ) = π ′ T^{\omega}(\pi)=\pi' T ω ( π ) = π ′ . Then ( π ′ , Ω ′ ) (\pi',\Omega') ( π ′ , Ω ′ ) is a fresh state.
The main technical lemma underlying the proof of Theorem 6.3 :
Lemma 6.5 (Swapping Orders). Fix a fresh state ( π , Ω ~ ) (\pi,\widetilde{\Omega}) ( π , Ω ) and two decision trees T 1 , T 2 T_1,T_2 T 1 , T 2 of heights at most h 1 , h 2 h_1,h_2 h 1 , h 2 , respectively. If ∣ π ∣ + ( a + 1 ) ( h 1 + h 2 ) < N |\pi|+(a+1)(h_1+h_2)<N ∣ π ∣ + ( a + 1 ) ( h 1 + h 2 ) < N , then
Pr ω ∼ Ω ~ [ ( T 1 ∘ T 2 ) ω ( π ) ≠ ( T 2 ∘ T 1 ) ω ( π ) ] ≤ 2 ( a + 1 ) 2 h 1 h 2 N − ∣ π ∣ − ( a + 1 ) ( h 1 + h 2 ) . \Pr_{\omega\sim\widetilde{\Omega}}\left[(T_1\circ T_2)^{\omega}(\pi)\ne(T_2\circ T_1)^{\omega}(\pi)\right]\le\frac{2(a+1)^2h_1h_2}{N-|\pi|-(a+1)(h_1+h_2)}. ω ∼ Ω Pr [ ( T 1 ∘ T 2 ) ω ( π ) = ( T 2 ∘ T 1 ) ω ( π ) ] ≤ N − ∣ π ∣ − ( a + 1 ) ( h 1 + h 2 ) 2 ( a + 1 ) 2 h 1 h 2 .
Proof. We will start by proving the lemma assuming it holds in the special case h 1 = h 2 = 1 h_1=h_2=1 h 1 = h 2 = 1 . At the very end we prove it in this special case. Define a “schedule” to be a string σ ∈ { 1 , 2 } h 1 + h 2 \sigma\in\{1,2\}^{h_1+h_2} σ ∈ { 1 , 2 } h 1 + h 2 which has exactly h 1 h_1 h 1 1’s and h 2 h_2 h 2 2’s. We say that σ , σ ′ \sigma,\sigma' σ , σ ′ are adjacent schedules if there is some index i < h 1 + h 2 i<h_1+h_2 i < h 1 + h 2 such that ( σ i , σ i + 1 ) = ( σ i + 1 ′ , σ i ′ ) (\sigma_i,\sigma_{i+1})=(\sigma'_{i+1},\sigma'_i) ( σ i , σ i + 1 ) = ( σ i + 1 ′ , σ i ′ ) and σ j = σ j ′ \sigma_j=\sigma'_j σ j = σ j ′ for all j ∉ { i , i + 1 } j\notin\{i,i+1\} j ∈ / { i , i + 1 } . For a schedule σ \sigma σ , we define a decision tree T σ T_\sigma T σ as follows. T σ T_\sigma T σ starts by performing the first query of T σ 1 T_{\sigma_1} T σ 1 , and maintains the node reached in T σ 1 T_{\sigma_1} T σ 1 after that query. It then performs the next query of T σ 2 T_{\sigma_2} T σ 2 (if σ 1 = σ 2 \sigma_1=\sigma_2 σ 1 = σ 2 this is the second step in the same tree, otherwise it is the first step in the other tree) and maintains the node reached in that tree; this continues on for each i ∈ [ h 1 + h 2 ] i\in[h_1+h_2] i ∈ [ h 1 + h 2 ] . If a leaf in one tree T b T_b T b is reached before the h 1 + h 2 h_1+h_2 h 1 + h 2 phases are complete, then on all subsequent steps i i i with σ i = b \sigma_i=b σ i = b we perform no further step in round i i i . We will argue that, whenever σ , σ ′ \sigma,\sigma' σ , σ ′ are adjacent schedules, we must have
Pr ω ∼ Ω ~ [ T σ ω ( π ) ≠ T σ ′ ω ( π ) ] ≤ 2 ( a + 1 ) 2 N − ∣ π ∣ − ( a + 1 ) ( h 1 + h 2 ) . (13) \Pr_{\omega\sim\widetilde{\Omega}}\left[T_\sigma^{\omega}(\pi)\ne T_{\sigma'}^{\omega}(\pi)\right]\le\frac{2(a+1)^2}{N-|\pi|-(a+1)(h_1+h_2)}. \tag*{(13)} ω ∼ Ω Pr [ T σ ω ( π ) = T σ ′ ω ( π ) ] ≤ N − ∣ π ∣ − ( a + 1 ) ( h 1 + h 2 ) 2 ( a + 1 ) 2 . (13)
This will immediately yield the lemma, since T 1 ∘ T 2 = T 1 h 1 T 2 h 2 T_1\circ T_2=T_1^{h_1}T_2^{h_2} T 1 ∘ T 2 = T 1 h 1 T 2 h 2 , T 2 ∘ T 1 = T 2 h 2 T 1 h 1 T_2\circ T_1=T_2^{h_2}T_1^{h_1} T 2 ∘ T 1 = T 2 h 2 T 1 h 1 , and the schedule 1 h 1 2 h 2 1^{h_1}2^{h_2} 1 h 1 2 h 2 can be transformed into the schedule 2 h 2 1 h 1 2^{h_2}1^{h_1} 2 h 2 1 h 1 by passing through a sequence of adjacent schedules of length h 1 h 2 + 1 h_1h_2+1 h 1 h 2 + 1 . We now claim that (13) follows from the special case of the current lemma with h 1 = h 2 = 1 h_1=h_2=1 h 1 = h 2 = 1 . To see this, say that σ , σ ′ \sigma,\sigma' σ , σ ′ are adjacent along i , i + 1 i,i+1 i , i + 1 . If we can show that after the first i + 1 i+1 i + 1 steps the partial injections generated by T σ ω ( π ) T_\sigma^{\omega}(\pi) T σ ω ( π ) and T σ ′ ω ( π ) T_{\sigma'}^{\omega}(\pi) T σ ′ ω ( π ) are identical then it will obviously hold for the remaining steps (corresponding to indices where σ , σ ′ \sigma,\sigma' σ , σ ′ are equal); we can hence prune the remaining steps, or equivalently, assume i = h 1 + h 2 − 1 i=h_1+h_2-1 i = h 1 + h 2 − 1 . So assume now i = h 1 + h 2 − 1 i=h_1+h_2-1 i = h 1 + h 2 − 1 , and let Q Q Q be the truncation of T σ T_\sigma T σ to the first h 1 + h 2 − 2 h_1+h_2-2 h 1 + h 2 − 2 phases of the joint σ \sigma σ -scheduled simulation of T 1 , T 2 T_1,T_2 T 1 , T 2 and let Ω ′ \Omega' Ω ′ be the distribution of ω ∼ Ω ~ \omega\sim\widetilde{\Omega} ω ∼ Ω conditioned on some fixing of the value π ′ = Q ω ( π ) \pi'=Q^{\omega}(\pi) π ′ = Q ω ( π ) . We see that there is a pair of trees Q 1 , Q 2 Q_1,Q_2 Q 1 , Q 2 of height at most one, so that T σ ω ( π ) = ( Q 1 ∘ Q 2 ) ω ( π ′ ) T_\sigma^{\omega}(\pi)=(Q_1\circ Q_2)^{\omega}(\pi') T σ ω ( π ) = ( Q 1 ∘ Q 2 ) ω ( π ′ ) and T σ ′ ω ( π ) = ( Q 2 ∘ Q 1 ) ω ( π ′ ) T_{\sigma'}^{\omega}(\pi)=(Q_2\circ Q_1)^{\omega}(\pi') T σ ′ ω ( π ) = ( Q 2 ∘ Q 1 ) ω ( π ′ ) . For this conditioning, we have that ( π ′ , Ω ′ ) (\pi',\Omega') ( π ′ , Ω ′ ) is a fresh state, and hence we may apply the height-one case of the current lemma and conclude
Pr ω ∼ Ω ′ [ T σ ω ( π ) ≠ T σ ′ ω ( π ) ] ≤ Pr ω ∼ Ω ′ [ ( Q 1 ∘ Q 2 ) ω ( π ′ ) ≠ ( Q 2 ∘ Q 1 ) ω ( π ′ ) ] ≤ 2 ( a + 1 ) 2 N − ∣ π ′ ∣ − 2 ( a + 1 ) ≤ 2 ( a + 1 ) 2 N − ∣ π ∣ − ( a + 1 ) ( h 1 + h 2 ) \begin{aligned}
\Pr_{\omega\sim\Omega'}\left[T_\sigma^{\omega}(\pi)\ne T_{\sigma'}^{\omega}(\pi)\right]\le\Pr_{\omega\sim\Omega'}\left[(Q_1\circ Q_2)^{\omega}(\pi')\ne(Q_2\circ Q_1)^{\omega}(\pi')\right] \\
&\le\frac{2(a+1)^2}{N-|\pi'|-2(a+1)}\le\frac{2(a+1)^2}{N-|\pi|-(a+1)(h_1+h_2)}
\end{aligned} ω ∼ Ω ′ Pr [ T σ ω ( π ) = T σ ′ ω ( π ) ] ≤ ω ∼ Ω ′ Pr [ ( Q 1 ∘ Q 2 ) ω ( π ′ ) = ( Q 2 ∘ Q 1 ) ω ( π ′ ) ] ≤ N − ∣ π ′ ∣ − 2 ( a + 1 ) 2 ( a + 1 ) 2 ≤ N − ∣ π ∣ − ( a + 1 ) ( h 1 + h 2 ) 2 ( a + 1 ) 2
using ∣ π ′ ∣ ≤ ∣ π ∣ + ( a + 1 ) ( h 1 + h 2 − 2 ) |\pi'|\le|\pi|+(a+1)(h_1+h_2-2) ∣ π ′ ∣ ≤ ∣ π ∣ + ( a + 1 ) ( h 1 + h 2 − 2 ) . Averaging this bound over our conditioning establishes (13) and hence finishes the proof of the general case (assuming the special case).
It remains to prove the special case h 1 = h 2 = 1 h_1=h_2=1 h 1 = h 2 = 1 . Say T 1 , T 2 T_1,T_2 T 1 , T 2 each have height exactly 1 (the lemma is trivial if one has height zero). Say that T 1 T_1 T 1 makes a query to f 1 ( x ⃗ ) f_1(\vec{x}) f 1 ( x ) for a function symbol f 1 f_1 f 1 of arity d 1 d_1 d 1 , x ˉ ∈ [ N ] d 1 \bar{x} \in[N]^{d_1} x ˉ ∈ [ N ] d 1 , and T 2 T_2 T 2 makes a query to f 2 ( z ˉ ) f_2(\bar{z}) f 2 ( z ˉ ) for a function symbol f 2 f_2 f 2 of arity d 2 d_2 d 2 , z ˉ ∈ [ N ] d 2 \bar{z} \in[N]^{d_2} z ˉ ∈ [ N ] d 2 (querying constant symbols is treated as the special case of an arity zero function). In the execution of T 1 ∘ T 2 T_1 \circ T_2 T 1 ∘ T 2 , there are ( d 1 + 1 ) + ( d 2 + 1 ) (d_1+1)+(d_2+1) ( d 1 + 1 ) + ( d 2 + 1 ) “basic matching operations” that must be performed: first we must pair each of x 1 , … , x d 1 ∈ [ N ] x_1,\ldots,x_{d_1} \in[N] x 1 , … , x d 1 ∈ [ N ] with elements in S S S , then pair f 1 M ( π ( x 1 ) , … , π ( x d 1 ) ) f_1^{\mathcal{M}}(\pi(x_1),\ldots,\pi(x_{d_1})) f 1 M ( π ( x 1 ) , … , π ( x d 1 )) with an element of [ N ] [N] [ N ] , and then repeat the same process for f 2 f_2 f 2 . We will apply the same reasoning here as we did in the general case above: if we can analyze the process of swapping two adjacent basic matching operations, and prove that the probability of such a swap starting from a current matching π \pi π will change the outcome with probability at most 2 N − ∣ π ∣ \frac{2}{N-|\pi|} N − ∣ π ∣ 2 , then we can consider a sequence of ( d 1 + 1 ) ( d 2 + 1 ) ≤ ( a + 1 ) 2 (d_1+1)(d_2+1) \le(a+1)^2 ( d 1 + 1 ) ( d 2 + 1 ) ≤ ( a + 1 ) 2 of these swaps taking us from T 1 ∘ T 2 T_1 \circ T_2 T 1 ∘ T 2 to T 2 ∘ T 1 T_2 \circ T_1 T 2 ∘ T 1 and apply a union bound. Clearly freshness is preserved by these basic matching operations. At each step, the matching π ′ ⊇ π \pi' \supseteq\pi π ′ ⊇ π we obtain after applying some basic matching operations satisfies ∣ π ′ ∣ ≤ ∣ π ∣ + d 1 + d 2 + 2 ≤ ∣ π ∣ + 2 ( a + 1 ) |\pi'| \le|\pi|+d_1+d_2+2 \le|\pi|+2(a+1) ∣ π ′ ∣ ≤ ∣ π ∣ + d 1 + d 2 + 2 ≤ ∣ π ∣ + 2 ( a + 1 ) ; so overall we get the desired bound
2 ( d 1 + 1 ) ( d 2 + 1 ) N − ∣ π ∣ − 2 ( a + 1 ) ≤ 2 ( a + 1 ) 2 N − ∣ π ∣ − 2 ( a + 1 ) \frac{2(d_1+1)(d_2+1)}{N-|\pi|-2(a+1)} \le\frac{2(a+1)^2}{N-|\pi|-2(a+1)} N − ∣ π ∣ − 2 ( a + 1 ) 2 ( d 1 + 1 ) ( d 2 + 1 ) ≤ N − ∣ π ∣ − 2 ( a + 1 ) 2 ( a + 1 ) 2
on the probability that ( T 1 ∘ T 2 ) ω ( π ) ≠ ( T 2 ∘ T 1 ) ω ( π ) (T_1 \circ T_2)^\omega(\pi) \ne(T_2 \circ T_1)^\omega(\pi) ( T 1 ∘ T 2 ) ω ( π ) = ( T 2 ∘ T 1 ) ω ( π ) .
To finish the proof we need to analyze a single swap of two basic matching operations. Say that π \pi π is a current matching, and the next two moves demand that we first extend π \pi π to pair α \alpha α , and then further extend it to pair β \beta β , for some α , β ∈ [ N ] ∪ U \alpha,\beta\in[N] \cup\mathcal{U} α , β ∈ [ N ] ∪ U . Obviously we may assume both α , β \alpha,\beta α , β are currently unpaired in π \pi π . If α , β ∈ [ N ] \alpha,\beta\in[N] α , β ∈ [ N ] or α , β ∈ U \alpha,\beta\in\mathcal{U} α , β ∈ U and α ≠ β \alpha\ne\beta α = β then the swap will only have consequence if, starting from the initial matching π \pi π , both α \alpha α and β \beta β would prefer the same partner γ \gamma γ . This requires that ω α , ω β \omega_\alpha,\omega_\beta ω α , ω β have the same least element unpaired in π \pi π ; by the freshness of the state ( π , Ω ~ ) (\pi,\widetilde{\Omega}) ( π , Ω ) this happens with probability at most 1 N − ∣ π ∣ \frac{1}{N-|\pi|} N − ∣ π ∣ 1 . If α = β \alpha=\beta α = β then clearly the swap has no effect. On the other hand, say that α ∈ [ N ] , β ∈ U \alpha\in[N],\beta\in\mathcal{U} α ∈ [ N ] , β ∈ U ; let Y ∈ U , y ∈ [ N ] Y \in\mathcal{U}, y \in[N] Y ∈ U , y ∈ [ N ] be their preferred mates according to ω \omega ω (computed with respect to π \pi π ); then a swap will only have an effect when either β = Y \beta=Y β = Y or α = y \alpha=y α = y . Each of these events occurs with probability at most 1 N − ∣ π ∣ \frac{1}{N-|\pi|} N − ∣ π ∣ 1 , and hence the swap will have an effect with probability at most 2 N − ∣ π ∣ \frac{2}{N-|\pi|} N − ∣ π ∣ 2 . The case α ∈ U , β ∈ [ N ] \alpha\in\mathcal{U},\beta\in[N] α ∈ U , β ∈ [ N ] is identical.
At this point we are ready to prove Theorem 6.3 .
Proof of Theorem 6.3 . As per the discussion above, it suffices to prove that with nonzero probability, the following inequalities hold for all i ≤ m i \le m i ≤ m :
p i = p i e m p (14) p_i=p_i^{\mathrm{emp}} \tag*{(14)} p i = p i emp (14)
∣ p i e m p − p i t r u e ∣ ≤ ϵ 4 (15) \left|p_i^{\mathrm{emp}}-p_i^{\mathrm{true}}\right| \le\frac{\epsilon}{4} \tag*{(15)} p i emp − p i true ≤ 4 ϵ (15)
∣ p i t r u e − p i f i n a l ∣ ≤ ϵ 4 (16) \left|p_i^{\mathrm{true}}-p_i^{\mathrm{final}}\right| \le\frac{\epsilon}{4} \tag*{(16)} p i true − p i final ≤ 4 ϵ (16)
We will show that for each i i i , each inequality holds with probability > 1 − 1 3 m >1-\frac{1}{3m} > 1 − 3 m 1 and then take a union bound. For the remainder of the argument, we will fix some particular inspector strategy once and for all. For a single such choice of strategy, we have that T i \mathcal{T}_i T i is a deterministic function of ω \omega ω and the subsampling randomness used through the first i − 1 i-1 i − 1 rounds.
We start with (2) which is easiest; this does not require Lemma 6.5 and instead follows directly from a concentration bound for an appropriate choice of s s s . Condition on ω \omega ω and the choice of subsampling randomness through the first i − 1 i-1 i − 1 rounds. The summands defining p i e m p p_i^{\mathrm{emp}} p i emp are independent Bernoulli variables with mean p i t r u e p_i^{\mathrm{true}} p i true ; by Hoeffding, we have Pr [ ∣ p i e m p − p i t r u e ∣ ≥ ϵ 4 ] ≤ 2 e − s ϵ 2 / 8 \Pr[|p_i^{\mathrm{emp}}-p_i^{\mathrm{true}}| \ge\frac{\epsilon}{4}] \le2e^{-s\epsilon^2/8} Pr [ ∣ p i emp − p i true ∣ ≥ 4 ϵ ] ≤ 2 e − s ϵ 2 /8 . Setting s = ⌈ 8 ϵ − 2 ln ( 12 m ) ⌉ s=\lceil8\epsilon^{-2}\ln(12m)\rceil s = ⌈ 8 ϵ − 2 ln ( 12 m )⌉ , we have 2 e − s ϵ 2 / 8 ≤ 1 6 m < 1 3 m 2e^{-s\epsilon^2/8} \le\frac{1}{6m}<\frac{1}{3m} 2 e − s ϵ 2 /8 ≤ 6 m 1 < 3 m 1 . We also note that for this setting of s s s and our assumption on N N N , we have N ≥ ( a + 1 ) ( m s + 1 ) h max N \ge(a+1)(ms+1)h_{\max} N ≥ ( a + 1 ) ( m s + 1 ) h m a x , where h max = ( m s + 1 ) h h_{\max}=(ms+1)h h m a x = ( m s + 1 ) h upper bounds the maximum height of any decision tree T T T considered in the remainder of this proof; this will guarantee that for all trees T T T and matchings π \pi π we consider, T ω ( π ) T^\omega(\pi) T ω ( π ) is well-defined.
We now turn to (1). Condition on π i − 1 \pi_{i-1} π i − 1 and all subsampling randomness used through round i i i ; we claim that this conditioning amounts to some fresh state ( π i − 1 , Ω ~ ) (\pi_{i-1},\widetilde{\Omega}) ( π i − 1 , Ω ) . This follows from the fact play of the game across the first i − 1 i-1 i − 1 rounds (once the subsampling randomness has been fixed) amounts precisely to the execution of some decision tree Q < i Q_{<i} Q < i of depth ≤ ( i − 1 ) h s \le(i-1)hs ≤ ( i − 1 ) h s on ω ∼ Ω \omega\sim\Omega ω ∼ Ω starting from π 0 \pi_0 π 0 7 using Observation 6.4 . It will suffice to show that for each j ≤ s j \le s j ≤ s , with probability > 1 − 1 3 m s >1-\frac{1}{3ms} > 1 − 3 m s 1 over ω ∼ Ω ~ \omega\sim\widetilde{\Omega} ω ∼ Ω , out ω ( T i , j , π i − 1 ) = out ω ( T i , j , π i ) \operatorname{out}^{\omega}(T_{i,j},\pi_{i-1})=\operatorname{out}^{\omega}(T_{i,j},\pi_i) out ω ( T i , j , π i − 1 ) = out ω ( T i , j , π i ) ; taking a union bound over j ≤ s j \le s j ≤ s will then give (1). We consider the two trees
T = T i , 1 ∘ ⋯ ∘ T i , s , T ′ = T i , j ∘ T i , 1 ∘ ⋯ T i , j − 1 ∘ T i , j + 1 ∘ ⋯ ∘ T i , s T=T_{i,1}\circ\cdots\circ T_{i,s},\qquad T'=T_{i,j}\circ T_{i,1}\circ\cdots T_{i,j-1}\circ T_{i,j+1}\circ\cdots\circ T_{i,s} T = T i , 1 ∘ ⋯ ∘ T i , s , T ′ = T i , j ∘ T i , 1 ∘ ⋯ T i , j − 1 ∘ T i , j + 1 ∘ ⋯ ∘ T i , s
If we can prove that Pr ω ∼ Ω ~ [ T ω ( π i − 1 ) ≠ T ′ ω ( π i − 1 ) ] < 1 3 m s \Pr_{\omega\sim\widetilde{\Omega}}[T^{\omega}(\pi_{i-1})\ne T'^{\omega}(\pi_{i-1})]<\frac{1}{3ms} Pr ω ∼ Ω [ T ω ( π i − 1 ) = T ′ ω ( π i − 1 )] < 3 m s 1 then we are done. This follows directly from Lemma 6.5 ; we are simply swapping the order of T i , 1 ∘ ⋯ ∘ T i , j − 1 T_{i,1}\circ\cdots\circ T_{i,j-1} T i , 1 ∘ ⋯ ∘ T i , j − 1 and T i , j T_{i,j} T i , j , and the remaining suffix T i , j + 1 ∘ ⋯ ∘ T i , s T_{i,j+1}\circ\cdots\circ T_{i,s} T i , j + 1 ∘ ⋯ ∘ T i , s has no effect. We can apply this lemma provided N > ( a + 1 ) m s h + 6 ( a + 1 ) 2 m s ( s − 1 ) h 2 N>(a+1)msh+6(a+1)^2ms(s-1)h^2 N > ( a + 1 ) m s h + 6 ( a + 1 ) 2 m s ( s − 1 ) h 2 which follows from the Theorem’s assumptions and our choice of s s s .
We now turn to (3); the argument here is similar. Fix all subsampling randomness used throughout all m m m rounds; we will argue that the bound in (3) holds for every conditioning of the subsampling randomness, and hence on average over it. Now, as in (1) we condition on π i − 1 \pi_{i-1} π i − 1 ; such conditioning again amounts to a fresh state ( π i − 1 , Ω ~ ) (\pi_{i-1},\widetilde{\Omega}) ( π i − 1 , Ω ) . By the same argument used above to define Q < i Q_{<i} Q < i , we can determine that there is a decision tree Q ≥ i Q_{\ge i} Q ≥ i (depending on our particular choice of π i − 1 \pi_{i-1} π i − 1 ) of height at most ( m − i + 1 ) s h (m-i+1)sh ( m − i + 1 ) s h such that π m = Q ≥ i ω ( π i − 1 ) \pi_m=Q_{\ge i}^{\omega}(\pi_{i-1}) π m = Q ≥ i ω ( π i − 1 ) . Observe that T i T_i T i is completely determined (since π i − 1 \pi_{i-1} π i − 1 has been fixed). Now, our goal is to show that with probability > 1 − 1 3 m >1-\frac{1}{3m} > 1 − 3 m 1 over ω ∼ Ω ~ \omega\sim\widetilde{\Omega} ω ∼ Ω , we have:
∣ E T i ∼ T i [ out ω ( T i , π i − 1 ) ] − E T i ∼ T i [ out ω ( T i , π m ) ] ∣ ≤ ϵ 4 \left|\mathbb{E}_{T_i\sim\mathcal{T}_i}[\operatorname{out}^{\omega}(T_i,\pi_{i-1})]-\mathbb{E}_{T_i\sim\mathcal{T}_i}[\operatorname{out}^{\omega}(T_i,\pi_m)]\right|\le\frac{\epsilon}{4} ∣ E T i ∼ T i [ out ω ( T i , π i − 1 )] − E T i ∼ T i [ out ω ( T i , π m )] ∣ ≤ 4 ϵ
By Markov, to prove this it will suffice to show:
Pr ω ∼ Ω ~ , T i ∼ T i [ out ω ( T i , π i − 1 ) ≠ out ω ( T i , π m ) ] < ϵ 12 m \Pr_{\omega\sim\widetilde{\Omega},T_i\sim\mathcal{T}_i}[\operatorname{out}^{\omega}(T_i,\pi_{i-1})\ne\operatorname{out}^{\omega}(T_i,\pi_m)]<\frac{\epsilon}{12m} ω ∼ Ω , T i ∼ T i Pr [ out ω ( T i , π i − 1 ) = out ω ( T i , π m )] < 12 m ϵ
where π m \pi_m π m implicitly depends on ω \omega ω in the above expression. We show the above for every fixed choice of T i T_i T i . Applying Lemma 6.5 , we know that ( T i ∘ Q ≥ i ) ω ( π i − 1 ) = ( Q ≥ i ∘ T i ) ω ( π i − 1 ) (T_i\circ Q_{\ge i})^{\omega}(\pi_{i-1})=(Q_{\ge i}\circ T_i)^{\omega}(\pi_{i-1}) ( T i ∘ Q ≥ i ) ω ( π i − 1 ) = ( Q ≥ i ∘ T i ) ω ( π i − 1 ) holds with probability > 1 − ϵ 12 m >1-\frac{\epsilon}{12m} > 1 − 12 m ϵ over ω ∼ Ω ~ \omega\sim\widetilde{\Omega} ω ∼ Ω , provided N > ( a + 1 ) ( m s + 1 ) h + 24 ( a + 1 ) 2 m 2 s h 2 ϵ − 1 N>(a+1)(ms+1)h+24(a+1)^2m^2sh^2\epsilon^{-1} N > ( a + 1 ) ( m s + 1 ) h + 24 ( a + 1 ) 2 m 2 s h 2 ϵ − 1 which follows from the Theorem’s assumptions and our choice of s s s . This gives the desired result, since if ( T i ∘ Q ≥ i ) ω ( π i − 1 ) = ( Q ≥ i ∘ T i ) ω ( π i − 1 ) = π (T_i\circ Q_{\ge i})^{\omega}(\pi_{i-1})=(Q_{\ge i}\circ T_i)^{\omega}(\pi_{i-1})=\pi ( T i ∘ Q ≥ i ) ω ( π i − 1 ) = ( Q ≥ i ∘ T i ) ω ( π i − 1 ) = π , then π \pi π determines the path traversed in T i ω T_i^{\omega} T i ω during both executions, and hence this path must agree in both. In the first execution, we run T i T_i T i directly on π i − 1 \pi_{i-1} π i − 1 using ω \omega ω and hence trace a path to a leaf in T i T_i T i labeled out ω ( T i , π i − 1 ) \operatorname{out}^{\omega}(T_i,\pi_{i-1}) out ω ( T i , π i − 1 ) ; in the second, we first run Q ≥ i Q_{\ge i} Q ≥ i on π i − 1 \pi_{i-1} π i − 1 using ω \omega ω , which yields π m \pi_m π m , and then trace a path through T i T_i T i starting at π m \pi_m π m using ω \omega ω , which reaches a leaf labeled out ω ( T i , π m ) \operatorname{out}^{\omega}(T_i,\pi_m) out ω ( T i , π m ) . Hence we must have out ω ( T i , π i − 1 ) = out ω ( T i , π m ) \operatorname{out}^{\omega}(T_i,\pi_{i-1})=\operatorname{out}^{\omega}(T_i,\pi_m) out ω ( T i , π i − 1 ) = out ω ( T i , π m ) .
Auxiliary Results for the Reduction to Quantifier-Free Formulas
We first recall some basic definitions. Let ϕ ( x 1 , … , x k ) \phi(x_1,\ldots,x_k) ϕ ( x 1 , … , x k ) be a formula over the language L \mathcal{L} L . The Herbrand normal form of ϕ \phi ϕ is defined as follows. We first convert ϕ \phi ϕ into prenex normal form, say
⊢ F O ϕ ( x ‾ ) ↔ ∀ y 1 ∃ y 2 … ∀ y ℓ ψ ( x ‾ , y 1 , … , y ℓ ) , \vdash_{\mathrm{FO}}\phi(\overline{x})\leftrightarrow\forall y_1\exists y_2\ldots\forall y_{\ell}\,\psi(\overline{x},y_1,\ldots,y_{\ell}), ⊢ FO ϕ ( x ) ↔ ∀ y 1 ∃ y 2 … ∀ y ℓ ψ ( x , y 1 , … , y ℓ ) ,
where ψ \psi ψ is a quantifier-free L \mathcal{L} L -formula. Let f 1 , f 3 , … , f ℓ f_1,f_3,\ldots,f_{\ell} f 1 , f 3 , … , f ℓ be new function symbols. The Herbrand normal form of ϕ \phi ϕ , denoted HNF ( ϕ ) \operatorname{HNF}(\phi) HNF ( ϕ ) , is defined as the formula
∃ y 2 ∃ y 4 … ∃ y ℓ − 1 ψ ( x ‾ , f 1 ( x ‾ ) , y 2 , f 3 ( x ‾ , y 2 ) , … , f ℓ ( x ‾ , y 2 , y 4 , … , y ℓ − 1 ) ) \exists y_2\exists y_4\ldots\exists y_{\ell-1}\,\psi\left(\overline{x},f_1(\overline{x}),y_2,f_3(\overline{x},y_2),\ldots,f_{\ell}(\overline{x},y_2,y_4,\ldots,y_{\ell-1})\right) ∃ y 2 ∃ y 4 … ∃ y ℓ − 1 ψ ( x , f 1 ( x ) , y 2 , f 3 ( x , y 2 ) , … , f ℓ ( x , y 2 , y 4 , … , y ℓ − 1 ) )
in the language L H N F ≜ L ∪ { f 1 , f 3 , … , f ℓ } \mathcal{L}_{\mathrm{HNF}} \triangleq\mathcal{L} \cup\{f_1,f_3,\ldots,f_\ell\} L HNF ≜ L ∪ { f 1 , f 3 , … , f ℓ } . We will need the following basic properties of first-order logic.
Proposition 6.6. ∀ x ‾ ¬ ϕ ( x ‾ ) \forall\overline{x}\,\neg\phi(\overline{x}) ∀ x ¬ ϕ ( x ) has a model over the universe U U U iff ∀ x ‾ ¬ HNF ( ϕ ) \forall\overline{x}\,\neg\operatorname{HNF}(\phi) ∀ x ¬ HNF ( ϕ ) has a model over the universe U U U . In particular, ∀ x ‾ ¬ ϕ ( x ‾ ) \forall\overline{x}\,\neg\phi(\overline{x}) ∀ x ¬ ϕ ( x ) has an infinite model iff ∀ x ‾ ¬ HNF ( ϕ ) \forall\overline{x}\,\neg\operatorname{HNF}(\phi) ∀ x ¬ HNF ( ϕ ) has an infinite model.
Proof. We may assume without loss of generality that ϕ \phi ϕ is in prenex normal form, as logically equivalent formulas have the same truth value over any model.
The (if) direction is straightforward: the model M \mathcal{M} M for ∀ x ‾ ¬ HNF ( ϕ ) \forall\overline{x}\,\neg\operatorname{HNF}(\phi) ∀ x ¬ HNF ( ϕ ) is also a model for ∀ x ‾ ¬ ϕ ( x ‾ ) \forall\overline{x}\,\neg\phi(\overline{x}) ∀ x ¬ ϕ ( x ) by removing the interpretations for f 1 , f 3 , … , f ℓ f_1,f_3,\ldots,f_\ell f 1 , f 3 , … , f ℓ on the same universe. For the (only if) direction, we consider the simplified case where ϕ ( x ‾ ) ≜ ∀ y 1 ∃ y 2 ψ ( x ‾ , y 1 , y 2 ) \phi(\overline{x}) \triangleq\forall y_1\,\exists y_2\,\psi(\overline{x},y_1,y_2) ϕ ( x ) ≜ ∀ y 1 ∃ y 2 ψ ( x , y 1 , y 2 ) , and the general case can be proved analogously. Assume that M \mathcal{M} M is a model for ∀ x ‾ ¬ ϕ ( x ‾ ) \forall\overline{x}\,\neg\phi(\overline{x}) ∀ x ¬ ϕ ( x ) . Then, by definition, for every x ‾ ∗ \overline{x}^{*} x ∗ in the universe U U U , there is an y 1 ∗ ∈ U y_1^{*} \in U y 1 ∗ ∈ U such that for every y 2 ∗ ∈ U y_2^{*} \in U y 2 ∗ ∈ U , ψ M ( x ‾ ∗ , y 1 ∗ , y 2 ∗ ) \psi^{\mathcal{M}}(\overline{x}^{*},y_1^{*},y_2^{*}) ψ M ( x ∗ , y 1 ∗ , y 2 ∗ ) does not hold. Let f 1 ∗ f_1^{*} f 1 ∗ be any function that fixes some y 1 ∗ ∈ U y_1^{*} \in U y 1 ∗ ∈ U satisfying the above given x ‾ ∗ \overline{x}^{*} x ∗ . Then, by definition, M \mathcal{M} M augmented with the interpretation f 1 ↦ f 1 ∗ f_1 \mapsto f_1^{*} f 1 ↦ f 1 ∗ is a model for ∀ x ‾ ¬ HNF ( ϕ ) \forall\overline{x}\,\neg\operatorname{HNF}(\phi) ∀ x ¬ HNF ( ϕ ) . This completes the proof.
Proposition 6.7 ([29 Remark 2.15] ). ⊢ F O ϕ → HNF ( ϕ ) \vdash_{\mathrm{FO}}\ \phi\to\operatorname{HNF}(\phi) ⊢ FO ϕ → HNF ( ϕ ) .
Let ϕ ( x 1 , … , x k ) \phi(x_1,\ldots,x_k) ϕ ( x 1 , … , x k ) be any formula in the language L \mathcal{L} L with equality. Following the notation from § 1.2.3 , we define
Θ ϕ ≜ ∀ N ≥ 1 ( Closed L ^ ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) . \Theta_\phi\triangleq\forall N \geq1\left(\operatorname{Closed}_{\widehat{\mathcal{L}}}(N) \to\exists x_1,\ldots,x_k < N\ \phi^{[N]}(x_1,\ldots,x_k)\right). Θ ϕ ≜ ∀ N ≥ 1 ( Closed L ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) .
Proposition 6.8. ⊢ F O Θ ϕ → Θ HNF ( ϕ ) \vdash_{\mathrm{FO}}\ \Theta_\phi\to\Theta_{\operatorname{HNF}(\phi)} ⊢ FO Θ ϕ → Θ HNF ( ϕ ) .
Proof. Let L H N F ≜ L ∪ { f 1 , f 3 , … , f ℓ } \mathcal{L}_{\mathrm{HNF}} \triangleq\mathcal{L} \cup\{f_1,f_3,\ldots,f_\ell\} L HNF ≜ L ∪ { f 1 , f 3 , … , f ℓ } be the language of HNF ( ϕ ) \operatorname{HNF}(\phi) HNF ( ϕ ) . Assume, towards a contradiction, that there is a model M = ( U , I ) \mathcal{M}=(U,I) M = ( U , I ) such that M ⊨ Θ ϕ \mathcal{M}\models\Theta_\phi M ⊨ Θ ϕ but M ⊭ Θ HNF ( ϕ ) \mathcal{M}\not\models\Theta_{\operatorname{HNF}(\phi)} M ⊨ Θ HNF ( ϕ ) . Consider any N ∗ ∈ M N^{*}\in\mathcal{M} N ∗ ∈ M such that M ⊨ N ∗ ≥ 1 \mathcal{M}\models N^{*}\geq1 M ⊨ N ∗ ≥ 1 and
M ⊨ Closed L ^ H N F ( N ∗ ) ∧ ∀ x 1 , … , x k < N ∗ ¬ HNF ( ϕ ) [ N ∗ ] ( x 1 , … , x k ) . \mathcal{M}\models\operatorname{Closed}_{\widehat{\mathcal{L}}_{\mathrm{HNF}}}(N^{*})\land\forall x_1,\ldots,x_k<N^{*}\ \neg\operatorname{HNF}(\phi)^{[N^{*}]}(x_1,\ldots,x_k). M ⊨ Closed L HNF ( N ∗ ) ∧ ∀ x 1 , … , x k < N ∗ ¬ HNF ( ϕ ) [ N ∗ ] ( x 1 , … , x k ) .
Since Closed L ^ H N F ( N ∗ ) \operatorname{Closed}_{\widehat{\mathcal{L}}_{\mathrm{HNF}}}(N^{*}) Closed L HNF ( N ∗ ) implies Closed L ^ ( N ∗ ) \operatorname{Closed}_{\widehat{\mathcal{L}}}(N^{*}) Closed L ( N ∗ ) , the assumption M ⊨ Θ ϕ \mathcal{M}\models\Theta_\phi M ⊨ Θ ϕ gives witnesses x 1 ∗ , … , x k ∗ < I N ∗ x_1^{*},\ldots,x_k^{*}<^{I}N^{*} x 1 ∗ , … , x k ∗ < I N ∗ such that M ⊨ ϕ [ N ∗ ] ( x 1 ∗ , … , x k ∗ ) \mathcal{M}\models\phi^{[N^{*}]}(x_1^{*},\ldots,x_k^{*}) M ⊨ ϕ [ N ∗ ] ( x 1 ∗ , … , x k ∗ ) .
Let U N ∗ ≜ { x ∈ U ∣ x < I N ∗ } U_{N^{*}}\triangleq\{x\in U\mid x<^{I}N^{*}\} U N ∗ ≜ { x ∈ U ∣ x < I N ∗ } . It can be verified that this set is nonempty: if k ≥ 1 k\geq1 k ≥ 1 , it contains x 1 ∗ x_1^{*} x 1 ∗ ; if k = 0 k=0 k = 0 , the first Herbrand symbol f 1 f_1 f 1 is a constant, and expanded closure gives f ^ 1 M ( N ∗ ) < I N ∗ \widehat{f}_1^{\mathcal{M}}(N^{*})<^{I}N^{*} f 1 M ( N ∗ ) < I N ∗ . Let I N ∗ : f ( ⋅ ) ↦ f ^ I ( N ∗ , ⋅ ) I_{N^{*}}: f(\cdot)\mapsto\widehat{f}^{I}(N^{*},\cdot) I N ∗ : f ( ⋅ ) ↦ f I ( N ∗ , ⋅ ) , where constants are treated with functions with no input. By the definition of finitary translation, M N ∗ ≜ ( U N ∗ , I N ∗ ) \mathcal{M}_{N^{*}}\triangleq(U_{N^{*}},I_{N^{*}}) M N ∗ ≜ ( U N ∗ , I N ∗ ) satisfies both ∀ x ‾ ¬ HNF ( ϕ ) ( x ‾ ) \forall\overline{x}\,\neg\operatorname{HNF}(\phi)(\overline{x}) ∀ x ¬ HNF ( ϕ ) ( x ) and ϕ ( x 1 ∗ , … , x k ∗ ) \phi(x_1^{*},\ldots,x_k^{*}) ϕ ( x 1 ∗ , … , x k ∗ ) . This leads to a contradiction with Proposition 6.7.
Corollary 6.9. Let L H N F ≜ L ∪ { f 1 , f 3 , … , f ℓ } \mathcal{L}_{\mathrm{HNF}}\triangleq\mathcal{L}\cup\{f_1,f_3,\ldots,f_\ell\} L HNF ≜ L ∪ { f 1 , f 3 , … , f ℓ } be the language of HNF ( ϕ ) \operatorname{HNF}(\phi) HNF ( ϕ ) , and let T ∈ { P V 1 , A P X 1 } T\in\{\mathrm{PV}_1,\mathrm{APX}_1\} T ∈ { PV 1 , APX 1 } . If T ( L ^ ) ⊢ Θ ϕ T(\widehat{\mathcal{L}})\vdash\Theta_\phi T ( L ) ⊢ Θ ϕ , then T ( L H N F ) ⊢ Θ HNF ( ϕ ) T(\mathcal{L}_{\mathrm{HNF}})\vdash\Theta_{\operatorname{HNF}(\phi)} T ( L HNF ) ⊢ Θ HNF ( ϕ ) .
Unprovability in APX1(L \mathcal{L} L )
In this section, we complete the proof of Theorem 1.9. Let ϕ ( x 1 , … , x k ) \phi(x_1,\ldots,x_k) ϕ ( x 1 , … , x k ) be a formula in the language L \mathcal{L} L (with equality) of arbitrary quantifier complexity, and write
Θ ϕ ≜ ∀ N ≥ 1 ( Closed L ^ ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) . \Theta_\phi\triangleq\forall N \geq1\left(\operatorname{Closed}_{\widehat{\mathcal{L}}}(N) \to\exists x_1,\ldots,x_k < N\ \phi^{[N]}(x_1,\ldots,x_k)\right). Θ ϕ ≜ ∀ N ≥ 1 ( Closed L ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) .
Assume that ∀ x 1 ⋯ ∀ x k ¬ ϕ ( x 1 , … , x k ) \forall x_1\cdots\forall x_k\,\neg\phi(x_1,\ldots,x_k) ∀ x 1 ⋯ ∀ x k ¬ ϕ ( x 1 , … , x k ) has an infinite model.
Lemma 6.10. Assume that Theorem 1.9 holds for all quantifier-free formulas ϕ \phi ϕ . Then Theorem 1.9 holds.
Proof. Let HNF ( ϕ ) ≜ ∃ y ˉ β ( x ˉ , y ˉ ) \operatorname{HNF}(\phi) \triangleq\exists\bar{y}\,\beta(\bar{x},\bar{y}) HNF ( ϕ ) ≜ ∃ y ˉ β ( x ˉ , y ˉ ) be the Herbrand normal form of ϕ \phi ϕ . Assume that A P X 1 ( L ^ ) ⊢ Θ ϕ \mathrm{APX}_{1}(\widehat{\mathcal{L}}) \vdash\Theta_{\phi} APX 1 ( L ) ⊢ Θ ϕ . We know by Corollary 6.9 that A P X 1 ( L ^ HNF ) ⊢ Θ HNF ( ϕ ) \mathrm{APX}_{1}(\widehat{\mathcal{L}}_{\operatorname{HNF}}) \vdash\Theta_{\operatorname{HNF}(\phi)} APX 1 ( L HNF ) ⊢ Θ HNF ( ϕ ) . By the definition of the finitary translation, we can see that Θ HNF ( ϕ ) \Theta_{\operatorname{HNF}(\phi)} Θ HNF ( ϕ ) and Θ β \Theta_{\beta} Θ β are logically equivalent, and thus A P X 1 ( L ^ HNF ) ⊢ Θ β \mathrm{APX}_{1}(\widehat{\mathcal{L}}_{\operatorname{HNF}}) \vdash\Theta_{\beta} APX 1 ( L HNF ) ⊢ Θ β .
Since by assumption Theorem 1.9 holds for any quantifier-free formula, applying it to the formula β \beta β shows that ∀ x ˉ ∀ y ˉ ¬ β ( x ˉ , y ˉ ) \forall\bar{x}\,\forall\bar{y}\,\neg\beta(\bar{x},\bar{y}) ∀ x ˉ ∀ y ˉ ¬ β ( x ˉ , y ˉ ) has no infinite model, or equivalently, ∀ x ˉ ¬ HNF ( ϕ ) \forall\bar{x}\,\neg\operatorname{HNF}(\phi) ∀ x ˉ ¬ HNF ( ϕ ) has no infinite model. By Proposition 6.6 , ∀ x ˉ ¬ ϕ \forall\bar{x}\,\neg\phi ∀ x ˉ ¬ ϕ also has no infinite model.
In the rest of the proof, we consider the case where ϕ \phi ϕ is a quantifier-free formula. We prove Theorem 1.9 (for quantifier-free ϕ \phi ϕ ) by showing that a proof of Θ ϕ \Theta_{\phi} Θ ϕ in A P X 1 ( L ^ ) \mathrm{APX}_{1}(\widehat{\mathcal{L}}) APX 1 ( L ) yields a winning inspector . In more detail, we call a play of the game G ϕ \mathcal{G}_{\phi} G ϕ (Definition 6.2 ) consistent if it satisfies the adversary’s conditions (2) and (3), i.e., deterministic consistency and mixture consistency , respectively. Our inspector forces every consistent play to end with a partial L \mathcal{L} L -structure witnessing ϕ \phi ϕ , thereby violating condition (1). Since this is in contradiction with Theorem 6.3 , it follows that A P X 1 ( L ^ ) ⊬ Θ ϕ \mathrm{APX}_{1}(\widehat{\mathcal{L}}) \nvdash\Theta_{\phi} APX 1 ( L ) ⊬ Θ ϕ , as desired.
Formally, we will prove the following result.
Lemma 6.11 (Proofs yield winning inspectors). Let ϕ \phi ϕ be a quantifier-free formula. If A P X 1 ( L ^ ) ⊢ Θ ϕ \mathrm{APX}_{1}(\widehat{\mathcal{L}}) \vdash\Theta_{\phi} APX 1 ( L ) ⊢ Θ ϕ , there is a polynomial Q ( n ) Q(n) Q ( n ) depending only on the proof such that the inspector wins
G ϕ ( 2 n ; Q ( n ) , Q ( n ) , 1 / Q ( n ) ) \mathcal{G}_{\phi}\left(2^{n}; Q(n), Q(n), 1/Q(n)\right) G ϕ ( 2 n ; Q ( n ) , Q ( n ) , 1/ Q ( n ) ) for every $n \ge 1.
First, we derive Theorem 1.9 from the lemma.
Proof of Theorem 1.9. By Lemma 6.10 , we may assume that ϕ \phi ϕ is quantifier-free. Suppose A P X 1 ( L ^ ) ⊢ Θ ϕ \mathrm{APX}_{1}(\widehat{\mathcal{L}}) \vdash\Theta_{\phi} APX 1 ( L ) ⊢ Θ ϕ , and take Q Q Q from Lemma 6.11 . Let a a a be the maximum arity in the original language L \mathcal{L} L , with a = 0 a=0 a = 0 if it contains only constants. Choose n n n sufficiently large such that
2 n ≥ 10 5 ( a + 1 ) 2 Q ( n ) 8 ( ln ( 2 Q ( n ) ) ) 2 . 2^{n} \ge10^{5}(a+1)^{2}Q(n)^{8}\bigl(\ln(2Q(n))\bigr)^{2}. 2 n ≥ 1 0 5 ( a + 1 ) 2 Q ( n ) 8 ( ln ( 2 Q ( n )) ) 2 .
The infinite model and Theorem 6.3 give a winning adversary in G ϕ ( 2 n ; Q ( n ) , Q ( n ) , 1 / Q ( n ) ) \mathcal{G}_{\phi}\left(2^{n}; Q(n), Q(n), 1/Q(n)\right) G ϕ ( 2 n ; Q ( n ) , Q ( n ) , 1/ Q ( n ) ) , contradicting the lemma. This shows that A P X 1 ( L ^ ) ⊬ Θ ϕ \mathrm{APX}_{1}(\widehat{\mathcal{L}}) \nvdash\Theta_{\phi} APX 1 ( L ) ⊬ Θ ϕ .
The remainder of this section is dedicated to the proof of the lemma.
Proof of Lemma 6.11 . Roughly speaking, we use Herbrand’s theorem to construct an inspector from a proof of Θ ϕ \Theta_{\phi} Θ ϕ in A P X 1 ( L ^ ) \mathrm{APX}_{1}(\widehat{\mathcal{L}}) APX 1 ( L ) and prove that the inspector wins the game. More details follow:
Step I: Applying Herbrand’s theorem. Consider the theory A P X 1 ( L ^ ) \mathrm{APX}_{1}(\widehat{\mathcal{L}}) APX 1 ( L ) augmented with a fresh constant ν \nu ν and the following axioms:
ν ≥ 1 and Closed L ^ ( ν ) . \nu\ge1 \qquad\text{and} \qquad\operatorname{Closed}_{\widehat{\mathcal{L}}}(\nu). ν ≥ 1 and Closed L ( ν ) .
Intuitively, the constant ν \nu ν denotes the model size N = 2 n N=2^{n} N = 2 n we are working with. Since A P X 1 ( L ^ ) \mathrm{APX}_{1}(\widehat{\mathcal{L}}) APX 1 ( L ) proves Θ ϕ \Theta_{\phi} Θ ϕ , the augmented theory proves ∃ x ˉ W ( ν , x ˉ ) \exists\bar{x}\,\mathcal{W}(\nu,\bar{x}) ∃ x ˉ W ( ν , x ˉ ) where
W ( N , x ˉ ) ≜ ( ⋀ ℓ = 1 k x ℓ < N ) ∧ ϕ [ N ] ( x ˉ ) . \mathcal{W}(N,\bar{x}) \triangleq\left(\bigwedge_{\ell=1}^{k} x_{\ell}<N\right)\land\phi^{[N]}(\bar{x}). W ( N , x ˉ ) ≜ ( ℓ = 1 ⋀ k x ℓ < N ) ∧ ϕ [ N ] ( x ˉ ) .
Since the augmented theory is a universal theory, by Herbrand’s theorem (Theorem 2.1 ), the following finite implication holds:
⊢ F O ⋀ j = 1 m θ j ( s ˉ j ( ν ) ) ⟶ ⋁ i = 1 r W ( ν , t ˉ i ( ν ) ) . (17) \vdash_{\mathrm{FO}} \bigwedge_{j=1}^{m} \theta_j(\bar{s}_j(\nu)) \longrightarrow\bigvee_{i=1}^{r} W(\nu,\bar{t}_i(\nu)). \tag*{(17)} ⊢ FO j = 1 ⋀ m θ j ( s ˉ j ( ν )) ⟶ i = 1 ⋁ r W ( ν , t ˉ i ( ν )) . (17)
where each θ j \theta_j θ j is a ground instance of a universal axiom ∀ u ˉ j θ j ( u ˉ j ) \forall\bar{u}_j\ \theta_j(\bar{u}_j) ∀ u ˉ j θ j ( u ˉ j ) of the augmented theory (with θ j ( u ˉ j ) \theta_j(\bar{u}_j) θ j ( u ˉ j ) quantifier-free), and s ˉ j \bar{s}_j s ˉ j and t ˉ i \bar{t}_i t ˉ i are tuples of ground terms in its language.
Step II: From the finite implication to an inspector. We define an inspector that evaluates every antecedent θ j ( s ˉ j ( ν ) ) \theta_j(\bar{s}_j(\nu)) θ j ( s ˉ j ( ν )) and every succedent W ( ν , t ˉ i ( ν ) ) W(\nu,\bar{t}_i(\nu)) W ( ν , t ˉ i ( ν )) in (17) . Given a total L \mathcal{L} L -structure ρ \rho ρ on [ N ] [N] [ N ] , define its interpretation ρ ^ \hat{\rho} ρ ^ by
f ^ ρ ^ ( s , u ˉ ) = { f ρ ( u ˉ ) , s = N and u ˉ ∈ [ N ] a , 0 , otherwise , (18) \hat{f}^{\hat{\rho}}(s,\bar{u}) =
\begin{cases}
f^\rho(\bar{u}), & s=N\text{ and }\bar{u}\in[N]^a,\\
0, & \text{otherwise},
\end{cases} \tag*{(18)} f ^ ρ ^ ( s , u ˉ ) = { f ρ ( u ˉ ) , 0 , s = N and u ˉ ∈ [ N ] a , otherwise , (18)
for each function f f f with arity a a a (constants have arity a = 0 a=0 a = 0 ). Then the inspector evaluates every term and atomic subformula occurring in the antecedents θ j ( s ˉ j ( ν ) ) \theta_j(\bar{s}_j(\nu)) θ j ( s ˉ j ( ν )) and succedents W ( ν , t ˉ i ( ν ) ) W(\nu,\bar{t}_i(\nu)) W ( ν , t ˉ i ( ν )) in (17) on the interpretation ρ ^ \hat{\rho} ρ ^ . During this procedure, the inspector needs to evaluate L \mathcal{L} L -functions and P-oracles. Whenever this occurs, we translate them into (randomized) decision trees and submit them as queries to the adversary.
In more detail, fix a large enough polynomial P ( n ) P(n) P ( n ) that upper bounds the running time of each θ j ( s ˉ j ( ν ) ) \theta_j(\bar{s}_j(\nu)) θ j ( s ˉ j ( ν )) and W ( ν , t ˉ i ( ν ) ) W(\nu,\bar{t}_i(\nu)) W ( ν , t ˉ i ( ν )) . Note that P ( n ) P(n) P ( n ) also upper bounds their query complexity, the precision parameters δ − 1 = ∥ Δ ∥ \delta^{-1}=\lVert\Delta\rVert δ − 1 = ∥ Δ ∥ of each invocation of P, and the inverse of slack parameters β − 1 \beta^{-1} β − 1 in each approximate counting axioms mentioned in (17) . We set Q ( n ) : = ( m + r ) ⋅ ⌈ log N ⌉ ⋅ P ( n ) ≤ poly ( n ) Q(n):=(m+r)\cdot\lceil\log N\rceil\cdot P(n)\leq\operatorname{poly}(n) Q ( n ) := ( m + r ) ⋅ ⌈ log N ⌉ ⋅ P ( n ) ≤ poly ( n ) and consider the game G ϕ ( N ; Q ( n ) , Q ( n ) , 1 / Q ( n ) ) G_\phi(N;Q(n),Q(n),1/Q(n)) G ϕ ( N ; Q ( n ) , Q ( n ) , 1/ Q ( n )) .
Case I: evaluating a function f f f . A query to f ( u ˉ ) f(\bar{u}) f ( u ˉ ) is translated into ⌈ log N ⌉ \lceil\log N\rceil ⌈ log N ⌉ queries to the adversary, each corresponding to one output bit of f ( u ˉ ) f(\bar{u}) f ( u ˉ ) . That is, for each output bit i ∈ [ ⌈ log N ⌉ ] i\in[\lceil\log N\rceil] i ∈ [⌈ log N ⌉] , let B i B_i B i denote the decision tree that outputs the i i i -th bit of f ( u ˉ ) f(\bar{u}) f ( u ˉ ) ; the inspector submits the singleton distribution concentrated at B i B_i B i . Denote the adversary’s response by p i p_i p i . If one of the numbers p i p_i p i is non-Boolean, then the (Deterministic Consistency) of the adversary already fails and the inspector wins the game. Otherwise, we have f ( u ˉ ) = ∑ i 2 i p i f(\bar{u})=\sum_i 2^i p_i f ( u ˉ ) = ∑ i 2 i p i .
Case II: evaluating a P oracle. A query to P ( C , Δ ) \mathrm{P}(C,\Delta) P ( C , Δ ) , where C C C is a valid circuit and 1 ≤ ∥ Δ ∥ ≤ P ( n ) 1\leq\lVert\Delta\rVert\leq P(n) 1 ≤ ∥ Δ ∥ ≤ P ( n ) , is translated into a randomized decision tree query to the adversary. For each input z z z of C C C (recall that z z z is treated as “randomness”), the computation of C ( z ) C(z) C ( z ) can be expressed as a decision tree that queries L \mathcal{L} L -functions; we denote this decision tree as T C , z T_{C,z} T C , z . Let T C T_C T C denote the randomized decision tree that is the uniform distribution of T C , z T_{C,z} T C , z (over z z z ). The inspector submits T C T_C T C as a randomized decision tree to the adversary and obtains an answer p C ∈ [ 0 , 1 ] p_C\in[0,1] p C ∈ [ 0 , 1 ] . We round p C p_C p C to the closest integer multiple of 2 − ⌈ log ∥ Δ ∥ ⌉ 2^{-\lceil\log\lVert\Delta\rVert\rceil} 2 − ⌈ l o g ∥ Δ ∥⌉ as the answer to this query.
Note that if C C C does not read its input (hence T C T_C T C can be written as a singleton distribution) and p C p_C p C is non-Boolean, then the (Deterministic Consistency) of the adversary fails and the inspector wins the game. Also, the inspector stores a cache of already returned answers p C p_C p C so that if the same circuit C C C occurs later, the inspector does not issue any query and instead returns (the rounding of) p C p_C p C as stored.
The game proceeds in at most ( m + r ) ⋅ log N ⋅ P ( n ) ≤ Q ( n ) (m+r)\cdot\log N\cdot P(n)\leq Q(n) ( m + r ) ⋅ log N ⋅ P ( n ) ≤ Q ( n ) rounds and each randomized decision tree submitted by the inspector has height at most P ( n ) ≤ Q ( n ) P(n)\leq Q(n) P ( n ) ≤ Q ( n ) .
Step III: Proving the inspector wins. We now show that the inspector wins the game; this is an immediate corollary of (17) . Start with the standard arithmetic structure on binary strings. Recall that at the end of the game, the adversary returns a partial L ^ \widehat{L} L -structure ρ \rho ρ on [ N ] [N] [ N ] . We extend ρ \rho ρ to a total structure ρ ′ \rho' ρ ′ by arbitrarily assigning unassigned constants and function values in ρ \rho ρ . Every L ^ \widehat{L} L -function symbol f ^ \widehat{f} f is interpreted as the function f ^ ρ ′ \widehat{f}^{\rho'} f ρ ′ as in (18) . The symbol ν \nu ν is interpreted as N N N . We also interpret P ( C , Δ ) P(C,\Delta) P ( C , Δ ) as p C p_C p C , rounded to the nearest integer multiple of 2 − ⌈ log ∥ Δ ∥ ⌉ 2^{-\lceil\log\lVert\Delta\rVert\rceil} 2 − ⌈ l o g ∥ Δ ∥⌉ , whenever the inspector queried P ( C , Δ ) P(C,\Delta) P ( C , Δ ) during the game, and 0 0 0 otherwise. Finally, we interpret every P V 1 ( L ^ , P ) \mathrm{PV}_1(\widehat{L},P) PV 1 ( L , P ) -function by its defining oracle program. Since (17) holds in this structure, one of the following is true:
One of the succedents W ( ν , t ˉ i ( ν ) ) W(\nu,\bar{t}_i(\nu)) W ( ν , t ˉ i ( ν )) is true. We show that this implies ρ \rho ρ is ϕ \phi ϕ -witnessing. Indeed, let x ˉ \bar{x} x ˉ be the value of t ˉ i ( N ) \bar{t}_i(N) t ˉ i ( N ) in the completed arithmetic structure, then x ˉ < N \bar{x}<N x ˉ < N and ϕ [ N ] ( x ˉ ) \phi^{[N]}(\bar{x}) ϕ [ N ] ( x ˉ ) holds there. Every term of ϕ [ N ] ( x ˉ ) \phi^{[N]}(\bar{x}) ϕ [ N ] ( x ˉ ) was evaluated, and one can use induction to show that ρ ⊨ ϕ [ N ] [ x ˉ ] \rho\models\phi^{[N]}[\bar{x}] ρ ⊨ ϕ [ N ] [ x ˉ ] . It follows that ρ \rho ρ is ϕ \phi ϕ -witnessing and the inspector wins the game.
One of the antecedents θ j ( s ˉ j ( ν ) ) \theta_j(\bar{s}_j(\nu)) θ j ( s ˉ j ( ν )) is false. Among all axioms of A P X 1 ( L ^ ) \mathrm{APX}_1(\widehat{L}) APX 1 ( L ) , the axioms ν ≥ 1 \nu\ge1 ν ≥ 1 , Closed L ^ ( ν ) \operatorname{Closed}_{\widehat{L}}(\nu) Closed L ( ν ) , and axioms of P V 1 ( L ^ , P ) \mathrm{PV}_1(\widehat{L},P) PV 1 ( L , P ) are clearly true under our interpretation. Thus it suffices to consider the case that θ j ( s ˉ j ( ν ) ) \theta_j(\bar{s}_j(\nu)) θ j ( s ˉ j ( ν )) is an approximate counting axiom.
Basic Axiom Instances. Since the adversary always returns a number in [ 0 , 1 ] [0,1] [ 0 , 1 ] , the basic axiom instance P δ ( C ) ∈ [ 0 , 1 ] ∩ Q P_\delta(C)\in[0,1]\cap\mathbb{Q} P δ ( C ) ∈ [ 0 , 1 ] ∩ Q always holds.
Boundary Axiom Instances. It is easy to see that either the adversary violates the (Deterministic Consistency ) or any Boundary Axiom instance appearing as some θ j ( s ˉ j ( ν ) ) \theta_j(\bar{s}_j(\nu)) θ j ( s ˉ j ( ν )) is satisfied.
Precision Consistency Axiom Instances. Let C C C be a circuit and δ 1 − 1 , δ 2 − 1 , β − 1 ∈ L o g \delta_1^{-1},\delta_2^{-1},\beta^{-1}\in\mathrm{Log} δ 1 − 1 , δ 2 − 1 , β − 1 ∈ Log such that the axiom ∣ P δ 1 ( C ) − P δ 2 ( C ) ∣ ≤ δ 1 + δ 2 + β \lvert P_{\delta_1}(C)-P_{\delta_2}(C)\rvert\le\delta_1+\delta_2+\beta ∣ P δ 1 ( C ) − P δ 2 ( C )∣ ≤ δ 1 + δ 2 + β appears as some θ j ( s ˉ j ( ν ) ) \theta_j(\bar{s}_j(\nu)) θ j ( s ˉ j ( ν )) . Since both P δ 1 ( C ) P_{\delta_1}(C) P δ 1 ( C ) and P δ 2 ( C ) P_{\delta_2}(C) P δ 2 ( C ) are the rounding of the same stored response p C p_C p C , and the roundings have errors at most δ 1 \delta_1 δ 1 and δ 2 \delta_2 δ 2 respectively, the axiom is satisfied.
Local Consistency Axiom Instances. Finally, it suffices to show that if C C C is a circuit, δ − 1 , β − 1 ∈ L o g \delta^{-1},\beta^{-1}\in\mathrm{Log} δ − 1 , β − 1 ∈ Log , and the Local Consistency Axiom
∣ P δ ( C ) − P δ ( Fix 0 ( C ) ) + P δ ( Fix 1 ( C ) ) 2 ∣ ≤ 2 δ + β (19) \left|P_\delta(C)-\frac{P_\delta(\operatorname{Fix}_0(C))+P_\delta(\operatorname{Fix}_1(C))}{2}\right|\le2\delta+\beta \tag*{(19)} P δ ( C ) − 2 P δ ( Fix 0 ( C )) + P δ ( Fix 1 ( C )) ≤ 2 δ + β (19)
appeared as some θ j ( s ˉ j ( ν ) ) \theta_j(\bar{s}_j(\nu)) θ j ( s ˉ j ( ν )) and is falsified, then the adversary violates (Mixture Consistency ) and loses the game. Note that T C = 1 2 T Fix 0 ( C ) + 1 2 T Fix 1 ( C ) \mathcal{T}_C=\frac{1}{2}\mathcal{T}_{\operatorname{Fix}_0(C)}+\frac{1}{2}\mathcal{T}_{\operatorname{Fix}_1(C)} T C = 2 1 T Fix 0 ( C ) + 2 1 T Fix 1 ( C ) . However, if (19) is false, then
∣ p C − p Fix 0 ( C ) + p Fix 1 ( C ) 2 ∣ > β ≥ 1 / Q ( n ) , \left|p_C-\frac{p_{\operatorname{Fix}_0(C)}+p_{\operatorname{Fix}_1(C)}}{2}\right|>\beta\ge1/Q(n), p C − 2 p Fix 0 ( C ) + p Fix 1 ( C ) > β ≥ 1/ Q ( n ) ,
meaning the adversary violates (Mixture Consistency ).
Finite Combinatorial Principles Provable in A P X 1 \mathrm{APX}_1 APX 1
In this section, we provide the proof of Corollary 1.12. We will use the following result.
Proposition 6.12. If ⊢ F O ∃ x ˉ ϕ ( x ˉ ) \vdash_{\mathrm{FO}}\exists\bar{x}\,\phi(\bar{x}) ⊢ FO ∃ x ˉ ϕ ( x ˉ ) , then ⊢ F O ( ∀ N ≥ 1 ∃ x x < N ) → Θ ϕ \vdash_{\mathrm{FO}}(\forall N\ge1\ \exists x\ x<N)\to\Theta_\phi ⊢ FO ( ∀ N ≥ 1 ∃ x x < N ) → Θ ϕ .
Proof. Suppose for a contradiction that there is a model M = ( U , I ) \mathcal{M}=(\mathcal{U},\mathcal{I}) M = ( U , I ) such that M ⊨ ∀ N ≥ 1 ∃ x x < N \mathcal{M}\models\forall N\ge1\ \exists x\ x<N M ⊨ ∀ N ≥ 1 ∃ x x < N but M ⊭ Θ ϕ \mathcal{M}\not\models\Theta_\phi M ⊨ Θ ϕ . Let N ∗ ∈ M N^*\in\mathcal{M} N ∗ ∈ M be an element such that M ⊨ N ∗ ≥ 1 \mathcal{M}\models N^*\ge1 M ⊨ N ∗ ≥ 1 , and
M ⊨ ( Closed L ^ ( N ∗ ) ∧ ∀ x 1 , … , x k < N ∗ ¬ ϕ [ N ∗ ] ( x 1 , … , x k ) ) . \mathcal{M}\models\left(\operatorname{Closed}_{\widehat{L}}(N^*)\wedge\forall x_1,\ldots,x_k<N^*\ \neg\phi^{[N^*]}(x_1,\ldots,x_k)\right). M ⊨ ( Closed L ( N ∗ ) ∧ ∀ x 1 , … , x k < N ∗ ¬ ϕ [ N ∗ ] ( x 1 , … , x k ) ) .
Let U N ∗ ≜ { x ∈ M ∣ x < N ∗ } \mathcal{U}_{N^*}\triangleq\{x\in\mathcal{M}\mid x<N^*\} U N ∗ ≜ { x ∈ M ∣ x < N ∗ } , and let I N ∗ : f ( ⋅ ) ↦ I ( f ^ ( N ∗ , ⋅ ) ) \mathcal{I}_{N^*}:f(\cdot)\mapsto\mathcal{I}(\widehat{f}(N^*,\cdot)) I N ∗ : f ( ⋅ ) ↦ I ( f ( N ∗ , ⋅ )) . Since M ⊨ ∀ N ≥ 1 ∃ x x < N \mathcal{M}\models\forall N\ge1\ \exists x\ x<N M ⊨ ∀ N ≥ 1 ∃ x x < N , we know that U N ∗ \mathcal{U}_{N^*} U N ∗ is non-empty. By the definition of the finitary translation, we know that M N ∗ ≜ ( U N ∗ , I N ∗ ) \mathcal{M}_{N^*}\triangleq(\mathcal{U}_{N^*},\mathcal{I}_{N^*}) M N ∗ ≜ ( U N ∗ , I N ∗ ) is a model of ∀ x 1 , … , x k ¬ ϕ \forall x_1,\ldots,x_k\ \neg\phi ∀ x 1 , … , x k ¬ ϕ . This leads to a contradiction with the assumption that ⊢ F O ∃ x ˉ ϕ ( x ˉ ) \vdash_{\mathrm{FO}}\exists\bar{x}\,\phi(\bar{x}) ⊢ FO ∃ x ˉ ϕ ( x ˉ ) .
Corollary 1.12 (Finite relativized combinatorial principles provable in APX1 _1 1 ). Let ϕ ( x 1 , … , x k ) \phi(x_1,\ldots,x_k) ϕ ( x 1 , … , x k ) be any formula in L \mathcal{L} L with equality, and suppose that ∃ x ˉ ϕ ˉ ( x ˉ ) \exists\bar{x}\,\bar{\phi}(\bar{x}) ∃ x ˉ ϕ ˉ ( x ˉ ) holds in every non-empty finite L \mathcal{L} L -structure. Write
Θ ϕ ≔ ∀ N ≥ 1 ( Closed L ^ ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) . \Theta_\phi\coloneqq\forall N \ge1\left(\operatorname{Closed}_{\widehat{\mathcal{L}}}(N) \to\exists x_1,\ldots,x_k < N\ \phi^{[N]}(x_1,\ldots,x_k)\right). Θ ϕ : = ∀ N ≥ 1 ( Closed L ( N ) → ∃ x 1 , … , x k < N ϕ [ N ] ( x 1 , … , x k ) ) . Then the following are equivalent:
APX 1 ( L ^ ) ⊢ Θ ϕ \operatorname{APX}_1(\widehat{\mathcal{L}}) \vdash\Theta_\phi APX 1 ( L ) ⊢ Θ ϕ .
PV 1 ( L ^ ) ⊢ Θ ϕ \operatorname{PV}_1(\widehat{\mathcal{L}}) \vdash\Theta_\phi PV 1 ( L ) ⊢ Θ ϕ .
∃ x ˉ ϕ ˉ ( x ˉ ) \exists\bar{x}\,\bar{\phi}(\bar{x}) ∃ x ˉ ϕ ˉ ( x ˉ ) holds in every infinite L \mathcal{L} L -structure.
Proof. The implication (2) ⇒ \Rightarrow ⇒ (1) is immediate, since APX 1 ( L ^ ) \operatorname{APX}_1(\widehat{\mathcal{L}}) APX 1 ( L ) extends PV 1 ( L ^ ) \operatorname{PV}_1(\widehat{\mathcal{L}}) PV 1 ( L ) . For (1) ⇒ \Rightarrow ⇒ (3), if (3) fails, then ∀ x ˉ ¬ ϕ ( x ˉ ) \forall\bar{x}\ \neg\phi(\bar{x}) ∀ x ˉ ¬ ϕ ( x ˉ ) has an infinite model. Theorem 1.9 therefore gives APX 1 ( L ^ ) ⊬ Θ ϕ \operatorname{APX}_1(\widehat{\mathcal{L}}) \nvdash\Theta_\phi APX 1 ( L ) ⊬ Θ ϕ , contradicting (1).
It remains to prove (3) ⇒ \Rightarrow ⇒ (2). Assume (3). Together with the hypothesis concerning finite structures, this implies that ⊢ F O ∃ x ˉ ϕ ˉ ( x ˉ ) \vdash_{\mathrm{FO}}\exists\bar{x}\,\bar{\phi}(\bar{x}) ⊢ FO ∃ x ˉ ϕ ˉ ( x ˉ ) . By Proposition 6.12 , ⊢ F O ( ∀ N ≥ 1 ∃ x x < N ) → Θ ϕ \vdash_{\mathrm{FO}}(\forall N \ge1\ \exists x\ x < N) \to\Theta_\phi ⊢ FO ( ∀ N ≥ 1 ∃ x x < N ) → Θ ϕ . Then the provability in PV 1 ( L ^ ) \operatorname{PV}_1(\widehat{\mathcal{L}}) PV 1 ( L ) follows from the simple fact that PV 1 ⊢ ∀ N ≥ 1 ∃ x x < N \operatorname{PV}_1 \vdash\forall N \ge1\ \exists x\ x < N PV 1 ⊢ ∀ N ≥ 1 ∃ x x < N . □ \square □
References
Auxiliary Results and Missing Formalizations
Standard Models and Admissible Models
Proposition 3.4. Let P ^ : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ \widehat{P} : \{0,1\}^{*} \times\{0,1\}^{*} \to\{0,1\}^{*} P : { 0 , 1 } ∗ × { 0 , 1 } ∗ → { 0 , 1 } ∗ be any function. Then M ( P ^ ) \mathsf{M}(\widehat{P}) M ( P ) is a standard model of A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ if and only if it is an admissible model of A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ .
Proof. ( ⇒ ) (\Rightarrow) ( ⇒ ) : it can be verified by straightforward calculation. ( ⇐ ) (\Leftarrow) ( ⇐ ) : Suppose that M ( P ^ ) \mathsf{M}(\widehat{P}) M ( P ) is admissible. The BASIC AXIOM FOR A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ and the length bound imposed on P P P in the language P V 1 ( P ) \mathrm{PV}_{1}(P) PV 1 ( P ) ensure condition 1 of Definition 3.2 except for the requirement q ∈ ( 1 ± 1 / ∥ Δ ∥ ) ⋅ p ( C ) q \in(1 \pm1/\lVert\Delta\rVert) \cdot p(C) q ∈ ( 1 ± 1/ ∥ Δ ∥) ⋅ p ( C ) , and the BOUNDARY AXIOM FOR A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ ensures condition 2. Suppose, towards a contradiction, that there are a circuit C : { 0 , 1 } n → { 0 , 1 } C : \{0,1\}^{n} \to\{0,1\} C : { 0 , 1 } n → { 0 , 1 } and a string Δ \Delta Δ such that q ≜ P ^ ( C , Δ ) ∉ ( 1 ± 1 / ∥ Δ ∥ ) ⋅ p ( C ) q \triangleq\widehat{P}(C,\Delta) \notin(1 \pm1/\lVert\Delta\rVert) \cdot p(C) q ≜ P ( C , Δ ) ∈ / ( 1 ± 1/ ∥ Δ ∥) ⋅ p ( C ) , where p ( C ) p(C) p ( C ) denotes the acceptance probability of C C C . Note that both C C C and Δ \Delta Δ are fixed finite strings and n ∈ N n \in\mathbb{N} n ∈ N is a standard integer. Then there are two cases:
(Case 1: q > ( 1 + 1 / ∥ Δ ∥ ) ⋅ p ( C ) q > (1 + 1/\lVert\Delta\rVert) \cdot p(C) q > ( 1 + 1/ ∥ Δ ∥) ⋅ p ( C ) ). Let ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) such that q > ( 1 + ε ) ( 1 + 1 / ∥ Δ ∥ ) ⋅ p ( C ) q > (1+\varepsilon)(1 + 1/\lVert\Delta\rVert) \cdot p(C) q > ( 1 + ε ) ( 1 + 1/ ∥ Δ ∥) ⋅ p ( C ) . Let Ξ ≜ 1 64 ( n + 1 ) / ε \Xi\triangleq1^{64(n+1)/\varepsilon} Ξ ≜ 1 64 ( n + 1 ) / ε and ξ ≜ 1 / ∥ Ξ ∥ = ε / ( 64 ( n + 1 ) ) \xi\triangleq1/\lVert\Xi\rVert= \varepsilon/(64(n+1)) ξ ≜ 1/ ∥ Ξ ∥ = ε / ( 64 ( n + 1 )) , and instantiate the notation ≲ ∗ \lesssim^{*} ≲ ∗ in every axiom below at the slack β ≜ ξ \beta\triangleq\xi β ≜ ξ . By the PRECISION CONSISTENCY AXIOM FOR A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ (with δ 1 ≜ ξ \delta_{1} \triangleq\xi δ 1 ≜ ξ and δ 2 ≜ 1 / ∥ Δ ∥ \delta_{2} \triangleq1/\lVert\Delta\rVert δ 2 ≜ 1/ ∥ Δ ∥ ),
P ^ ( C , Ξ ) ≥ ( 1 − ξ ) q ( 1 + ξ ) ( 1 + 1 / ∥ Δ ∥ ) > ( 1 + ε ) ⋅ 1 − ξ 1 + ξ ⋅ p ( C ) ≥ ( 1 + ε ) ( 1 − 2 ξ ) ⋅ p ( C ) . \widehat{P}(C,\Xi) \ge\frac{(1-\xi)q}{(1+\xi)(1+1/\lVert\Delta\rVert)} > (1+\varepsilon)\cdot\frac{1-\xi}{1+\xi}\cdot p(C) \ge(1+\varepsilon)(1-2\xi)\cdot p(C). P ( C , Ξ ) ≥ ( 1 + ξ ) ( 1 + 1/ ∥ Δ ∥) ( 1 − ξ ) q > ( 1 + ε ) ⋅ 1 + ξ 1 − ξ ⋅ p ( C ) ≥ ( 1 + ε ) ( 1 − 2 ξ ) ⋅ p ( C ) .
We construct a sequence of circuits C ( 0 ) ≜ C C^{(0)} \triangleq C C ( 0 ) ≜ C and C ( i + 1 ) ≜ Fix σ i ( C ( i ) ) C^{(i+1)} \triangleq\operatorname{Fix}_{\sigma_i}(C^{(i)}) C ( i + 1 ) ≜ Fix σ i ( C ( i ) ) maintaining the invariant
P ^ ( C ( i ) , Ξ ) > t i ⋅ p ( C ( i ) ) , t 0 ≜ ( 1 + ε ) ( 1 − 2 ξ ) , t i + 1 ≜ ( 1 − 3 ξ ) ⋅ t i ; \widehat{P}(C^{(i)},\Xi) > t_i \cdot p(C^{(i)}), \qquad t_0 \triangleq(1+\varepsilon)(1-2\xi), \qquad t_{i+1} \triangleq(1-3\xi)\cdot t_i; P ( C ( i ) , Ξ ) > t i ⋅ p ( C ( i ) ) , t 0 ≜ ( 1 + ε ) ( 1 − 2 ξ ) , t i + 1 ≜ ( 1 − 3 ξ ) ⋅ t i ;
note that when p ( C ( i ) ) = 0 p(C^{(i)}) = 0 p ( C ( i ) ) = 0 the invariant asserts P ^ ( C ( i ) , Ξ ) > 0 \widehat{P}(C^{(i)},\Xi) > 0 P ( C ( i ) , Ξ ) > 0 . For the inductive step, the LOCAL CONSISTENCY AXIOM FOR A P X 1 ∗ \mathrm{APX}^{*}_{1} APX 1 ∗ at precision ξ \xi ξ gives
P ^ ( Fix 0 ( C ( i ) ) , Ξ ) + P ^ ( Fix 1 ( C ( i ) ) , Ξ ) 2 ≥ 1 − ξ ( 1 + ξ ) 2 ⋅ P ^ ( C ( i ) , Ξ ) > t i + 1 ⋅ p ( Fix 0 ( C ( i ) ) ) + p ( Fix 1 ( C ( i ) ) ) 2 , \frac{\widehat{P}(\operatorname{Fix}_{0}(C^{(i)}),\Xi)+\widehat{P}(\operatorname{Fix}_{1}(C^{(i)}),\Xi)}{2} \ge\frac{1-\xi}{(1+\xi)^2}\cdot\widehat{P}(C^{(i)},\Xi) > t_{i+1}\cdot\frac{p(\operatorname{Fix}_{0}(C^{(i)}))+p(\operatorname{Fix}_{1}(C^{(i)}))}{2}, 2 P ( Fix 0 ( C ( i ) ) , Ξ ) + P ( Fix 1 ( C ( i ) ) , Ξ ) ≥ ( 1 + ξ ) 2 1 − ξ ⋅ P ( C ( i ) , Ξ ) > t i + 1 ⋅ 2 p ( Fix 0 ( C ( i ) )) + p ( Fix 1 ( C ( i ) )) ,
where the last inequality follows from ( 1 − 3 ξ ) ( 1 + ξ ) 2 ≤ 1 − ξ (1-3\xi)(1+\xi)^2 \le1-\xi ( 1 − 3 ξ ) ( 1 + ξ ) 2 ≤ 1 − ξ and p ( C ( i ) ) = ( p ( Fix 0 ( C ( i ) ) ) + p ( Fix 1 ( C ( i ) ) ) ) / 2 p(C^{(i)}) = (p(\operatorname{Fix}_0(C^{(i)})) + p(\operatorname{Fix}_1(C^{(i)})))/2 p ( C ( i ) ) = ( p ( Fix 0 ( C ( i ) )) + p ( Fix 1 ( C ( i ) ))) /2 . By averaging, there is σ i ∈ { 0 , 1 } \sigma_i \in\{0,1\} σ i ∈ { 0 , 1 } with P ^ ( Fix σ i ( C ( i ) ) , Ξ ) > t i + 1 ⋅ p ( Fix σ i ( C ( i ) ) ) \widehat{P}(\operatorname{Fix}_{\sigma_i}(C^{(i)}),\Xi) > t_{i+1} \cdot p(\operatorname{Fix}_{\sigma_i}(C^{(i)})) P ( Fix σ i ( C ( i ) ) , Ξ ) > t i + 1 ⋅ p ( Fix σ i ( C ( i ) )) . After n n n steps, the circuit C ( n ) C^{(n)} C ( n ) does not read any input bit, and
t n ≥ ( 1 + ε ) ( 1 − 3 ξ ) n + 1 ≥ ( 1 + ε ) ( 1 − 3 ( n + 1 ) ξ ) = ( 1 + ε ) ( 1 − 3 ε / 64 ) > 1. t_n \ge(1+\varepsilon)(1-3\xi)^{n+1} \ge(1+\varepsilon)(1-3(n+1)\xi) = (1+\varepsilon)(1-3\varepsilon/64) > 1. t n ≥ ( 1 + ε ) ( 1 − 3 ξ ) n + 1 ≥ ( 1 + ε ) ( 1 − 3 ( n + 1 ) ξ ) = ( 1 + ε ) ( 1 − 3 ε /64 ) > 1.
By the BOUNDARY AXIOM FOR APX1 ∗ _1^* 1 ∗ , P ^ ( C ( n ) , Ξ ) = p ( C ( n ) ) ∈ { 0 , 1 } \widehat{P}(C^{(n)},\Xi) = p(C^{(n)}) \in\{0,1\} P ( C ( n ) , Ξ ) = p ( C ( n ) ) ∈ { 0 , 1 } , while both cases contradict P ^ ( C ( n ) , Ξ ) > p ( C ( n ) ) \widehat{P}(C^{(n)},\Xi) > p(C^{(n)}) P ( C ( n ) , Ξ ) > p ( C ( n ) ) .
*(Case 2: q < ( 1 − 1 / ∥ Δ ∥ ) ⋅ p ( C ) ) q < (1-1/\lVert\Delta\rVert)\cdot p(C)) q < ( 1 − 1/ ∥ Δ ∥) ⋅ p ( C )) . This case is symmetric and essentially similar to Case 1. Specifically, we construct C ( i ) C^{(i)} C ( i ) for i = 0 , 1 , … , n i=0,1,\ldots,n i = 0 , 1 , … , n such that P ^ ( C ( i ) , Ξ ) < s i ⋅ p ( C ( i ) ) \widehat{P}(C^{(i)},\Xi) < s_i\cdot p(C^{(i)}) P ( C ( i ) , Ξ ) < s i ⋅ p ( C ( i ) ) ; we set Ξ \Xi Ξ to be sufficiently large so s n < 1 s_n < 1 s n < 1 and it leads to a contradiction.
Basic Counting Functionalities in APX*
In this subsection, we prove the lemmas deferred from Section 5.3.1.
Lemma 5.7 (Global Consistency for APX1 ∗ _1^* 1 ∗ ). APX1 ∗ _1^* 1 ∗ proves the following statement. Let n , δ − 1 ∈ Log n,\delta^{-1} \in\operatorname{Log} n , δ − 1 ∈ Log and C 1 , C 2 : { 0 , 1 } n → { 0 , 1 } C_1,C_2:\{0,1\}^n \to\{0,1\} C 1 , C 2 : { 0 , 1 } n → { 0 , 1 } be circuits such that C 1 ( x ) ≤ C 2 ( x ) C_1(x) \le C_2(x) C 1 ( x ) ≤ C 2 ( x ) for every x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n . Then
( 1 − δ ) ⋅ P δ ( C 1 ) ⪯ ∗ ( 1 + δ ) ⋅ P δ ( C 2 ) . (1-\delta)\cdot P_\delta(C_1) \preceq^* (1+\delta)\cdot P_\delta(C_2). ( 1 − δ ) ⋅ P δ ( C 1 ) ⪯ ∗ ( 1 + δ ) ⋅ P δ ( C 2 ) .
In particular, if C 1 ( x ) = C 2 ( x ) C_1(x)=C_2(x) C 1 ( x ) = C 2 ( x ) for every x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n , then both ( 1 − δ ) ⋅ P δ ( C 1 ) ⪯ ∗ ( 1 + δ ) ⋅ P δ ( C 2 ) (1-\delta)\cdot P_\delta(C_1) \preceq^* (1+\delta)\cdot P_\delta(C_2) ( 1 − δ ) ⋅ P δ ( C 1 ) ⪯ ∗ ( 1 + δ ) ⋅ P δ ( C 2 ) and ( 1 − δ ) ⋅ P δ ( C 2 ) ⪯ ∗ ( 1 + δ ) ⋅ P δ ( C 1 ) (1-\delta)\cdot P_\delta(C_2) \preceq^* (1+\delta)\cdot P_\delta(C_1) ( 1 − δ ) ⋅ P δ ( C 2 ) ⪯ ∗ ( 1 + δ ) ⋅ P δ ( C 1 ) .
Proof. We follow the bit-by-bit fixing trick as in [11 ] , with changes to take care of the multiplicative error in approximate counting. We argue in APX1 ∗ _1^* 1 ∗ . Assume, towards a contradiction, that there exist C 1 , C 2 : { 0 , 1 } n → { 0 , 1 } C_1,C_2:\{0,1\}^n \to\{0,1\} C 1 , C 2 : { 0 , 1 } n → { 0 , 1 } such that C 1 ( x ) ≤ C 2 ( x ) C_1(x) \le C_2(x) C 1 ( x ) ≤ C 2 ( x ) for every x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n , and for some β − 1 ∈ Log \beta^{-1} \in\operatorname{Log} β − 1 ∈ Log ,
( 1 − δ ) ⋅ P δ ( C 1 ) > ( 1 + β ) ⋅ ( 1 + δ ) ⋅ P δ ( C 2 ) . (20) (1-\delta)\cdot P_\delta(C_1) > (1+\beta)\cdot(1+\delta)\cdot P_\delta(C_2). \tag*{(20)} ( 1 − δ ) ⋅ P δ ( C 1 ) > ( 1 + β ) ⋅ ( 1 + δ ) ⋅ P δ ( C 2 ) . (20)
We may assume that δ < 1 \delta< 1 δ < 1 as the other case is trivial. Let η − 1 ∈ Log \eta^{-1} \in\operatorname{Log} η − 1 ∈ Log be determined later (satisfying η ≤ 1 / 16 \eta\le1/16 η ≤ 1/16 ) and let κ ≔ ( 1 + η ) 2 / ( 1 − η ) \kappa\coloneqq(1+\eta)^2/(1-\eta) κ : = ( 1 + η ) 2 / ( 1 − η ) . (Note that every occurrence of ⪯ ∗ \preceq^* ⪯ ∗ in the axioms below is instantiated at the slack η \eta η .)
By the PRECISION CONSISTENCY AXIOM FOR APX1 ∗ _1^* 1 ∗ , we have
P δ ( C 1 ) ≤ ( 1 + η ) ( 1 + δ ) 1 − η ⋅ P η ( C 1 ) ≤ κ ⋅ ( 1 + δ ) ⋅ P η ( C 1 ) , P_\delta(C_1) \le\frac{(1+\eta)(1+\delta)}{1-\eta}\cdot P_\eta(C_1) \le\kappa\cdot(1+\delta)\cdot P_\eta(C_1), P δ ( C 1 ) ≤ 1 − η ( 1 + η ) ( 1 + δ ) ⋅ P η ( C 1 ) ≤ κ ⋅ ( 1 + δ ) ⋅ P η ( C 1 ) ,
P δ ( C 2 ) ≥ 1 − δ ( 1 + η ) 2 ⋅ P η ( C 2 ) ≥ κ − 1 ⋅ ( 1 − δ ) ⋅ P η ( C 2 ) , P_\delta(C_2) \ge\frac{1-\delta}{(1+\eta)^2}\cdot P_\eta(C_2) \ge\kappa^{-1}\cdot(1-\delta)\cdot P_\eta(C_2), P δ ( C 2 ) ≥ ( 1 + η ) 2 1 − δ ⋅ P η ( C 2 ) ≥ κ − 1 ⋅ ( 1 − δ ) ⋅ P η ( C 2 ) ,
where the last inequality in each line follows from ( 1 + η ) / ( 1 − η ) ≤ κ (1+\eta)/(1-\eta) \le\kappa ( 1 + η ) / ( 1 − η ) ≤ κ and ( 1 + η ) 2 ≤ κ (1+\eta)^2 \le\kappa ( 1 + η ) 2 ≤ κ . By combining these two inequalities with (A.1), we have
κ 2 ⋅ P η ( C 1 ) > ( 1 + β ) ⋅ P η ( C 2 ) . (21) \kappa^2\cdot P_\eta(C_1) > (1+\beta)\cdot P_\eta(C_2). \tag*{(21)} κ 2 ⋅ P η ( C 1 ) > ( 1 + β ) ⋅ P η ( C 2 ) . (21)
Let Fix b ( C ) \operatorname{Fix}_b(C) Fix b ( C ) be the circuit obtained by fixing the rightmost input bit of C C C to b b b . Similarly, we define Fix z ( C ) \operatorname{Fix}_z(C) Fix z ( C ) as the circuit that fixes the last ∥ z ∥ \lVert z\rVert ∥ z ∥ input bits of C C C to z z z . By the LOCAL CONSISTENCY AXIOM FOR APX1 ∗ _1^* 1 ∗ , for every circuit D D D with at least one input bit, we have
κ − 1 ⋅ P η ( Fix 0 ( D ) ) + P η ( Fix 1 ( D ) ) 2 ≤ P η ( D ) ≤ κ ⋅ P η ( Fix 0 ( D ) ) + P η ( Fix 1 ( D ) ) 2 . (22) \kappa^{-1}\cdot\frac{P_\eta(\operatorname{Fix}_0(D))+P_\eta(\operatorname{Fix}_1(D))}{2} \le P_\eta(D) \le\kappa\cdot\frac{P_\eta(\operatorname{Fix}_0(D))+P_\eta(\operatorname{Fix}_1(D))}{2}. \tag*{(22)} κ − 1 ⋅ 2 P η ( Fix 0 ( D )) + P η ( Fix 1 ( D )) ≤ P η ( D ) ≤ κ ⋅ 2 P η ( Fix 0 ( D )) + P η ( Fix 1 ( D )) . (22)
Consider the algorithm that iteratively fixes the rightmost input bit of both circuits: starting from D 1 ( 0 ) ≜ C 1 D_1^{(0)} \triangleq C_1 D 1 ( 0 ) ≜ C 1 and D 2 ( 0 ) ≜ C 2 D_2^{(0)} \triangleq C_2 D 2 ( 0 ) ≜ C 2 , in round j = 0 , 1 , … , n − 1 j = 0,1,\ldots,n-1 j = 0 , 1 , … , n − 1 it computes a bit b j b_j b j (specified below) and sets D i ( j + 1 ) ≜ Fix b j ( D i ( j ) ) D_i^{(j+1)} \triangleq\operatorname{Fix}_{b_j}(D_i^{(j)}) D i ( j + 1 ) ≜ Fix b j ( D i ( j ) ) for i ∈ { 1 , 2 } i \in\{1,2\} i ∈ { 1 , 2 } . The algorithm maintains the invariant
κ 2 ( j + 1 ) ⋅ P η ( D 1 ( j ) ) > ( 1 + β ) ⋅ P η ( D 2 ( j ) ) , (23) \kappa^{2(j+1)} \cdot P_\eta(D_1^{(j)}) > (1+\beta) \cdot P_\eta(D_2^{(j)}), \tag*{(23)} κ 2 ( j + 1 ) ⋅ P η ( D 1 ( j ) ) > ( 1 + β ) ⋅ P η ( D 2 ( j ) ) , (23)
which holds for j = 0 j = 0 j = 0 by (A.2). Suppose that it holds for some j < n j < n j < n , and let S i ≜ P η ( Fix 0 ( D i ( j ) ) ) + P η ( Fix 1 ( D i ( j ) ) ) S_i \triangleq P_\eta(\operatorname{Fix}_0(D_i^{(j)})) + P_\eta(\operatorname{Fix}_1(D_i^{(j)})) S i ≜ P η ( Fix 0 ( D i ( j ) )) + P η ( Fix 1 ( D i ( j ) )) for i ∈ { 1 , 2 } i \in\{1,2\} i ∈ { 1 , 2 } . Applying (A.3) to D 1 ( j ) D_1^{(j)} D 1 ( j ) and D 2 ( j ) D_2^{(j)} D 2 ( j ) , we obtain
κ 2 ( j + 1 ) ⋅ κ ⋅ S 1 2 ≥ κ 2 ( j + 1 ) ⋅ P η ( D 1 ( j ) ) > ( 1 + β ) ⋅ P η ( D 2 ( j ) ) ≥ ( 1 + β ) ⋅ κ − 1 ⋅ S 2 2 . \kappa^{2(j+1)} \cdot\kappa\cdot\frac{S_1}{2} \ge\kappa^{2(j+1)} \cdot P_\eta(D_1^{(j)}) > (1+\beta) \cdot P_\eta(D_2^{(j)}) \ge(1+\beta) \cdot\kappa^{-1} \cdot\frac{S_2}{2}. κ 2 ( j + 1 ) ⋅ κ ⋅ 2 S 1 ≥ κ 2 ( j + 1 ) ⋅ P η ( D 1 ( j ) ) > ( 1 + β ) ⋅ P η ( D 2 ( j ) ) ≥ ( 1 + β ) ⋅ κ − 1 ⋅ 2 S 2 .
Multiplying by 2 κ > 0 2\kappa> 0 2 κ > 0 gives κ 2 ( j + 2 ) ⋅ S 1 > ( 1 + β ) ⋅ S 2 \kappa^{2(j+2)} \cdot S_1 > (1+\beta) \cdot S_2 κ 2 ( j + 2 ) ⋅ S 1 > ( 1 + β ) ⋅ S 2 . Subsequently, there exists b ∈ { 0 , 1 } b \in\{0,1\} b ∈ { 0 , 1 } such that κ 2 ( j + 2 ) ⋅ P η ( Fix b ( D 1 ( j ) ) ) > ( 1 + β ) ⋅ P η ( Fix b ( D 2 ( j ) ) ) \kappa^{2(j+2)} \cdot P_\eta(\operatorname{Fix}_b(D_1^{(j)})) > (1+\beta) \cdot P_\eta(\operatorname{Fix}_b(D_2^{(j)})) κ 2 ( j + 2 ) ⋅ P η ( Fix b ( D 1 ( j ) )) > ( 1 + β ) ⋅ P η ( Fix b ( D 2 ( j ) )) . The algorithm sets b j ≜ b b_j \triangleq b b j ≜ b so the invariant (A.4) holds for j + 1 j+1 j + 1 . By induction on j ≤ n j \le n j ≤ n on a quantifier-free formula, (A.4) also holds for j = n j = n j = n .
Let z ≜ b n − 1 ⋯ b 1 b 0 ∈ { 0 , 1 } n z \triangleq b_{n-1}\cdots b_1b_0 \in\{0,1\}^n z ≜ b n − 1 ⋯ b 1 b 0 ∈ { 0 , 1 } n , so that D i ( n ) = Fix z ( C i ) D_i^{(n)} = \operatorname{Fix}_z(C_i) D i ( n ) = Fix z ( C i ) for i ∈ { 1 , 2 } i \in\{1,2\} i ∈ { 1 , 2 } . Since Fix z ( C i ) \operatorname{Fix}_z(C_i) Fix z ( C i ) does not read its input and outputs C i ( z ) C_i(z) C i ( z ) , the BOUNDARY AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ gives P η ( D i ( n ) ) = C i ( z ) P_\eta(D_i^{(n)}) = C_i(z) P η ( D i ( n ) ) = C i ( z ) , so (A.4) for j = n j = n j = n means that κ 2 ( n + 1 ) ⋅ C 1 ( z ) > ( 1 + β ) ⋅ C 2 ( z ) \kappa^{2(n+1)} \cdot C_1(z) > (1+\beta) \cdot C_2(z) κ 2 ( n + 1 ) ⋅ C 1 ( z ) > ( 1 + β ) ⋅ C 2 ( z ) . Since the RHS is non-negative, C 1 ( z ) = 1 C_1(z) = 1 C 1 ( z ) = 1 , we know that C 2 ( z ) = 1 C_2(z) = 1 C 2 ( z ) = 1 (as C 1 ( z ) ≤ C 2 ( z ) C_1(z) \le C_2(z) C 1 ( z ) ≤ C 2 ( z ) ). Therefore, κ 2 ( n + 1 ) > 1 + β \kappa^{2(n+1)} > 1+\beta κ 2 ( n + 1 ) > 1 + β .
Finally, we set η ≜ β / ( 16 ( n + 1 ) ) ≤ 1 / 16 \eta\triangleq\beta/(16(n+1)) \le1/16 η ≜ β / ( 16 ( n + 1 )) ≤ 1/16 to derive a contradiction. Since η ≤ 1 / 5 \eta\le1/5 η ≤ 1/5 , we have ( 1 + η ) 2 ≤ ( 1 + 4 η ) ( 1 − η ) (1+\eta)^2 \le(1+4\eta)(1-\eta) ( 1 + η ) 2 ≤ ( 1 + 4 η ) ( 1 − η ) , i.e., κ ≤ 1 + 4 η \kappa\le1+4\eta κ ≤ 1 + 4 η . We use the inequality ( 1 + s ) k ≤ 1 + 2 k s (1+s)^k \le1+2ks ( 1 + s ) k ≤ 1 + 2 k s for s ≥ 0 s \ge0 s ≥ 0 and k s ≤ 1 / 2 ks \le1/2 k s ≤ 1/2 , which can be proved in P V 1 \mathrm{PV}_1 PV 1 . Applying it with s = 4 η s=4\eta s = 4 η and k = 2 ( n + 1 ) k=2(n+1) k = 2 ( n + 1 ) (where k s = β / 2 ks=\beta/2 k s = β /2 ), we obtain κ 2 ( n + 1 ) ≤ ( 1 + 4 η ) 2 ( n + 1 ) ≤ 1 + 16 ( n + 1 ) η = 1 + β \kappa^{2(n+1)} \le(1+4\eta)^{2(n+1)} \le1+16(n+1)\eta= 1+\beta κ 2 ( n + 1 ) ≤ ( 1 + 4 η ) 2 ( n + 1 ) ≤ 1 + 16 ( n + 1 ) η = 1 + β , which leads to a contradiction.
Lemma 5.8 (Non-Existence Lemma for APX1 ∗ {}^{*}_{1} 1 ∗ ). APX1 ∗ {}^{*}_{1} 1 ∗ proves the following statement. Let n , δ − 1 ∈ L o g n,\delta^{-1} \in\mathrm{Log} n , δ − 1 ∈ Log satisfying δ < 1 \delta< 1 δ < 1 and C : { 0 , 1 } n → { 0 , 1 } C : \{0,1\}^n \to\{0,1\} C : { 0 , 1 } n → { 0 , 1 } be a circuit. If there is x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n such that C ( x ) = 1 C(x)=1 C ( x ) = 1 , then ( 1 − δ ) ⋅ 2 − n ≲ ∗ P δ ( C ) (1-\delta)\cdot2^{-n} \lesssim^{*} P_\delta(C) ( 1 − δ ) ⋅ 2 − n ≲ ∗ P δ ( C ) . (Or equivalently, if ( 1 + β ) ⋅ P δ ( C ) < ( 1 − δ ) ⋅ 2 − n (1+\beta)\cdot P_\delta(C) < (1-\delta)\cdot2^{-n} ( 1 + β ) ⋅ P δ ( C ) < ( 1 − δ ) ⋅ 2 − n for some β − 1 ∈ L o g \beta^{-1} \in\mathrm{Log} β − 1 ∈ Log , then C ( x ) = 0 C(x)=0 C ( x ) = 0 for every x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n .)
Proof. We use the bit-by-bit fixing argument, as in the proofs of Lemma 5.7 and [11 Lemma 3.7] . We argue in APX1 ∗ {}^{*}_{1} 1 ∗ . Fix n , δ − 1 ∈ L o g n,\delta^{-1} \in\mathrm{Log} n , δ − 1 ∈ Log , a circuit C : { 0 , 1 } n → { 0 , 1 } C : \{0,1\}^n \to\{0,1\} C : { 0 , 1 } n → { 0 , 1 } , an input x = x 1 ⋯ x n ∈ { 0 , 1 } n x=x_1\cdots x_n \in\{0,1\}^n x = x 1 ⋯ x n ∈ { 0 , 1 } n such that C ( x ) = 1 C(x)=1 C ( x ) = 1 , and β − 1 ∈ L o g \beta^{-1} \in\mathrm{Log} β − 1 ∈ Log ; our goal is to show that ( 1 − δ ) ⋅ 2 − n ≤ ( 1 + β ) ⋅ P δ ( C ) (1-\delta)\cdot2^{-n} \le(1+\beta)\cdot P_\delta(C) ( 1 − δ ) ⋅ 2 − n ≤ ( 1 + β ) ⋅ P δ ( C ) . Let η − 1 ∈ L o g \eta^{-1} \in\mathrm{Log} η − 1 ∈ Log be a parameter to be determined (satisfying η ≤ 1 / 8 \eta\le1/8 η ≤ 1/8 ) and κ ≜ ( 1 + η ) 2 / ( 1 − η ) \kappa\triangleq(1+\eta)^2/(1-\eta) κ ≜ ( 1 + η ) 2 / ( 1 − η ) . (Note that every occurrence of ≲ ∗ \lesssim^{*} ≲ ∗ in the axioms below is instantiated at the slack η \eta η .)
Let D 0 ≜ C D_0 \triangleq C D 0 ≜ C and D j + 1 ≜ Fix x n − j ( D j ) D_{j+1} \triangleq\operatorname{Fix}_{x_{n-j}}(D_j) D j + 1 ≜ Fix x n − j ( D j ) for j = 0 , 1 , … , n − 1 j=0,1,\ldots,n-1 j = 0 , 1 , … , n − 1 , so that D j D_j D j is obtained from C C C by fixing its last j j j input bits to x n − j + 1 ⋯ x n x_{n-j+1}\cdots x_n x n − j + 1 ⋯ x n . In particular, D n D_n D n does not read its input and outputs C ( x ) = 1 C(x)=1 C ( x ) = 1 , so the BOUNDARY AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ gives P η ( D n ) = 1 P_\eta(D_n)=1 P η ( D n ) = 1 . For every j < n j<n j < n , the LOCAL CONSISTENCY AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ at precision η \eta η gives
( 1 − η ) ⋅ P η ( Fix 0 ( D j ) ) + P η ( Fix 1 ( D j ) ) 2 ≤ ( 1 + η ) 2 ⋅ P η ( D j ) . (1-\eta)\cdot\frac{P_\eta(\operatorname{Fix}_0(D_j))+P_\eta(\operatorname{Fix}_1(D_j))}{2} \le(1+\eta)^2\cdot P_\eta(D_j). ( 1 − η ) ⋅ 2 P η ( Fix 0 ( D j )) + P η ( Fix 1 ( D j )) ≤ ( 1 + η ) 2 ⋅ P η ( D j ) .
Since P η ( Fix 1 − x n − j ( D j ) ) ≥ 0 P_\eta(\operatorname{Fix}_{1-x_{n-j}}(D_j)) \ge0 P η ( Fix 1 − x n − j ( D j )) ≥ 0 by the BASIC AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ and Fix x n − j ( D j ) = D j + 1 \operatorname{Fix}_{x_{n-j}}(D_j)=D_{j+1} Fix x n − j ( D j ) = D j + 1 , this implies that
P η ( D j ) ≥ 1 − η 2 ( 1 + η ) 2 ⋅ P η ( D j + 1 ) = 1 2 κ ⋅ P η ( D j + 1 ) . P_\eta(D_j) \ge\frac{1-\eta}{2(1+\eta)^2}\cdot P_\eta(D_{j+1}) = \frac{1}{2\kappa}\cdot P_\eta(D_{j+1}). P η ( D j ) ≥ 2 ( 1 + η ) 2 1 − η ⋅ P η ( D j + 1 ) = 2 κ 1 ⋅ P η ( D j + 1 ) .
By induction on i ≤ n i \le n i ≤ n on a quantifier-free formula, P η ( D n − i ) ≥ ( 2 κ ) − i P_\eta(D_{n-i}) \ge(2\kappa)^{-i} P η ( D n − i ) ≥ ( 2 κ ) − i for every i ∈ { 0 , 1 , … , n } i \in\{0,1,\ldots,n\} i ∈ { 0 , 1 , … , n } ; in particular, P η ( C ) = P η ( D 0 ) ≥ ( 2 κ ) − n P_\eta(C)=P_\eta(D_0) \ge(2\kappa)^{-n} P η ( C ) = P η ( D 0 ) ≥ ( 2 κ ) − n . It remains to switch the counting precision back to δ \delta δ . By the PRECISION CONSISTENCY AXIOM FOR APX1 ∗ _1^* 1 ∗ instantiated with ( δ 1 , δ 2 ) ≜ ( δ , η ) (\delta_1,\delta_2) \triangleq(\delta,\eta) ( δ 1 , δ 2 ) ≜ ( δ , η ) , we have ( 1 − δ ) ⋅ P η ( C ) ≤ ( 1 + η ) 2 ⋅ P δ ( C ) ≤ κ ⋅ P δ ( C ) (1-\delta)\cdot P_\eta(C)\le(1+\eta)^2\cdot P_\delta(C)\le\kappa\cdot P_\delta(C) ( 1 − δ ) ⋅ P η ( C ) ≤ ( 1 + η ) 2 ⋅ P δ ( C ) ≤ κ ⋅ P δ ( C ) , and therefore, as δ ≤ 1 \delta\le1 δ ≤ 1 ,
( 1 − δ ) ⋅ 2 − n = κ n ⋅ ( 1 − δ ) ⋅ ( 2 κ ) − n ≤ κ n ⋅ ( 1 − δ ) ⋅ P η ( C ) ≤ κ n + 1 ⋅ P δ ( C ) . (1-\delta)\cdot2^{-n}=\kappa^n\cdot(1-\delta)\cdot(2\kappa)^{-n}\le\kappa^n\cdot(1-\delta)\cdot P_\eta(C)\le\kappa^{n+1}\cdot P_\delta(C). ( 1 − δ ) ⋅ 2 − n = κ n ⋅ ( 1 − δ ) ⋅ ( 2 κ ) − n ≤ κ n ⋅ ( 1 − δ ) ⋅ P η ( C ) ≤ κ n + 1 ⋅ P δ ( C ) .
Finally we set η ≜ β / ( 8 ( n + 1 ) ) ≤ 1 / 8 \eta\triangleq\beta/(8(n+1))\le1/8 η ≜ β / ( 8 ( n + 1 )) ≤ 1/8 . Since η ≤ 1 / 5 \eta\le1/5 η ≤ 1/5 , we have ( 1 + η ) 2 ≤ ( 1 + 4 η ) ( 1 − η ) (1+\eta)^2\le(1+4\eta)(1-\eta) ( 1 + η ) 2 ≤ ( 1 + 4 η ) ( 1 − η ) , i.e., κ ≤ 1 + 4 η \kappa\le1+4\eta κ ≤ 1 + 4 η . We use the inequality ( 1 + s ) k ≤ 1 + 2 k s (1+s)^k\le1+2ks ( 1 + s ) k ≤ 1 + 2 k s for s ≥ 0 s\ge0 s ≥ 0 and k s ≤ 1 / 2 ks\le1/2 k s ≤ 1/2 , which can be proved in PV1 _1 1 . Applying it with s = 4 η s=4\eta s = 4 η and k = n + 1 k=n+1 k = n + 1 (where k s = β / 2 ks=\beta/2 k s = β /2 ), we obtain κ n + 1 ≤ ( 1 + 4 η ) n + 1 ≤ 1 + 8 ( n + 1 ) η = 1 + β \kappa^{n+1}\le(1+4\eta)^{n+1}\le1+8(n+1)\eta=1+\beta κ n + 1 ≤ ( 1 + 4 η ) n + 1 ≤ 1 + 8 ( n + 1 ) η = 1 + β . Hence ( 1 − δ ) ⋅ 2 − n ≤ ( 1 + β ) ⋅ P δ ( C ) (1-\delta)\cdot2^{-n}\le(1+\beta)\cdot P_\delta(C) ( 1 − δ ) ⋅ 2 − n ≤ ( 1 + β ) ⋅ P δ ( C ) , as desired.
Lemma 5.9 (Averaging on Linear Combination for APX1 ∗ _1^* 1 ∗ ). APX1 ∗ _1^* 1 ∗ proves the following statement. Let n , m , δ − 1 ∈ L o g n,m,\delta^{-1}\in\mathrm{Log} n , m , δ − 1 ∈ Log , C 1 , … , C m : { 0 , 1 } n → { 0 , 1 } C_1,\ldots,C_m:\{0,1\}^n\to\{0,1\} C 1 , … , C m : { 0 , 1 } n → { 0 , 1 } be circuits, and λ 1 + , … , λ m + , λ 1 − , … , λ m − ∈ Q \lambda_1^+,\ldots,\lambda_m^+,\lambda_1^-,\ldots,\lambda_m^-\in\mathbb{Q} λ 1 + , … , λ m + , λ 1 − , … , λ m − ∈ Q be non-negative. Let
μ + ≜ ∑ i ∈ [ m ] λ i + ⋅ P δ ( C i ) and μ − ≜ ∑ i ∈ [ m ] λ i − ⋅ P δ ( C i ) . \mu^+\triangleq\sum_{i\in[m]}\lambda_i^+\cdot P_\delta(C_i)
\qquad\text{and}\qquad
\mu^-\triangleq\sum_{i\in[m]}\lambda_i^-\cdot P_\delta(C_i). μ + ≜ i ∈ [ m ] ∑ λ i + ⋅ P δ ( C i ) and μ − ≜ i ∈ [ m ] ∑ λ i − ⋅ P δ ( C i ) . Then for every β − 1 ∈ L o g \beta^{-1}\in\mathrm{Log} β − 1 ∈ Log , there is z ∈ { 0 , 1 } n z\in\{0,1\}^n z ∈ { 0 , 1 } n such that
( 1 + β ) ( 1 + δ ) ⋅ ∑ i ∈ [ m ] λ i + ⋅ C i ( z ) ( 1 − δ ) ⋅ ∑ i ∈ [ m ] λ i − ⋅ C i ( z ) ≥ μ + μ − . \frac{(1+\beta)(1+\delta)\cdot\sum_{i\in[m]}\lambda_i^+\cdot C_i(z)}
{(1-\delta)\cdot\sum_{i\in[m]}\lambda_i^-\cdot C_i(z)}
\ge\frac{\mu^+}{\mu^-}. ( 1 − δ ) ⋅ ∑ i ∈ [ m ] λ i − ⋅ C i ( z ) ( 1 + β ) ( 1 + δ ) ⋅ ∑ i ∈ [ m ] λ i + ⋅ C i ( z ) ≥ μ − μ + . where a / b ≥ c / d a/b\ge c/d a / b ≥ c / d is an abbreviation of a d ≥ b c ad\ge bc a d ≥ b c . Moreover, if μ + > 0 \mu^+>0 μ + > 0 and μ − > 0 \mu^->0 μ − > 0 , then z z z can be chosen such that the inequality is strict, i.e., a d > b c ad>bc a d > b c .
Proof. We follow the bit-by-bit fixing trick in the proof of Lemma 5.7 . We argue in APX1 ∗ _1^* 1 ∗ . Fix β − 1 ∈ L o g \beta^{-1}\in\mathrm{Log} β − 1 ∈ Log , and for z ∈ { 0 , 1 } n z\in\{0,1\}^n z ∈ { 0 , 1 } n let Λ + ( z ) ≜ ∑ i ∈ [ m ] λ i + ⋅ C i ( z ) \Lambda^+(z)\triangleq\sum_{i\in[m]}\lambda_i^+\cdot C_i(z) Λ + ( z ) ≜ ∑ i ∈ [ m ] λ i + ⋅ C i ( z ) and Λ − ( z ) ≜ ∑ i ∈ [ m ] λ i − ⋅ C i ( z ) \Lambda^-(z)\triangleq\sum_{i\in[m]}\lambda_i^-\cdot C_i(z) Λ − ( z ) ≜ ∑ i ∈ [ m ] λ i − ⋅ C i ( z ) . Our goal is to find z ∈ { 0 , 1 } n z\in\{0,1\}^n z ∈ { 0 , 1 } n such that
α + ⋅ Λ + ( z ) ≥ α − ⋅ Λ − ( z ) , where α + ≜ ( 1 + β ) ( 1 + δ ) ⋅ μ − and α − ≜ ( 1 − δ ) ⋅ μ + . (24) \alpha^+\cdot\Lambda^+(z)\ge\alpha^-\cdot\Lambda^-(z),
\qquad\text{where}\qquad
\alpha^+\triangleq(1+\beta)(1+\delta)\cdot\mu^-
\quad\text{and}\quad
\alpha^-\triangleq(1-\delta)\cdot\mu^+. \tag*{(24)} α + ⋅ Λ + ( z ) ≥ α − ⋅ Λ − ( z ) , where α + ≜ ( 1 + β ) ( 1 + δ ) ⋅ μ − and α − ≜ ( 1 − δ ) ⋅ μ + . (24)
Note that α + , α − ≥ 0 \alpha^+,\alpha^-\ge0 α + , α − ≥ 0 , as λ i + , λ i − ≥ 0 \lambda_i^+,\lambda_i^-\ge0 λ i + , λ i − ≥ 0 , P δ ( C i ) ≥ 0 P_\delta(C_i)\ge0 P δ ( C i ) ≥ 0 by the BASIC AXIOM FOR APX1 ∗ _1^* 1 ∗ , and δ ≤ 1 \delta\le1 δ ≤ 1 . Let η − 1 ∈ L o g \eta^{-1}\in\mathrm{Log} η − 1 ∈ Log be a parameter to be determined and κ ≜ ( 1 + η ) 2 / ( 1 − η ) \kappa\triangleq(1+\eta)^2/(1-\eta) κ ≜ ( 1 + η ) 2 / ( 1 − η ) . (Note that every occurrence of ≲ ∗ \lesssim^* ≲ ∗ in the axioms below is instantiated at the slack η \eta η .)
For a tuple D ⃗ = ( D 1 , … , D m ) \vec{D}=(D_1,\ldots,D_m) D = ( D 1 , … , D m ) of circuits on a common input length and b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } , let Fix b ( D ⃗ ) \operatorname{Fix}_b(\vec{D}) Fix b ( D ) denote the tuple ( Fix b ( D 1 ) , … , Fix b ( D m ) ) (\operatorname{Fix}_b(D_1),\ldots,\operatorname{Fix}_b(D_m)) ( Fix b ( D 1 ) , … , Fix b ( D m )) , and let
A ( D ⃗ ) ≜ ∑ i ∈ [ m ] λ i + ⋅ P η ( D i ) and B ( D ⃗ ) ≜ ∑ i ∈ [ m ] λ i − ⋅ P η ( D i ) . A(\vec{D})\triangleq\sum_{i\in[m]}\lambda_i^+\cdot P_\eta(D_i)
\qquad\text{and}\qquad
B(\vec{D})\triangleq\sum_{i\in[m]}\lambda_i^-\cdot P_\eta(D_i). A ( D ) ≜ i ∈ [ m ] ∑ λ i + ⋅ P η ( D i ) and B ( D ) ≜ i ∈ [ m ] ∑ λ i − ⋅ P η ( D i ) .
For every circuit D D D with at least one input bit, the LOCAL CONSISTENCY AXIOM FOR APX1 ∗ _1^* 1 ∗ at precision η \eta η gives ( 1 − η ) P η ( D ) ≤ ( 1 + η ) 2 ⋅ p M (1-\eta)P_\eta(D)\le(1+\eta)^2\cdot p_M ( 1 − η ) P η ( D ) ≤ ( 1 + η ) 2 ⋅ p M and ( 1 − η ) ⋅ p M ≤ ( 1 + η ) 2 ⋅ P η ( D ) (1-\eta)\cdot p_M\le(1+\eta)^2\cdot P_\eta(D) ( 1 − η ) ⋅ p M ≤ ( 1 + η ) 2 ⋅ P η ( D ) , where p M = 1 2 ( P η ( Fix 0 ( D ) ) + P η ( Fix 1 ( D ) ) ) p_M=\frac{1}{2}(P_\eta(\operatorname{Fix}_0(D))+P_\eta(\operatorname{Fix}_1(D))) p M = 2 1 ( P η ( Fix 0 ( D )) + P η ( Fix 1 ( D ))) ; that is, κ − 1 ⋅ p M ≤ P η ( D ) ≤ κ ⋅ p M \kappa^{-1}\cdot p_M\le P_\eta(D)\le\kappa\cdot p_M κ − 1 ⋅ p M ≤ P η ( D ) ≤ κ ⋅ p M . Multiplying by the non-negative coefficients λ i + \lambda_i^+ λ i + (resp. λ i − \lambda_i^- λ i − ) and summing over i ∈ [ m ] i\in[m] i ∈ [ m ] , we obtain
A ( D ⃗ ) ≤ κ 2 ⋅ ( A ( Fix 0 ( D ⃗ ) ) + A ( Fix 1 ( D ⃗ ) ) ) and A(\vec{D})\le\frac{\kappa}{2}\cdot\left(A(\operatorname{Fix}_0(\vec{D}))+A(\operatorname{Fix}_1(\vec{D}))\right)
\qquad\text{and} A ( D ) ≤ 2 κ ⋅ ( A ( Fix 0 ( D )) + A ( Fix 1 ( D )) ) and
B ( D ⃗ ) ≥ 1 2 κ ⋅ ( B ( Fix 0 ( D ⃗ ) ) + B ( Fix 1 ( D ⃗ ) ) ) . (25) B(\vec{D})\ge\frac{1}{2\kappa}\cdot\left(B(\operatorname{Fix}_0(\vec{D}))+B(\operatorname{Fix}_1(\vec{D}))\right). \tag*{(25)} B ( D ) ≥ 2 κ 1 ⋅ ( B ( Fix 0 ( D )) + B ( Fix 1 ( D )) ) . (25)
For j ∈ { 0 , 1 , … , n } j\in\{0,1,\ldots,n\} j ∈ { 0 , 1 , … , n } and a tuple D ⃗ \vec{D} D of circuits on input length n − j n-j n − j , we define the potential function
Φ j ( D ⃗ ) ≜ κ j − n ⋅ α + ⋅ A ( D ⃗ ) − κ n − j ⋅ α − ⋅ B ( D ⃗ ) . \Phi_j(\vec{D})\triangleq\kappa^{j-n}\cdot\alpha^+\cdot A(\vec{D})-\kappa^{n-j}\cdot\alpha^-\cdot B(\vec{D}). Φ j ( D ) ≜ κ j − n ⋅ α + ⋅ A ( D ) − κ n − j ⋅ α − ⋅ B ( D ) .
As α + , α − ≥ 0 \alpha^{+}, \alpha^{-} \ge0 α + , α − ≥ 0 , (A.6) implies that for every j < n j<n j < n ,
Φ j ( D ⃗ ) ≤ 1 2 ⋅ ( Φ j + 1 ( Fix 0 ( D ⃗ ) ) + Φ j + 1 ( Fix 1 ( D ⃗ ) ) ) . \Phi_j(\vec{D}) \le\frac{1}{2}\cdot\left(\Phi_{j+1}(\operatorname{Fix}_0(\vec{D}))+\Phi_{j+1}(\operatorname{Fix}_1(\vec{D}))\right). Φ j ( D ) ≤ 2 1 ⋅ ( Φ j + 1 ( Fix 0 ( D )) + Φ j + 1 ( Fix 1 ( D )) ) .
and hence there is b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } such that Φ j + 1 ( Fix b ( D ⃗ ) ) ≥ Φ j ( D ⃗ ) \Phi_{j+1}(\operatorname{Fix}_b(\vec{D}))\ge\Phi_j(\vec{D}) Φ j + 1 ( Fix b ( D )) ≥ Φ j ( D ) . Consider the algorithm that starts from C ⃗ ( 0 ) ≜ ( C 1 , … , C m ) \vec{C}^{(0)}\triangleq(C_1,\ldots,C_m) C ( 0 ) ≜ ( C 1 , … , C m ) and, for j = 0 , 1 , … , n − 1 j=0,1,\ldots,n-1 j = 0 , 1 , … , n − 1 , computes such a bit b j b_j b j (by querying P η P_\eta P η on the 2 m 2m 2 m circuits in Fix 0 ( C ⃗ ( j ) ) \operatorname{Fix}_0(\vec{C}^{(j)}) Fix 0 ( C ( j ) ) and Fix 1 ( C ⃗ ( j ) ) \operatorname{Fix}_1(\vec{C}^{(j)}) Fix 1 ( C ( j ) ) ) and sets C ⃗ ( j + 1 ) ≜ Fix b j ( C ⃗ ( j ) ) \vec{C}^{(j+1)}\triangleq\operatorname{Fix}_{b_j}(\vec{C}^{(j)}) C ( j + 1 ) ≜ Fix b j ( C ( j ) ) . By induction on j ≤ n j\le n j ≤ n on a quantifier-free formula, Φ n ( C ⃗ ( n ) ) ≥ Φ 0 ( C ⃗ ( 0 ) ) \Phi_n(\vec{C}^{(n)})\ge\Phi_0(\vec{C}^{(0)}) Φ n ( C ( n ) ) ≥ Φ 0 ( C ( 0 ) ) .
Let z ≜ b n − 1 ⋯ b 1 b 0 ∈ { 0 , 1 } n z\triangleq b_{n-1}\cdots b_1b_0\in\{0,1\}^n z ≜ b n − 1 ⋯ b 1 b 0 ∈ { 0 , 1 } n , so that C ⃗ ( n ) = ( Fix z ( C 1 ) , … , Fix z ( C m ) ) \vec{C}^{(n)}=(\operatorname{Fix}_z(C_1),\ldots,\operatorname{Fix}_z(C_m)) C ( n ) = ( Fix z ( C 1 ) , … , Fix z ( C m )) , where Fix z ( C ) \operatorname{Fix}_z(C) Fix z ( C ) fixes the last ∥ z ∥ \lVert z\rVert ∥ z ∥ input bits of C C C to z z z . Each circuit Fix z ( C i ) \operatorname{Fix}_z(C_i) Fix z ( C i ) does not read its input and outputs C i ( z ) C_i(z) C i ( z ) , so the BOUNDARY AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ gives P η ( Fix z ( C i ) ) = C i ( z ) P_\eta(\operatorname{Fix}_z(C_i))=C_i(z) P η ( Fix z ( C i )) = C i ( z ) , and therefore
α + ⋅ Λ + ( z ) − α − ⋅ Λ − ( z ) = Φ n ( C ⃗ ( n ) ) ≥ Φ 0 ( C ⃗ ( 0 ) ) . (26) \alpha^{+}\cdot\Lambda^{+}(z)-\alpha^{-}\cdot\Lambda^{-}(z)=\Phi_n(\vec{C}^{(n)})\ge\Phi_0(\vec{C}^{(0)}). \tag*{(26)} α + ⋅ Λ + ( z ) − α − ⋅ Λ − ( z ) = Φ n ( C ( n ) ) ≥ Φ 0 ( C ( 0 ) ) . (26)
It remains to show that Φ 0 ( C ⃗ ( 0 ) ) ≥ 0 \Phi_0(\vec{C}^{(0)})\ge0 Φ 0 ( C ( 0 ) ) ≥ 0 , for which we switch the precision from η \eta η back to δ \delta δ . By the PRECISION CONSISTENCY AXIOM FOR APX1 ∗ {}^{*}_{1} 1 ∗ instantiated with ( δ 1 , δ 2 ) ≜ ( η , δ ) (\delta_1,\delta_2)\triangleq(\eta,\delta) ( δ 1 , δ 2 ) ≜ ( η , δ ) and with ( δ 1 , δ 2 ) ≜ ( δ , η ) (\delta_1,\delta_2)\triangleq(\delta,\eta) ( δ 1 , δ 2 ) ≜ ( δ , η ) , for every i ∈ [ m ] i\in[m] i ∈ [ m ] ,
( 1 + δ ) ⋅ P η ( C i ) ≥ 1 − η 1 + η ⋅ P δ ( C i ) ≥ 1 κ ⋅ P δ ( C i ) and ( 1 − δ ) ⋅ P η ( C i ) ≤ ( 1 + η ) 2 ⋅ P δ ( C i ) ≤ κ ⋅ P δ ( C i ) . \begin{aligned}
(1+\delta)\cdot P_\eta(C_i)&\ge\frac{1-\eta}{1+\eta}\cdot P_\delta(C_i)\ge\frac{1}{\kappa}\cdot P_\delta(C_i) &&\text{and}\\
(1-\delta)\cdot P_\eta(C_i)&\le(1+\eta)^2\cdot P_\delta(C_i)\le\kappa\cdot P_\delta(C_i).
\end{aligned} ( 1 + δ ) ⋅ P η ( C i ) ( 1 − δ ) ⋅ P η ( C i ) ≥ 1 + η 1 − η ⋅ P δ ( C i ) ≥ κ 1 ⋅ P δ ( C i ) ≤ ( 1 + η ) 2 ⋅ P δ ( C i ) ≤ κ ⋅ P δ ( C i ) . and
Multiplying by λ i + \lambda_i^{+} λ i + (resp. λ i − \lambda_i^{-} λ i − ) and summing over i ∈ [ m ] i\in[m] i ∈ [ m ] , we obtain ( 1 + δ ) ⋅ A ( C ⃗ ( 0 ) ) ≥ κ − 1 ⋅ μ + (1+\delta)\cdot A(\vec{C}^{(0)})\ge\kappa^{-1}\cdot\mu^{+} ( 1 + δ ) ⋅ A ( C ( 0 ) ) ≥ κ − 1 ⋅ μ + and ( 1 − δ ) ⋅ B ( C ⃗ ( 0 ) ) ≤ κ ⋅ μ − (1-\delta)\cdot B(\vec{C}^{(0)})\le\kappa\cdot\mu^{-} ( 1 − δ ) ⋅ B ( C ( 0 ) ) ≤ κ ⋅ μ − . Plugging in α + \alpha^{+} α + and α − \alpha^{-} α − , and using μ + , μ − ≥ 0 \mu^{+},\mu^{-}\ge0 μ + , μ − ≥ 0 , we have
Φ 0 ( C ⃗ ( 0 ) ) = κ − n ( 1 + β ) μ − ⋅ ( 1 + δ ) A ( C ⃗ ( 0 ) ) − κ n μ + ⋅ ( 1 − δ ) B ( C ⃗ ( 0 ) ) ≥ κ − ( n + 1 ) ⋅ μ + μ − ⋅ ( ( 1 + β ) − κ 2 ( n + 1 ) ) . \begin{aligned}
\Phi_0(\vec{C}^{(0)})&=\kappa^{-n}(1+\beta)\mu^{-}\cdot(1+\delta)A(\vec{C}^{(0)})-\kappa^n\mu^{+}\cdot(1-\delta)B(\vec{C}^{(0)})\\
&\ge\kappa^{-(n+1)}\cdot\mu^{+}\mu^{-}\cdot\left((1+\beta)-\kappa^{2(n+1)}\right).
\end{aligned} Φ 0 ( C ( 0 ) ) = κ − n ( 1 + β ) μ − ⋅ ( 1 + δ ) A ( C ( 0 ) ) − κ n μ + ⋅ ( 1 − δ ) B ( C ( 0 ) ) ≥ κ − ( n + 1 ) ⋅ μ + μ − ⋅ ( ( 1 + β ) − κ 2 ( n + 1 ) ) .
Finally we set the parameters. Let η ≜ β / ( 32 ( n + 1 ) ) ≤ 1 / 32 \eta\triangleq\beta/(32(n+1))\le1/32 η ≜ β / ( 32 ( n + 1 )) ≤ 1/32 . We have κ = ( 1 + η ) 2 / ( 1 − η ) ≤ 1 + 4 η \kappa=(1+\eta)^2/(1-\eta)\le1+4\eta κ = ( 1 + η ) 2 / ( 1 − η ) ≤ 1 + 4 η . Recall that ( 1 + s ) k ≤ 1 + 2 k s (1+s)^k\le1+2ks ( 1 + s ) k ≤ 1 + 2 k s if s ≥ 0 s\ge0 s ≥ 0 and k s ≤ 1 / 2 ks\le1/2 k s ≤ 1/2 . Applying it with s = 4 η s=4\eta s = 4 η and k = 2 ( n + 1 ) k=2(n+1) k = 2 ( n + 1 ) , we have
κ 2 ( n + 1 ) ≤ ( 1 + 4 η ) 2 ( n + 1 ) ≤ 1 + 16 ( n + 1 ) η = 1 + β / 2. \kappa^{2(n+1)}\le(1+4\eta)^{2(n+1)}\le1+16(n+1)\eta=1+\beta/2. κ 2 ( n + 1 ) ≤ ( 1 + 4 η ) 2 ( n + 1 ) ≤ 1 + 16 ( n + 1 ) η = 1 + β /2.
Hence ( 1 + β ) − κ 2 ( n + 1 ) ≥ β / 2 (1+\beta)-\kappa^{2(n+1)}\ge\beta/2 ( 1 + β ) − κ 2 ( n + 1 ) ≥ β /2 , so Φ 0 ( C ⃗ ( 0 ) ) ≥ β 2 κ − ( n + 1 ) μ + μ − ≥ 0 \Phi_0(\vec{C}^{(0)})\ge\frac{\beta}{2}\kappa^{-(n+1)}\mu^{+}\mu^{-}\ge0 Φ 0 ( C ( 0 ) ) ≥ 2 β κ − ( n + 1 ) μ + μ − ≥ 0 , which together with (A.7) gives (A.5). If moreover μ + > 0 \mu^{+}>0 μ + > 0 and μ − > 0 \mu^{-}>0 μ − > 0 , then Φ 0 ( C ⃗ ( 0 ) ) > 0 \Phi_0(\vec{C}^{(0)})>0 Φ 0 ( C ( 0 ) ) > 0 , so the inequality in (A.5) is strict.