On the Consistency of Circuit Lower Bounds
for Non-Deterministic Time111An extended abstract of part of this work appeared as [2].

Albert Atserias222Universitat PolitΓ¨cnica de Catalunya i Centre de Recerca MatemΓ tica, Barcelona, Spain. Supported in part by Project PID2019-109137GB-C22 (PROOFS) and the Severo Ochoa and MarΓ­a de Maeztu Program for Centers and Units of Excellence in R&D (CEX2020-001084-M) of the Spanish State Research Agency.   Sam Buss333University of California, San Diego, USA. Supported in part by Simons Foundation grant 578919.
  Moritz MΓΌller444UniversitΓ€t Passau, Passau, Germany.
Abstract

We prove the first unconditional consistency result for superpolynomial circuit lower bounds with a relatively strong theory of bounded arithmetic. Namely, we show that the theory π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} is consistent with the conjecture that π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}, i.e., some problem that is solvable in non-deterministic exponential time does not have polynomial size circuits. We suggest this is the best currently available evidence for the truth of the conjecture. The same techniques establish the same results with π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP} replaced by the class of problems decidable in non-deterministic barely superpolynomial time such as π–­π–³π–¨π–¬π–€β€‹(nO​(log⁑log⁑log⁑n))𝖭𝖳𝖨𝖬𝖀superscript𝑛𝑂𝑛\mathsf{NTIME}(n^{O(\log\log\log n)}). Additionally, we establish a magnification result on the hardness of proving circuit lower bounds.

1 Introduction

Bounded arithmetics are fragments of Peano arithmetic that formalize reasoning with concepts and constructions of bounded computational complexity. Their language is tailored so that natural classes of bounded formulas define important complexity classes. For example, the set of all bounded formulas defines precisely the problems in π–―𝖧𝖯𝖧\mathsf{PH} and the set of Ξ£1bsubscriptsuperscriptΣ𝑏1\Sigma^{b}_{1}-formulas those in π–­π–―𝖭𝖯\mathsf{NP}. The central theories are comprised in Buss’ hierarchy [6]

𝖲21βŠ†π–³21βŠ†π–²22βŠ†π–³22βŠ†β‹―βŠ†π–³2βŠ†π–΅20βŠ†π–΅21subscriptsuperscript𝖲12subscriptsuperscript𝖳12subscriptsuperscript𝖲22subscriptsuperscript𝖳22β‹―subscript𝖳2subscriptsuperscript𝖡02subscriptsuperscript𝖡12\textstyle\mathsf{S}^{1}_{2}\subseteq\mathsf{T}^{1}_{2}\subseteq\mathsf{S}^{2}_{2}\subseteq\mathsf{T}^{2}_{2}\subseteq\cdots\subseteq\mathsf{T}_{2}\subseteq\mathsf{V}^{0}_{2}\subseteq\mathsf{V}^{1}_{2}(1)

The theory π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} can be understood as formalizing π–―𝖯\mathsf{P}-reasoning, and π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2} as formalizing π–€π–·π–―𝖀𝖷𝖯\mathsf{EXP}-reasoning. The levels of π–³2subscript𝖳2\mathsf{T}_{2} are determined by induction schemes for properties of bounded computational complexity. E.g., π–³21subscriptsuperscript𝖳12\mathsf{T}^{1}_{2} has induction for π–­π–―𝖭𝖯\mathsf{NP}, and π–³2subscript𝖳2\mathsf{T}_{2} for π–―𝖧𝖯𝖧\mathsf{PH}. Intuitively, these theories can construct and reason with polynomially large objects of various computational complexities. The theories π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} and π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2} are extensions with a second sort of variables ranging over bounded sets of numbers and are given by comprehension schemes. Intuitively, these sets represent exponentially large objects.

Low levels of the bounded arithmetic hierarchy formalize a considerable part of contemporary complexity theory. This includes some advanced topics such as the Arthur-Merlin hierarchy [17], hardness amplification [16], Toda’s theorem [7], and the PCP Theorem [30]. We refer to [26, Section 5] for a list of successful formalizations. Concerning circuit complexity, the topic of this paper, JeΕ™Γ‘bek proved that his theory of approximate counting [15, 16, 17], which sits below π–³22subscriptsuperscript𝖳22\mathsf{T}^{2}_{2}, formalizes Rabin’s primality test, and proves that it is in π–―/π—‰π—ˆπ—…π—’π–―π—‰π—ˆπ—…π—’\mathsf{P/poly} [16, Example 3.2.10, Lemma 3.2.9]. Concerning lower bounds, many of the known (weak) circuit lower bounds can be formalized in a theory of approximate counting [26] and thus also in the theory π–³22subscriptsuperscript𝖳22\mathsf{T}^{2}_{2}. For example, the π– π–’0superscript𝖠𝖒0\mathsf{AC}^{0} lower bound for parity has been formalized in [26, Theorem 1.1] via probabilistic reasoning with Furst, Saxe and Sipser’s random restrictions [13], and in [22, Theorem 15.2.3] via Razborov’s [32] proof of HΓ₯stad’s switching lemma.

Razborov asked in his seminal work from 1995 for the β€œright fragment capturing the kind of techniques existing in Boolean complexity” [32, p.344]. Showing that any theory that is strong enough to capture these techniques cannot prove lower bounds for general circuits would give a precise sense in which current techniques are insufficient. This however seems to be very difficult. We refer to [34, Introduction] or [23, Ch.27-30] for a description of the resulting research program, and to [31] for a recent result.

In contrast to unprovability, the first and final words of Krajíček’s 1995 monograph [22] ask for consistency results555The citations to follow refer not to circuit lower bounds but to π–―≠𝖭𝖯𝖯𝖭𝖯\mathsf{P}\not=\mathsf{NP}., namely to prove the conjecture in question β€œfor nonstandard models of systems of bounded arithmetic”. These are β€œnot ridiculously pathological structures, and a part of the difficulty in constructing them stems exactly from the fact that it is hard to distinguish these structures, by the studied properties, from natural numbers” [22, p.xii]. In particular, showing that a given conjecture is consistent with certain bounded arithmetics, already low ones, would exhibit a world where both the conjecture and a considerable part of complexity theory are true.

We therefore interpret consistency results as giving precise evidence for the truth of the conjecture. This is without doubt preferable to appealing to intuitions, or alluding to the experience that the conjectures appear to be theoretically coherent, exactly because a consistency result gives a precise meaning to this coherence.

1.1 Previous consistency results

Being well motivated, consistency results are also hard to come by, and not much is known. In particular, it is unknown whether π–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–―π–―π—‰π—ˆπ—…π—’\mathsf{NP}\not\subseteq\mathsf{P/poly} is consistent with π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}.

It is not straightforward to formalize π–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–―π–―π—‰π—ˆπ—…π—’\mathsf{NP}\not\subseteq\mathsf{P/poly} because exponentiation is not provably total in bounded arithmetics. On the formal level, call a number n𝑛n small if 2nsuperscript2𝑛2^{n} exists. A size-ncsuperscript𝑛𝑐n^{c} circuit can be coded by a binary string of length at most 10β‹…ncβ‹…log⁑(nc)β‹…10superscript𝑛𝑐superscript𝑛𝑐10\cdot n^{c}\cdot\log(n^{c}), and hence by a number below 210β‹…ncβ‹…log⁑(nc)superscript2β‹…10superscript𝑛𝑐superscript𝑛𝑐2^{10\cdot n^{c}\cdot\log(n^{c})}; this bound exists for small n𝑛n.

On the formal level, an π–­π–―𝖭𝖯\mathsf{NP}-problem is represented by a Ξ£1bsubscriptsuperscriptΣ𝑏1\Sigma^{b}_{1}-formula Ο†β€‹(x)πœ‘π‘₯\varphi(x). A sentence expressing that the problem defined by Ο†β€‹(x)πœ‘π‘₯\varphi(x) has size ncsuperscript𝑛𝑐n^{c} circuits looks as follows:

Ξ±Ο†c:=βˆ€nβˆˆπΏπ‘œπ‘”>1βˆƒC<2ncβˆ€x<2n(C(x)=1↔φ(x)).\alpha^{c}_{\varphi}:=\ \forall n{\in}\mathit{Log}_{>1}\ \exists C{<}2^{n^{c}}\ \forall x{<}2^{n}\ (C(x){=}1\leftrightarrow\varphi(x)).

Here, the quantifier on n𝑛n ranges over small numbers above 111. We think of the quantifier on C𝐢C as ranging over circuits of encoding-size ncsuperscript𝑛𝑐n^{c}, and of the quantifier on xπ‘₯x as ranging over length n𝑛n binary strings. Counting the βˆƒ\exists hidden in Ο†πœ‘\varphi, this is a bounded βˆ€βˆƒβˆ€βˆƒfor-allfor-all\forall\exists\forall\exists-sentence (namely a βˆ€Ξ£3bfor-allsubscriptsuperscriptΣ𝑏3\forall\Sigma^{b}_{3}-sentence).

Now more precisely, the central question whether π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} is consistent with π–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–―π–―π—‰π—ˆπ—…π—’\mathsf{NP}\not\subseteq\mathsf{P/poly} asks for a Ξ£1bsubscriptsuperscriptΣ𝑏1\Sigma^{b}_{1}-formula Ο†β€‹(x)πœ‘π‘₯\varphi(x) such that π–²21+{¬αφc∣cβˆˆβ„•}subscriptsuperscript𝖲12conditional-setsubscriptsuperscriptπ›Όπ‘πœ‘π‘β„•\mathsf{S}^{1}_{2}+\big{\{}\neg\alpha^{c}_{\varphi}\mid c\in\mathbb{N}\big{\}} is consistent. As mentioned a model witnessing this consistency would be a world where a considerable part of complexity theory is true and the π–­π–―𝖭𝖯\mathsf{NP}-problem defined by Ο†πœ‘\varphi does not have polynomial-size circuits. This is faithful in that there also exists an π–­π–―𝖭𝖯\mathsf{NP}-machine M𝑀M that cannot be simulated by small circuits in the model. Namely, π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} proves that Ο†β€‹(x)πœ‘π‘₯\varphi(x) is equivalent to a formula

βˆƒy<2ndβ€‹β€œy is an accepting computation of M on x”𝑦superscript2superscriptπ‘›π‘‘β€œy is an accepting computation of M on x”\exists y{<}2^{n^{d}}\textit{``$y$ is an accepting computation of $M$ on $x$''}(2)

for a suitable π–­π–―𝖭𝖯\mathsf{NP}-machine M𝑀M, namely a model-checker for Ο†πœ‘\varphi. Here, the constant d𝑑d stems from the polynomial running time of M𝑀M. We write Ξ±Mc:=Ξ±Ο†cassignsubscriptsuperscript𝛼𝑐𝑀subscriptsuperscriptπ›Όπ‘πœ‘\alpha^{c}_{M}:=\alpha^{c}_{\varphi} for Ο†β€‹(x)πœ‘π‘₯\varphi(x) equal to (2). One can also fix the machine M𝑀M in advance to a universal one, namely a model-checker Mβˆ—superscript𝑀M^{*} for an π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}-provably π–­π–―𝖭𝖯\mathsf{NP}-complete problem (e.g., π–²π– π–³π–²π– π–³\mathsf{SAT}).

The predominant approach to the consistency of circuit lower bounds is based on witnessing theorems: a proof of Ξ±Mcsubscriptsuperscript𝛼𝑐𝑀\alpha^{c}_{M} in some bounded arithmetic implies a low-complexity algorithm that computes a witness C𝐢C from 1nsuperscript1𝑛1^{n}. E.g., if the theory has feasible witnessing in π–―𝖯\mathsf{P}, then it does not prove Ξ±Ο†csubscriptsuperscriptπ›Όπ‘πœ‘\alpha^{c}_{\varphi} for any c𝑐c unless the problem defined by Ο†β€‹(x)πœ‘π‘₯\varphi(x) is in π–―𝖯\mathsf{P}. However, π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} is only known to have feasible witnessing in π–―𝖯\mathsf{P} for bounded βˆ€βˆƒfor-all\forall\exists-sentences and Ξ±Ο†csubscriptsuperscriptπ›Όπ‘πœ‘\alpha^{c}_{\varphi} is a βˆ€βˆƒβˆ€βˆƒfor-allfor-all\forall\exists\forall\exists-sentence.

Fortunately, a self-reducibility argument implies that the quantifier complexity of this formula can be reduced. Up to suitable changes of c𝑐c, the formula Ξ±Mβˆ—csubscriptsuperscript𝛼𝑐superscript𝑀\alpha^{c}_{M^{*}} is π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}-provably equivalent to the following sentence of lower quantifier complexity:

Ξ²Mβˆ—c:=βˆ€nβˆˆπΏπ‘œπ‘”>1β€‹βˆƒC<2ncβ€‹βˆƒD<2ncβ€‹βˆ€x<2nβ€‹βˆ€y<2nd(C​(x)=0β†’Β¬β€œy is an accepting computation of Mβˆ— on x”)∧(C​(x)=1β†’β€œD​(x) is an accepting computation of Mβˆ— on x”),subscriptsuperscript𝛽𝑐superscript𝑀assignfor-all𝑛subscriptπΏπ‘œπ‘”absent1𝐢superscript2superscript𝑛𝑐𝐷superscript2superscript𝑛𝑐for-allπ‘₯superscript2𝑛for-all𝑦superscript2superscript𝑛𝑑missing-subexpressionmissing-subexpressionlimit-from𝐢π‘₯0β†’β€œy is an accepting computation of Mβˆ— on x”missing-subexpressionmissing-subexpression𝐢π‘₯1β†’β€œD(x) is an accepting computation of Mβˆ— on x”\begin{array}[]{lcl}\beta^{c}_{M^{*}}&:=&\forall n{\in}\mathit{Log}_{>1}\ \exists C{<}2^{n^{c}}\ \exists D{<}2^{n^{c}}\ \forall x{<}2^{n}\ \forall y{<}2^{n^{d}}\\ &&\quad(C(x){=}0\to\neg\textit{``$y$ is an accepting computation of $M^{*}$ on $x$''})\ \wedge\\ &&\quad(C(x){=}1\to\textit{``$D(x)$ is an accepting computation of $M^{*}$ on $x$''}),\end{array}

where d𝑑d stems from the polynomial runtime of Mβˆ—superscript𝑀M^{*}. We define

β€œπ–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’β€:={¬βMβˆ—c∣cβˆˆβ„•}.assignβ€œπ–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’β€conditional-setsubscriptsuperscript𝛽𝑐superscript𝑀𝑐ℕ\textit{``$\mathsf{NP}\not\subseteq\mathsf{P/poly}$''}\ :=\ \big{\{}\neg\beta^{c}_{M^{*}}\mid c\in\mathbb{N}\big{\}}.

Note, Ξ²Mβˆ—csubscriptsuperscript𝛽𝑐superscript𝑀\beta^{c}_{M^{*}} is a bounded βˆ€βˆƒβˆ€for-allfor-all\forall\exists\forall-sentence (namely a βˆ€Ξ£2bfor-allsubscriptsuperscriptΣ𝑏2\forall\Sigma^{b}_{2}-sentence). For such sentences, π–²22subscriptsuperscript𝖲22\mathsf{S}^{2}_{2} has feasible witnessing in π–―𝖭𝖯superscript𝖯𝖭𝖯\mathsf{P}^{\mathsf{NP}} [6], and π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} has feasible witnessing by certain interactive polynomial-time computations [21]. This was exploited by Cook and Krajíček [12] to prove666𝖯tt𝖭𝖯subscriptsuperscript𝖯𝖭𝖯tt\mathsf{P}^{\mathsf{NP}}_{\mathrm{tt}} denotes polynomial time with non-adaptive queries to an π–­π–―𝖭𝖯\mathsf{NP}-oracle. In [12] a distinct but similar formalization of π–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–―π–―π—‰π—ˆπ—…π—’\mathsf{NP}\not\subseteq\mathsf{P/poly} is used. that β€œπ–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–―π–―π—‰π—ˆπ—…π—’\mathsf{NP}\not\subseteq\mathsf{P/poly}” is consistent with π–²22subscriptsuperscript𝖲22\mathsf{S}^{2}_{2} unless π–―π–§βŠ†π–―π–­π–―π–―π–§superscript𝖯𝖭𝖯\mathsf{PH}\subseteq\mathsf{P}^{\mathsf{NP}}, and with π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} unless π–―π–§βŠ†π–―tt𝖭𝖯𝖯𝖧subscriptsuperscript𝖯𝖭𝖯tt\mathsf{PH}\subseteq\mathsf{P}^{\mathsf{NP}}_{\mathrm{tt}}. Since the complexity of witnessing increases with the strength of the theory, it seems questionable whether this method yields insights for much stronger theories: by the Karp-Lipton Theorem [19]π–―π–§βŠˆπ–­π–―π–­π–―not-subset-of-or-equals𝖯𝖧superscript𝖭𝖯𝖭𝖯\mathsf{PH}\not\subseteq\mathsf{NP}^{\mathsf{NP}} implies that β€œπ–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–―π–―π—‰π—ˆπ—…π—’\mathsf{NP}\not\subseteq\mathsf{P/poly}” is true, and true sentences are consistent with any true theory. Moreover, the focus of this work is on unconditional consistency results.

Using similar methods, a recent line of works [24, 8, 9, 10] achieved unconditional consistency results for fixed-polynomial lower bounds, even for π–―𝖯\mathsf{P} instead of π–­π–―𝖭𝖯\mathsf{NP} (based on [36]). For example, the main result in [8] implies that π–²22+¬αφcsubscriptsuperscript𝖲22superscriptsubscriptπ›Όπœ‘π‘\mathsf{S}^{2}_{2}+\neg\alpha_{\varphi}^{c} and π–²21+¬αψcsubscriptsuperscript𝖲12superscriptsubscriptπ›Όπœ“π‘\mathsf{S}^{1}_{2}+\neg\alpha_{\psi}^{c} are consistent for certain formulas Ο†β€‹(x)πœ‘π‘₯\varphi(x) and Οˆβ€‹(x)πœ“π‘₯\psi(x) that define problems in π–―𝖭𝖯superscript𝖯𝖭𝖯\mathsf{P}^{\mathsf{NP}} and π–­π–―𝖭𝖯\mathsf{NP}, respectively. Again it seems questionable whether the underlying methods can yield insights for much stronger theories: by Kannan [18], the lower bound stated by Β¬Ξ±Ο‡csuperscriptsubscriptπ›Όπœ’π‘\neg\alpha_{\chi}^{c} is true for some formula Ο‡β€‹(x)πœ’π‘₯\chi(x) defining a problem in π–­π–―𝖭𝖯superscript𝖭𝖯𝖭𝖯\mathsf{NP}^{\mathsf{NP}}. Moreover, the formulas above depend on c𝑐c and new ideas seem to be required to reach the unconditional consistency of superpolynomial lower bounds.

1.2 New consistency results

The purpose of this paper is to prove the unconditional consistency of π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly} with the comparatively strong theory π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2}. Consistency results for π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} are meaningful, since π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} is stronger than π–³22subscriptsuperscript𝖳22\mathsf{T}^{2}_{2} which, as discussed earlier, can formalize many results in complexity theory. Our approach is not via witnessing but via simulating comprehension.

The problems in π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP} are naturally represented on the formal level by Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formulas Ο†β€‹(x)πœ‘π‘₯\varphi(x): an existentially quantified set variable followed by a bounded formula. We discuss three ways to formalize π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}, namely with {¬αφc∣cβ©Ύ1}conditional-setsubscriptsuperscriptπ›Όπ‘πœ‘π‘1\{\neg\alpha^{c}_{\varphi}\mid c\geqslant 1\} for a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula Ο†β€‹(x)πœ‘π‘₯\varphi(x), with {¬αM0c∣cβ©Ύ1}conditional-setsubscriptsuperscript𝛼𝑐subscript𝑀0𝑐1\{\neg\alpha^{c}_{M_{0}}\mid c\geqslant 1\} and with {¬βM0c∣cβ©Ύ1}conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐1\{\neg\beta^{c}_{M_{0}}\mid c\geqslant 1\} for a suitable universal 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M0subscript𝑀0M_{0}. We now discuss these formalizations; they are analogous to the formalizations discussed in the previous section.

The β€œdirect formalization” of the consistency of π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly} is based on the formulas Ξ±Ο†csubscriptsuperscriptπ›Όπ‘πœ‘\alpha^{c}_{\varphi}. These are defined similarly as before but with Ο†πœ‘\varphi a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula:

Definition 1.

Let cβˆˆβ„•π‘β„•c\in\mathbb{N} and let Ο†=φ​(x)πœ‘πœ‘π‘₯\varphi=\varphi(x) be a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula (with only one free variable xπ‘₯x, and in particular without free variables of the set sort). Define

Ξ±Ο†c:=βˆ€nβˆˆπΏπ‘œπ‘”>1βˆƒCβ©½2ncβˆ€x<2n(C(x)↔φ(x)).\alpha_{\varphi}^{c}\ :=\ \forall n{\in}\mathit{Log}_{>1}\ \exists C{\leqslant}2^{n^{c}}\forall x{<}2^{n}\ \big{(}C(x)\leftrightarrow\varphi(x)\big{)}.

Then our direct formalization of the consistency of π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly} is:

Theorem 2.

There exists φ​(x)∈Σ^11,bπœ‘π‘₯subscriptsuperscript^Ξ£1𝑏1\varphi(x)\in\hat{\Sigma}^{1,b}_{1} such that 𝖡20+{¬αφc∣cβˆˆβ„•}subscriptsuperscript𝖡02conditional-setsubscriptsuperscriptπ›Όπ‘πœ‘π‘β„•\mathsf{V}^{0}_{2}+\big{\{}\neg\alpha^{c}_{\varphi}\mid c\in\mathbb{N}\big{\}} is consistent.

Theorem 2 can be strengthened to establish the consistency of π–­π–€π–·π–―βŠˆπ–―π–§/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π–§π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{PH/poly} (see Section 2.3) but our focus is on 𝖯/π—‰π—ˆπ—…π—’π–―π—‰π—ˆπ—…π—’\mathsf{P/poly}.

Theorem 2 is proved in Section 2.2 but in hindsight is not hard to prove. For Ο†β€‹(x)πœ‘π‘₯\varphi(x) take a formula negating the pigeonhole principle: it states that there exists a set coding an injection from {0,…,x+1}0…π‘₯1\{0,\ldots,x+1\} into {0,…,x}0…π‘₯\{0,\ldots,x\}, and thus is expressible as a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula. The intermediate steps in the usual proof of the pigeonhole principle involve further sets encoding injections, and these can also expressed with Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formulas. If these formulas were computed by polynomial-size circuits, then we could use quantifier-free induction to show that the pigeonhole principle is provable in π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2}. But it is well known that this is not the case (see [22, Corollary 12.5.5]).

Concerning the faithfulness of the direct formalization we get, as before, a model of π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} where a certain π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine cannot be simulated by small circuits. Indeed, for an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M we can write the formula (2) using instead of βˆƒy𝑦\exists y a quantification βˆƒYπ‘Œ\exists Y for a set variable Yπ‘ŒY:

βˆƒYβ€‹β€œY is an accepting computation of M on x”.π‘Œβ€œY is an accepting computation of M on x”\exists Y\textit{``$Y$ is an accepting computation of $M$ on $x$''}.(3)

Roughly, an explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine is one such that 𝖲21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} can verify a suitable bound on its runtime; we defer the details to Section 3.1. It turns out that 𝖡20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} proves that every Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula Ο†β€‹(x)πœ‘π‘₯\varphi(x) is equivalent to (3) for a suitable M𝑀M, namely a model-checker for Ο†β€‹(x)πœ‘π‘₯\varphi(x). Proving this is not trivial because 𝖡20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} is agnostic about the existence of computations of exponential-time machines. One of our contributions is to prove it; we give the details in Section 3.

Definition 3.

For an explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M and cβˆˆβ„•π‘β„•c\in\mathbb{N} we set Ξ±Mc:=αψcassignsubscriptsuperscript𝛼𝑐𝑀subscriptsuperscriptπ›Όπ‘πœ“\alpha^{c}_{M}:=\alpha^{c}_{\psi} where Οˆπœ“\psi is the formula (3).

Intuitively, π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} does not know whether non-trivial exponential-size sets exist, namely sets not given by bounded formulas. But then, how meaningful is the consistency statement of Theorem 2 or the corresponding statement for {¬αMc∣cβ©Ύ1}conditional-setsubscriptsuperscript𝛼𝑐𝑀𝑐1\{\neg\alpha^{c}_{M}\mid c\geqslant 1\}? These sentences contain (universal and) existential set quantifiers. It turns out that we can move again to a suitably modified sentence Ξ²Mcsubscriptsuperscript𝛽𝑐𝑀\beta^{c}_{M} of lower quantifier complexity, namely a sentence all of whose set quantifiers are universal (i.e., βˆ€Ξ 11,bfor-allsubscriptsuperscriptΞ 1𝑏1\forall\Pi^{1,b}_{1}): such sentences do not entail the existence of non-trivial large sets. This does not follow from simple self-reducibility arguments but is a deep result of complexity theory, namely the Easy Witness Lemma of Impagliazzo, Kabanets and Wigderson [14, Theorem 31]. We use Williams’ version as stated in [38, Lemma 3.1] (see [39, Theorem 3.1] for the equivalence):

Lemma 4 (Easy Witness Lemma).

If π–­π–€π–·π–―βŠ†π–―/π—‰π—ˆπ—…π—’π–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\subseteq\mathsf{P/poly}, then every π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine has polynomial-size oblivious witness circuits.

An oblivious witness circuit for a machine M𝑀M and input length n𝑛n is a circuit D𝐷D with at least n𝑛n inputs such that for every xπ‘₯x of length n𝑛n, if M𝑀M accepts xπ‘₯x, then π‘‘𝑑​(Dx)𝑑𝑑subscript𝐷π‘₯\mathit{tt}(D_{x}) encodes an accepting computation of M𝑀M on xπ‘₯x. Here, the circuit Dxsubscript𝐷π‘₯D_{x} is obtained from D𝐷D by fixing the first n𝑛n inputs to the bits of xπ‘₯x, and π‘‘𝑑​(Dx)𝑑𝑑subscript𝐷π‘₯\mathit{tt}(D_{x}) is the truth table of Dxsubscript𝐷π‘₯D_{x}. In the statement of the lemma, polynomial-size refers to polynomial in n𝑛n, and the qualifier oblivious refers to the fact that D𝐷D depends only on the length of xπ‘₯x, not on xπ‘₯x itself.

In the language of two-sorted bounded arithmetic the string π‘‘𝑑​(Dx)𝑑𝑑subscript𝐷π‘₯\mathit{tt}(D_{x}) corresponds to the set Dx​(β‹…)subscript𝐷π‘₯β‹…D_{x}(\cdot) of numbers accepted by Dxsubscript𝐷π‘₯D_{x}. We thus define the formula Ξ²Mcsubscriptsuperscript𝛽𝑐𝑀\beta^{c}_{M} by replacing D​(x)𝐷π‘₯D(x) by Dx​(β‹…)subscript𝐷π‘₯β‹…D_{x}(\cdot) and βˆ€yfor-all𝑦\forall y by βˆ€Yfor-allπ‘Œ\forall Y:

Definition 5.

For cβˆˆβ„•π‘β„•c\in\mathbb{N} and an explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M we set

Ξ²Mc:=βˆ€nβˆˆπΏπ‘œπ‘”>1β€‹βˆƒC<2ncβ€‹βˆƒD<2ncβ€‹βˆ€x<2nβ€‹βˆ€Y(C​(x)=0β†’Β¬β€œY is an accepting computation of M on x”)∧(C​(x)=1β†’β€œDx​(β‹…) is an accepting computation of M on x”).superscriptsubscript𝛽𝑀𝑐assignfor-all𝑛subscriptπΏπ‘œπ‘”absent1𝐢superscript2superscript𝑛𝑐𝐷superscript2superscript𝑛𝑐for-allπ‘₯superscript2𝑛for-allπ‘Œmissing-subexpressionmissing-subexpressionlimit-from𝐢π‘₯0β†’β€œY is an accepting computation of M on x”missing-subexpressionmissing-subexpression𝐢π‘₯1β†’β€œDx(β‹…) is an accepting computation of M on x”\begin{array}[]{lcl}\beta_{M}^{c}&:=&\forall n{\in}\mathit{Log}_{>1}\ \exists C{<}2^{n^{c}}\ \exists D{<}2^{n^{c}}\ \forall x{<}2^{n}\ \forall Y\\ &&\quad(C(x){=}0\ \to\ \neg\textit{``$Y$ is an accepting computation of $M$ on $x$''})\ \wedge\\ &&\quad(C(x){=}1\ \to\ \textit{``$D_{x}(\cdot)$ is an accepting computation of $M$ on $x$''}).\end{array}

In Section 4.1 we define a suitable universal explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M0subscript𝑀0M_{0} and arrive at our formalization of π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}:

Definition 6.

β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’β€:={¬βM0c∣cβˆˆβ„•}.assignβ€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’β€conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐ℕ\textit{``$\mathsf{NEXP}\not\subseteq\mathsf{P/poly}$''}:=\{\neg\beta^{c}_{M_{0}}\mid c\in\mathbb{N}\}.

The main result of this paper is:

Theorem 7.

The theory 𝖡20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} is consistent with both formalizations of π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}; concretely, 𝖡20+{¬αM0c:cβˆˆβ„•}subscriptsuperscript𝖡02conditional-setsubscriptsuperscript𝛼𝑐subscript𝑀0𝑐ℕ\mathsf{V}^{0}_{2}+\{\lnot\alpha^{c}_{M_{0}}:c\in\mathbb{N}\} and 𝖡20+{¬βM0c:cβˆˆβ„•}subscriptsuperscript𝖡02conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐ℕ\mathsf{V}^{0}_{2}+\{\lnot\beta^{c}_{M_{0}}:c\in\mathbb{N}\} are consistent.

In the notation introduced above, this gives:

Corollary 8.

𝖡20+β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’β€subscriptsuperscript𝖡02β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’β€\mathsf{V}^{0}_{2}+\textit{``$\mathsf{NEXP}\not\subseteq\mathsf{P/poly}$''}is consistent.

Both {¬αM0c:cβˆˆβ„•}conditional-setsubscriptsuperscript𝛼𝑐subscript𝑀0𝑐ℕ\{\lnot\alpha^{c}_{M_{0}}:c\in\mathbb{N}\} and {¬βM0c:cβˆˆβ„•}conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐ℕ\{\lnot\beta^{c}_{M_{0}}:c\in\mathbb{N}\} are formalizations of π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}. The first has the advantage of being more direct whereas the second has the advantage of having lower quantifier complexity: Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} is βˆ€Ξ 11,bfor-allsubscriptsuperscriptΞ 1𝑏1\forall\Pi^{1,b}_{1} while Ξ±M0csubscriptsuperscript𝛼𝑐subscript𝑀0\alpha^{c}_{M_{0}} is βˆ€Ξ£βˆžb​(Ξ 11,b)for-allsubscriptsuperscriptΣ𝑏subscriptsuperscriptΞ 1𝑏1\forall\Sigma^{b}_{\infty}(\Pi^{1,b}_{1}). In addition, being βˆ€Ξ 11,bfor-allsubscriptsuperscriptΞ 1𝑏1\forall\Pi^{1,b}_{1} is instrumental for our magnification result discussed below (Theorem 11). It is easy to see that 𝖡20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} proves that {¬αM0c:cβˆˆβ„•}conditional-setsubscriptsuperscript𝛼𝑐subscript𝑀0𝑐ℕ\{\lnot\alpha^{c}_{M_{0}}:c\in\mathbb{N}\} implies {¬βM0c:cβˆˆβ„•}conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐ℕ\{\lnot\beta^{c}_{M_{0}}:c\in\mathbb{N}\}. The converse implication is true too, but depends on the Easy Witness Lemma. It is open whether 𝖡20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} proves this implication or the Easy Witness Lemma.

We emphasize here that our formalization of π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly} through the universal machine M0subscript𝑀0M_{0} and the Ξ±M0csubscriptsuperscript𝛼𝑐subscript𝑀0\alpha^{c}_{M_{0}} and Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} sentences refers exclusively to the setting of non-relativized complexity classes.

Second we show that π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP} can be lowered to just above π–­π–―𝖭𝖯\mathsf{NP}. For kβˆˆβ„•π‘˜β„•k\in\mathbb{N}, define log(k)⁑nsuperscriptπ‘˜π‘›\log^{(k)}n inductively by log(1)⁑n:=log⁑nassignsuperscript1𝑛𝑛\log^{(1)}n:=\log n, and log(k+1)⁑n:=log⁑log(k)⁑nassignsuperscriptπ‘˜1𝑛superscriptπ‘˜π‘›\log^{(k+1)}n:=\log\log^{(k)}n. We prove:

Theorem 9.

𝖡20+β€œπ–­π–³π–¨π–¬π–€β€‹(nO​(log(k)⁑n))βŠˆπ–―/π—‰π—ˆπ—…π—’β€subscriptsuperscript𝖡02β€œπ–­π–³π–¨π–¬π–€(nO(log(k)⁑n))βŠˆπ–―/π—‰π—ˆπ—…π—’β€\mathsf{V}^{0}_{2}+\textit{``$\mathsf{NTIME}(n^{O(\log^{(k)}n)})\not\subseteq\mathsf{P/poly}$''}is consistent for every positive kβˆˆβ„•π‘˜β„•k\in\penalty 10000\mathbb{N}.

The formalization and proof proceeds similarly and relies on an Easy Witness Lemma for barely superpolynomial time by Murray and Williams [27]. Theorem 9 β€œalmost” settles the central question for the consistency of π–­π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–―π–―π—‰π—ˆπ—…π—’\mathsf{NP}\not\subseteq\mathsf{P/poly} with a strong bounded arithmetic. Closing the tiny gap, however, seems to require some new ideas.

1.3 Simulating comprehension

The proof of the consistency of circuit lower bounds is based on the complexity of constant depth propositional proofs for the pigeonhole principle. We shall see that 𝖡20+Ξ±M0csubscriptsuperscript𝖡02subscriptsuperscript𝛼𝑐subscript𝑀0\mathsf{V}^{0}_{2}+\alpha^{c}_{M_{0}} (and thus 𝖡20+Ξ²M0csubscriptsuperscript𝖡02subscriptsuperscript𝛽𝑐subscript𝑀0\mathsf{V}^{0}_{2}+\beta^{c}_{M_{0}}) proves the pigeonhole principle. This implies Theorem 7 as it is well-known that π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} cannot prove this principle. Thereby, Theorem 7 is ultimately based on the exponential lower bound for this principle in bounded depth Frege systems [1, 4]. On a high level, while the approach based on witnessing uses complexity theoretic methods, our approach is based on methods that arose from mathematical logic, in particular forcing (cf. [3]).

The {¬βM0c}subscriptsuperscript𝛽𝑐subscript𝑀0\{\lnot\beta^{c}_{M_{0}}\} formulation of β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}” provides an additional insight into the consistency lower bound. By the Easy Witness Lemma, the inclusion π–­π–€π–·π–―βŠ†π–―/π—‰π—ˆπ—…π—’π–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\subseteq\mathsf{P/poly} implies that a rich collection of sets is represented by circuits (via their truth tables). A weak theory can quantify over circuits and hence implicitly over this collection. Thus, intuitively, Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} should enable a weak theory to simulate a two-sorted theory of considerable strength. More precisely, we show that Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} can be used to simulate a considerable fragment of Ξ£11,bsubscriptsuperscriptΞ£1𝑏1\Sigma^{1,b}_{1}-comprehension, i.e., a considerable fragment of π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2}.

The sketched idea can be made explicit as follows. By π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) we denote the two-sorted variant of π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}. Its models consist of two universes M𝑀M and π’³π’³\mathcal{X} interpreting the number and the set sort, respectively. Given such a model that additionally satisfies Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} for some cβˆˆβ„•π‘β„•c\in\mathbb{N}, we will show in Lemma 45 that shrinking π’³π’³\mathcal{X} to the sets represented by circuits in M𝑀M yields a model of π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2}. This has two interesting consequences. The first is:

Theorem 10.

Let π–³π–³\mathsf{T} be a theory that contains π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) but does not prove all number-sort consequences of π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2}. Then π–³+β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’β€π–³β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’β€\mathsf{T}+\textit{``$\mathsf{NEXP}\not\subseteq\mathsf{P/poly}$''} is consistent.

By a number-sort formula we mean one that does not use set-sort variables. Note that the corollary refers to number-sort sentences of arbitrary unbounded quantifier complexity. It is conjectured that π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2} has more number-sort consequences than all other theories mentioned so far. But this is known only for π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} [37, 20], and there even for βˆ€Ξ 1bfor-allsubscriptsuperscriptΠ𝑏1\forall\Pi^{b}_{1}-sentences. Theorem 10 directly infers evidence for the truth of β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}” from progress in mathematical logic on understanding independence. Loosely speaking, we view it in line with the belief that it is mathematical logic that ultimately bears on fundamental complexity-theoretic conjectures (see e.g. again the preface of [22]).

The second consequence is:

Theorem 11.

If π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) does not prove β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}”, then π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2} does not prove β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}”.

This is a magnification result on the hardness of proving circuit lower bounds: it infers strong hardness (for π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2}) from weak hardness (for π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)). The term magnification has been coined in [28] in the context of circuit lower bounds where such results are currently intensively investigated (cf. [11]). In proof complexity such results are rare so far. An example in propositional proof complexity appears in [26, Proposition 4.14]. Magnification results are interesting because they reveal inconsistencies in common beliefs about what is and what is not within the reach of currently available techniques. Theorem 11 might foster hopes to complete Razborov’s program to find a precise barrier in circuit complexity (cf. Remark 46).

2 Consistency of the direct formalization

In this section we provide the details of the simple proof of Theorem 2. We begin by recalling the necessary preliminaries on bounded arithmetic. This will be needed also in later sections. We refer to [22, Ch.5] for the missing details.

2.1 Preliminaries: bounded arithmetic

Bounded arithmetics have language xβ©½yπ‘₯𝑦x{\leqslant}y, 00, 111, x+yπ‘₯𝑦x{+}y, xβ‹…yβ‹…π‘₯𝑦x{\cdot}y, ⌊x/2βŒ‹π‘₯2\lfloor x{/}2\rfloor, x​#​yπ‘₯#𝑦x{\#}y, |x|π‘₯|x|, and built-in equality x=yπ‘₯𝑦x{=}y. Note that Cantor’s pairing ⟨x,y⟩π‘₯𝑦\langle x,y\rangle is given by a term. Iterating it gives ⟨x1,…,xk⟩subscriptπ‘₯1…subscriptπ‘₯π‘˜\langle x_{1},\ldots,x_{k}\rangle for k>2π‘˜2k>2. A number xπ‘₯x is called small if it satisfies the formula βˆƒy​x=|y|𝑦π‘₯𝑦\exists y\ x{=}|y|. We abbreviate βˆƒy​x=|y|𝑦π‘₯𝑦\exists y\ x{=}|y| by xβˆˆπΏπ‘œπ‘”π‘₯πΏπ‘œπ‘”x{\in}\mathit{Log} and xβˆˆπΏπ‘œπ‘”βˆ§1<xπ‘₯πΏπ‘œπ‘”1π‘₯x{\in}\mathit{Log}\wedge 1{<}x by xβˆˆπΏπ‘œπ‘”>1π‘₯subscriptπΏπ‘œπ‘”absent1x{\in}\mathit{Log}_{>1}. The quantifiers βˆ€xβˆˆπΏπ‘œπ‘”>1for-allπ‘₯subscriptπΏπ‘œπ‘”absent1\forall x{\in}\mathit{Log}_{>1} and βˆƒxβˆˆπΏπ‘œπ‘”>1π‘₯subscriptπΏπ‘œπ‘”absent1\exists x{\in}\mathit{Log}_{>1} range over small numbers above 111. If x=|y|π‘₯𝑦x=|y|, we write 2xsuperscript2π‘₯2^{x} for 1​#​y1#𝑦1\#y and similarly for other exponential functions. E.g., a formula of the form βˆ€xβˆˆπΏπ‘œπ‘”>1​…​2x2​…for-allπ‘₯subscriptπΏπ‘œπ‘”absent1…superscript2superscriptπ‘₯2…\forall x{\in}\mathit{Log}_{>1}\ \ldots\ 2^{x^{2}}\ldots stands for the formula βˆ€xβ€‹βˆ€y​(1<x∧x=|y|→…​y​#​y​…)for-allπ‘₯for-all𝑦1π‘₯π‘₯𝑦→…𝑦#𝑦…\forall x\forall y\ (1{<}x\wedge x{=}|y|\to\ldots\ y\#y\ldots).

Theories.

The theories of bounded arithmetic are given by a set π–‘𝖠𝖲𝖨𝖒𝖑𝖠𝖲𝖨𝖒\mathsf{BASIC} of universal sentences determining the meaning of the symbols, plus induction schemes. For a set of formulas Ξ¦Ξ¦\Phi, the set (of the universal closures) of formulas

φ​(xΒ―,0)βˆ§βˆ€y<z​(φ​(xΒ―,y)→φ​(xΒ―,y+1))→φ​(xΒ―,z),πœ‘Β―π‘₯0for-allπ‘¦π‘§β†’πœ‘Β―π‘₯π‘¦πœ‘Β―π‘₯𝑦1β†’πœ‘Β―π‘₯𝑧\varphi(\bar{x},0)\wedge\forall y{<}z\ (\varphi(\bar{x},y)\to\varphi(\bar{x},y+1))\to\varphi(\bar{x},z),

for Ο†βˆˆΞ¦πœ‘Ξ¦\varphi\in\Phi, is the scheme of Ξ¦Ξ¦\Phi-induction. Restricting to small numbers z𝑧z gives the scheme of Ξ¦Ξ¦\Phi-length induction; formally, replace z𝑧z by |z|𝑧|z| above. Here, and throughout, when writing a formula Οˆπœ“\psi as Οˆβ€‹(xΒ―)πœ“Β―π‘₯\psi(\bar{x}) we mean that all free variables of Οˆπœ“\psi are among xΒ―Β―π‘₯\bar{x}.

The set Ξ£βˆžbsubscriptsuperscriptΣ𝑏\Sigma^{b}_{\infty} contains all bounded formulas, and Ξ£ib,Ξ ibsubscriptsuperscriptΣ𝑏𝑖subscriptsuperscriptΠ𝑏𝑖\Sigma^{b}_{i},\Pi^{b}_{i}, for iβˆˆβ„•π‘–β„•i\in\mathbb{N}, are subsets of Ξ£βˆžbsubscriptsuperscriptΣ𝑏\Sigma^{b}_{\infty} that are defined by counting alternations of bounded quantifiers βˆƒxβ©½t,βˆ€xβ©½tformulae-sequenceπ‘₯𝑑for-allπ‘₯𝑑\exists x{\leqslant}t,\forall x{\leqslant}t, not counting sharply bounded ones βˆƒxβ©½|t|,βˆ€xβ©½|t|formulae-sequenceπ‘₯𝑑for-allπ‘₯𝑑\exists x{\leqslant}|t|,\forall x{\leqslant}|t|. In particular, Ξ£0b=Ξ 0bsubscriptsuperscriptΣ𝑏0subscriptsuperscriptΠ𝑏0\Sigma^{b}_{0}=\Pi^{b}_{0} is the set of sharply bounded formulas. The theories π–³2isubscriptsuperscript𝖳𝑖2\mathsf{T}^{i}_{2} are defined by π–‘𝖠𝖲𝖨𝖒+Ξ£ib-induction𝖑𝖠𝖲𝖨𝖒Σib-induction\mathsf{BASIC}+\text{$\Sigma^{b}_{i}$-induction}. The theories π–²2isubscriptsuperscript𝖲𝑖2\mathsf{S}^{i}_{2} are defined by π–‘𝖠𝖲𝖨𝖒+Ξ£ib-length-induction𝖑𝖠𝖲𝖨𝖒Σib-length-induction\mathsf{BASIC}+\text{$\Sigma^{b}_{i}$-length-induction}. Full bounded arithmetic π–³2:=⋃iβˆˆβ„•π–³2iassignsubscript𝖳2subscript𝑖ℕsubscriptsuperscript𝖳𝑖2\mathsf{T}_{2}:=\bigcup_{i\in\mathbb{N}}\mathsf{T}^{i}_{2} has Ξ£βˆžbsubscriptsuperscriptΣ𝑏\Sigma^{b}_{\infty}-induction.

Two-sorted theories.

Two-sorted bounded arithmetics are obtained by adding a new set of variables X,Y,β€¦π‘‹π‘Œβ€¦X,Y,\ldots of the set sort. Original variables x,y,…π‘₯𝑦…x,y,\ldots are of the number sort. We shall use capital letters also for number-sort variables. Therefore, for clarity, from now on we write βˆƒ2Xsubscript2𝑋\exists_{2}X and βˆ€2Xsubscriptfor-all2𝑋\forall_{2}X for quantifiers on set-sort variables X𝑋X. The language is enlarged by adding a binary relation x∈Xπ‘₯𝑋x{\in}X between the number and the set sort. A number-sort formula is one that uses only the number sort. In particular, it has no set-sort parameters. By a term we mean a term in the number sort. We write Xβ©½z𝑋𝑧X{\leqslant}z for βˆ€y​(y∈Xβ†’yβ©½z)for-all𝑦𝑦𝑋→𝑦𝑧\forall y\ (y{\in}X\to y{\leqslant}z).

Models have the form (M,𝒳)𝑀𝒳(M,\mathcal{X}) where M𝑀M is a universe for the number sort and π’³π’³\mathcal{X} is a universe for the set sort. The symbol βˆˆ\in is interpreted by a subset of M×𝒳𝑀𝒳M\times\mathcal{X}. The standard model is (β„•,[β„•]<Ο‰)β„•superscriptdelimited-[]β„•absentπœ”(\mathbb{N},[\mathbb{N}]^{<\omega}) where [β„•]<Ο‰superscriptdelimited-[]β„•absentπœ”[\mathbb{N}]^{<\omega} is the set of finite subsets of β„•β„•\mathbb{N}; the number sort symbols are interpreted as usual over β„•β„•\mathbb{N} and βˆˆ\in by actual element-hood.

The sets Ξ£βˆžb​(Ξ±),Ξ£ib​(Ξ±),Ξ ib​(Ξ±)subscriptsuperscriptΣ𝑏𝛼subscriptsuperscriptΣ𝑏𝑖𝛼subscriptsuperscriptΠ𝑏𝑖𝛼\Sigma^{b}_{\infty}(\alpha),\Sigma^{b}_{i}(\alpha),\Pi^{b}_{i}(\alpha) are defined as Ξ£βˆžb,Ξ£ib,Ξ ibsubscriptsuperscriptΣ𝑏subscriptsuperscriptΣ𝑏𝑖subscriptsuperscriptΠ𝑏𝑖\Sigma^{b}_{\infty},\Sigma^{b}_{i},\Pi^{b}_{i}, allowing free set-variables and the symbol βˆˆ\in, but not allowing set-sort quantifiers, nor set-sort equalities X=Yπ‘‹π‘ŒX{=}Y. Another name for the set Ξ£βˆžb​(Ξ±)subscriptsuperscriptΣ𝑏𝛼\Sigma^{b}_{\infty}(\alpha) is Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}. The theories π–³2i​(Ξ±)subscriptsuperscript𝖳𝑖2𝛼\mathsf{T}^{i}_{2}(\alpha)𝖲2i​(Ξ±)subscriptsuperscript𝖲𝑖2𝛼\mathsf{S}^{i}_{2}(\alpha), and π–³2​(Ξ±)subscript𝖳2𝛼\mathsf{T}_{2}(\alpha), are given by π–‘𝖠𝖲𝖨𝖒𝖑𝖠𝖲𝖨𝖒\mathsf{BASIC} and analogous induction schemes as before, namely Ξ£ib​(Ξ±)subscriptsuperscriptΣ𝑏𝑖𝛼\Sigma^{b}_{i}(\alpha)-induction, Ξ£ib​(Ξ±)subscriptsuperscriptΣ𝑏𝑖𝛼\Sigma^{b}_{i}(\alpha)-length induction, and Ξ£βˆžb​(Ξ±)subscriptsuperscriptΣ𝑏𝛼\Sigma^{b}_{\infty}(\alpha)-induction, respectively. Additionally, we add the following axioms with the set sort. Recalling the notation Xβ©½z𝑋𝑧X{\leqslant}z introduced above, the new axioms are (the universal closures of):

set-boundedness axiom:βˆƒz​Xβ©½z𝑧𝑋𝑧\exists z\ X{\leqslant}z.
extensionality axiom:Xβ©½z∧Yβ©½zβˆ§βˆ€yβ©½z(y∈X↔y∈Y)β†’X=YX{\leqslant}z\wedge Y{\leqslant}z\wedge\forall y{\leqslant}z\ (y{\in}X\leftrightarrow y{\in}Y)\to X{=}Y.

We add the scheme of (bounded) Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension, given by (the universal closures of) the formulas

βˆƒ2Yβ©½zβˆ€yβ©½z(y∈Y↔φ(XΒ―,xΒ―,y)),\exists_{2}Y{\leqslant}z\ \forall y{\leqslant}z\ \big{(}y\in Y\leftrightarrow\varphi(\bar{X},\bar{x},y)\big{)},(4)

where Ο†β€‹(XΒ―,xΒ―,y)πœ‘Β―π‘‹Β―π‘₯𝑦\varphi(\bar{X},\bar{x},y) is Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha) with respect to the theory defined over the two-sorted language as π–‘𝖠𝖲𝖨𝖒𝖑𝖠𝖲𝖨𝖒\mathsf{BASIC} plus Ξ£1b​(Ξ±)subscriptsuperscriptΣ𝑏1𝛼\Sigma^{b}_{1}(\alpha)-length-induction, i.e., this theory proves Ο†β€‹(XΒ―,xΒ―,y)πœ‘Β―π‘‹Β―π‘₯𝑦\varphi(\bar{X},\bar{x},y) equivalent to both a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula and a Ξ£1b​(Ξ±)subscriptsuperscriptΣ𝑏1𝛼\Sigma^{b}_{1}(\alpha)-formula.

For example, this scheme implies that there is a set Yπ‘ŒY as described when φ​(XΒ―,xΒ―,y)πœ‘Β―π‘‹Β―π‘₯𝑦\varphi(\bar{X},\bar{x},y) is fX¯​(xΒ―,y)=1superscript𝑓¯𝑋¯π‘₯𝑦1f^{\bar{X}}(\bar{x},y){=}1 where fX¯​(xΒ―,y)superscript𝑓¯𝑋¯π‘₯𝑦f^{\bar{X}}(\bar{x},y) is a function that is Ξ£1b​(Ξ±)subscriptsuperscriptΣ𝑏1𝛼\Sigma^{b}_{1}(\alpha)-definable in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha). The superscript indicates that X¯¯𝑋\bar{X} comprises all the free variables of the set sort that appear in the Ξ£1b​(Ξ±)subscriptsuperscriptΣ𝑏1𝛼\Sigma^{b}_{1}(\alpha)-formula that defines fX¯​(xΒ―,y)superscript𝑓¯𝑋¯π‘₯𝑦f^{\bar{X}}(\bar{x},y). It is well known [6] that these are precisely the functions that are computable in polynomial time with oracles denoted by the set variables. We do not distinguish π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} (or π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)) from its variant in the language π–―𝖡𝖯𝖡\mathsf{PV} (resp., π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)) which has a symbol for all polynomial time functions (resp., with oracles denoted by the set variables). We shall often use that 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves induction for quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas (cf. [22, Lemma 5.2.9]). We write quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas with latin capital letters; e.g., F​(XΒ―,xΒ―)𝐹¯𝑋¯π‘₯F(\bar{X},\bar{x}).

A piece of notation.

For formulas Ο†β€‹(Y,XΒ―,xΒ―)πœ‘π‘ŒΒ―π‘‹Β―π‘₯\varphi(Y,\bar{X},\bar{x}) and Οˆβ€‹(ZΒ―,zΒ―,u)πœ“Β―π‘Β―π‘§π‘’\psi(\bar{Z},\bar{z},u) we write

φ​(Οˆβ€‹(ZΒ―,zΒ―,β‹…),XΒ―,xΒ―)πœ‘πœ“Β―π‘Β―π‘§β‹…Β―π‘‹Β―π‘₯\varphi\big{(}\psi(\bar{Z},\bar{z},\cdot),\bar{X},\bar{x}\big{)}

for the formula obtained from Ο†πœ‘\varphi by replacing every atomic subformula of the form t∈Yπ‘‘π‘Œt{\in}Y, for t𝑑t a term, by the formula Οˆβ€‹(ZΒ―,zΒ―,t)πœ“Β―π‘Β―π‘§π‘‘\psi(\bar{Z},\bar{z},t), preceded by any necessary renaming of the bound variables of Ο†πœ‘\varphi to avoid the capturing of free variables. We use this notation only for formulas Ο†πœ‘\varphi without set equalities.

Genuine two-sorted theories.

It is easy to see that the theories 𝖳2i​(Ξ±),𝖲2i​(Ξ±)subscriptsuperscript𝖳𝑖2𝛼subscriptsuperscript𝖲𝑖2𝛼\mathsf{T}^{i}_{2}(\alpha),\mathsf{S}^{i}_{2}(\alpha) have the same number sort consequences as π–³2i,𝖲2i,subscriptsuperscript𝖳𝑖2subscriptsuperscript𝖲𝑖2\mathsf{T}^{i}_{2},\mathsf{S}^{i}_{2}, respectively. Also 𝖳2i​(Ξ±),𝖲2i​(Ξ±)subscriptsuperscript𝖳𝑖2𝛼subscriptsuperscript𝖲𝑖2𝛼\mathsf{T}^{i}_{2}(\alpha),\mathsf{S}^{i}_{2}(\alpha) are conservative over their subtheories without Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. Intuitively, the two-sorted versions of bounded arithmetics are the usual ones plus syntactic sugar. Genuine set-sorted theories are obtained from π–³2​(Ξ±)subscript𝖳2𝛼\mathsf{T}_{2}(\alpha) by adding (bounded) ΦΦ\Phi-comprehension for certain sets of formulas Ξ¦Ξ¦\Phi, i.e., (4) for φ​(XΒ―,xΒ―,y)πœ‘Β―π‘‹Β―π‘₯𝑦\varphi(\bar{X},\bar{x},y) in Ξ¦Ξ¦\Phi.

The set Ξ£βˆž1,bsubscriptsuperscriptΞ£1𝑏\Sigma^{1,b}_{\infty} contains all two-sorted formulas with quantifiers of both sorts, but bounded number-sort quantifiers. Again we disallow set equalities. The sets Ξ£i1,b,Ξ i1,bsubscriptsuperscriptΞ£1𝑏𝑖subscriptsuperscriptΞ 1𝑏𝑖\Sigma^{1,b}_{i},\Pi^{1,b}_{i}, for iβˆˆβ„•π‘–β„•i\in\mathbb{N}, are subsets of Ξ£βˆž1,bsubscriptsuperscriptΞ£1𝑏\Sigma^{1,b}_{\infty} defined by counting the alternations of set quantifiers (and not counting number quantifiers). A Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula is of the form

βˆƒ2Y​φ​(XΒ―,Y,xΒ―)subscript2π‘Œπœ‘Β―π‘‹π‘ŒΒ―π‘₯\exists_{2}Y\ \varphi(\bar{X},Y,\bar{x})(5)

where Ο†β€‹(XΒ―,Y,xΒ―)πœ‘Β―π‘‹π‘ŒΒ―π‘₯\varphi(\bar{X},Y,\bar{x}) is a Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-formula.

For iβˆˆβ„•π‘–β„•i\in\mathbb{N} the theory π–΅2isubscriptsuperscript𝖡𝑖2\mathsf{V}^{i}_{2} is given by Ξ£i1,bsubscriptsuperscriptΞ£1𝑏𝑖\Sigma^{1,b}_{i}-comprehension. In particular, 𝖡20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} is given by Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-comprehension. It has the same number-sort consequences as π–³2subscript𝖳2\mathsf{T}_{2}.

Remark 12.

Sometimes, the sets Ξ£i1,b​(Ξ±)subscriptsuperscriptΞ£1𝑏𝑖𝛼\Sigma^{1,b}_{i}(\alpha) are defined with bounded set quantifiers βˆƒXβ©½t𝑋𝑑\exists X{\leqslant t} and βˆ€Xβ©½tfor-all𝑋𝑑\forall X{\leqslant}t. The difference is not essential: for every Σ∞1,bsubscriptsuperscriptΞ£1𝑏\Sigma^{1,b}_{\infty}-formula Ο†β€‹(XΒ―,Y,xΒ―)πœ‘Β―π‘‹π‘ŒΒ―π‘₯\varphi(\bar{X},Y,\bar{x}) there is a term t​(xΒ―)𝑑¯π‘₯t(\bar{x}) such that 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves

t(xΒ―)β©½yβ†’(Ο†(XΒ―,Y,xΒ―)↔φ(XΒ―,Yβ©½y,xΒ―))t(\bar{x}){\leqslant}y\to\big{(}\varphi(\bar{X},Y,\bar{x})\leftrightarrow\varphi(\bar{X},Y^{\leqslant y},\bar{x})\big{)}

where Yβ©½ysuperscriptπ‘Œabsent𝑦Y^{\leqslant y} stands for Οˆβ€‹(Y,y,β‹…)πœ“π‘Œπ‘¦β‹…\psi(Y,y,\cdot) with Οˆβ€‹(Y,y,u):=(uβ©½y∧u∈Y)assignπœ“π‘Œπ‘¦π‘’π‘’π‘¦π‘’π‘Œ\psi(Y,y,u):=(u{\leqslant}y\wedge u{\in}Y). By Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension, βˆƒ2Y​φsubscript2π‘Œπœ‘\exists_{2}Y\varphi is 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)-provably equivalent to βˆƒ2Yβ©½t​(xΒ―)​φsubscript2π‘Œπ‘‘Β―π‘₯πœ‘\exists_{2}Y{\leqslant}t(\bar{x})\ \varphi. It follows that every Ξ£i1,b​(Ξ±)subscriptsuperscriptΞ£1𝑏𝑖𝛼\Sigma^{1,b}_{i}(\alpha)-formula is 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)-provably equivalent to one with bounded set sort quantifiers.

Remark 13.

Disallowing set equalities is convenient but inessential in the sense that 𝖡2isubscriptsuperscript𝖡𝑖2\mathsf{V}^{i}_{2} does not change when set equalities are allowed in Ξ£i1,bsubscriptsuperscriptΞ£1𝑏𝑖\Sigma^{1,b}_{i}. Indeed, let φ​(XΒ―,xΒ―)πœ‘Β―π‘‹Β―π‘₯\varphi(\bar{X},\bar{x}) be a Ξ£i1,bsubscriptsuperscriptΞ£1𝑏𝑖\Sigma^{1,b}_{i}-formula except that set equalities are allowed. Then there is a Ξ£i1,bsubscriptsuperscriptΞ£1𝑏𝑖\Sigma^{1,b}_{i}-formula Ο†βˆ—β€‹(XΒ―,xΒ―,u)superscriptπœ‘Β―π‘‹Β―π‘₯𝑒\varphi^{*}(\bar{X},\bar{x},u) (without set equalities and) with bounded set quantifiers such that 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves

βˆƒu(Ο†(XΒ―,xΒ―)β†”Ο†βˆ—(XΒ―,xΒ―,u)).\exists u\ \big{(}\varphi(\bar{X},\bar{x})\leftrightarrow\varphi^{*}(\bar{X},\bar{x},u)\big{)}.
Proof.

The formula Ο†βˆ—superscriptπœ‘\varphi^{*} is defined by a straightforward recursion on Ο†πœ‘\varphi. For example, if Ο†πœ‘\varphi is X1=X2subscript𝑋1subscript𝑋2X_{1}{=}X_{2}, then Ο†βˆ—superscriptπœ‘\varphi^{*} is βˆ€yβ©½u​(y∈X1β†’y∈X2)βˆ§βˆ€yβ©½u​(y∈X2β†’y∈X1)for-all𝑦𝑒𝑦subscript𝑋1→𝑦subscript𝑋2for-all𝑦𝑒𝑦subscript𝑋2→𝑦subscript𝑋1\forall y{\leqslant}u\ (y{\in}X_{1}\to y{\in}X_{2})\wedge\forall y{\leqslant}u\ (y{\in}X_{2}\to y{\in}X_{1}); a u𝑒u witnessing the equivalence is any common upper bound on X1subscript𝑋1X_{1} and X2subscript𝑋2X_{2}. If Ο†πœ‘\varphi is βˆƒ2Yβ€‹Οˆβ€‹(XΒ―,Y,xΒ―)subscript2π‘Œπœ“Β―π‘‹π‘ŒΒ―π‘₯\exists_{2}Y\psi(\bar{X},Y,\bar{x}) and Οˆβˆ—=Οˆβˆ—β€‹(XΒ―,Y,xΒ―,u)superscriptπœ“superscriptπœ“Β―π‘‹π‘ŒΒ―π‘₯𝑒\psi^{*}=\psi^{*}(\bar{X},Y,\bar{x},u) is already defined, then Ο†βˆ—superscriptπœ‘\varphi^{*} is βˆƒ2Yβ©½t​(xΒ―,u)β€‹Οˆβˆ—β€‹(XΒ―,Y,xΒ―,u)subscript2π‘Œπ‘‘Β―π‘₯𝑒superscriptπœ“Β―π‘‹π‘ŒΒ―π‘₯𝑒\exists_{2}Y{\leqslant}t(\bar{x},u)\ \psi^{*}(\bar{X},Y,\bar{x},u) where the term t𝑑t is chosen according to the previous remark. ∎

Circuits.

A circuit with s𝑠s gates is coded by a number below 210β‹…sβ‹…|s|superscript2β‹…10𝑠𝑠2^{10\cdot s\cdot|s|}. On the formal level we shall only consider small circuits, i.e., sβˆˆπΏπ‘œπ‘”π‘ πΏπ‘œπ‘”s\in\mathit{Log}, so 210β‹…sβ‹…|s|superscript2β‹…10𝑠𝑠2^{10\cdot s\cdot|s|} exists. We use capital letters C,D,E𝐢𝐷𝐸C,D,E for number variables when they are intended to range over circuits. There is a 𝖯𝖡𝖯𝖡\mathsf{PV}-function π‘’π‘£π‘Žπ‘™β€‹(C,x)π‘’π‘£π‘Žπ‘™πΆπ‘₯\mathit{eval}(C,x) that (in the standard model) takes a circuit C𝐢C with, say, nβ©½|C|𝑛𝐢n\leqslant|C| input gates, and evaluates it on inputs x<2nπ‘₯superscript2𝑛x<2^{n}. This means that the input gates of C𝐢C are assigned the bits of the length-n𝑛n binary representation of xπ‘₯x; we assume π‘’π‘£π‘Žπ‘™β€‹(C,x)=0π‘’π‘£π‘Žπ‘™πΆπ‘₯0\mathit{eval}(C,x)=0 if xβ©Ύ2nπ‘₯superscript2𝑛x\geqslant 2^{n} or if C𝐢C does not code a circuit.

It is notationally convenient to have circuits take finite tuples xΒ―=(x1,…,xk)Β―π‘₯subscriptπ‘₯1…subscriptπ‘₯π‘˜\bar{x}=(x_{1},\ldots,x_{k}) as inputs; formally, such a circuit has kπ‘˜k sequences of input gates, the i𝑖i-th taking the bits of xisubscriptπ‘₯𝑖x_{i}. Again, π‘’π‘£π‘Žπ‘™β€‹(C,xΒ―)π‘’π‘£π‘Žπ‘™πΆΒ―π‘₯\mathit{eval}(C,\bar{x}) denotes the evaluation function; it outputs 00 if any xisubscriptπ‘₯𝑖x_{i} has length bigger than the length of its allotted input sequence. Our circuits have exactly one output gate, so π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} proves π‘’π‘£π‘Žπ‘™β€‹(C,xΒ―)<2π‘’π‘£π‘Žπ‘™πΆΒ―π‘₯2\mathit{eval}(C,\bar{x}){<}2. We write C​(xΒ―)𝐢¯π‘₯C(\bar{x}) for the quantifier-free 𝖯𝖡𝖯𝖡\mathsf{PV}-formula π‘’π‘£π‘Žπ‘™β€‹(C,xΒ―)=1π‘’π‘£π‘Žπ‘™πΆΒ―π‘₯1\mathit{eval}(C,\bar{x}){=}1; in some places we also write C​(xΒ―)=1𝐢¯π‘₯1C(\bar{x}){=}1 and C​(xΒ―)=0𝐢¯π‘₯0C(\bar{x}){=}0 instead of C​(xΒ―)𝐢¯π‘₯C(\bar{x}) and Β¬C​(xΒ―)𝐢¯π‘₯\neg C(\bar{x}), respectively.

For a circuit C𝐢C taking (β„“+k)β„“π‘˜(\ell+k)-tuples as inputs and an β„“β„“\ell-tuple xΒ―Β―π‘₯\bar{x} we let CxΒ―subscript𝐢¯π‘₯C_{\bar{x}} be the circuit obtained by fixing the first β„“β„“\ell inputs to xΒ―Β―π‘₯\bar{x}; it takes kπ‘˜k-tuples as inputs. Formally, CxΒ―subscript𝐢¯π‘₯C_{\bar{x}} is a π–―𝖡𝖯𝖡\mathsf{PV}-term with variables C,x¯𝐢¯π‘₯C,\bar{x} and π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves (Cx¯​(yΒ―)↔C​(xΒ―,yΒ―))↔subscript𝐢¯π‘₯¯𝑦𝐢¯π‘₯¯𝑦(C_{\bar{x}}(\bar{y})\leftrightarrow C(\bar{x},\bar{y})) and |CxΒ―|β©½|C|subscript𝐢¯π‘₯𝐢|C_{\bar{x}}|{\leqslant}|C|.

Lemma 14.

For every quantifier-free 𝖯𝖡𝖯𝖡\mathsf{PV}-formula F​(xΒ―)𝐹¯π‘₯F(\bar{x}) there is a cβˆˆβ„•π‘β„•c\in\mathbb{N} such that π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} proves

βˆ€nβˆˆπΏπ‘œπ‘”>1βˆƒC<2ncβˆ€xΒ―<2n(C(xΒ―)↔F(xΒ―)).\forall n{\in}\mathit{Log}_{>1}\ \exists C{<}2^{n^{c}}\ \forall\bar{x}{<}2^{n}\ \big{(}C(\bar{x})\leftrightarrow F(\bar{x})\big{)}.

On the formal level, if Yπ‘ŒY is a set and C𝐢C is a circuit, then we say that Yπ‘ŒY is represented by C𝐢C if βˆ€y(C(y)↔y∈Y)\forall y\ (C(y)\leftrightarrow y{\in}Y). In our notation, such set Yπ‘ŒY is written C​(β‹…)𝐢⋅C(\cdot), or π‘’π‘£π‘Žπ‘™β€‹(C,β‹…)=1π‘’π‘£π‘Žπ‘™πΆβ‹…1\mathit{eval}(C,\cdot){=}1. More precisely, for a formula Ο†β€‹(Y,XΒ―,xΒ―)πœ‘π‘ŒΒ―π‘‹Β―π‘₯\varphi(Y,\bar{X},\bar{x}) and a circuit C𝐢C we write

φ​(C​(β‹…),XΒ―,xΒ―),πœ‘πΆβ‹…Β―π‘‹Β―π‘₯\varphi\big{(}C(\cdot),\bar{X},\bar{x}\big{)},

for the formula obtained from Ο†πœ‘\varphi by replacing every formula of the form t∈Yπ‘‘π‘Œt{\in}Y by C​(t)𝐢𝑑C(t), i.e., by π‘’π‘£π‘Žπ‘™β€‹(C,t)=1π‘’π‘£π‘Žπ‘™πΆπ‘‘1\mathit{eval}(C,t){=}1. Note that if the set Yπ‘ŒY is represented by a circuit with n𝑛n inputs, then Y<2nπ‘Œsuperscript2𝑛Y{<}2^{n}, provably in π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}. For example, we shall use circuits to represent computations of exponential-time machines M𝑀M. Using the notation introduced in Section 3.1,

β€œC​(β‹…)𝐢⋅C(\cdot) is a halting computation of M𝑀M on xΒ―Β―π‘₯\bar{x}”

is a Ξ 1bsubscriptsuperscriptΠ𝑏1\Pi^{b}_{1}-formula with free variables C,x¯𝐢¯π‘₯C,\bar{x} stating that the circuit C𝐢C represents a halting computation of M𝑀M on xΒ―Β―π‘₯\bar{x}.

2.2 Consistency of the direct formalization for 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}

The set of Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formulas without free variables of the set sort is a natural class of formulas defining, in the standard model, all the problems in π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}. For such a formula Οˆπœ“\psi it is straightforward to write down a set of sentences (a.k.a. a theory) stating that Οˆπœ“\psi does not have polynomial-size circuits. We explicitly define this direct formalization of π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly} as the set of all sentences of the form Β¬Ξ±Οˆcsubscriptsuperscriptπ›Όπ‘πœ“\neg\alpha^{c}_{\psi}, for cβˆˆβ„•π‘β„•c\in\mathbb{N}, for the sentence Ξ±Οˆcsubscriptsuperscriptπ›Όπ‘πœ“\alpha^{c}_{\psi} defined in the introduction, and then argue that its consistency with π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} follows from known lower bounds in proof complexity.

We are ready to prove Theorem 2.

Proof of Theorem 2:.

The (functional) pigeonhole principle π‘ƒπ»π‘ƒβ€‹(x)𝑃𝐻𝑃π‘₯\mathit{PHP}(x) is the following Ξ 11,bsubscriptsuperscriptΞ 1𝑏1\Pi^{1,b}_{1}-formula:

βˆ€2X(\displaystyle\forall_{2}X\ \big{(}βˆƒyβ©½x+1β€‹βˆ€zβ©½xβ€‹Β¬βŸ¨y,z⟩∈Xβˆ¨π‘¦π‘₯1for-all𝑧π‘₯𝑦𝑧limit-from𝑋\displaystyle\exists y{\leqslant}x{+}1\ \forall z{\leqslant}x\ \neg\langle y,z\rangle{\in}X\ \vee
βˆƒyβ©½x+1β€‹βˆƒzβ©½xβ€‹βˆƒzβ€²β©½x​(Β¬z=zβ€²βˆ§βŸ¨y,z⟩∈X∧⟨y,zβ€²βŸ©βˆˆX)βˆ¨π‘¦π‘₯1𝑧π‘₯superscript𝑧′limit-fromπ‘₯𝑧superscript𝑧′𝑦𝑧𝑋𝑦superscript𝑧′𝑋\displaystyle\exists y{\leqslant}x{+}1\ \exists z{\leqslant}x\ \exists z^{\prime}{\leqslant}x\ (\neg z{=}z^{\prime}\wedge\langle y,z\rangle{\in}X\wedge\langle y,z^{\prime}\rangle{\in}X)\ \vee
βˆƒyβ©½x+1βˆƒyβ€²β©½x+1βˆƒzβ©½x(Β¬y=yβ€²βˆ§βŸ¨y,z⟩∈X∧⟨yβ€²,z⟩∈X)).\displaystyle\exists y{\leqslant}x{+}1\ \exists y^{\prime}{\leqslant}x{+}1\ \exists z{\leqslant}x\ (\neg y{=}y^{\prime}\wedge\langle y,z\rangle{\in}X\wedge\langle y^{\prime},z\rangle{\in}X)\big{)}.

Note that Οˆ=Οˆβ€‹(x):=¬𝑃𝐻𝑃​(x)πœ“πœ“π‘₯assign𝑃𝐻𝑃π‘₯\psi=\psi(x):=\neg\mathit{PHP}(x) is (logically equivalent to) a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula. For the sake of contradiction assume that π–΅20+{¬αψc∣cβˆˆβ„•}subscriptsuperscript𝖡02conditional-setsubscriptsuperscriptπ›Όπ‘πœ“π‘β„•\mathsf{V}^{0}_{2}+\big{\{}\neg\alpha^{c}_{\psi}\mid c\in\mathbb{N}\big{\}} is inconsistent. By compactness, there exists cβˆˆβ„•π‘β„•c\in\mathbb{N} such that π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} proves Ξ±Οˆcsubscriptsuperscriptπ›Όπ‘πœ“\alpha^{c}_{\psi}.

Claim: 𝖡20+αψcsubscriptsuperscript𝖡02subscriptsuperscriptπ›Όπ‘πœ“\mathsf{V}^{0}_{2}+\alpha^{c}_{\psi} proves 𝑃𝐻𝑃​(x)𝑃𝐻𝑃π‘₯\mathit{PHP}(x).

The claim implies the theorem: it is well known [22, Corollary 12.5.5] that there is an expansion (M,RM)𝑀superscript𝑅𝑀(M,R^{M}) of a model M𝑀M of π–‘𝖠𝖲𝖨𝖒𝖑𝖠𝖲𝖨𝖒\mathsf{BASIC} by an interpretation RMβŠ†Msuperscript𝑅𝑀𝑀R^{M}\subseteq M of a new predicate R𝑅R such that RMsuperscript𝑅𝑀R^{M} is bounded and witnesses Β¬π‘ƒπ»π‘ƒβ€‹(n)𝑃𝐻𝑃𝑛\neg\mathit{PHP}(n) for some (nonstandard) n∈M𝑛𝑀n\in M, and, further, (M,RM)𝑀superscript𝑅𝑀(M,R^{M}) models induction for bounded formulas. Let π’΄π’΄\mathcal{Y} be the collection of bounded sets definable in (M,RM)𝑀superscript𝑅𝑀(M,R^{M}) by bounded formulas. Then (M,𝒴)𝑀𝒴(M,\mathcal{Y}) is a model of π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} with RMβˆˆπ’΄superscript𝑅𝑀𝒴R^{M}\in\mathcal{Y}, so (M,𝒴)βŠ§Β¬π‘ƒπ»π‘ƒβ€‹(n)models𝑀𝒴𝑃𝐻𝑃𝑛(M,\mathcal{Y})\models\neg\mathit{PHP}(n).

We are left to prove the claim. Argue in π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} and set n:=max⁑{|x|,2}assign𝑛π‘₯2n:=\max\{|x|,2\}. Then Ξ±Οˆcsubscriptsuperscriptπ›Όπ‘πœ“\alpha^{c}_{\psi} gives a circuit C𝐢C such that

βˆ€uβ©½x(Β¬C(u)↔𝑃𝐻𝑃(u)).\forall u{\leqslant}x\ (\neg C(u)\leftrightarrow\mathit{PHP}(u)).

We observe that π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} proves that π‘ƒπ»π‘ƒβ€‹(x)𝑃𝐻𝑃π‘₯\mathit{PHP}(x) is inductive, i.e.,

𝑃𝐻𝑃​(0)βˆ§βˆ€u<x​(𝑃𝐻𝑃​(u)→𝑃𝐻𝑃​(u+1)).𝑃𝐻𝑃0for-all𝑒π‘₯→𝑃𝐻𝑃𝑒𝑃𝐻𝑃𝑒1\mathit{PHP}(0)\wedge\forall u{<}x\ (\mathit{PHP}(u)\to\mathit{PHP}(u+1)).(6)

Indeed, if X𝑋X is a set that witnesses ¬𝑃𝐻𝑃​(u+1)𝑃𝐻𝑃𝑒1\neg\mathit{PHP}(u+1), then we construct a set Yπ‘ŒY that witnesses ¬𝑃𝐻𝑃​(u)𝑃𝐻𝑃𝑒\neg\mathit{PHP}(u) as follows. If there does not exist any vβ©½u+1𝑣𝑒1v{\leqslant}u{+}1 with ⟨v,u⟩∈X𝑣𝑒𝑋\langle v,u\rangle{\in}X, then the set Y:=Xassignπ‘Œπ‘‹Y:=X itself is the witness we want. On the other hand, if there exists vβ©½u+1𝑣𝑒1v{\leqslant}u{+}1 with  ⟨v,u⟩∈X𝑣𝑒𝑋\langle v,u\rangle{\in}X, then let Yπ‘ŒY be the set of pairs z=⟨x,yβŸ©π‘§π‘₯𝑦z=\langle x,y\rangle such that the two projections x=Ο€1​(z)π‘₯subscriptπœ‹1𝑧x=\pi_{1}(z) and y=Ο€2​(z)𝑦subscriptπœ‹2𝑧y=\pi_{2}(z) satisfy the formula φ​(x,y,u,v)πœ‘π‘₯𝑦𝑒𝑣\varphi(x,y,u,v) below, for the fixed parameters u𝑒u and v𝑣v:

φ​(x,y,u,v):=xβ©½u∧y<u∧((x>v∧⟨xβˆ’1,y⟩∈X)∨(x<v∧⟨x,y⟩∈X)).assignπœ‘π‘₯𝑦𝑒𝑣π‘₯𝑒𝑦𝑒π‘₯𝑣π‘₯1𝑦𝑋π‘₯𝑣π‘₯𝑦𝑋\displaystyle\varphi(x,y,u,v):=x{\leqslant}u\wedge y{<}u\wedge\big{(}(x{>}v\wedge\langle x{-}1,y\rangle{\in}X)\vee(x{<}v\wedge\langle x,y\rangle{\in}X)\big{)}.

Here, xβˆ’1π‘₯1x{-}1 denotes the (truncated) predecessor π–―𝖡𝖯𝖡\mathsf{PV}-function. In the definition of Yπ‘ŒY we used the two projections Ο€1subscriptπœ‹1\pi_{1} and Ο€2subscriptπœ‹2\pi_{2}, also as π–―𝖡𝖯𝖡\mathsf{PV}-functions. Since the definition of Yπ‘ŒY is a quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula, the set Yπ‘ŒY exists by quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-comprehension, and it is clear by construction that it witnesses Β¬π‘ƒπ»π‘ƒβ€‹(u)𝑃𝐻𝑃𝑒\neg\mathit{PHP}(u).

To complete the proof, plug Β¬C​(u)𝐢𝑒\neg C(u) for π‘ƒπ»π‘ƒβ€‹(u)𝑃𝐻𝑃𝑒\mathit{PHP}(u) in (6) and quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-induction gives Β¬C​(x)𝐢π‘₯\neg C(x), and hence π‘ƒπ»π‘ƒβ€‹(x)𝑃𝐻𝑃π‘₯\mathit{PHP}(x). ∎

Remark 15.

The model (M,𝒳)𝑀𝒳(M,\mathcal{X}) that witnesses the above consistency is a model of π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} where π‘ƒπ»π‘ƒβ€‹(n)𝑃𝐻𝑃𝑛\mathit{PHP}(n) fails for some nonstandard n∈M𝑛𝑀n\in M: otherwise Ξ±Β¬π‘ƒπ»π‘ƒ1subscriptsuperscript𝛼1𝑃𝐻𝑃\alpha^{1}_{\neg\mathit{PHP}} would be true and witnessed by trivial circuits that always reject.

2.3 A strengthening to 𝖯𝖧/π—‰π—ˆπ—…π—’π–―π–§π—‰π—ˆπ—…π—’\mathsf{PH/poly}

While our focus is on 𝖯/π—‰π—ˆπ—…π—’π–―π—‰π—ˆπ—…π—’\mathsf{P/poly}, in this section we point out a version of Theorem 2 stating the consistency of π–­π–€π–·π–―βŠˆπ–―π–§/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π–§π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{PH/poly}.

For i>0𝑖0i>0, let Ti​(e,t,x)subscript𝑇𝑖𝑒𝑑π‘₯T_{i}(e,t,x) denote a universal Ξ£ibsubscriptsuperscriptΣ𝑏𝑖\Sigma^{b}_{i}-formula: for every Ξ£ibsubscriptsuperscriptΣ𝑏𝑖\Sigma^{b}_{i}-formula φ​(x)πœ‘π‘₯\varphi(x), there are e,dβˆˆβ„•π‘’π‘‘β„•e,d\in\mathbb{N} such that 𝖡20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} (in fact, 𝖲21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} [22, Corollary 6.1.4]) proves

φ​(x)↔Ti​(e,2|x|d+d,x).β†”πœ‘π‘₯subscript𝑇𝑖𝑒superscript2superscriptπ‘₯𝑑𝑑π‘₯\varphi(x)\leftrightarrow T_{i}(e,2^{|x|^{d}+d},x).

Intuitively, the parameter |x|d+dsuperscriptπ‘₯𝑑𝑑|x|^{d}+d serves as a runtime bound of a suitable model-checker coded by e𝑒e. Thus, the formulas Ti​(e,2|x|d+d,x)subscript𝑇𝑖𝑒superscript2superscriptπ‘₯𝑑𝑑π‘₯T_{i}(e,2^{|x|^{d}+d},x) for varying c,dβˆˆβ„•π‘π‘‘β„•c,d\in\mathbb{N} define (in the standard model) precisely the problems in the i𝑖i-th level Ξ£i𝖯subscriptsuperscriptΣ𝖯𝑖\Sigma^{\mathsf{P}}_{i}of the polynomial hierarchy 𝖯𝖧𝖯𝖧\mathsf{PH}.

We incorporate nonuniformity as follows. Again, let Ο€1,Ο€2subscriptπœ‹1subscriptπœ‹2\pi_{1},\pi_{2} be the 𝖯𝖡𝖯𝖡\mathsf{PV}-functions computing the projections for pairs ⟨x,y⟩π‘₯𝑦\langle x,y\rangle. Define

Ti′​(a,x):=Ti​(Ο€1​(a),2|a|,βŸ¨Ο€2​(a),x⟩).assignsuperscriptsubscriptπ‘‡π‘–β€²π‘Žπ‘₯subscript𝑇𝑖subscriptπœ‹1π‘Žsuperscript2π‘Žsubscriptπœ‹2π‘Žπ‘₯T_{i}^{\prime}(a,x):=T_{i}(\pi_{1}(a),2^{|a|},\langle\pi_{2}(a),x\rangle).

Thus, aπ‘Ža determines the runtime bound and some β€œadvice” Ο€2​(a)subscriptπœ‹2π‘Ž\pi_{2}(a). Then QβŠ†β„•π‘„β„•Q\subseteq\mathbb{N} is in 𝖯𝖧/π—‰π—ˆπ—…π—’π–―π–§π—‰π—ˆπ—…π—’\mathsf{PH/poly} if there exists i>0𝑖0i>0 and a function a​(n)π‘Žπ‘›a(n) such that |a​(n)|π‘Žπ‘›|a(n)| is polynomially bounded in n𝑛n and such that for all xπ‘₯x we have x∈Qπ‘₯𝑄x\in Q if and only if Ti′​(a​(|x|),x)superscriptsubscriptπ‘‡π‘–β€²π‘Žπ‘₯π‘₯T_{i}^{\prime}(a(|x|),x) is true (in the standard model).

Definition 16.

Let i,cβˆˆβ„•π‘–π‘β„•i,c\in\mathbb{N} and let Ο†=φ​(x)πœ‘πœ‘π‘₯\varphi=\varphi(x) be a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula (with only one free variable xπ‘₯x, and in particular without free variables of the set sort). Define

Ξ±Ο†i,c:=βˆ€nβˆˆπΏπ‘œπ‘”>1βˆƒaβ©½2ncβˆ€x<2n(Tiβ€²(a,x)↔φ(x)).\alpha_{\varphi}^{i,c}\ :=\ \forall n{\in}\mathit{Log}_{>1}\ \exists a{\leqslant}2^{n^{c}}\forall x{<}2^{n}\ \big{(}T^{\prime}_{i}(a,x)\leftrightarrow\varphi(x)\big{)}.

It is clear that {¬αφi,c∣i,cβˆˆβ„•}conditional-setsubscriptsuperscriptπ›Όπ‘–π‘πœ‘π‘–π‘β„•\bigl{\{}\neg\alpha^{i,c}_{\varphi}\mid i,c\in\mathbb{N}\bigr{\}} is true if and only if the 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-problem defined by φ​(x)πœ‘π‘₯\varphi(x) does not belong to 𝖯𝖧/π—‰π—ˆπ—…π—’π–―π–§π—‰π—ˆπ—…π—’\mathsf{PH/poly}. Hence, the following states the consistency of π–­π–€π–·π–―βŠˆπ–―π–§/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π–§π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{PH/poly}:

Theorem 17.

There exists φ​(x)∈Σ^11,bπœ‘π‘₯subscriptsuperscript^Ξ£1𝑏1\varphi(x)\in\hat{\Sigma}^{1,b}_{1} such that 𝖡20+{¬αφi,c∣i,cβˆˆβ„•}subscriptsuperscript𝖡02conditional-setsubscriptsuperscriptπ›Όπ‘–π‘πœ‘π‘–π‘β„•\mathsf{V}^{0}_{2}+\bigl{\{}\neg\alpha^{i,c}_{\varphi}\mid i,c\in\mathbb{N}\bigr{\}} is consistent.

This is proved in almost exactly the same way as the just-given proof of Theorem 2. The only difference is that, working in a model of 𝖡20+Ξ±Ο†i,csubscriptsuperscript𝖡02subscriptsuperscriptπ›Όπ‘–π‘πœ‘\mathsf{V}^{0}_{2}+\alpha^{i,c}_{\varphi}, the circuit C​(x)𝐢π‘₯C(x) is replaced with the formula Ti′​(a,x)subscriptsuperscriptπ‘‡β€²π‘–π‘Žπ‘₯T^{\prime}_{i}(a,x) for an advice string aβ©½2|x|cπ‘Žsuperscript2superscriptπ‘₯𝑐a\leqslant 2^{|x|^{c}}. The details are left to the reader.

3 Formally verified model-checkers

We shall need to formally reason about certain straightforwardly defined exponential time machines, namely model-checkers and universal machines. A model-checker MΟ†subscriptπ‘€πœ‘M_{\varphi} for a formula Ο†β€‹(XΒ―,xΒ―)πœ‘Β―π‘‹Β―π‘₯\varphi(\bar{X},\bar{x}) has oracle access to X¯¯𝑋\bar{X} and, on input xΒ―Β―π‘₯\bar{x}, decides whether Ο†β€‹(XΒ―,xΒ―)πœ‘Β―π‘‹Β―π‘₯\varphi(\bar{X},\bar{x}) is true. For example, by nesting a loop for each bounded quantifier, Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-formulas have straightforward model-checkers that run in exponential time and polynomial space. We define such model-checkers with care, so that π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) verifies their time and space bounds as well as their correctness. This correctness statement has to be formulated carefully because, in general, π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) cannot prove that a halting computation of MΟ†XΒ―subscriptsuperscriptπ‘€Β―π‘‹πœ‘M^{\bar{X}}_{\varphi} on xΒ―Β―π‘₯\bar{x} exists. Thus, proving correctness means to show that if a computation exists, then it does what it is supposed to do. To prove this we use some constructions that are similar in spirit to those in [5].

3.1 Preliminaries: explicit machines

In short, a machine will be called explicit if the theory π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that its halting computations terminate within a specified number of steps, using no more than a specified amount of space in its work tapes, and by querying its oracles no further than a specified position.

Machine model.

Our model of computation is the multi-tape oracle Turing machine with one-sided infinite tapes (i.e., cells indexed by β„•β„•\mathbb{N}) and an alphabet containing {0,1}01\{0,1\}. The content of cell 00 is fixed to a fixed symbol marking the end of the tape. At the start, the heads scan cell 111. The machines can be deterministic or non-deterministic. Such a machine M𝑀M has read-only input tapes, and work tapes and oracle tapes. If there are kπ‘˜k input tapes, then its inputs are kπ‘˜k-tuples xΒ―=(x1,…,xk)Β―π‘₯subscriptπ‘₯1…subscriptπ‘₯π‘˜\bar{x}=(x_{1},\ldots,x_{k}) of numbers with the length-|xi|subscriptπ‘₯𝑖|x_{i}| binary representation of xisubscriptπ‘₯𝑖x_{i} written on the i𝑖i-th input tape. The length of the input is |xΒ―|=maxi⁑|xi|Β―π‘₯subscript𝑖subscriptπ‘₯𝑖|\bar{x}|=\max_{i}|x_{i}|. If M𝑀M does not have oracle tapes, then it is a machine without oracles. If M𝑀M has β„“β©Ύ1β„“1\ell\geqslant 1 oracle tapes, then we write MXΒ―superscript𝑀¯𝑋M^{\bar{X}} for the machine with oracles XΒ―=(X1,…,Xβ„“)¯𝑋subscript𝑋1…subscript𝑋ℓ\bar{X}=(X_{1},\ldots,X_{\ell}). When the machine enters a special query state, it moves to one out of 2β„“superscript2β„“2^{\ell} many special answer states which codes the answers to the β„“β„“\ell queries written on the β„“β„“\ell oracle tapes, i.e., whether the number written (in binary) on the i𝑖i-th oracle tape belongs to Xisubscript𝑋𝑖X_{i} or not.

A partial space-s𝑠s time-t𝑑t query-qπ‘žq computation of MXΒ―superscript𝑀¯𝑋M^{\bar{X}} on xΒ―Β―π‘₯\bar{x}comprises t+1𝑑1t+1 configurations, the first one being the starting configuration, every other being a successor of the previous one, and repeating halting configurations, if any. Being space-s𝑠smeans that the largest visited cell on each tape is at most s𝑠s, and being query-qπ‘žqmeans that the largest visited cell on each oracle tape is at most most |q|π‘ž|q|; in other words, all queries have length at most |q|π‘ž|q|. Query lengths are bounded by |q|π‘ž|q| instead of qπ‘žq so that all queries are restricted to have polynomial length.

Coding computations.

Fix a machine M𝑀M. Let s,t,qβˆˆβ„•π‘ π‘‘π‘žβ„•s,t,q\in\mathbb{N} and consider a partial space-s𝑠s, time-t𝑑t, query-qπ‘žq computation of M𝑀M on an unspecified input with unspecified oracles. A configuration is coded by an (s+1)𝑠1(s{+}1)-tuple (q,c0,…,csβˆ’1)π‘žsubscript𝑐0…subscript𝑐𝑠1(q,c_{0},\ldots,c_{s-1}) of numbers: qπ‘žq codes the current state of the machine; cisubscript𝑐𝑖c_{i} codes, for each tape, a position bit indicating whether the index of the currently scanned cell is at most i𝑖i and, for each work or oracle tape, the content of cell i𝑖i. We assume that these numbers are smaller than M𝑀M (the machine is (coded by) a number), so we get an (s+1)Γ—(t+1)𝑠1𝑑1(s{+}1)\times(t{+}1) matrix of such numbers. This matrix is coded by the set Yπ‘ŒY of numbers bounded by βŸ¨s,t,|M|βŸ©π‘ π‘‘π‘€\langle s,t,|M|\rangle that contains exactly those βŸ¨i,j,kβŸ©π‘–π‘—π‘˜\langle i,j,k\rangle such that iβ©½s𝑖𝑠i\leqslant sjβ©½t𝑗𝑑j\leqslant tk<|M|π‘˜π‘€k<|M| and the (i,j)𝑖𝑗(i,j)-entry of the matrix has kπ‘˜k-bit 111.

The details of the encoding are irrelevant. What is required is that there is a 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function fYsuperscriptπ‘“π‘Œf^{Y} such that fY​(t,s,q,j)superscriptπ‘“π‘Œπ‘‘π‘ π‘žπ‘—f^{Y}(t,s,q,j) gives, about the j𝑗j-th configuration, a number coding the state, the positions of the heads, the contents of the cells they scan, and the numbers that are written in binary in the first |q|π‘ž|q| cells of the oracle tapes. In the encoding sketched above, to find the position of a specific head, fYsuperscriptπ‘“π‘Œf^{Y} uses binary search to find iβ©½s𝑖𝑠i\leqslant s where its position bit flips; computing the oracle queries is possible because the oracle tapes contain numbers below 2|q|superscript2π‘ž2^{|q|}. Having fYsuperscriptπ‘“π‘Œf^{Y}, it is straightforward to write a natural Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula stating

β€œY is a partial space-s time-t query-q computation of MXΒ― on x¯”.β€œY is a partial space-s time-t query-q computation of MXΒ― on x¯”\textit{``$Y$ is a partial space-$s$ time-$t$ query-$q$ computation of~{}$M^{\bar{X}}$ on~{}$\bar{x}$''}.(7)

The free variables of this formula are Y,XΒ―,xΒ―,s,t,qπ‘ŒΒ―π‘‹Β―π‘₯π‘ π‘‘π‘žY,\bar{X},\bar{x},s,t,q. Exceptionally, we shall also consider M𝑀M on the formal level, in which case M𝑀M is an additional free number variable. All quantifiers in the Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula (7) can be 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)-provably bounded by p​(s,t,|q|,|M|,|xΒ―|)π‘π‘ π‘‘π‘žπ‘€Β―π‘₯p(s,t,|q|,|M|,|\bar{x}|) for a polynomial p𝑝p, where |xΒ―|Β―π‘₯|\bar{x}| stands for |x1|,…,|xk|subscriptπ‘₯1…subscriptπ‘₯π‘˜|x_{1}|,\ldots,|x_{k}|. If M𝑀M is a machine without oracles, the formula is 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)-provably equivalent to the one with q=0π‘ž0q=0, and we omit β€˜query-qπ‘žq’. We also omit β€˜space s𝑠s’ if s=t𝑠𝑑s=t. Further, replacing β€˜partial’ by β€˜halting’ or β€˜accepting’ or β€˜rejecting’ are obvious modifications of the formula.

Explicit machines.

Binary search gives a π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function timeY​(s,t)superscripttimeπ‘Œπ‘ π‘‘\textit{time}^{Y}(s,t) such that, provably in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha), if Yπ‘ŒY is a halting time-t𝑑t space-s𝑠s query-qπ‘žq computation of MXΒ―superscript𝑀¯𝑋M^{\bar{X}} on xΒ―Β―π‘₯\bar{x}, then timeY​(s,t)superscripttimeπ‘Œπ‘ π‘‘\textit{time}^{Y}(s,t) is the minimal jβ©½t𝑗𝑑j\leqslant t such that the j𝑗j-th configuration in Yπ‘ŒY is halting. We make the further assumption that M𝑀M never writes blank (but can write a copy of this symbol), so heads leave marks on visited cells. Binary search can then compute the maximal non-blank cell in the j𝑗j-th configuration on any tape. By quantifier-free induction for π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas, 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that this cell number is non-decreasing for j=0,1,…,t𝑗01…𝑑j=0,1,\ldots,t. Hence, there is a π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function spaceY​(s,t)superscriptspaceπ‘Œπ‘ π‘‘\textit{space}^{Y}(s,t) such that, provably in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha), if Yπ‘ŒY is a halting time-t𝑑t space-s𝑠s query-qπ‘žq computation of MXΒ―superscript𝑀¯𝑋M^{\bar{X}} on xΒ―Β―π‘₯\bar{x}, then spaceY​(s,t)superscriptspaceπ‘Œπ‘ π‘‘\textit{space}^{Y}(s,t) is the maximal cell visited in Yπ‘ŒY on any tape. Similarly, there is a π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function queryY​(s,t)superscriptqueryπ‘Œπ‘ π‘‘\textit{query}^{Y}(s,t) that computes the maximal cell visited on a query tape.

Definition 18.

A machine M𝑀M is explicit if there are terms s​(xΒ―),t​(xΒ―),q​(xΒ―)𝑠¯π‘₯𝑑¯π‘₯π‘žΒ―π‘₯s(\bar{x}),t(\bar{x}),q(\bar{x}) such that

𝖲21​(Ξ±)βŠ’β€œY is a halting space-sβ€² time-tβ€² query-qβ€² computation of MXΒ― on x¯”→timeY​(sβ€²,tβ€²)β©½t​(xΒ―)∧spaceY​(sβ€²,tβ€²)β©½s​(xΒ―)∧queryY​(sβ€²,tβ€²)β©½|q​(xΒ―)|.subscriptsuperscript𝖲12𝛼provesβ†’β€œY is a halting space-sβ€² time-tβ€² query-qβ€² computation of MXΒ― on x¯”absentmissing-subexpressionmissing-subexpressionsuperscripttimeπ‘Œsuperscript𝑠′superscript𝑑′𝑑¯π‘₯superscriptspaceπ‘Œsuperscript𝑠′superscript𝑑′𝑠¯π‘₯superscriptqueryπ‘Œsuperscript𝑠′superscriptπ‘‘β€²π‘žΒ―π‘₯\begin{array}[]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\textit{``$Y$ is a halting space-$s^{\prime}$ time-$t^{\prime}$ query-$q^{\prime}$ computation of~{}$M^{\bar{X}}$ on~{}$\bar{x}$''}\to\\ &&\quad\textit{time}^{Y}(s^{\prime},t^{\prime})\leqslant t(\bar{x})\wedge\textit{space}^{Y}(s^{\prime},t^{\prime})\leqslant s(\bar{x})\wedge\textit{query}^{Y}(s^{\prime},t^{\prime})\leqslant|q(\bar{x})|.\end{array}

We say that the terms s=s​(xΒ―),t=t​(xΒ―),q=q​(xΒ―)formulae-sequence𝑠𝑠¯π‘₯formulae-sequence𝑑𝑑¯π‘₯π‘žπ‘žΒ―π‘₯s=s(\bar{x}),t=t(\bar{x}),q=q(\bar{x}) witness that M𝑀M is explicit. Further, if r​(xΒ―)π‘ŸΒ―π‘₯r(\bar{x}) is another term, then we say that r=r​(xΒ―)π‘Ÿπ‘ŸΒ―π‘₯r=r(\bar{x}) witnesses that M𝑀M is an

explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machineif it is non-deterministicwith t=s=q=rπ‘‘π‘ π‘žπ‘Ÿt=s=q=r;
explicit 𝖀𝖷𝖯𝖀𝖷𝖯\mathsf{EXP}-machineif it is deterministicwith t=s=q=rπ‘‘π‘ π‘žπ‘Ÿt=s=q=r;
explicit 𝖯𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machineif it is deterministicwith t=q=rπ‘‘π‘žπ‘Ÿt=q=r and s=|r|π‘ π‘Ÿs=|r|;
explicit 𝖭𝖯𝖭𝖯\mathsf{NP}-machineif it is non-deterministicwith t=s=|r|π‘‘π‘ π‘Ÿt=s=|r| and q=rπ‘žπ‘Ÿq=r;
explicit 𝖯𝖯\mathsf{P}-machineif it is deterministicwith t=s=|r|π‘‘π‘ π‘Ÿt=s=|r| and q=rπ‘žπ‘Ÿq=r.

Observe that, if s,t,qπ‘ π‘‘π‘žs,t,q witness that M𝑀M is explicit, and sβ€²=s′​(xΒ―)superscript𝑠′superscript𝑠′¯π‘₯s^{\prime}=s^{\prime}(\bar{x}), tβ€²=t′​(xΒ―)superscript𝑑′superscript𝑑′¯π‘₯t^{\prime}=t^{\prime}(\bar{x}), qβ€²=q′​(xΒ―)superscriptπ‘žβ€²superscriptπ‘žβ€²Β―π‘₯q^{\prime}=q^{\prime}(\bar{x}) are terms such that 𝖲21⊒s​(xΒ―)β©½s′​(xΒ―)∧t​(xΒ―)β©½t′​(xΒ―)∧q​(xΒ―)β©½q′​(xΒ―)provessubscriptsuperscript𝖲12𝑠¯π‘₯superscript𝑠′¯π‘₯𝑑¯π‘₯superscript𝑑′¯π‘₯π‘žΒ―π‘₯superscriptπ‘žβ€²Β―π‘₯\mathsf{S}^{1}_{2}\vdash s(\bar{x}){\leqslant}s^{\prime}(\bar{x})\wedge t(\bar{x}){\leqslant}t^{\prime}(\bar{x})\wedge q(\bar{x}){\leqslant}q^{\prime}(\bar{x}), then also sβ€²,tβ€²,qβ€²superscript𝑠′superscript𝑑′superscriptπ‘žβ€²s^{\prime},t^{\prime},q^{\prime} witness that M𝑀M is explicit. E.g., if rπ‘Ÿr witnesses that M𝑀M is an explicit π–―𝖯\mathsf{P}-machine, then rπ‘Ÿr also witnesses that M𝑀M is an explicit π–―𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine.

Given an explicit machine M𝑀M, we omit β€˜space-s𝑠s time-t𝑑t query-qπ‘žq’ in (7) and its variations with β€˜halting’, β€˜accepting’ or β€˜rejecting’. E.g. for an explicit π–€π–·π–―𝖀𝖷𝖯\mathsf{EXP}-machine M𝑀M, say witnessed by r=r​(xΒ―)π‘Ÿπ‘ŸΒ―π‘₯r=r(\bar{x}), we have a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula

β€œY is an accepting computation of MXΒ― on x¯”.β€œY is an accepting computation of MXΒ― on x¯”\textit{``$Y$ is an accepting computation of $M^{\bar{X}}$ on $\bar{x}$''}.(8)

This means that Yπ‘ŒY is a space-r​(xΒ―)π‘ŸΒ―π‘₯r(\bar{x}) time-r​(xΒ―)π‘ŸΒ―π‘₯r(\bar{x}) query-r​(xΒ―)π‘ŸΒ―π‘₯r(\bar{x}) computation of MXΒ―superscript𝑀¯𝑋M^{\bar{X}} on xΒ―Β―π‘₯\bar{x} that ends in an accepting halting configuration, and all queries β€œz∈X𝑧𝑋z\in X?” during the computation satisfy z<2|r​(xΒ―)|𝑧superscript2π‘ŸΒ―π‘₯z<2^{|r(\bar{x})|}. In particular,

Y⩽⟨r​(xΒ―),r​(xΒ―),|M|βŸ©π‘Œπ‘ŸΒ―π‘₯π‘ŸΒ―π‘₯𝑀Y{\leqslant}\langle r(\bar{x}),r(\bar{x}),|M|\rangle(9)

provably in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha). Furthermore, all quantifiers in the Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula (8) can be π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)-provably bounded by p​(r​(xΒ―),|M|,|xΒ―|)π‘π‘ŸΒ―π‘₯𝑀¯π‘₯p(r(\bar{x}),|M|,|\bar{x}|) for a polynomial p𝑝p, where |xΒ―|Β―π‘₯|\bar{x}| stands for |x1|,…,|xk|subscriptπ‘₯1…subscriptπ‘₯π‘˜|x_{1}|,\ldots,|x_{k}|.

Thereby, our mode of speech follows [22, Definition 8.1.2] in that the time bound is used to determine the bound on the oracle tapes.

Polynomial-time computations.

It is well-known that 𝖲21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} formalizes polynomial time computations. We shall use this in the form of the following lemma.

For an explicit π–―𝖯\mathsf{P}-machine M𝑀M, its computations Yπ‘ŒY can be coded by numbers y𝑦y and we get a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula

β€œy is a halting computation of MXΒ― on x¯”.β€œy is a halting computation of MXΒ― on x¯”\textit{``$y$ is a halting computation of $M^{\bar{X}}$ on $\bar{x}$''}.

Here, y𝑦y is a number sort variable, and the free variables are XΒ―,xΒ―,y¯𝑋¯π‘₯𝑦\bar{X},\bar{x},y. If M𝑀M has a special output tape, we agree that the output of a computation is the number whose binary representation is written in cells 1,2,…12…1,2,\ldots up to the first cell not containing a bit. We have a π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function outMsubscriptout𝑀\textit{out}_{M} such that, provably in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha), if y𝑦y is a halting computation of MXΒ―superscript𝑀¯𝑋M^{\bar{X}} on xΒ―Β―π‘₯\bar{x}, then outM​(y,j)subscriptout𝑀𝑦𝑗\textit{out}_{M}(y,j) is the content of cell j𝑗j of the output tape in the halting configuration in case this is a bit; otherwise outM​(y,j)=2subscriptout𝑀𝑦𝑗2\textit{out}_{M}(y,j){=}2. In particular, π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves outM​(y,j)β©½2subscriptout𝑀𝑦𝑗2\textit{out}_{M}(y,j){\leqslant}2,

Lemma 19.

For every π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function fX¯​(xΒ―)superscript𝑓¯𝑋¯π‘₯f^{\bar{X}}(\bar{x}) there are an explicit π–―𝖯\mathsf{P}-machine M𝑀M and a π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function gX¯​(xΒ―)superscript𝑔¯𝑋¯π‘₯g^{\bar{X}}(\bar{x}) such that π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves

(β€œy is a halting computation of MXΒ― on x¯”↔y=gXΒ―(xΒ―))∧\displaystyle\big{(}\textit{``$y$ is a halting computation of $M^{\bar{X}}$ on $\bar{x}$''}\leftrightarrow y{=}g^{\bar{X}}(\bar{x})\big{)}\wedge
(j<|fX¯​(xΒ―)|β†’outM​(gX¯​(xΒ―),j+1)=𝑏𝑖𝑑​(fX¯​(xΒ―),j))∧limit-from𝑗superscript𝑓¯𝑋¯π‘₯β†’subscriptout𝑀superscript𝑔¯𝑋¯π‘₯𝑗1𝑏𝑖𝑑superscript𝑓¯𝑋¯π‘₯𝑗\displaystyle\big{(}j{<}|f^{\bar{X}}(\bar{x})|\to\textit{out}_{M}(g^{\bar{X}}(\bar{x}),j{+}1){=}\mathit{bit}(f^{\bar{X}}(\bar{x}),j)\big{)}\wedge
(jβ©Ύ|fX¯​(xΒ―)|β†’outM​(gX¯​(xΒ―),j+1)=2).𝑗superscript𝑓¯𝑋¯π‘₯β†’subscriptout𝑀superscript𝑔¯𝑋¯π‘₯𝑗12\displaystyle\big{(}j{\geqslant}|f^{\bar{X}}(\bar{x})|\to\textit{out}_{M}(g^{\bar{X}}(\bar{x}),j{+}1){=}2\big{)}.

In the statement of the lemma, π‘π‘–𝑑​(n,i)𝑏𝑖𝑑𝑛𝑖\mathit{bit}(n,i) is a π–―𝖡𝖯𝖡\mathsf{PV}-function computing the i𝑖i-bit of the binary representation of n𝑛n, i.e., π‘π‘–𝑑​(n,i)=⌊n/2iβŒ‹β€‹mod​2𝑏𝑖𝑑𝑛𝑖𝑛superscript2𝑖mod2\mathit{bit}(n,i)=\lfloor n/2^{i}\rfloor\ \mathrm{mod}\ 2 (in the standard model). In particular, we have π‘π‘–𝑑​(n,i)=0𝑏𝑖𝑑𝑛𝑖0\mathit{bit}(n,i)=0 for iβ©Ύ|n|𝑖𝑛i\geqslant|n|.

3.2 Deterministic model-checkers

For every Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-formula Ο†=φ​(XΒ―,xΒ―)πœ‘πœ‘Β―π‘‹Β―π‘₯\varphi=\varphi(\bar{X},\bar{x}) in the language π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha) we define its bounding term π‘π‘‘φ​(xΒ―)subscriptπ‘π‘‘πœ‘Β―π‘₯\mathit{bt}_{\varphi}(\bar{x}) as follows:

  1. 1.

    𝑏𝑑φ=0subscriptπ‘π‘‘πœ‘0\mathit{bt}_{\varphi}=0 if Ο†πœ‘\varphi is atomic,

  2. 2.

    𝑏𝑑φ=π‘π‘‘Οˆsubscriptπ‘π‘‘πœ‘subscriptπ‘π‘‘πœ“\mathit{bt}_{\varphi}=\mathit{bt}_{\psi} if Ο†=Β¬Οˆπœ‘πœ“\varphi=\neg\psi,

  3. 3.

    𝑏𝑑φ=π‘π‘‘Οˆ+𝑏𝑑θsubscriptπ‘π‘‘πœ‘subscriptπ‘π‘‘πœ“subscriptπ‘π‘‘πœƒ\mathit{bt}_{\varphi}=\mathit{bt}_{\psi}+\mathit{bt}_{\theta} if Ο†=(ψ∧θ)πœ‘πœ“πœƒ\varphi=(\psi\wedge\theta),

  4. 4.

    𝑏𝑑φ=π‘π‘‘Οˆβ€‹(xΒ―,t​(xΒ―))+t​(xΒ―)subscriptπ‘π‘‘πœ‘subscriptπ‘π‘‘πœ“Β―π‘₯𝑑¯π‘₯𝑑¯π‘₯\mathit{bt}_{\varphi}=\mathit{bt}_{\psi}(\bar{x},t(\bar{x}))+t(\bar{x}) if Ο†=βˆƒyβ©½t​(xΒ―)β€‹Οˆβ€‹(XΒ―,xΒ―,y)πœ‘π‘¦π‘‘Β―π‘₯πœ“Β―π‘‹Β―π‘₯𝑦\varphi=\exists y{\leqslant}t(\bar{x})\ \psi(\bar{X},\bar{x},y).

Lemma 20.

For every Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-formula Ο†=φ​(XΒ―,xΒ―)πœ‘πœ‘Β―π‘‹Β―π‘₯\varphi=\varphi(\bar{X},\bar{x}) there are an explicit 𝖯𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine MΟ†XΒ―superscriptsubscriptπ‘€πœ‘Β―π‘‹M_{\varphi}^{\bar{X}}, a Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-formula Cφ​(XΒ―,xΒ―,u)subscriptπΆπœ‘Β―π‘‹Β―π‘₯𝑒\mathit{C}_{\varphi}(\bar{X},\bar{x},u), terms rφ​(xΒ―),sφ​(xΒ―)subscriptπ‘Ÿπœ‘Β―π‘₯subscriptπ‘ πœ‘Β―π‘₯r_{\varphi}(\bar{x}),s_{\varphi}(\bar{x}), and a polynomial pφ​(m,nΒ―)subscriptπ‘πœ‘π‘šΒ―π‘›p_{\varphi}(m,\bar{n}), such that

  1. (a)

    𝖲21​(Ξ±)βŠ’β€œY is an accepting computation of MΟ†XΒ― on x¯”→φ​(XΒ―,xΒ―)provessubscriptsuperscript𝖲12π›Όβ†’β€œY is an accepting computation of MΟ†XΒ― on xΒ―β€πœ‘Β―π‘‹Β―π‘₯\mathsf{S}^{1}_{2}(\alpha)\vdash\textit{``$Y$ is an accepting computation of~{}$M_{\varphi}^{\bar{X}}$ on $\bar{x}$''}\to\varphi(\bar{X},\bar{x}),

  2. (b)

    𝖲21​(Ξ±)βŠ’β€œY is a rejecting computation of MΟ†XΒ― on x¯”→¬φ​(XΒ―,xΒ―)provessubscriptsuperscript𝖲12π›Όβ†’β€œY is a rejecting computation of MΟ†XΒ― on xΒ―β€πœ‘Β―π‘‹Β―π‘₯\mathsf{S}^{1}_{2}(\alpha)\vdash\textit{``$Y$ is a rejecting computation of~{}$M_{\varphi}^{\bar{X}}$ on $\bar{x}$''}\to\neg\varphi(\bar{X},\bar{x}),

  3. (c)

    𝖲21​(Ξ±)βŠ’β€œCφ​(XΒ―,xΒ―,β‹…) is a halting computation of MΟ†XΒ― on x¯”provessubscriptsuperscript𝖲12π›Όβ€œCΟ†(XΒ―,xΒ―,β‹…) is a halting computation of MΟ†XΒ― on x¯”\mathsf{S}^{1}_{2}(\alpha)\vdash\textit{``$\mathit{C}_{\varphi}(\bar{X},\bar{x},\cdot)$ is a halting computation of~{}$M_{\varphi}^{\bar{X}}$ on $\bar{x}$''},

  4. (d)

    𝖲21​(Ξ±)⊒rφ​(xΒ―)β©½pφ​(𝑏𝑑φ​(xΒ―),|xΒ―|)provessubscriptsuperscript𝖲12𝛼subscriptπ‘Ÿπœ‘Β―π‘₯subscriptπ‘πœ‘subscriptπ‘π‘‘πœ‘Β―π‘₯Β―π‘₯\mathsf{S}^{1}_{2}(\alpha)\vdash\ r_{\varphi}(\bar{x})\leqslant p_{\varphi}(\mathit{bt}_{\varphi}(\bar{x}),|\bar{x}|),

  5. (e)

    rφ​(xΒ―),sφ​(xΒ―)subscriptπ‘Ÿπœ‘Β―π‘₯subscriptπ‘ πœ‘Β―π‘₯r_{\varphi}(\bar{x}),s_{\varphi}(\bar{x})witness MΟ†XΒ―subscriptsuperscriptπ‘€Β―π‘‹πœ‘M^{\bar{X}}_{\varphi}as explicit π–€π–·π–―𝖀𝖷𝖯\mathsf{EXP}- and 𝖯𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machines, respectively.

In addition, if Ο†=φ​(XΒ―,xΒ―)πœ‘πœ‘Β―π‘‹Β―π‘₯\varphi=\varphi(\bar{X},\bar{x}) is a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula, then there are a term tφ​(xΒ―)subscriptπ‘‘πœ‘Β―π‘₯t_{\varphi}(\bar{x}) and a quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula Cφ​(XΒ―,xΒ―,w,u)subscriptπΆπœ‘Β―π‘‹Β―π‘₯𝑀𝑒\mathit{C}_{\varphi}(\bar{X},\bar{x},w,u) such that

  1. 6.

    𝖳21​(Ξ±)βŠ’βˆƒwβ©½tφ​(xΒ―)β€‹β€œCφ​(XΒ―,xΒ―,w,β‹…) is a halting computation of MΟ†XΒ― on x¯”provessubscriptsuperscript𝖳12𝛼𝑀subscriptπ‘‘πœ‘Β―π‘₯β€œCΟ†(XΒ―,xΒ―,w,β‹…) is a halting computation of MΟ†XΒ― on x¯”\mathsf{T}^{1}_{2}(\alpha)\vdash\ \exists w{\leqslant}t_{\varphi}(\bar{x})\ \textit{``$\mathit{C}_{\varphi}(\bar{X},\bar{x},w,\cdot)$ is a halting computation of~{}$M_{\varphi}^{\bar{X}}$ on $\bar{x}$''},

  2. 7.

    𝖲21​(Ξ±)βŠ’Ο†β€‹(XΒ―,xΒ―)β†’provessubscriptsuperscript𝖲12π›Όβ†’πœ‘Β―π‘‹Β―π‘₯absent\mathsf{S}^{1}_{2}(\alpha)\vdash\ \varphi(\bar{X},\bar{x})\toβ€œCφ​(XΒ―,xΒ―,tφ​(xΒ―),β‹…)subscriptπΆπœ‘Β―π‘‹Β―π‘₯subscriptπ‘‘πœ‘Β―π‘₯β‹…\mathit{C}_{\varphi}(\bar{X},\bar{x},t_{\varphi}(\bar{x}),\cdot) is an accepting computation of MΟ†XΒ―superscriptsubscriptπ‘€πœ‘Β―π‘‹M_{\varphi}^{\bar{X}} on xΒ―Β―π‘₯\bar{x}”.

Proof.

Call a Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-formula Ο†=φ​(XΒ―,xΒ―)πœ‘πœ‘Β―π‘‹Β―π‘₯\varphi=\varphi(\bar{X},\bar{x}) good if it satisfies (a)–(e). Observe that all Ξ£0b​(Ξ±)subscriptsuperscriptΣ𝑏0𝛼\Sigma^{b}_{0}(\alpha)-formulas are good: they are 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)-provably equivalent to formulas of the form fX¯​(xΒ―)=1superscript𝑓¯𝑋¯π‘₯1f^{\bar{X}}(\bar{x}){=}1 for some 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function fX¯​(xΒ―)superscript𝑓¯𝑋¯π‘₯f^{\bar{X}}(\bar{x}), and we can choose a machine according to Lemma 19. Recall that an explicit 𝖯𝖯\mathsf{P}-machine is also an explicit 𝖯𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine and explicit 𝖀𝖷𝖯𝖀𝖷𝖯\mathsf{EXP}-machine (in this case, all three witnessed by the same term).

We leave it to the reader to check that the good formulas are closed under Boolean combinations. We are then left to show that if

φ​(XΒ―,xΒ―)=βˆƒyβ©½t​(xΒ―)β€‹Οˆβ€‹(XΒ―,xΒ―,y)πœ‘Β―π‘‹Β―π‘₯𝑦𝑑¯π‘₯πœ“Β―π‘‹Β―π‘₯𝑦\varphi(\bar{X},\bar{x})\ =\ \exists y{\leqslant}t(\bar{x})\ \psi(\bar{X},\bar{x},y)(10)

for a term t​(xΒ―)𝑑¯π‘₯t(\bar{x}) and a good formula Οˆ=Οˆβ€‹(XΒ―,xΒ―,y)πœ“πœ“Β―π‘‹Β―π‘₯𝑦\psi=\psi(\bar{X},\bar{x},y), then Ο†πœ‘\varphi is good. To lighten the notation, in the following we drop any reference to the set-parameters X¯¯𝑋\bar{X} in the formulas, and to the oracles X¯¯𝑋\bar{X} in machines, since they remain fixed throughout the proof.

The machine MΟ†subscriptπ‘€πœ‘M_{\varphi} runs a loop searching for a y𝑦y in {0,…,t​(xΒ―)}0…𝑑¯π‘₯\{0,\ldots,t(\bar{x})\} that satisfies Οˆπœ“\psi. On input xΒ―Β―π‘₯\bar{x}, it writes y:=0assign𝑦0y:=0 on a work tape and then loops: it checks whether yβ©½t​(xΒ―)𝑦𝑑¯π‘₯y\leqslant t(\bar{x}) and, if so, it updates y:=y+1assign𝑦𝑦1y:=y+1 and runs Mψsubscriptπ‘€πœ“M_{\psi} on (xΒ―,y)Β―π‘₯𝑦(\bar{x},y); otherwise it halts. It accepts or rejects according to a flag bit b𝑏b stored in its state space: b𝑏b is initially set to 00, and it is set to 1 when and if an Mψsubscriptπ‘€πœ“M_{\psi}-run accepts.

To prove (a)–(e) we want a quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula D​(Y,xΒ―,y,u)π·π‘ŒΒ―π‘₯𝑦𝑒D(Y,\bar{x},y,u) that extracts the Mψsubscriptπ‘€πœ“M_{\psi}-computation simulated in the y𝑦y-loop. More precisely, we want π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) to prove that, if Yπ‘ŒY is a halting computation of MΟ†subscriptπ‘€πœ‘M_{\varphi} on xΒ―Β―π‘₯\bar{x}, then D​(Y,xΒ―,y,β‹…)π·π‘ŒΒ―π‘₯𝑦⋅D(Y,\bar{x},y,\cdot) is a halting computation of Mψsubscriptπ‘€πœ“M_{\psi} on (xΒ―,y)Β―π‘₯𝑦(\bar{x},y). For this, we design the details of MΟ†subscriptπ‘€πœ‘M_{\varphi} in a way so that the j𝑗j-th step of the computation of Mψsubscriptπ‘€πœ“M_{\psi} on (xΒ―,y)Β―π‘₯𝑦(\bar{x},y) is simulated by MΟ†subscriptπ‘€πœ‘M_{\varphi} at a time easily computed from xΒ―,y,jΒ―π‘₯𝑦𝑗\bar{x},y,j.

Description of MΟ†subscriptπ‘€πœ‘M_{\varphi}. Set r​(xΒ―):=rΟˆβ€‹(xΒ―,t​(xΒ―))assignπ‘ŸΒ―π‘₯subscriptπ‘Ÿπœ“Β―π‘₯𝑑¯π‘₯r(\bar{x}):=r_{\psi}(\bar{x},t(\bar{x})) where rΟˆβ€‹(xΒ―,y)subscriptπ‘Ÿπœ“Β―π‘₯𝑦r_{\psi}(\bar{x},y) is the term claimed to exist for Οˆπœ“\psi. Note that π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that rΟˆβ€‹(xΒ―,y)β©½r​(xΒ―)subscriptπ‘Ÿπœ“Β―π‘₯π‘¦π‘ŸΒ―π‘₯r_{\psi}(\bar{x},y)\leqslant r(\bar{x}) for yβ©½t​(xΒ―)𝑦𝑑¯π‘₯y\leqslant t(\bar{x}). Additionally to properties (a)–(e) for Οˆπœ“\psi, we assume inductively that π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that the halting configuration of Mψsubscriptπ‘€πœ“M_{\psi} on (xΒ―,y)Β―π‘₯𝑦(\bar{x},y) equals the initial configuration except for the state, that is, Mψsubscriptπ‘€πœ“M_{\psi} cleans all worktapes and moves all heads back to cell 111 before it halts.

Our machine initially computes t=t​(xΒ―)𝑑𝑑¯π‘₯t=t(\bar{x}) and r=r​(xΒ―)π‘Ÿπ‘ŸΒ―π‘₯r=r(\bar{x}) and two binary clocks initially set to 0|t|superscript0𝑑0^{|t|} and 0|r|superscript0π‘Ÿ0^{|r|}. The terms are evaluated using explicit π–―𝖯\mathsf{P}-machines according to Lemma 19. The initial settings of the clocks are simply computed by scanning the binary representations of t𝑑t and rπ‘Ÿr that were computed at the start. This initial computation of terms, and initialization of clocks, takes time exactly ini​(xΒ―)iniΒ―π‘₯\textit{ini}(\bar{x}) for some π–―𝖡𝖯𝖡\mathsf{PV}-function ini​(xΒ―)iniΒ―π‘₯\textit{ini}(\bar{x}). Further, π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves ini​(xΒ―)β©½|ti​(xΒ―)|iniΒ―π‘₯subscript𝑑iΒ―π‘₯\textit{ini}(\bar{x})\leqslant|t_{\textit{i}}(\bar{x})| for a suitable term ti​(xΒ―)subscript𝑑iΒ―π‘₯t_{\textit{i}}(\bar{x}).

The y𝑦y-loop is implemented as follows. First update y𝑦y, the value of the first clock. To do this, sweep over the first clock, and then back, in exactly (2​|t|+2)2𝑑2(2|t|+2) steps, doing the following: copy y𝑦y without leading 00’s to some tape, so this tape holds the length-|y|𝑦|y| binary representation of y𝑦y (as expected by Mψsubscriptπ‘€πœ“M_{\psi}); increase the clock by 111 if y<t𝑦𝑑y<t, and reset it to 0|t|superscript0𝑑0^{|t|} if y=t𝑦𝑑y=t; in the latter case store a bit signaling this; this signal bit halts the computation (in the next y𝑦y-loop) instead of doing the y𝑦y-update. After this y𝑦y-update, simulate rπ‘Ÿr steps of Mψsubscriptπ‘€πœ“M_{\psi} on (xΒ―,y)Β―π‘₯𝑦(\bar{x},y) by an inner loop: in 2​|r|+22π‘Ÿ22|r|+2 steps sweep twice over the second clock. If its value was smaller that rπ‘Ÿr, then increase it by 111 and simulate the next step of Mψsubscriptπ‘€πœ“M_{\psi}’s computation; this can mean repeating the halting computation. If its value was not smaller than rπ‘Ÿr, then set the clock back to 0|r|superscript0π‘Ÿ0^{|r|}. Thus, exactly 2​|r|+32π‘Ÿ32|r|+3 steps are spent for one step of Mψsubscriptπ‘€πœ“M_{\psi} and one y𝑦y-loop takes exactly tℓ​(xΒ―):=(r​(xΒ―)+1)β‹…(2​|r​(xΒ―)|+3)assignsubscript𝑑ℓ¯π‘₯β‹…π‘ŸΒ―π‘₯12π‘ŸΒ―π‘₯3t_{\ell}(\bar{x}):=(r(\bar{x})+1)\cdot(2|r(\bar{x})|+3) steps.

If the signal bit halts the computation, then our machine first cleans all tapes and moves heads back to cell 111, before halting. We omit a description of this final polynomial time computation. It can be implemented to take exactly π‘“𝑖𝑛​(xΒ―)𝑓𝑖𝑛¯π‘₯\mathit{fin}(\bar{x}) steps for a π–―𝖡𝖯𝖡\mathsf{PV}-function π‘“𝑖𝑛​(xΒ―)𝑓𝑖𝑛¯π‘₯\mathit{fin}(\bar{x}), and π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} proves π‘“𝑖𝑛​(xΒ―)β©½|tf​(xΒ―)|𝑓𝑖𝑛¯π‘₯subscript𝑑fΒ―π‘₯\mathit{fin}(\bar{x})\leqslant|t_{\textit{f}}(\bar{x})| for a suitable term tf​(xΒ―)subscript𝑑fΒ―π‘₯t_{\textit{f}}(\bar{x}).

Thus MΟ†subscriptπ‘€πœ‘M_{\varphi} runs in time exactly ini​(xΒ―)+(t​(xΒ―)+1)β‹…tℓ​(xΒ―)+fin​(xΒ―)iniΒ―π‘₯⋅𝑑¯π‘₯1subscript𝑑ℓ¯π‘₯finΒ―π‘₯\textit{ini}(\bar{x})+(t(\bar{x})+1)\cdot t_{\ell}(\bar{x})+\textit{fin}(\bar{x}). It simulates rπ‘Ÿr steps of Mψsubscriptπ‘€πœ“M_{\psi} on (xΒ―,y)Β―π‘₯𝑦(\bar{x},y) at times

t​(xΒ―,y,j):=𝑖𝑛𝑖​(xΒ―)+yβ‹…tℓ​(xΒ―)+(j+1)β‹…(2​|r​(xΒ―)|+3)assign𝑑¯π‘₯𝑦𝑗𝑖𝑛𝑖¯π‘₯⋅𝑦subscript𝑑ℓ¯π‘₯⋅𝑗12π‘ŸΒ―π‘₯3t(\bar{x},y,j):=\mathit{ini}(\bar{x})+y\cdot t_{\ell}(\bar{x})+(j+1)\cdot(2|r(\bar{x})|+3)(11)

for j<r​(xΒ―)π‘—π‘ŸΒ―π‘₯j<r(\bar{x}).

Explicitness: proof of (d)–(e). Let sΟˆβ€‹(xΒ―,y)subscriptπ‘ πœ“Β―π‘₯𝑦s_{\psi}(\bar{x},y) be the term that witnesses Mψsubscriptπ‘€πœ“M_{\psi} as an explicit π–―𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine. Let Yπ‘ŒY be a halting computation of MΟ†subscriptπ‘€πœ‘M_{\varphi} on xΒ―Β―π‘₯\bar{x}. There is a π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function that from xΒ―Β―π‘₯\bar{x} computes (a number coding) the initial computation of terms and clocks, and π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves its halting configuration is as described. Clearly, π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that the first ini​(xΒ―)iniΒ―π‘₯\textit{ini}(\bar{x}) steps of Yπ‘ŒY coincide with this computation. In particular, π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that the clocks computed in Yπ‘ŒY have the desired length. Similarly, there is a π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function that from xΒ―,y,jΒ―π‘₯𝑦𝑗\bar{x},y,j computes (a number coding) the space-|sΟˆβ€‹(xΒ―,y)|subscriptπ‘ πœ“Β―π‘₯𝑦|s_{\psi}(\bar{x},y)| configuration of Mψsubscriptπ‘€πœ“M_{\psi} at time t​(xΒ―,y,j)𝑑¯π‘₯𝑦𝑗t(\bar{x},y,j) in Yπ‘ŒY.

We prove, by quantifier-free induction, that the computation Yπ‘ŒY simulates the steps of Mψsubscriptπ‘€πœ“M_{\psi} at times t​(y,j):=t​(xΒ―,y,j)assign𝑑𝑦𝑗𝑑¯π‘₯𝑦𝑗t(y,j):=t(\bar{x},y,j) for yβ©½t𝑦𝑑y\leqslant t and j<rπ‘—π‘Ÿj<r. Assume this holds for time t​(y,j)𝑑𝑦𝑗t(y,j). We verify it for time t​(y,j+1)𝑑𝑦𝑗1t(y,j+1) or time t​(y+1,0)𝑑𝑦10t(y+1,0) depending on whether j<rπ‘—π‘Ÿj<r or j=rπ‘—π‘Ÿj=r. Assume the former; the latter case is similar. Compute the time-(2​|r|+3)2π‘Ÿ3(2|r|+3) computation (that sweeps twice over the clock and simulates one more step of Mψsubscriptπ‘€πœ“M_{\psi}) starting at the configuration at time t​(y,j)𝑑𝑦𝑗t(y,j); then Yπ‘ŒY must coincide with this computation between time t​(y,j)𝑑𝑦𝑗t(y,j) and time t​(y,j+1)𝑑𝑦𝑗1t(y,j+1). Hence, Yπ‘ŒY simulates a step of Mψsubscriptπ‘€πœ“M_{\psi} at time t​(y,j+1)𝑑𝑦𝑗1t(y,j+1). Similarly, quantifier-free induction proves that the Mψsubscriptπ‘€πœ“M_{\psi}-configurations at the times t​(y,j)𝑑𝑦𝑗t(y,j) in Yπ‘ŒY are successors of each others. This yields a quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula D​(Y,xΒ―,y,u)π·π‘ŒΒ―π‘₯𝑦𝑒D(Y,\bar{x},y,u) as desired.

From the configuration at time ini​(xΒ―)+(t+1)β‹…tℓ​(xΒ―)iniΒ―π‘₯⋅𝑑1subscript𝑑ℓ¯π‘₯\textit{ini}(\bar{x})+(t+1)\cdot t_{\ell}(\bar{x}) one can compute the final fin​(xΒ―)finΒ―π‘₯\textit{fin}(\bar{x}) steps of the clean-up computation before MΟ†subscriptπ‘€πœ‘M_{\varphi} halts, and the last fin​(xΒ―)finΒ―π‘₯\textit{fin}(\bar{x}) steps of Yπ‘ŒY must coincide with that. Hence, π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that the configuration of Yπ‘ŒY at time ini​(xΒ―)+(t+1)β‹…tβ„“+fin​(xΒ―)iniΒ―π‘₯⋅𝑑1subscript𝑑ℓfinΒ―π‘₯\textit{ini}(\bar{x})+(t+1)\cdot t_{\ell}+\textit{fin}(\bar{x}) is halting. Recalling that ini​(xΒ―)β©½|ti​(xΒ―)|iniΒ―π‘₯subscript𝑑iΒ―π‘₯\textit{ini}(\bar{x})\leqslant|t_{\textit{i}}(\bar{x})| and fin​(xΒ―)β©½|tf​(xΒ―)|finΒ―π‘₯subscript𝑑fΒ―π‘₯\textit{fin}(\bar{x})\leqslant|t_{\textit{f}}(\bar{x})|, this implies that the term

rφ​(xΒ―)subscriptπ‘Ÿπœ‘Β―π‘₯\displaystyle r_{\varphi}(\bar{x}):=assign\displaystyle:=|ti​(xΒ―)|+(t​(xΒ―)+1)β‹…tℓ​(xΒ―)+|tf​(xΒ―)|subscript𝑑iΒ―π‘₯⋅𝑑¯π‘₯1subscript𝑑ℓ¯π‘₯subscript𝑑fΒ―π‘₯\displaystyle|t_{\textit{i}}(\bar{x})|+(t(\bar{x})+1)\cdot t_{\ell}(\bar{x})+|t_{\textit{f}}(\bar{x})|

witnesses MΟ†subscriptπ‘€πœ‘M_{\varphi} as an explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine. Choose a term sφ​(xΒ―)subscriptπ‘ πœ‘Β―π‘₯s_{\varphi}(\bar{x}) such that 𝖲21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}-provably sφ​(xΒ―)β©Ύrφ​(xΒ―)subscriptπ‘ πœ‘Β―π‘₯subscriptπ‘Ÿπœ‘Β―π‘₯s_{\varphi}(\bar{x})\geqslant r_{\varphi}(\bar{x}) and

|sφ​(xΒ―)|β©Ύ|ti​(xΒ―)|+(|t​(xΒ―)|+1)+(|r​(xΒ―)|+1)+|sΟˆβ€‹(xΒ―,t​(xΒ―))|+|tf​(xΒ―)|.subscriptπ‘ πœ‘Β―π‘₯subscript𝑑iΒ―π‘₯𝑑¯π‘₯1π‘ŸΒ―π‘₯1subscriptπ‘ πœ“Β―π‘₯𝑑¯π‘₯subscript𝑑fΒ―π‘₯|s_{\varphi}(\bar{x})|\geqslant|t_{\textit{i}}(\bar{x})|+(|t(\bar{x})|+1)+(|r(\bar{x})|+1)+|s_{\psi}(\bar{x},t(\bar{x}))|+|t_{\textit{f}}(\bar{x})|.

Then sφ​(xΒ―)subscriptπ‘ πœ‘Β―π‘₯s_{\varphi}(\bar{x}) witnesses MΟ†subscriptπ‘€πœ‘M_{\varphi} as an explicit 𝖯𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine. This shows (e).

For (d), recall tℓ​(xΒ―)=(r​(xΒ―)+1)β‹…(2​|r​(xΒ―)|+3)subscript𝑑ℓ¯π‘₯β‹…π‘ŸΒ―π‘₯12π‘ŸΒ―π‘₯3t_{\ell}(\bar{x})=(r(\bar{x})+1)\cdot(2|r(\bar{x})|+3) and hence rφ​(xΒ―)β©½p​(r​(xΒ―),t​(xΒ―),|xΒ―|)subscriptπ‘Ÿπœ‘Β―π‘₯π‘π‘ŸΒ―π‘₯𝑑¯π‘₯Β―π‘₯r_{\varphi}(\bar{x})\leqslant p(r(\bar{x}),t(\bar{x}),|\bar{x}|) for a suitable polynomial p𝑝p, provably in π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}. Recalling that r​(xΒ―)=rΟˆβ€‹(xΒ―,t​(xΒ―))π‘ŸΒ―π‘₯subscriptπ‘Ÿπœ“Β―π‘₯𝑑¯π‘₯r(\bar{x})=r_{\psi}(\bar{x},t(\bar{x})), and that by (d) for Οˆπœ“\psi we have rΟˆβ€‹(xΒ―,y)β©½pΟˆβ€‹(π‘π‘‘Οˆβ€‹(xΒ―,y),|xΒ―|,|y|)subscriptπ‘Ÿπœ“Β―π‘₯𝑦subscriptπ‘πœ“subscriptπ‘π‘‘πœ“Β―π‘₯𝑦¯π‘₯𝑦r_{\psi}(\bar{x},y)\leqslant p_{\psi}(\mathit{bt}_{\psi}(\bar{x},y),|\bar{x}|,|y|) provably in π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}, from 𝑏𝑑φ​(xΒ―)=π‘π‘‘Οˆβ€‹(xΒ―,t​(xΒ―))+t​(xΒ―)subscriptπ‘π‘‘πœ‘Β―π‘₯subscriptπ‘π‘‘πœ“Β―π‘₯𝑑¯π‘₯𝑑¯π‘₯\mathit{bt}_{\varphi}(\bar{x})=\mathit{bt}_{\psi}(\bar{x},t(\bar{x}))+t(\bar{x}) we get, also provably in π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}, that rφ​(xΒ―)β©½pφ​(𝑏𝑑φ​(xΒ―),|xΒ―|)subscriptπ‘Ÿπœ‘Β―π‘₯subscriptπ‘πœ‘subscriptπ‘π‘‘πœ‘Β―π‘₯Β―π‘₯r_{\varphi}(\bar{x})\leqslant p_{\varphi}(\mathit{bt}_{\varphi}(\bar{x}),|\bar{x}|) for a suitable polynomial pΟ†subscriptπ‘πœ‘p_{\varphi}.

Correctness: proof of (a)–(c). For (a) argue in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) and suppose Yπ‘ŒY is an accepting computation of MΟ†subscriptπ‘€πœ‘M_{\varphi} on xΒ―Β―π‘₯\bar{x}. Being accepting means that the final state has flag b=1𝑏1b=1, while the starting state has flag b=0𝑏0b=0. By binary search we find a time when b𝑏b flips from 00 to 111. This time determines y0β©½tsubscript𝑦0𝑑y_{0}\leqslant t such that the y0subscript𝑦0y_{0} loop accepts. Then Z:=D​(Y,xΒ―,y0,β‹…)assignπ‘π·π‘ŒΒ―π‘₯subscript𝑦0β‹…Z:=D(Y,\bar{x},y_{0},\cdot) is an accepting computation of Mψsubscriptπ‘€πœ“M_{\psi} on (xΒ―,y0)Β―π‘₯subscript𝑦0(\bar{x},y_{0}). Note that Z𝑍Z exists by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. Then (a) for Οˆπœ“\psi implies Οˆβ€‹(xΒ―,y0)πœ“Β―π‘₯subscript𝑦0\psi(\bar{x},y_{0}) and thus Ο†β€‹(xΒ―)πœ‘Β―π‘₯\varphi(\bar{x}).

For (b), argue in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) and suppose Yπ‘ŒY is a rejecting computation of MΟ†subscriptπ‘€πœ‘M_{\varphi} on xΒ―Β―π‘₯\bar{x}, so the flag is 00 in the final configuration. Let yβ©½t𝑦𝑑y\leqslant t. Then D​(Y,xΒ―,y,β‹…)π·π‘ŒΒ―π‘₯𝑦⋅D(Y,\bar{x},y,\cdot) is a rejecting computation of Mψsubscriptπ‘€πœ“M_{\psi} on (xΒ―,y)Β―π‘₯𝑦(\bar{x},y): otherwise the y𝑦y loop sets the flag to 111 and then binary search finds a time where the flag flips from 111 to 00 in Yπ‘ŒY which contradicts the working of MΟ†subscriptπ‘€πœ‘M_{\varphi}. Then (b) for Οˆπœ“\psi implies Β¬Οˆβ€‹(xΒ―,y)πœ“Β―π‘₯𝑦\neg\psi(\bar{x},y). As y𝑦y was arbitrary, we get Β¬Ο†β€‹(xΒ―)πœ‘Β―π‘₯\neg\varphi(\bar{x}).

For (c), it is easy to construct from CψsubscriptπΆπœ“\mathit{C}_{\psi} a formula Cψ,0subscriptπΆπœ“0\mathit{C}_{\psi,0} such that π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that the set Cψ,0​(xΒ―,y,β‹…)subscriptπΆπœ“0Β―π‘₯𝑦⋅\mathit{C}_{\psi,0}(\bar{x},y,\cdot) is the computation of the y𝑦y-loop of MΟ†subscriptπ‘€πœ‘M_{\varphi} on xΒ―Β―π‘₯\bar{x} with flag 00 stored in the state space. There is an analogous formula Cψ,1subscriptπΆπœ“1\mathit{C}_{\psi,1} for flag 111. These formulas just stretch the computation described by CψsubscriptπΆπœ“\mathit{C}_{\psi} and interleave it with the trivial updates of the clocks. The desired formula Cφ​(xΒ―,u)subscriptπΆπœ‘Β―π‘₯𝑒\mathit{C}_{\varphi}(\bar{x},u) β€˜glues together’ these computations, plus the initial ini​(xΒ―)iniΒ―π‘₯\textit{ini}(\bar{x}) steps of initialization, and the final fin​(xΒ―)finΒ―π‘₯\textit{fin}(\bar{x}) steps of clean-up. We sketch the definition of Cφ​(xΒ―,u)subscriptπΆπœ‘Β―π‘₯𝑒\mathit{C}_{\varphi}(\bar{x},u): from u𝑒u we can compute y𝑦y such that the truth value of Cφ​(xΒ―,u)subscriptπΆπœ‘Β―π‘₯𝑒\mathit{C}_{\varphi}(\bar{x},u) is one of the bits in the code of the computation of the y𝑦y-loop of MΟ†subscriptπ‘€πœ‘M_{\varphi} on xΒ―Β―π‘₯\bar{x}, or one of the bits in the code of the initial or final computation. Then Cφ​(xΒ―,u)subscriptπΆπœ‘Β―π‘₯𝑒\mathit{C}_{\varphi}(\bar{x},u) states

(βˆƒz<yβ€‹Οˆβ€‹(xΒ―,z)∧Cψ,1​(xΒ―,y,u))∨(Β¬βˆƒz<yβ€‹Οˆβ€‹(xΒ―,z)∧Cψ,0​(xΒ―,y,u)).π‘§π‘¦πœ“Β―π‘₯𝑧subscriptπΆπœ“1Β―π‘₯π‘¦π‘’π‘§π‘¦πœ“Β―π‘₯𝑧subscriptπΆπœ“0Β―π‘₯𝑦𝑒missing-subexpressionmissing-subexpression\begin{array}[]{lcl}(\exists z{<}y\ \psi(\bar{x},z)\wedge\mathit{C}_{\psi,1}(\bar{x},y,u))\vee(\neg\exists z{<}y\ \psi(\bar{x},z)\wedge\mathit{C}_{\psi,0}(\bar{x},y,u)).\end{array}(12)

Proof of (f)–(g). Assume Ο†πœ‘\varphi is a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula. We modify the given construction as follows. Up to π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha)-provable equivalence we have

φ​(XΒ―,xΒ―)=βˆ€yβ©½t​(xΒ―)​gX¯​(xΒ―,y)=1πœ‘Β―π‘‹Β―π‘₯for-all𝑦𝑑¯π‘₯superscript𝑔¯𝑋¯π‘₯𝑦1\varphi(\bar{X},\bar{x})=\forall y{\leqslant}t(\bar{x})\ g^{\bar{X}}(\bar{x},y){=}1

where t​(xΒ―)𝑑¯π‘₯t(\bar{x}) is a term and gX¯​(xΒ―,y)superscript𝑔¯𝑋¯π‘₯𝑦g^{\bar{X}}(\bar{x},y) is a π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function. As before, we drop any reference to the set-parameters X¯¯𝑋\bar{X}, and to the oracles X¯¯𝑋\bar{X}, since they will stay fixed throughout the proof. We define MΟ†subscriptπ‘€πœ‘M_{\varphi} similarly as before with the role of Mψsubscriptπ‘€πœ“M_{\psi} played by a π–―𝖯\mathsf{P}-machine checking g​(xΒ―,y)=1𝑔¯π‘₯𝑦1g(\bar{x},y){=}1 according to Lemma 19. The only difference is in the flag bit: it is initially set to 111, and it is set to 00 when and if a y𝑦y-loop rejects (meaning Β¬g​(xΒ―,y)=1𝑔¯π‘₯𝑦1\neg g(\bar{x},y){=}1).

In this case we can choose rπ‘Ÿr small, i.e., equal to |rβ€²|superscriptπ‘Ÿβ€²|r^{\prime}| for some term rβ€²=r′​(xΒ―)superscriptπ‘Ÿβ€²superscriptπ‘Ÿβ€²Β―π‘₯r^{\prime}=r^{\prime}(\bar{x}), so there is a 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-function h​(xΒ―,y)β„ŽΒ―π‘₯𝑦h(\bar{x},y) that computes (a number that codes) the computation of the y𝑦y-loop of MΟ†subscriptπ‘€πœ‘M_{\varphi}. Then Cφ​(xΒ―,w,u)subscriptπΆπœ‘Β―π‘₯𝑀𝑒\mathit{C}_{\varphi}(\bar{x},w,u) β€˜glues together’ these computations plus suitable initial and final computations. The only problem is to determine the flag b𝑏b stored in the states of MΟ†subscriptπ‘€πœ‘M_{\varphi}. For this we need to know the minimal wβ©½t𝑀𝑑w\leqslant t such that Β¬g​(xΒ―,w)=1𝑔¯π‘₯𝑀1\neg g(\bar{x},w){=}1 holds, or take w=t+1𝑀𝑑1w=t+1 if φ​(xΒ―)πœ‘Β―π‘₯\varphi(\bar{x}) holds. Such w𝑀w exists provably in π–³21​(Ξ±)subscriptsuperscript𝖳12𝛼\mathsf{T}^{1}_{2}(\alpha). This shows (f) for tφ​(xΒ―):=t​(xΒ―)+1assignsubscriptπ‘‘πœ‘Β―π‘₯𝑑¯π‘₯1t_{\varphi}(\bar{x}):=t(\bar{x})+1. For (g), assuming Ο†β€‹(xΒ―)πœ‘Β―π‘₯\varphi(\bar{x}) we can take w=t+1𝑀𝑑1w=t+1 directly since in this case the flag bit is always 1 provably in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha). ∎

Remark 21.

The proof shows that the quantifier complexity of CΟ†subscriptπΆπœ‘\mathit{C}_{\varphi} is close to that of Ο†πœ‘\varphi. If Ο†βˆˆΞ£0b​(Ξ±)πœ‘subscriptsuperscriptΣ𝑏0𝛼\varphi\in\Sigma^{b}_{0}(\alpha), then CΟ†subscriptπΆπœ‘\mathit{C}_{\varphi} is a quantifier free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula. If Ο†βˆˆΞ£ib​(Ξ±)πœ‘subscriptsuperscriptΣ𝑏𝑖𝛼\varphi\in\Sigma^{b}_{i}(\alpha) for i>0𝑖0i>0, then CΟ†subscriptπΆπœ‘\mathit{C}_{\varphi} is a Boolean combination of Ξ£ib​(Ξ±)subscriptsuperscriptΣ𝑏𝑖𝛼\Sigma^{b}_{i}(\alpha)-formulas. Note that if the outer quantifier in (10) is sharply bounded, i.e., t​(xΒ―)=|t′​(xΒ―)|𝑑¯π‘₯superscript𝑑′¯π‘₯t(\bar{x})=|t^{\prime}(\bar{x})| for some term t′​(xΒ―)superscript𝑑′¯π‘₯t^{\prime}(\bar{x}), then the y𝑦y-bounded quantifiers in (12) are sharply bounded too.

3.3 Optimality remarks

This subsection offers some remarks stating that Lemma 20.6 cannot be improved in certain respects. This material is not needed in the following.

Remark 22.

For our definition of MΟ†XΒ―subscriptsuperscriptπ‘€Β―π‘‹πœ‘M^{\bar{X}}_{\varphi}, one cannot replace π–³21​(Ξ±)subscriptsuperscript𝖳12𝛼\mathsf{T}^{1}_{2}(\alpha) by π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) in Lemma 20.6 unless π–²21=𝖳21subscriptsuperscript𝖲12subscriptsuperscript𝖳12\mathsf{S}^{1}_{2}=\mathsf{T}^{1}_{2}.

Proof.

Let Ο†β€‹(x)=βˆƒyβ©½xβ€‹Οˆβ€‹(y,x)πœ‘π‘₯𝑦π‘₯πœ“π‘¦π‘₯\varphi(x)=\exists y{\leqslant}x\ \psi(y,x) for Οˆπœ“\psi a quantifier-free π–―𝖡𝖯𝖡\mathsf{PV}-formula, and assume (6) holds for π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) instead of π–³21​(Ξ±)subscriptsuperscript𝖳12𝛼\mathsf{T}^{1}_{2}(\alpha). We show π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that, if there is yβ©½x𝑦π‘₯y\leqslant x such that Οˆβ€‹(y,x)πœ“π‘¦π‘₯\psi(y,x), then there is a minimal such y𝑦y. Argue in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) and suppose Ο†β€‹(x)πœ‘π‘₯\varphi(x). By Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension and (6) there is a halting computation Yπ‘ŒY of MΟ†subscriptπ‘€πœ‘M_{\varphi} on xπ‘₯x. By (b) it cannot be rejecting, so is accepting. Our proof of (a) gives Οˆβ€‹(y0,x)πœ“subscript𝑦0π‘₯\psi(y_{0},x) for y0β©½xsubscript𝑦0π‘₯y_{0}\leqslant x such that the flag b𝑏b flips from 0 to 1 in loop y0subscript𝑦0y_{0}. We claim y0subscript𝑦0y_{0} is minimal. This is clear if y0=0subscript𝑦00y_{0}=0. Otherwise we had b=0𝑏0b=0 after the loop on y0βˆ’1subscript𝑦01y_{0}-1 (in Yπ‘ŒY). For contradiction, assume there is y1<y0subscript𝑦1subscript𝑦0y_{1}<y_{0} with Οˆβ€‹(y1,x)πœ“subscript𝑦1π‘₯\psi(y_{1},x). Then the loop on y1subscript𝑦1y_{1} would set b=1𝑏1b=1. By quantifier-free induction we find a time between y1subscript𝑦1y_{1} and y0βˆ’1subscript𝑦01y_{0}-1 where b𝑏b flips from 1 to 0. This contradicts the working of MΟ†subscriptπ‘€πœ‘M_{\varphi}. ∎

Fix any machines MΟ†subscriptπ‘€πœ‘M_{\varphi} satisfying the lemma. Call a formula true if its universal closure is true in the standard model.

Remark 23.

In Lemma 20.6 the auxiliary βˆƒw𝑀\exists w cannot be omitted. There is a Ξ£1b​(Ξ±)subscriptsuperscriptΣ𝑏1𝛼\Sigma^{b}_{1}(\alpha)-formula Ο†β€‹(X,x)πœ‘π‘‹π‘₯\varphi(X,x) such that for all quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas C​(X,x,u)𝐢𝑋π‘₯𝑒C(X,x,u) the following is not true:

β€œC​(X,x,β‹…) is a halting computation of MΟ†X on x”.β€œC(X,x,β‹…) is a halting computation of MΟ†X on x”\textit{``$C(X,x,\cdot)$ is a halting computation of~{}$M_{\varphi}^{X}$ on $x$''}.
Proof.

Otherwise every Ξ£1b​(Ξ±)subscriptsuperscriptΣ𝑏1𝛼\Sigma^{b}_{1}(\alpha)-formula Ο†β€‹(X,x)πœ‘π‘‹π‘₯\varphi(X,x) is equivalent to a quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula D​(X,x)𝐷𝑋π‘₯D(X,x). Let AβŠ†β„•π΄β„•A\subseteq\mathbb{N} be such that 𝖭𝖯AβŠˆπ–―Anot-subset-of-or-equalssuperscript𝖭𝖯𝐴superscript𝖯𝐴\mathsf{NP}^{A}\not\subseteq\mathsf{P}^{A} and choose Q𝑄Q in 𝖭𝖯Aβˆ–π–―Asuperscript𝖭𝖯𝐴superscript𝖯𝐴\mathsf{NP}^{A}\setminus\penalty 10000\mathsf{P}^{A}. Choose a Ξ£1b​(Ξ±)subscriptsuperscriptΣ𝑏1𝛼\Sigma^{b}_{1}(\alpha)-formula Ο†β€‹(X,x)πœ‘π‘‹π‘₯\varphi(X,x) defining Q𝑄Q in (β„•,A)ℕ𝐴(\mathbb{N},A), the model where X𝑋X is interpreted by A𝐴A. Note D​(X,x)𝐷𝑋π‘₯D(X,x) defines in (β„•,A)ℕ𝐴(\mathbb{N},A) a problem in π–―Asuperscript𝖯𝐴\mathsf{P}^{A}. Then (φ​(X,x)↔D​(X,x))β†”πœ‘π‘‹π‘₯𝐷𝑋π‘₯(\varphi(X,x)\leftrightarrow\penalty 10000D(X,x)) fails in (β„•,A)ℕ𝐴(\mathbb{N},A) for some xπ‘₯x, and hence also in (β„•,Aβ€²)β„•superscript𝐴′(\mathbb{N},A^{\prime}) for some bounded Aβ€²βŠ†Asuperscript𝐴′𝐴A^{\prime}\subseteq A (Remark 12). Thus, this equivalence is not true. ∎

Remark 24.

Lemma 20.6 does not extend to much more complex formulas. There is a Ξ 2b​(Ξ±)subscriptsuperscriptΠ𝑏2𝛼\Pi^{b}_{2}(\alpha)-formula Ο†β€‹(X,x)πœ‘π‘‹π‘₯\varphi(X,x) such that for all terms t𝑑t and all quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas C𝐢C the following is not true:

βˆƒwβ©½t​(x)β€‹β€œC​(X,x,w,β‹…) is a halting computation of MΟ†X on x”.𝑀𝑑π‘₯β€œC(X,x,w,β‹…) is a halting computation of MΟ†X on x”\exists w{\leqslant}t(x)\textit{``$C(X,x,w,\cdot)$ is a halting computation of~{}$M_{\varphi}^{X}$ on $x$''}.
Proof.

Note this is a Ξ£2b​(Ξ±)subscriptsuperscriptΣ𝑏2𝛼\Sigma^{b}_{2}(\alpha)-formula, so for every AβŠ†β„•π΄β„•A\subseteq\mathbb{N} defines in (β„•,A)ℕ𝐴(\mathbb{N},A) a problem in (Ξ£2𝖯)AsuperscriptsubscriptsuperscriptΣ𝖯2𝐴(\Sigma^{\mathsf{P}}_{2})^{A}. Choose A𝐴A such that (Ξ 2𝖯)Aβ‰ (Ξ£2𝖯)AsuperscriptsubscriptsuperscriptΠ𝖯2𝐴superscriptsubscriptsuperscriptΣ𝖯2𝐴(\Pi^{\mathsf{P}}_{2})^{A}\neq(\Sigma^{\mathsf{P}}_{2})^{A} and argue similarly as before. ∎

3.4 Non-deterministic model-checkers

We shall also need model-checkers for Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formulas. As a first step we prove a technical lemma showing how to convert an explicit oracle π–―𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine MYsuperscriptπ‘€π‘ŒM^{Y} into an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine N𝑁N that first guesses the oracle Yπ‘ŒY on a guess tape, and then simulates MYsuperscriptπ‘€π‘ŒM^{Y}. As usual, we need to show that π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) is able to prove that this construction does what is claimed.

Lemma 25.

For every explicit π–―𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine MY,XΒ―superscriptπ‘€π‘ŒΒ―π‘‹M^{Y,\bar{X}} that, as explicit π–€π–·π–―𝖀𝖷𝖯\mathsf{EXP}-machine, is witnessed by term rM​(xΒ―)subscriptπ‘Ÿπ‘€Β―π‘₯r_{M}(\bar{x}), there are an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine NXΒ―superscript𝑁¯𝑋N^{\bar{X}}, a term rN​(xΒ―)subscriptπ‘Ÿπ‘Β―π‘₯r_{N}(\bar{x}), a polynomial pN​(m,nΒ―)subscriptπ‘π‘π‘šΒ―π‘›p_{N}(m,\bar{n}), and quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas F,G,H𝐹𝐺𝐻F,G,H such that

  1. (a)

    𝖲21​(Ξ±)βŠ’β€œZ is an accepting computation of MY,XΒ― on xΒ―β€β†’β€œF​(Z,Y,XΒ―,xΒ―,β‹…) is an accepting computation of NXΒ― on x¯”.subscriptsuperscript𝖲12𝛼provesβ†’β€œZ is an accepting computation of MY,XΒ― on x¯”absentmissing-subexpressionmissing-subexpressionβ€œF(Z,Y,XΒ―,xΒ―,β‹…) is an accepting computation of NXΒ― on x¯”\begin{array}[t]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\textit{``$Z$ is an accepting computation of~{}$M^{Y,\bar{X}}$ on $\bar{x}$''}\to\\ &&\textit{``$F(Z,Y,\bar{X},\bar{x},\cdot)$ is an accepting computation of~{}$N^{\bar{X}}$ on $\bar{x}$''}.\end{array}

  2. (b)

    𝖲21​(Ξ±)βŠ’β€œZ is an accepting computation of NXΒ― on xΒ―β€β†’β€œG​(Z,XΒ―,xΒ―,β‹…) is an accepting computation of MH​(Z,XΒ―,xΒ―,β‹…),XΒ― on x¯”subscriptsuperscript𝖲12𝛼provesβ†’β€œZ is an accepting computation of NXΒ― on x¯”absentmissing-subexpressionmissing-subexpressionβ€œG(Z,XΒ―,xΒ―,β‹…) is an accepting computation of MH(Z,XΒ―,xΒ―,β‹…),XΒ― on x¯”\begin{array}[t]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\textit{``$Z$ is an accepting computation of~{}$N^{\bar{X}}$ on $\bar{x}$''}\to\\ &&\textit{``$G(Z,\bar{X},\bar{x},\cdot)$ is an accepting computation of~{}$M^{H(Z,\bar{X},\bar{x},\cdot),\bar{X}}$ on $\bar{x}$''}\end{array}

  3. (c)

    𝖲21​(Ξ±)⊒rN​(xΒ―)β©½pN​(rM​(xΒ―),|xΒ―|)provessubscriptsuperscript𝖲12𝛼subscriptπ‘Ÿπ‘Β―π‘₯subscript𝑝𝑁subscriptπ‘Ÿπ‘€Β―π‘₯Β―π‘₯\mathsf{S}^{1}_{2}(\alpha)\vdash\ r_{N}(\bar{x})\leqslant p_{N}(r_{M}(\bar{x}),|\bar{x}|),

  4. (d)

    The term rN​(xΒ―)subscriptπ‘Ÿπ‘Β―π‘₯r_{N}(\bar{x})witnesses NXΒ―superscript𝑁¯𝑋N^{\bar{X}}as explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine.

Proof.

Set r=rM​(xΒ―)π‘Ÿsubscriptπ‘Ÿπ‘€Β―π‘₯r=r_{M}(\bar{x}). By assumption, the triple of terms rM​(xΒ―),rM​(xΒ―),rM​(xΒ―)subscriptπ‘Ÿπ‘€Β―π‘₯subscriptπ‘Ÿπ‘€Β―π‘₯subscriptπ‘Ÿπ‘€Β―π‘₯r_{M}(\bar{x}),r_{M}(\bar{x}),r_{M}(\bar{x}) witnesses that MY,XΒ―superscriptπ‘€π‘ŒΒ―π‘‹M^{Y,\bar{X}} is explicit. In particular, every query β€œz∈Yπ‘§π‘Œz\in Y?” made by MY,XΒ―superscriptπ‘€π‘ŒΒ―π‘‹M^{Y,\bar{X}} on xΒ―Β―π‘₯\bar{x} satisfies |z|β©½|r|π‘§π‘Ÿ|z|\leqslant|r| and hence z<2|r|𝑧superscript2π‘Ÿz<2^{|r|}. The machine NXΒ―superscript𝑁¯𝑋N^{\bar{X}} on xΒ―Β―π‘₯\bar{x} guesses a binary string Yπ‘ŒY of length 2|r|superscript2π‘Ÿ2^{|r|} on a guess tape and then simulates MY,XΒ―superscriptπ‘€π‘ŒΒ―π‘‹M^{Y,\bar{X}} on xΒ―Β―π‘₯\bar{x} as follows: an oracle query β€œz∈Yπ‘§π‘Œz\in Y?” of MY,XΒ―superscriptπ‘€π‘ŒΒ―π‘‹M^{Y,\bar{X}} is answered reading cell z+1𝑧1z{+}1 on the guess tape. As in the proof of Lemma 20, to prove (a)–(d) we need to design the details of N𝑁N in a way so that the j𝑗j-th step of the computation of M𝑀M is simulated by N𝑁N at a time easily computed from xΒ―,jΒ―π‘₯𝑗\bar{x},j. To reduce notation, in the following we drop any reference to the oracles X¯¯𝑋\bar{X} as they will remain fixed throughout the proof.

Description of N𝑁N. The machine N𝑁N on xΒ―Β―π‘₯\bar{x} first computes rπ‘Ÿr and two binary clocks initialized to 0|r|+1superscript0π‘Ÿ10^{|r|+1} and 0|r|superscript0π‘Ÿ0^{|r|}, respectively. To write Yπ‘ŒY of length 2|r|superscript2π‘Ÿ2^{|r|} on the guess tape the machine checks whether the first clock equals 2|r|superscript2π‘Ÿ2^{|r|} and, if not, increases it by one and moves one cell to the right on the guess tape. This is done in exactly 2​|r|+52π‘Ÿ52|r|+5 steps. Once the clock equals 2|r|superscript2π‘Ÿ2^{|r|}, the machine moves back to cell 111 on the guess tape and non-deterministically writes 00 or 111 in each step, except in the step that finally rebounds on cell 00 to cell 111. The terms are computed with explicit π–―𝖯\mathsf{P}-machines according to Lemma 19. The initial computation of terms, and initialization of clocks, takes time exactly π‘–𝑛𝑖​(xΒ―)𝑖𝑛𝑖¯π‘₯\mathit{ini}(\bar{x}) for some π–―𝖡𝖯𝖡\mathsf{PV}-function π‘–𝑛𝑖​(xΒ―)𝑖𝑛𝑖¯π‘₯\mathit{ini}(\bar{x}). Therefore, the guess of Yπ‘ŒY takes exactly π‘”𝑒𝑒𝑠𝑠​(xΒ―):=𝑖𝑛𝑖​(xΒ―)+2|r|β‹…(2​|r|+5)+2|r|+1assign𝑔𝑒𝑒𝑠𝑠¯π‘₯𝑖𝑛𝑖¯π‘₯β‹…superscript2π‘Ÿ2π‘Ÿ5superscript2π‘Ÿ1\mathit{guess}(\bar{x}):=\mathit{ini}(\bar{x})+2^{|r|}\cdot(2|r|+5)+2^{|r|}+1 steps. Moreover, π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} proves π‘”𝑒𝑒𝑠𝑠​(xΒ―)β©½tg​(xΒ―)𝑔𝑒𝑒𝑠𝑠¯π‘₯subscript𝑑gΒ―π‘₯\mathit{guess}(\bar{x})\leqslant t_{\textit{g}}(\bar{x}), where

tg​(xΒ―):=|ti​(xΒ―)|+2|rM​(xΒ―)|β‹…(2​|rM​(xΒ―)|+5)+2|rM​(xΒ―)|+1,assignsubscript𝑑gΒ―π‘₯subscript𝑑iΒ―π‘₯β‹…superscript2subscriptπ‘Ÿπ‘€Β―π‘₯2subscriptπ‘Ÿπ‘€Β―π‘₯5superscript2subscriptπ‘Ÿπ‘€Β―π‘₯1t_{\textit{g}}(\bar{x}):=|t_{\textit{i}}(\bar{x})|+2^{|r_{M}(\bar{x})|}\cdot(2|r_{M}(\bar{x})|+5)+2^{|r_{M}(\bar{x})|}+1,

for a suitable term ti​(xΒ―)subscript𝑑iΒ―π‘₯t_{\textit{i}}(\bar{x}) such that π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} proves π‘–𝑛𝑖​(xΒ―)β©½|ti​(xΒ―)|𝑖𝑛𝑖¯π‘₯subscript𝑑iΒ―π‘₯\mathit{ini}(\bar{x})\leqslant|t_{\textit{i}}(\bar{x})|.

The machine simulates rπ‘Ÿr steps of MYsuperscriptπ‘€π‘ŒM^{Y} using the second clock. Comparing this clock with rπ‘Ÿr and updating it takes 2​|r|+22π‘Ÿ22|r|+2 steps. If the value of the clock is less than rπ‘Ÿr, then a step of MYsuperscriptπ‘€π‘ŒM^{Y} is simulated by reading the (z+1)𝑧1(z{+}1)-cell of the guess tape where z𝑧z is the content of MYsuperscriptπ‘€π‘ŒM^{Y}’s oracle tape for Yπ‘ŒY. This is done as follows. The machine moves forward over the guess tape, and rewinds back to cell 111. With each step forward it increases the first clock by one and checks whether it equals z𝑧z or 2|r|superscript2π‘Ÿ2^{|r|}. If and when the clock equals z𝑧z, it stores the oracle bit read on the guess tape in its state space. Otherwise, i.e., zβ©Ύ2|r|𝑧superscript2π‘Ÿz{\geqslant}2^{|r|}, the machine stores oracle bit 00. When the clock equals 2|r|superscript2π‘Ÿ2^{|r|}, the scan of the guess tape ends, and the rewinding to cell 111 starts (in the next step). Doing this takes time exactly 2|r|β‹…(2​|r|+4)+2|r|+1β‹…superscript2π‘Ÿ2π‘Ÿ4superscript2π‘Ÿ12^{|r|}\cdot(2|r|+4)+2^{|r|}+1 and the oracle bit is stored at time min⁑{z,2|r|}β‹…(2​|r|+4)⋅𝑧superscript2π‘Ÿ2π‘Ÿ4\min\{z,2^{|r|}\}\cdot(2|r|+4). Thus, when the value of the second clock is less than rπ‘Ÿr, one step of MYsuperscriptπ‘€π‘ŒM^{Y} is simulated in exactly

ts​(xΒ―):=(2​|rM​(xΒ―)|+2)+2|rM​(xΒ―)|β‹…(2​|rM​(xΒ―)|+4)+2|rM​(xΒ―)|+2assignsubscript𝑑sΒ―π‘₯2subscriptπ‘Ÿπ‘€Β―π‘₯2β‹…superscript2subscriptπ‘Ÿπ‘€Β―π‘₯2subscriptπ‘Ÿπ‘€Β―π‘₯4superscript2subscriptπ‘Ÿπ‘€Β―π‘₯2t_{\textit{s}}(\bar{x}):=(2|r_{M}(\bar{x})|+2)+2^{|r_{M}(\bar{x})|}\cdot(2|r_{M}(\bar{x})|+4)+2^{|r_{M}(\bar{x})|}+2

steps. Otherwise, the simulation halts in an accepting or rejecting state according to MYsuperscriptπ‘€π‘ŒM^{Y}’s state. In total, the machine runs for exactly π‘”𝑒𝑒𝑠𝑠​(xΒ―)+rβ‹…ts​(xΒ―)+(2​|r|+2)𝑔𝑒𝑒𝑠𝑠¯π‘₯β‹…π‘Ÿsubscript𝑑sΒ―π‘₯2π‘Ÿ2\mathit{guess}(\bar{x})+r\cdot t_{\textit{s}}(\bar{x})+(2|r|+2) steps. The steps of MYsuperscriptπ‘€π‘ŒM^{Y} on xΒ―Β―π‘₯\bar{x} are simulated at times

t​(xΒ―,j):=𝑔𝑒𝑒𝑠𝑠​(xΒ―)+(j+1)β‹…ts​(xΒ―)assign𝑑¯π‘₯𝑗𝑔𝑒𝑒𝑠𝑠¯π‘₯⋅𝑗1subscript𝑑sΒ―π‘₯t(\bar{x},j):=\mathit{guess}(\bar{x})+(j+1)\cdot t_{\textit{s}}(\bar{x})

for j<rM​(x)𝑗subscriptπ‘Ÿπ‘€π‘₯j<r_{M}(x). The runtime is bounded by the term

rN​(xΒ―):=tg​(xΒ―)+rM​(xΒ―)β‹…ts​(xΒ―)+(2​|rM​(xΒ―)|+2)assignsubscriptπ‘Ÿπ‘Β―π‘₯subscript𝑑gΒ―π‘₯β‹…subscriptπ‘Ÿπ‘€Β―π‘₯subscript𝑑sΒ―π‘₯2subscriptπ‘Ÿπ‘€Β―π‘₯2r_{N}(\bar{x}):=t_{\textit{g}}(\bar{x})+r_{M}(\bar{x})\cdot t_{\textit{s}}(\bar{x})+(2|r_{M}(\bar{x})|+2)

Explicitness. We argue that this bound on the runtime of N𝑁N can be verified in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha), given a halting computation Z𝑍Z of N𝑁N on xΒ―Β―π‘₯\bar{x}. Note that, unlike the simulation in Lemma 20, a single step is simulated in possibly exponential time ts​(xΒ―)subscript𝑑sΒ―π‘₯t_{\textit{s}}(\bar{x}). However, this possibly exponential time computation is simply described: Since MYsuperscriptπ‘€π‘ŒM^{Y} is an explicit 𝖯𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine, its configurations can be coded by numbers. Now, given a number coding the configuration of MYsuperscriptπ‘€π‘ŒM^{Y} within Z𝑍Z at time t​(j):=t​(xΒ―,j)assign𝑑𝑗𝑑¯π‘₯𝑗t(j):=t(\bar{x},j), say with Yπ‘ŒY-oracle query z𝑧z, and given a time i<ts​(xΒ―)𝑖subscript𝑑sΒ―π‘₯i<t_{\textit{s}}(\bar{x}), we can compute the configuration of the clocks and the state of the (to-be-)stored oracle-bit at time t​(j)+i𝑑𝑗𝑖t(j)+i. Now, quantifier-free induction suffices to prove that the oracle bit is stored at the desired time and equals the content of the (z+1)𝑧1(z{+}1)-cell of the guess tape (or 0 if zβ©Ύ2|r|𝑧superscript2π‘Ÿz\geqslant 2^{|r|}). Quantifier-free induction proves that the configurations of MYsuperscriptπ‘€π‘ŒM^{Y} within Z𝑍Z at times t​(j)𝑑𝑗t(j) for j<rπ‘—π‘Ÿj<r are successors of those preceding them. In particular, 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves that the configuration at time rN​(xΒ―)subscriptπ‘Ÿπ‘Β―π‘₯r_{N}(\bar{x}) is halting. Space and query bounds can be similarly verified, so N𝑁N is explicit and witnessed by rN​(xΒ―)subscriptπ‘Ÿπ‘Β―π‘₯r_{N}(\bar{x}).

Proof of (a)–(d). For (a), the quantifier-free formula F𝐹F concatenates an initial polynomial-time computation of the terms and clocks, a guess of Yπ‘ŒY, and a simulation of Z𝑍Z. Each configuration of the guess of Yπ‘ŒY is computable in polynomial time. The simulation of Z𝑍Z stretches each step of MYsuperscriptπ‘€π‘ŒM^{Y} to a time ts​(xΒ―)subscript𝑑sΒ―π‘₯t_{\textit{s}}(\bar{x}) computation, each configuration of which is easily computed from Yπ‘ŒY and Z𝑍Z in polynomial time. Quantifier-free induction proves that a Yπ‘ŒY-query z𝑧z in Z𝑍Z is answered according to the bit in the (z+1)𝑧1(z{+}1)-cell on the guess tape.

For (b), the quantifier-free formula H𝐻H extracts the guess Yπ‘ŒY from Z𝑍Z and the quantifier-free formula G𝐺G extracts the simulated computation at the times t​(xΒ―,j)𝑑¯π‘₯𝑗t(\bar{x},j) for j<rM​(xΒ―)𝑗subscriptπ‘Ÿπ‘€Β―π‘₯j<r_{M}(\bar{x}).

For (c) and (d), we already argued that the term rN​(xΒ―)subscriptπ‘Ÿπ‘Β―π‘₯r_{N}(\bar{x}) witnesses N𝑁N as an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine. The claim that rN​(xΒ―)β©½pN​(rM​(xΒ―),|xΒ―|)subscriptπ‘Ÿπ‘Β―π‘₯subscript𝑝𝑁subscriptπ‘Ÿπ‘€Β―π‘₯Β―π‘₯r_{N}(\bar{x})\leqslant p_{N}(r_{M}(\bar{x}),|\bar{x}|) holds for a suitable polynomial pNsubscript𝑝𝑁p_{N} follows by inspection, and π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves it. ∎

Now we can state the lemma that proves that every Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula has a formally verified model-checker. In its statement, the bounding term π‘π‘‘Οˆβ€‹(xΒ―)subscriptπ‘π‘‘πœ“Β―π‘₯\mathit{bt}_{\psi}(\bar{x}) of a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula ψ=Οˆβ€‹(XΒ―,xΒ―)πœ“πœ“Β―π‘‹Β―π‘₯\psi=\psi(\bar{X},\bar{x}) as in Equation (5) is defined to be the bounding term π‘π‘‘φ​(xΒ―)subscriptπ‘π‘‘πœ‘Β―π‘₯\mathit{bt}_{\varphi}(\bar{x}) of its maximal Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0} subformula Ο†=φ​(Y,XΒ―,xΒ―)πœ‘πœ‘π‘ŒΒ―π‘‹Β―π‘₯\varphi=\varphi(Y,\bar{X},\bar{x}).

Lemma 26.

For every Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula Οˆ=Οˆβ€‹(XΒ―,xΒ―)πœ“πœ“Β―π‘‹Β―π‘₯\psi=\psi(\bar{X},\bar{x}), there exists an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine NψXΒ―subscriptsuperscriptπ‘Β―π‘‹πœ“N^{\bar{X}}_{\psi}, a term rΟˆβ€‹(xΒ―)subscriptπ‘Ÿπœ“Β―π‘₯r_{\psi}(\bar{x}), and a polynomial pΟˆβ€‹(m,nΒ―)subscriptπ‘πœ“π‘šΒ―π‘›p_{\psi}(m,\bar{n}), such that

  1. (a)

    𝖡20βŠ’Οˆβ€‹(XΒ―,xΒ―)β†’βˆƒ2Yβ€‹β€œY is an accepting computation of NψXΒ― on x¯”.provessubscriptsuperscript𝖡02β†’πœ“Β―π‘‹Β―π‘₯subscript2π‘Œβ€œY is an accepting computation of NψXΒ― on x¯”\mathsf{V}^{0}_{2}\vdash\ \psi(\bar{X},\bar{x})\to\exists_{2}Y\textit{``$Y$ is an accepting computation of $N^{\bar{X}}_{\psi}$ on $\bar{x}$''}.

  2. (b)

    𝖲21​(Ξ±)βŠ’Β¬Οˆβ€‹(XΒ―,xΒ―)β†’Β¬βˆƒ2Yβ€‹β€œY is an accepting computation of NψXΒ― on x¯”.provessubscriptsuperscript𝖲12π›Όβ†’πœ“Β―π‘‹Β―π‘₯subscript2π‘Œβ€œY is an accepting computation of NψXΒ― on x¯”\mathsf{S}^{1}_{2}(\alpha)\vdash\ \neg\psi(\bar{X},\bar{x})\to\neg\exists_{2}Y\textit{``$Y$ is an accepting computation of $N^{\bar{X}}_{\psi}$ on $\bar{x}$''}.

  3. (c)

    𝖲21​(Ξ±)⊒rΟˆβ€‹(xΒ―)β©½pΟˆβ€‹(π‘π‘‘Οˆβ€‹(xΒ―),|xΒ―|)provessubscriptsuperscript𝖲12𝛼subscriptπ‘Ÿπœ“Β―π‘₯subscriptπ‘πœ“subscriptπ‘π‘‘πœ“Β―π‘₯Β―π‘₯\mathsf{S}^{1}_{2}(\alpha)\vdash\ r_{\psi}(\bar{x})\leqslant p_{\psi}(\mathit{bt}_{\psi}(\bar{x}),|\bar{x}|),

  4. (d)

    the term rΟˆβ€‹(xΒ―)subscriptπ‘Ÿπœ“Β―π‘₯r_{\psi}(\bar{x})witnesses NψXΒ―subscriptsuperscriptπ‘Β―π‘‹πœ“N^{\bar{X}}_{\psi}as explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine.

Furthermore, if the maximal Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-subformula of Οˆπœ“\psi is a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula, then

  1. 5.

    𝖲21​(Ξ±)βŠ’Οˆβ€‹(XΒ―,xΒ―)β†”βˆƒ2Yβ€‹β€œY is an accepting computation of NψXΒ― on x¯”.provessubscriptsuperscript𝖲12π›Όπœ“Β―π‘‹Β―π‘₯↔subscript2π‘Œβ€œY is an accepting computation of NψXΒ― on x¯”\mathsf{S}^{1}_{2}(\alpha)\vdash\psi(\bar{X},\bar{x})\leftrightarrow\exists_{2}Y\textit{``$Y$ is an accepting computation of $N^{\bar{X}}_{\psi}$ on $\bar{x}$''}.

Proof.

Let Οˆβ€‹(XΒ―,xΒ―)=βˆƒ2Y​φ​(Y,XΒ―,xΒ―)πœ“Β―π‘‹Β―π‘₯subscript2π‘Œπœ‘π‘ŒΒ―π‘‹Β―π‘₯\psi(\bar{X},\bar{x})=\exists_{2}Y\ \varphi(Y,\bar{X},\bar{x}) where Ο†=φ​(Y,XΒ―,xΒ―)πœ‘πœ‘π‘ŒΒ―π‘‹Β―π‘₯\varphi=\varphi(Y,\bar{X},\bar{x}) is a Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-formula. Recall that the bounding term of Οˆπœ“\psi is π‘π‘‘Οˆβ€‹(xΒ―)=𝑏𝑑φ​(xΒ―)subscriptπ‘π‘‘πœ“Β―π‘₯subscriptπ‘π‘‘πœ‘Β―π‘₯\mathit{bt}_{\psi}(\bar{x})=\mathit{bt}_{\varphi}(\bar{x}). In what follows, to lighten the notation, we drop any reference to the set parameters X¯¯𝑋\bar{X} in formulas, and to the oracles X¯¯𝑋\bar{X} in machines, since they remain fixed throughout the proof.

Let MΟ†Ysubscriptsuperscriptπ‘€π‘Œπœ‘M^{Y}_{\varphi} be the explicit π–―𝖲𝖯𝖠𝖒𝖀𝖯𝖲𝖯𝖠𝖒𝖀\mathsf{PSPACE}-machine given by Lemma 20 applied to Ο†πœ‘\varphi. Let rΟ†subscriptπ‘Ÿπœ‘r_{\varphi} and pΟ†subscriptπ‘πœ‘p_{\varphi} be the term and the polynomial also given by that lemma. By Lemma 20.e, the term rΟ†subscriptπ‘Ÿπœ‘r_{\varphi} witnesses MΟ†Ysubscriptsuperscriptπ‘€π‘Œπœ‘M^{Y}_{\varphi} as explicit π–€π–·π–―𝖀𝖷𝖯\mathsf{EXP}-machine. Therefore, Lemma 25 applies to MΟ†Ysubscriptsuperscriptπ‘€π‘Œπœ‘M^{Y}_{\varphi} and rΟ†subscriptπ‘Ÿπœ‘r_{\varphi} and we get an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine Nψsubscriptπ‘πœ“N_{\psi}, a term rψsubscriptπ‘Ÿπœ“r_{\psi}, and a polynomial pψsubscriptπ‘πœ“p_{\psi}. We prove (a)–(e) using the quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas F,G,H𝐹𝐺𝐻F,G,H also given by Lemma 25, and the Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-formula CΟ†subscriptπΆπœ‘\mathit{C}_{\varphi} given by Lemma 20.

For (a), argue in π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} and assume Οˆβ€‹(xΒ―)πœ“Β―π‘₯\psi(\bar{x}) holds. Choose Yπ‘ŒY such that Ο†β€‹(Y,xΒ―)πœ‘π‘ŒΒ―π‘₯\varphi(Y,\bar{x}) holds. By Lemma 20.c, the set Z:=Cφ​(Y,xΒ―,β‹…)assign𝑍subscriptπΆπœ‘π‘ŒΒ―π‘₯β‹…Z:=\mathit{C}_{\varphi}(Y,\bar{x},\cdot) is a halting computation of MΟ†Ysubscriptsuperscriptπ‘€π‘Œπœ‘M^{Y}_{\varphi} on xΒ―Β―π‘₯\bar{x}. Note that Z𝑍Z exists by Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-comprehension, which defines the theory π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2}. By Lemma 20.b, the computation Z𝑍Z cannot be rejecting, so it is accepting. By Lemma 25.a, the set F:=F​(Z,Y,xΒ―,β‹…)assignπΉπΉπ‘π‘ŒΒ―π‘₯β‹…F:=F(Z,Y,\bar{x},\cdot) is an accepting computation of Nψsubscriptπ‘πœ“N_{\psi} on xΒ―Β―π‘₯\bar{x}. Note that F𝐹F exists by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension.

For (b), argue in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) and assume Yπ‘ŒY is an accepting computation of Nψsubscriptπ‘πœ“N_{\psi} on xΒ―Β―π‘₯\bar{x}. By Lemma 25.b we have that G​(Y,xΒ―,β‹…)πΊπ‘ŒΒ―π‘₯β‹…G(Y,\bar{x},\cdot) is an accepting computation of MΟ†Zsuperscriptsubscriptπ‘€πœ‘π‘M_{\varphi}^{Z} on xΒ―Β―π‘₯\bar{x}, for Z:=H​(Y,xΒ―,β‹…)assignπ‘π»π‘ŒΒ―π‘₯β‹…Z:=H(Y,\bar{x},\cdot). Note that Z𝑍Z exists by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. By Lemma 20.a we get that Ο†β€‹(Z,xΒ―,β‹…)πœ‘π‘Β―π‘₯β‹…\varphi(Z,\bar{x},\cdot) holds. Thus Οˆβ€‹(xΒ―)πœ“Β―π‘₯\psi(\bar{x}) follows.

For (c) and (d), refer to Lemma 25.c, the choices of rψsubscriptπ‘Ÿπœ“r_{\psi} and pψsubscriptπ‘πœ“p_{\psi}, and the fact that π‘π‘‘Οˆβ€‹(xΒ―)=𝑏𝑑φ​(xΒ―)subscriptπ‘π‘‘πœ“Β―π‘₯subscriptπ‘π‘‘πœ‘Β―π‘₯\mathit{bt}_{\psi}(\bar{x})=\mathit{bt}_{\varphi}(\bar{x}). This also gives the claim that rΟˆβ€‹(xΒ―)subscriptπ‘Ÿπœ“Β―π‘₯r_{\psi}(\bar{x}) witnesses Nψsubscriptπ‘πœ“N_{\psi} as explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine.

For (e), argue in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha). If Β¬Οˆβ€‹(xΒ―)πœ“Β―π‘₯\neg\psi(\bar{x}) holds, use (b). If Οˆβ€‹(xΒ―)πœ“Β―π‘₯\psi(\bar{x}) holds, choose Yπ‘ŒY such that Ο†β€‹(Y,xΒ―)πœ‘π‘ŒΒ―π‘₯\varphi(Y,\bar{x}) holds. Then Lemma 20.7 and Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension imply that there exists an accepting computation Z𝑍Z of MΟ†Ysuperscriptsubscriptπ‘€πœ‘π‘ŒM_{\varphi}^{Y} on xΒ―Β―π‘₯\bar{x}. Now argue as in (a). ∎

4 Consistency for 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}

In this section we define a suitable universal explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M0subscript𝑀0M_{0}. We verify the claim from the introduction that both theories {¬αM0c∣cβ©Ύ1}conditional-setsubscriptsuperscript𝛼𝑐subscript𝑀0𝑐1\{\neg\alpha^{c}_{M_{0}}\mid c\geqslant 1\} and {¬βM0c∣cβ©Ύ1}conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐1\{\neg\beta^{c}_{M_{0}}\mid\penalty 10000c\geqslant 1\} formalize π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}. We finally prove that the consistency of both formalizations with the theory π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} follows from Theorem 2 and our work on formally-verified model-checkers.

4.1 A universal machine

A canonical π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-complete problem called Q0subscript𝑄0Q_{0} is:

Given βŸ¨N,x,tβŸ©π‘π‘₯𝑑\langle N,x,t\rangle as input, where N𝑁N is a (number coding a) non-deterministic machine, and xπ‘₯x and t𝑑t are numbers written in binary, does N𝑁N accept xπ‘₯x in at most t𝑑t steps?

A non-deterministic exponential-time machine M0subscript𝑀0M_{0} for Q0subscript𝑄0Q_{0}, on input βŸ¨N,x,tβŸ©π‘π‘₯𝑑\langle N,x,t\rangle, guesses and verifies a time-t𝑑t computation of N𝑁N on xπ‘₯x. We ask for an implementation of this so that a weak theory can verify its correctness. This is a quite direct consequence of Lemmas 20 and 26.

Lemma 27.

There exists an explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M0subscript𝑀0M_{0} with one input-tape and without oracles, such that for every explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M with one input-tape and without oracles, say witnessed by the term tM​(x)subscript𝑑𝑀π‘₯t_{M}(x), there are quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas F​(Z,x,u)𝐹𝑍π‘₯𝑒F(Z,x,u) and G​(Z,x,u)𝐺𝑍π‘₯𝑒G(Z,x,u) such that

  1. (a)

    𝖲21​(Ξ±)βŠ’β€œZ is an accepting computation of M on xβ€β†’β€œF​(Z,x,β‹…) is an accepting computation of M0 on βŸ¨M,x,tM​(x)βŸ©β€,subscriptsuperscript𝖲12𝛼provesβ†’β€œZ is an accepting computation of M on x”absentmissing-subexpressionmissing-subexpressionβ€œF(Z,x,β‹…) is an accepting computation of M0 on βŸ¨M,x,tM(x)βŸ©β€\begin{array}[t]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\textit{``$Z$ is an accepting computation of $M$ on $x$''}\to\\ &&\;\;\textit{``$F(Z,x,\cdot)$ is an accepting computation of $M_{0}$ on $\langle M,x,t_{M}(x)\rangle$''},\end{array}

  2. (b)

    𝖲21​(Ξ±)βŠ’β€œZ is an accepting computation of M0 on βŸ¨M,x,tM​(x)βŸ©β€β†’β€œG​(Z,x,β‹…) is an accepting computation of M on x”.subscriptsuperscript𝖲12𝛼provesβ†’β€œZ is an accepting computation of M0 on βŸ¨M,x,tM(x)βŸ©β€absentmissing-subexpressionmissing-subexpressionβ€œG(Z,x,β‹…) is an accepting computation of M on x”\begin{array}[t]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\textit{``$Z$ is an accepting computation of $M_{0}$ on $\langle M,x,t_{M}(x)\rangle$''}\to\\ &&\;\;\textit{``$G(Z,x,\cdot)$ is an accepting computation of $M$ on $x$''}.\end{array}

In particular,

  1. 3.

    𝖲21​(Ξ±)βŠ’βˆƒ2Zβ€‹β€œZ is an accepting computation of M0 on βŸ¨M,x,tM​(x)βŸ©β€β†”βˆƒ2Zβ€‹β€œZ is an accepting computation of M on x”.subscriptsuperscript𝖲12𝛼proves↔subscript2π‘β€œZ is an accepting computation of M0 on βŸ¨M,x,tM(x)βŸ©β€absentmissing-subexpressionmissing-subexpressionsubscript2π‘β€œZ is an accepting computation of M on x”\begin{array}[t]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\exists_{2}Z\textit{``$Z$ is an accepting computation of $M_{0}$ on $\langle M,x,t_{M}(x)\rangle$''}\leftrightarrow\\ &&\;\;\exists_{2}Z\textit{``$Z$ is an accepting computation of $M$ on $x$''}.\end{array}

Proof.

Let Ο€1,Ο€2,Ο€3subscriptπœ‹1subscriptπœ‹2subscriptπœ‹3\pi_{1},\pi_{2},\pi_{3} be π–―𝖡𝖯𝖡\mathsf{PV}-functions that extract x1,x2,x3subscriptπ‘₯1subscriptπ‘₯2subscriptπ‘₯3x_{1},x_{2},x_{3} from z=⟨x1,x2,x3βŸ©π‘§subscriptπ‘₯1subscriptπ‘₯2subscriptπ‘₯3z=\langle x_{1},x_{2},x_{3}\rangle. Define Ξ 1bsubscriptsuperscriptΠ𝑏1\Pi^{b}_{1}-formulas as follows:

Ο†1​(Z,z):=Ο†2​(Z,Ο€1​(z),Ο€2​(z),Ο€3​(z)),assignsubscriptπœ‘1𝑍𝑧subscriptπœ‘2𝑍subscriptπœ‹1𝑧subscriptπœ‹2𝑧subscriptπœ‹3𝑧\displaystyle\varphi_{1}(Z,z)\ :=\ \varphi_{2}(Z,\pi_{1}(z),\pi_{2}(z),\pi_{3}(z)),
Ο†2​(Z,N,x,t):=β€œZ is an accepting time-t computation of N on x”.assignsubscriptπœ‘2𝑍𝑁π‘₯π‘‘β€œZ is an accepting time-t computation of N on x”\displaystyle\varphi_{2}(Z,N,x,t)\ :=\ \textit{``$Z$ is an accepting time-$t$ computation of $N$ on $x$''}.

Let M1Zsuperscriptsubscript𝑀1𝑍M_{1}^{Z} be the machine given by Lemma 20 applied to Ο†1=Ο†1​(Z,z)subscriptπœ‘1subscriptπœ‘1𝑍𝑧\varphi_{1}=\varphi_{1}(Z,z), and let r1​(z)subscriptπ‘Ÿ1𝑧r_{1}(z) be the corresponding term. Since Ο†1subscriptπœ‘1\varphi_{1} is a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula, let t1​(z)subscript𝑑1𝑧t_{1}(z) and C1​(Z,z,w,u)subscript𝐢1𝑍𝑧𝑀𝑒C_{1}(Z,z,w,u) be the term and the quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula given by Lemma 20.7. We set M0subscript𝑀0M_{0} to the explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine given by Lemma 25 applied to M1Zsuperscriptsubscript𝑀1𝑍M_{1}^{Z} with term r1​(z)subscriptπ‘Ÿ1𝑧r_{1}(z) witnessing it as explicit π–€π–·π–―𝖀𝖷𝖯\mathsf{EXP}-machine by Lemma 20.e. In the proof of (a)–(b) we use the quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas F1,G1,H1subscript𝐹1subscript𝐺1subscript𝐻1F_{1},G_{1},H_{1} given by Lemma 25 on M1Zsuperscriptsubscript𝑀1𝑍M_{1}^{Z}.

For (a) we set F​(Z,x,u):=F1​(C,Z,z,u)assign𝐹𝑍π‘₯𝑒subscript𝐹1𝐢𝑍𝑧𝑒F(Z,x,u):=F_{1}(C,Z,z,u) where C𝐢C abbreviates C1​(Z,z,t1​(z),β‹…)subscript𝐢1𝑍𝑧subscript𝑑1𝑧⋅C_{1}(Z,z,t_{1}(z),\cdot) and in both cases z𝑧z abbreviates ⟨M,x,tM​(x)βŸ©π‘€π‘₯subscript𝑑𝑀π‘₯\langle M,x,t_{M}(x)\rangle. Argue in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) and assume Z𝑍Z is an accepting computation of M𝑀M on xπ‘₯x. Since M𝑀M is explicit and tM​(x)subscript𝑑𝑀π‘₯t_{M}(x) is a term witnessing it, we have that Z𝑍Z is an accepting time-t𝑑t computation of M𝑀M on xπ‘₯x, for t:=tM​(x)assign𝑑subscript𝑑𝑀π‘₯t:=t_{M}(x). It follows that Ο†2​(Z,M,x,tM​(x))subscriptπœ‘2𝑍𝑀π‘₯subscript𝑑𝑀π‘₯\varphi_{2}(Z,M,x,t_{M}(x)) holds, and hence Ο†1​(Z,z)subscriptπœ‘1𝑍𝑧\varphi_{1}(Z,z) holds. Since Ο†1subscriptπœ‘1\varphi_{1} is a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula, by Lemma 20.7 we have that the set C:=C1​(Z,z,t1​(z),β‹…)assign𝐢subscript𝐢1𝑍𝑧subscript𝑑1𝑧⋅C:=C_{1}(Z,z,t_{1}(z),\cdot) is an accepting computation of M1Zsuperscriptsubscript𝑀1𝑍M_{1}^{Z} on z𝑧z. Such a C𝐢C exists by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension because C1subscript𝐢1C_{1} is a quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula. By Lemma 25.a we get that the set F:=F​(Z,x,β‹…)=F1​(C,Z,z,β‹…)assign𝐹𝐹𝑍π‘₯β‹…subscript𝐹1𝐢𝑍𝑧⋅F:=F(Z,x,\cdot)=F_{1}(C,Z,z,\cdot) is an accepting computation of M0subscript𝑀0M_{0} on z𝑧z; i.e., the right-hand side of the implication in (a) holds. Again, F𝐹F exists by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension.

For (b) we set G​(Z,x,u):=G1​(Z,z,u)assign𝐺𝑍π‘₯𝑒subscript𝐺1𝑍𝑧𝑒G(Z,x,u):=G_{1}(Z,z,u) where, again, z𝑧z abbreviates ⟨M,x,tM​(x)βŸ©π‘€π‘₯subscript𝑑𝑀π‘₯\langle M,x,t_{M}(x)\rangle. Argue in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) and assume Z𝑍Z is an accepting computation of M0subscript𝑀0M_{0} on z𝑧z. Then, by Lemma 25.b we have that the set G:=G​(Z,x,β‹…)=G1​(Z,z,β‹…)assign𝐺𝐺𝑍π‘₯β‹…subscript𝐺1𝑍𝑧⋅G:=G(Z,x,\cdot)=G_{1}(Z,z,\cdot) is an accepting computation of M1Hsuperscriptsubscript𝑀1𝐻M_{1}^{H} on z𝑧z for H:=H1​(Z,z,β‹…)assign𝐻subscript𝐻1𝑍𝑧⋅H:=H_{1}(Z,z,\cdot). The two sets G𝐺G and H𝐻H exist by Ξ”1bsubscriptsuperscriptΔ𝑏1\Delta^{b}_{1}-comprehension. Now, Lemma 20.a implies that Ο†1​(H,z)subscriptπœ‘1𝐻𝑧\varphi_{1}(H,z) holds; i.e., H𝐻H is an accepting time-t𝑑t computation of M𝑀M on xπ‘₯x, for t:=tM​(x)assign𝑑subscript𝑑𝑀π‘₯t:=t_{M}(x), and hence also an accepting computation of M𝑀M on xπ‘₯x. This shows that the right-hand side in the implication in (b) holds.

The final statement follows from (a) and (b) by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. ∎

4.2 Formalization

The introduction claimed that the theories {¬αM0c∣cβ©Ύ1}conditional-setsubscriptsuperscript𝛼𝑐subscript𝑀0𝑐1\{\neg\alpha^{c}_{M_{0}}\mid c\geqslant 1\} and {¬βM0c∣cβ©Ύ1}conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐1\{\neg\beta^{c}_{M_{0}}\mid c\geqslant 1\} both formalize π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}. This is easy to check:

Proposition 28.

The following are equivalent.

  1. (a)

    π–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}.

  2. (b)

    {¬αM0c∣cβˆˆβ„•}conditional-setsubscriptsuperscript𝛼𝑐subscript𝑀0𝑐ℕ\big{\{}\neg\alpha^{c}_{M_{0}}\mid c\in\mathbb{N}\big{\}}is true.

  3. (c)

    {¬αMc∣cβˆˆβ„•}conditional-setsubscriptsuperscript𝛼𝑐𝑀𝑐ℕ\big{\{}\neg\alpha^{c}_{M}\mid c\in\mathbb{N}\big{\}}is true for some explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M.

  4. (d)

    {¬βM0c∣cβˆˆβ„•}conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐ℕ\big{\{}\neg\beta^{c}_{M_{0}}\mid c\in\mathbb{N}\big{\}}is true.

  5. (e)

    {¬βMc∣cβˆˆβ„•}conditional-setsubscriptsuperscript𝛽𝑐𝑀𝑐ℕ\big{\{}\neg\beta^{c}_{M}\mid c\in\mathbb{N}\big{\}}is true for some explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M.

Proof.

We show that (a)-(b)-(c) are equivalent, and that (a)-(d)-(e) are equivalent. To see that (a) implies (b), assume (b) fails; i.e., Ξ±M0csubscriptsuperscript𝛼𝑐subscript𝑀0\alpha^{c}_{M_{0}} is true for some cβˆˆβ„•π‘β„•c\in\mathbb{N}. Then Q0βˆˆπ–²π–¨π–Ήπ–€β€‹[nc]subscript𝑄0𝖲𝖨𝖹𝖀delimited-[]superscript𝑛𝑐Q_{0}\in\mathsf{SIZE}[n^{c}]. As Q0subscript𝑄0Q_{0} is π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-complete, (a) fails. That (b) implies (c) is trivial since M0subscript𝑀0M_{0} is an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine. That (c) implies (a) is obvious since every explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine defines a language in π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}. To see that (a) implies (d) argue as in the proof that (a) implies (b) swapping Ξ²π›½\beta for Ξ±π›Ό\alpha. That (d) implies (e) is trivial since M0subscript𝑀0M_{0} is an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine. Finally, that (e) implies (a) follows from the Easy Witness Lemma 4. ∎

It is straightforward to see that the equivalences (b)-(c) and (d)-(e) in Proposition 28 have direct proofs (i.e., proofs that do not rely on the easy witness lemma). We use Lemma 27 to prove this on the formal level, for both formalizations.

Lemma 29.

For every cβˆˆβ„•π‘β„•c\in\mathbb{N} and every 111-input explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M without oracles there is dβˆˆβ„•π‘‘β„•d\in\mathbb{N} such that π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves (Ξ±M0cβ†’Ξ±Md)β†’subscriptsuperscript𝛼𝑐subscript𝑀0subscriptsuperscript𝛼𝑑𝑀(\alpha^{c}_{M_{0}}\to\alpha^{d}_{M}) and (Ξ²M0cβ†’Ξ²Md)β†’subscriptsuperscript𝛽𝑐subscript𝑀0subscriptsuperscript𝛽𝑑𝑀(\beta^{c}_{M_{0}}\to\beta^{d}_{M}).

Proof.

We refer to the implication between Ξ±π›Ό\alpha’s as the α𝛼\alpha-case, and to the implication between Ξ²π›½\beta’s as the β𝛽\beta-case. Both have similar proofs, so we prove them at the same time. Let M𝑀M be witnessed by the term tM​(x)subscript𝑑𝑀π‘₯t_{M}(x). Let F​(Z,x,u)𝐹𝑍π‘₯𝑒F(Z,x,u) and G​(Z,x,u)𝐺𝑍π‘₯𝑒G(Z,x,u) be the formulas given by Lemma 27 on M𝑀M. Argue in π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) and assume Ξ±M0csubscriptsuperscript𝛼𝑐subscript𝑀0\alpha^{c}_{M_{0}} or Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}}, as appropriate. Let nβˆˆπΏπ‘œπ‘”>1𝑛subscriptπΏπ‘œπ‘”absent1n\in\mathit{Log}_{>1} be given. We aim to find a circuit C𝐢C in the Ξ±π›Ό\alpha-case, and two circuits C,D𝐢𝐷C,D in the Ξ²π›½\beta-case, witnessing Ξ±Mesuperscriptsubscript𝛼𝑀𝑒\alpha_{M}^{e} or Ξ²Mesuperscriptsubscript𝛽𝑀𝑒\beta_{M}^{e}, respectively, for the given n𝑛n, and for suitable eβˆˆβ„•π‘’β„•e\in\mathbb{N}. Choose dβˆˆβ„•π‘‘β„•d\in\mathbb{N} such that |⟨M,x,tM​(x)⟩|<nd𝑀π‘₯subscript𝑑𝑀π‘₯superscript𝑛𝑑|\langle M,x,t_{M}(x)\rangle|\ <\ n^{d} for all x<2nπ‘₯superscript2𝑛x<2^{n}. In the Ξ±π›Ό\alpha-case, let C0subscript𝐢0C_{0} be a circuit with |C0|<mcsubscript𝐢0superscriptπ‘šπ‘|C_{0}|<m^{c} that witnesses Ξ±M0csuperscriptsubscript𝛼subscript𝑀0𝑐\alpha_{M_{0}}^{c} for m:=ndassignπ‘šsuperscript𝑛𝑑m:=n^{d}. In the Ξ²π›½\beta-case let C0,D0subscript𝐢0subscript𝐷0C_{0},D_{0} be circuits with |C0|,|D0|<mcsubscript𝐢0subscript𝐷0superscriptπ‘šπ‘|C_{0}|,|D_{0}|<m^{c} that witness Ξ²M0csuperscriptsubscript𝛽subscript𝑀0𝑐\beta_{M_{0}}^{c} for m:=ndassignπ‘šsuperscript𝑛𝑑m:=n^{d}.

Choose C𝐢C such that C​(x)=C0​(⟨M,x,tM​(x)⟩)𝐢π‘₯subscript𝐢0𝑀π‘₯subscript𝑑𝑀π‘₯C(x)=C_{0}(\langle M,x,t_{M}(x)\rangle) and eβˆˆβ„•π‘’β„•e\in\mathbb{N} such that C<2ne𝐢superscript2superscript𝑛𝑒C<2^{n^{e}}. This C𝐢C will be the witness-circuit in the Ξ±π›Ό\alpha-case, and the first of the two witness-circuits in the Ξ²π›½\beta-case. For the latter, we choose the second circuit D𝐷D as follows. Choose formulas F,G𝐹𝐺F,G according to Lemma 27. By Lemma 14 there is a circuit D𝐷D such that

D​(x,u)↔G​(D0​(⟨M,x,tM​(x)⟩,β‹…),x,u)↔𝐷π‘₯𝑒𝐺subscript𝐷0𝑀π‘₯subscript𝑑𝑀π‘₯β‹…π‘₯𝑒D(x,u)\leftrightarrow G(D_{0}(\langle M,x,t_{M}(x)\rangle,\cdot),x,u)

for all x,uπ‘₯𝑒x,u with x<2nπ‘₯superscript2𝑛x<2^{n}. Then C,D<2ne𝐢𝐷superscript2superscript𝑛𝑒C,D<2^{n^{e}} for suitable eβˆˆβ„•π‘’β„•e\in\mathbb{N}. This is the eβˆˆβ„•π‘’β„•e\in\mathbb{N} we choose in the Ξ²π›½\beta-case.

We claim that C𝐢C witnesses Ξ±Mesubscriptsuperscript𝛼𝑒𝑀\alpha^{e}_{M} for the given n𝑛n in the Ξ±π›Ό\alpha-case, and C,D𝐢𝐷C,D witness Ξ²Mesubscriptsuperscript𝛽𝑒𝑀\beta^{e}_{M} for the given n𝑛n in the Ξ²π›½\beta-case. Let x<2nπ‘₯superscript2𝑛x<2^{n} and choose z:=⟨x,M,tM​(x)⟩assign𝑧π‘₯𝑀subscript𝑑𝑀π‘₯z:=\langle x,M,t_{M}(x)\rangle. Let Z𝑍Z be any set and let Y:=F​(Z,x,β‹…)assignπ‘ŒπΉπ‘π‘₯β‹…Y:=F(Z,x,\cdot), which exists by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. If C​(x)=0𝐢π‘₯0C(x)=0, then C0​(z)=0subscript𝐢0𝑧0C_{0}(z)=0 and both Ξ±M0csubscriptsuperscript𝛼𝑐subscript𝑀0\alpha^{c}_{M_{0}} and Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} imply that Yπ‘ŒY is not an accepting computation of M0subscript𝑀0M_{0} on z𝑧z. By Lemma 27.a this means that Z𝑍Z is not an accepting computation of M𝑀M on xπ‘₯x. In both cases, this completes one half of the verification of the witnesses. If C​(x)=1𝐢π‘₯1C(x)=1, then C0​(z)=1subscript𝐢0𝑧1C_{0}(z)=1 and Ξ±M0csubscriptsuperscript𝛼𝑐subscript𝑀0\alpha^{c}_{M_{0}} implies that there exists an accepting computation Yπ‘ŒY of M0subscript𝑀0M_{0} on z𝑧z, and Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} implies that Y:=D0​(z,β‹…)assignπ‘Œsubscript𝐷0𝑧⋅Y:=D_{0}(z,\cdot) is such an accepting computation of M0subscript𝑀0M_{0} on z𝑧z. But then Lemma 27.b implies that Z:=G​(Y,x,β‹…)assignπ‘πΊπ‘Œπ‘₯β‹…Z:=G(Y,x,\cdot), which exists by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension, is an accepting computation of M𝑀M on xπ‘₯x. In both cases, this completes the other half of the verification of the witness: in the Ξ²π›½\beta-case, because Z=D​(x,β‹…)𝑍𝐷π‘₯β‹…Z=D(x,\cdot). ∎

4.3 Consistency

For every explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M, which by default has one input-tape and no oracles, recall that Ξ±Mc:=αψcassignsubscriptsuperscript𝛼𝑐𝑀subscriptsuperscriptπ›Όπ‘πœ“\alpha^{c}_{M}:=\alpha^{c}_{\psi} for Οˆπœ“\psi as in Definition 3. For a theory π–³π–³\mathsf{T} that extends π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha), consider the following A-statements for π–³π–³\mathsf{T}:

A:𝖳+{¬αMc∣cβˆˆβ„•}𝖳conditional-setsubscriptsuperscript𝛼𝑐𝑀𝑐ℕ\mathsf{T}+\{\neg\alpha^{c}_{M}\mid c\in\mathbb{N}\} is consistent for some explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M,
A0:𝖳+{¬αM0c∣cβˆˆβ„•}𝖳conditional-setsubscriptsuperscript𝛼𝑐subscript𝑀0𝑐ℕ\mathsf{T}+\{\neg\alpha^{c}_{M_{0}}\mid c\in\mathbb{N}\} is consistent.

Consider also the corresponding B-statements for π–³π–³\mathsf{T}:

B:𝖳+{¬βMc∣cβˆˆβ„•}𝖳conditional-setsubscriptsuperscript𝛽𝑐𝑀𝑐ℕ\mathsf{T}+\{\neg\beta^{c}_{M}\mid c\in\mathbb{N}\} is consistent for some explicit 𝖭𝖀𝖷𝖯𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M,
B0:𝖳+{¬βM0c∣cβˆˆβ„•}𝖳conditional-setsubscriptsuperscript𝛽𝑐subscript𝑀0𝑐ℕ\mathsf{T}+\{\neg\beta^{c}_{M_{0}}\mid c\in\mathbb{N}\} is consistent.

Next, recall the statement of Theorem 2, which we now state for an arbitrary theory π–³π–³\mathsf{T} that extends π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha). We refer to it as the C-statement, or the direct consistency statement for π–³π–³\mathsf{T}:

C:𝖳+{¬αψc∣cβˆˆβ„•}𝖳conditional-setsubscriptsuperscriptπ›Όπ‘πœ“π‘β„•\mathsf{T}+\{\neg\alpha^{c}_{\psi}\mid c\in\mathbb{N}\} is consistent for some Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula Οˆβ€‹(x)πœ“π‘₯\psi(x).

Let us explicitly point out that the formula Οˆβ€‹(x)πœ“π‘₯\psi(x) of the C-statement has only one free variable of the number sort, and no free variables of the set sort.

Lemma 30.

For every cβˆˆβ„•π‘β„•c\in\mathbb{N} and every explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M with one input-tape and without oracles, π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves (Ξ²Mcβ†’Ξ±Mc)β†’subscriptsuperscript𝛽𝑐𝑀subscriptsuperscript𝛼𝑐𝑀(\beta^{c}_{M}\to\alpha^{c}_{M}).

Proof.

The formula Ξ²Mcsubscriptsuperscript𝛽𝑐𝑀\beta^{c}_{M} states that the (single) existential set-quantifier in Ξ±Mcsubscriptsuperscript𝛼𝑐𝑀\alpha^{c}_{M} is witnessed by Dx​(β‹…)subscript𝐷π‘₯β‹…D_{x}(\cdot), and this set exists by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. ∎

We view the following proposition as justification that our formalization is faithful. It takes record of which implications in Proposition 28 hold over weak theories.

Proposition 31.

Let π–³π–³\mathsf{T} be a theory extending π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) and consider the A,B,C-statements for π–³π–³\mathsf{T}. Then, the following hold: the A-statements are equivalent, the B-statements are equivalent, and both A-statements imply both B-statements as well as the C-statement.

Proof.

Lemma 30 and compactness show that each A-statement implies the corresponding B-statement. Further, Lemma 29 proves that the A-statements are equivalent, and that the B-statements are equivalent; for the back implications note that M0subscript𝑀0M_{0} is certainly an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine. Further, it is obvious from the definition of Ξ±Mcsubscriptsuperscript𝛼𝑐𝑀\alpha^{c}_{M} that A implies C and hence both A-statements imply C. ∎

When π–³=𝖡20𝖳subscriptsuperscript𝖡02\mathsf{T}=\mathsf{V}^{0}_{2}, we argue below that the model-checker lemmas can be used to show that the implication A-to-C in Proposition 31 can be reversed. It will follow that all A,B,C-statements for π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} are equivalent. Composing with Theorem 2 we get the following corollary, which entails Theorem 7.

Theorem 32.

For 𝖳=𝖡20𝖳subscriptsuperscript𝖡02\mathsf{T}=\mathsf{V}^{0}_{2} all statements C, A, A0, B, B0 are true.

Proof.

Theorem 2 states that C is true for π–³=𝖡20𝖳subscriptsuperscript𝖡02\mathsf{T}=\mathsf{V}^{0}_{2}. Hence, by Proposition 31, it suffices to show that C implies A for π–³=𝖡20𝖳subscriptsuperscript𝖡02\mathsf{T}=\mathsf{V}^{0}_{2}. But this follows from Lemma 26.a and 26.b. Indeed, these state that every Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula Οˆβ€‹(x)πœ“π‘₯\psi(x) is π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2}-provably equivalent to (3) for suitable M𝑀M. ∎

5 Consistency for barely superpolynomial time

In this section we fix rβˆˆπ–―π–΅π‘Ÿπ–―π–΅r\in\mathsf{PV} such that

  1. (r0)

    the function x↦r​(x)maps-toπ‘₯π‘Ÿπ‘₯x\mapsto r(x) is computable in time O​(r​(x))π‘‚π‘Ÿπ‘₯O(r(x));

  2. (r1)

    𝖲21⊒(|x|=|y|β†’r​(x)=r​(y))provessubscriptsuperscript𝖲12π‘₯π‘¦β†’π‘Ÿπ‘₯π‘Ÿπ‘¦\mathsf{S}^{1}_{2}\vdash(|x|{=}|y|\to r(x){=}r(y));

  3. (r2)

    𝖲21⊒(|x|<|y|β†’r​(x)<r​(y))provessubscriptsuperscript𝖲12π‘₯π‘¦β†’π‘Ÿπ‘₯π‘Ÿπ‘¦\mathsf{S}^{1}_{2}\vdash(|x|{<}|y|\to r(x){<}r(y));

  4. (r3)

    for every polynomial p𝑝p there is fβˆˆπ–―π–΅π‘“π–―π–΅f\in\mathsf{PV} such that π–²21⊒p​(r​(x))β©½r​(f​(x))provessubscriptsuperscript𝖲12π‘π‘Ÿπ‘₯π‘Ÿπ‘“π‘₯\mathsf{S}^{1}_{2}\vdash p(r(x))\leqslant r(f(x));

  5. (r4)

    for every cβˆˆβ„•π‘β„•c\in\mathbb{N} there is ncβˆˆβ„•subscript𝑛𝑐ℕn_{c}\in\mathbb{N} such that β„•βŠ§βˆ€x​(|x|>ncβ†’r​(x)>|x|c)modelsβ„•for-allπ‘₯π‘₯subscriptπ‘›π‘β†’π‘Ÿπ‘₯superscriptπ‘₯𝑐\mathbb{N}\models\forall x\ (|x|{>}n_{c}\to r(x){>}|x|^{c}).

We call a function rπ‘Ÿr satisfying (r4) length-superpolynomial. An explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine is an explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine M𝑀M that is witnessed by p​(r​(x))π‘π‘Ÿπ‘₯p(r(x)) for some polynomial p𝑝p.

Here, we deviate from our convention that explicit machines are witnessed by terms and allow π–―𝖡𝖯𝖡\mathsf{PV}-symbols. In the notation π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x))), the xπ‘₯x is there to emphasize that the runtime is measured as a function of the input xπ‘₯x and not its length. If we want to measure runtime as a function of the length of the input, then we use n𝑛n instead of xπ‘₯x. For example, π–­π–―=𝖭𝖳𝖨𝖬𝖀​(nO​(1))𝖭𝖯𝖭𝖳𝖨𝖬𝖀superscript𝑛𝑂1\mathsf{NP}=\mathsf{NTIME}(n^{O(1)}) is given by the collection of explicit π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machines with r​(x)=|x|π‘Ÿπ‘₯π‘₯r(x)=|x|, and the classes π–­π–€=𝖭𝖳𝖨𝖬𝖀​(2O​(n))𝖭𝖀𝖭𝖳𝖨𝖬𝖀superscript2𝑂𝑛\mathsf{NE}=\mathsf{NTIME}(2^{O(n)}) and π–­π–³π–¨π–¬π–€β€‹(nO​(log(k)⁑n))𝖭𝖳𝖨𝖬𝖀superscript𝑛𝑂superscriptπ‘˜π‘›\mathsf{NTIME}(n^{O(\log^{(k)}n)}) are given by the collections of explicit π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machines for r​(x)=2|x|π‘Ÿπ‘₯superscript2π‘₯r(x)=2^{|x|} and r​(x)=|x|log(k)⁑|x|π‘Ÿπ‘₯superscriptπ‘₯superscriptπ‘˜π‘₯r(x)=|x|^{\log^{(k)}|x|}, respectively; the latter two satisfy (r0)-(r4), if kβ©Ύ1π‘˜1k\geqslant 1 in the second.

Remark 33.

(r3) is not implied by the other conditions.

Proof.

We shall define a function r​(x)π‘Ÿπ‘₯r(x) which consists of slow growing segments interspersed with fast growing segments. First, choose a fast growing function Rβˆˆπ–―π–΅π‘…π–―π–΅R\in\mathsf{PV} so that R​(x)𝑅π‘₯R(x) depends only on |x|π‘₯|x| and so that R​(x)2β©ΎR​(x)+|x|ω​(1)𝑅superscriptπ‘₯2𝑅π‘₯superscriptπ‘₯πœ”1R(x)^{2}\geqslant R(x)+|x|^{\omega(1)}. For instance R​(x)=2|x|𝑅π‘₯superscript2π‘₯R(x)=2^{|x|} works. Second, define β„“:β„•β†’β„•:β„“β†’β„•β„•\ell:\mathbb{N}\to\mathbb{N} be increasing with ℓ​(c+1)>ℓ​(c)c+1ℓ𝑐1β„“superscript𝑐𝑐1\ell(c+1)>\ell(c)^{c}+1 and with R​(x)2β©ΎR​(x)+|x|c𝑅superscriptπ‘₯2𝑅π‘₯superscriptπ‘₯𝑐R(x)^{2}\geqslant R(x)+|x|^{c} for all xβ©Ύ2ℓ​(c)βˆ’1π‘₯superscript2ℓ𝑐1x\geqslant 2^{\ell(c)-1}. Let xc:=2ℓ​(c)βˆ’1assignsubscriptπ‘₯𝑐superscript2ℓ𝑐1x_{c}:=2^{\ell(c)-1} and yc:=2ℓ​(c)cβˆ’1assignsubscript𝑦𝑐superscript2β„“superscript𝑐𝑐1y_{c}:=2^{\ell(c)^{c}}-1 be the first and last numbers of length ℓ​(c)ℓ𝑐\ell(c) and β„“​(c)cβ„“superscript𝑐𝑐\ell(c)^{c}, respectively. Finally, let r​(x):=R​(xc)+|x|βˆ’|xc|assignπ‘Ÿπ‘₯𝑅subscriptπ‘₯𝑐π‘₯subscriptπ‘₯𝑐r(x):=R(x_{c})+|x|-|x_{c}| for xcβ©½xβ©½ycsubscriptπ‘₯𝑐π‘₯subscript𝑦𝑐x_{c}\leqslant x\leqslant y_{c}, and let r​(x):=R​(x)assignπ‘Ÿπ‘₯𝑅π‘₯r(x):=R(x) for yc<x<xc+1subscript𝑦𝑐π‘₯subscriptπ‘₯𝑐1y_{c}<x<x_{c+1}. The slow growing segments of r​(x)π‘Ÿπ‘₯r(x) are where xcβ©½xβ©½ycsubscriptπ‘₯𝑐π‘₯subscript𝑦𝑐x_{c}\leqslant x\leqslant y_{c}, and here r​(x)π‘Ÿπ‘₯r(x) is chosen to be as slow growing as possible while satisfying (r1) and (r2).

Clearly, β„“β„“\ell and R𝑅R can be chosen so that r​(x)π‘Ÿπ‘₯r(x) is in 𝖯𝖡𝖯𝖡\mathsf{PV} and properties (r0), (r1), (r2), and (r4) hold for rπ‘Ÿr. We claim (r3) fails for p​(x)=x2𝑝π‘₯superscriptπ‘₯2p(x)=x^{2}.

Indeed, let fβˆˆπ–―π–΅π‘“π–―π–΅f\in\mathsf{PV} be given and choose c𝑐c such that |f​(xc)|<|xc|c=|yc|𝑓subscriptπ‘₯𝑐superscriptsubscriptπ‘₯𝑐𝑐subscript𝑦𝑐|f(x_{c})|<|x_{c}|^{c}=|y_{c}|. Then

p​(r​(xc))=r​(xc)2=R​(xc)2β©ΎR​(xc)+|xc|c=R​(xc)+|yc|>r​(yc)>r​(f​(xc))π‘π‘Ÿsubscriptπ‘₯π‘π‘Ÿsuperscriptsubscriptπ‘₯𝑐2𝑅superscriptsubscriptπ‘₯𝑐2𝑅subscriptπ‘₯𝑐superscriptsubscriptπ‘₯𝑐𝑐𝑅subscriptπ‘₯𝑐subscriptπ‘¦π‘π‘Ÿsubscriptπ‘¦π‘π‘Ÿπ‘“subscriptπ‘₯𝑐p(r(x_{c}))=r(x_{c})^{2}=R(x_{c})^{2}\geqslant R(x_{c})+|x_{c}|^{c}=R(x_{c})+|y_{c}|>r(y_{c})>r(f(x_{c}))

where the last inequality follows from (r2). ∎

5.1 A more general universal machine

We start with the analogue of Lemma 27.

Lemma 34.

There is an explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine Mrsubscriptπ‘€π‘ŸM_{r} with one input-tape and without oracles such that for every explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine M𝑀M with one input-tape and without oracles there are fM​(x)βˆˆπ–―π–΅subscript𝑓𝑀π‘₯𝖯𝖡f_{M}(x)\in\mathsf{PV} and quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formulas FMsubscript𝐹𝑀F_{M} and GMsubscript𝐺𝑀G_{M} such that

  1. (a)

    𝖲21​(Ξ±)βŠ’β€œZ is an accepting computation of M on xβ€β†’β€œFM​(Z,x,β‹…) is an accepting computation of Mr on βŸ¨M,x,fM​(x)βŸ©β€.subscriptsuperscript𝖲12𝛼provesβ†’β€œZ is an accepting computation of M on x”absentmissing-subexpressionmissing-subexpressionβ€œFM(Z,x,β‹…) is an accepting computation of Mr on βŸ¨M,x,fM(x)βŸ©β€\begin{array}[t]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\textit{``$Z$ is an accepting computation of $M$ on $x$''}\to\\ &&\textit{``$F_{M}(Z,x,\cdot)$ is an accepting computation of $M_{r}$ on $\langle M,x,f_{M}(x)\rangle$''}.\end{array}

  2. (b)

    𝖲21​(Ξ±)βŠ’β€œZ is an accepting computation of Mr on βŸ¨M,x,fM​(x)βŸ©β€β†’β€œGM​(Z,x,β‹…) is an accepting computation of M on x”,subscriptsuperscript𝖲12𝛼provesβ†’β€œZ is an accepting computation of Mr on βŸ¨M,x,fM(x)βŸ©β€absentmissing-subexpressionmissing-subexpressionβ€œGM(Z,x,β‹…) is an accepting computation of M on x”\begin{array}[t]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\textit{``$Z$ is an accepting computation of $M_{r}$ on $\langle M,x,f_{M}(x)\rangle$''}\to\\ &&\textit{``$G_{M}(Z,x,\cdot)$ is an accepting computation of $M$ on $x$''},\end{array}

In particular,

  1. 3.

    𝖲21​(Ξ±)βŠ’βˆƒ2Zβ€‹β€œZ is an accepting computation of Mr on βŸ¨M,x,fM​(x)βŸ©β€β†”βˆƒ2Zβ€‹β€œZ is an accepting computation of M on x”subscriptsuperscript𝖲12𝛼proves↔subscript2π‘β€œZ is an accepting computation of Mr on βŸ¨M,x,fM(x)βŸ©β€absentmissing-subexpressionmissing-subexpressionsubscript2π‘β€œZ is an accepting computation of M on x”\begin{array}[t]{lcl}\mathsf{S}^{1}_{2}(\alpha)&\vdash&\exists_{2}Z\textit{``$Z$ is an accepting computation of $M_{r}$ on $\langle M,x,f_{M}(x)\rangle$''}\leftrightarrow\\ &&\exists_{2}Z\textit{``$Z$ is an accepting computation of $M$ on $x$''}\end{array}

Proof.

Choose according to Lemma 20 a machine MΟ†Zsubscriptsuperscriptπ‘€π‘πœ‘M^{Z}_{\varphi} and a term rφ​(N,x,t)subscriptπ‘Ÿπœ‘π‘π‘₯𝑑r_{\varphi}(N,x,t) for

φ​(Z,N,x,t):=β€œZ is an accepting time-t computation of N on x”.assignπœ‘π‘π‘π‘₯π‘‘β€œZ is an accepting time-t computation of N on x”\displaystyle\varphi(Z,N,x,t)\ :=\textit{``$Z$ is an accepting time-$t$ computation of~{}$N$ on~{}$x$''}.

By the comment after Equation (7), there is a polynomial p1subscript𝑝1p_{1} so that 𝑏𝑑φ​(N,x,t)β©½p1​(t,|N|,|x|)subscriptπ‘π‘‘πœ‘π‘π‘₯𝑑subscript𝑝1𝑑𝑁π‘₯\mathit{bt}_{\varphi}(N,x,t){\leqslant}p_{1}(t,|N|,|x|) provably in π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}. By Lemma 20.d, there is a polynomial p2subscript𝑝2p_{2} so that rφ​(N,x,t)β©½p2​(t,|N|,|x|)subscriptπ‘Ÿπœ‘π‘π‘₯𝑑subscript𝑝2𝑑𝑁π‘₯r_{\varphi}(N,x,t){\leqslant}p_{2}(t,|N|,|x|) provably in π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}. For MΟ†Zsubscriptsuperscriptπ‘€π‘πœ‘M^{Z}_{\varphi} choose a machine M1subscript𝑀1M_{1} and a term r1​(N,x,t)subscriptπ‘Ÿ1𝑁π‘₯𝑑r_{1}(N,x,t) according to Lemma 25. By Lemma 25.c, there is a polynomial p3subscript𝑝3p_{3} so that r1​(N,x,t)β©½p3​(t,|N|,|x|)subscriptπ‘Ÿ1𝑁π‘₯𝑑subscript𝑝3𝑑𝑁π‘₯r_{1}(N,x,t)\leqslant p_{3}(t,|N|,|x|).

Define Mrsubscriptπ‘€π‘ŸM_{r} to compute on z𝑧z as follows. It first checks that z=⟨N,x,tβŸ©π‘§π‘π‘₯𝑑z=\langle N,x,t\rangle for certain N,x,t𝑁π‘₯𝑑N,x,t and computes βŸ¨N,x,r​(t)βŸ©π‘π‘₯π‘Ÿπ‘‘\langle N,x,r(t)\rangle; if the check fails, the machine stops. After this initial computation Mrsubscriptπ‘€π‘ŸM_{r} runs M1subscript𝑀1M_{1} on βŸ¨N,x,r​(t)βŸ©π‘π‘₯π‘Ÿπ‘‘\langle N,x,r(t)\rangle. The initial computation can be implemented with explicit π–―𝖯\mathsf{P}-machines (Lemma 19), say with time bound p4​(|z|)subscript𝑝4𝑧p_{4}(|z|) for a polynomial p4subscript𝑝4p_{4}. Then Mrsubscriptπ‘€π‘ŸM_{r} is an explicit π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine. Indeed, it is witnessed by p4​(|z|)+p3​(r​(z),|z|,|z|)β©½p5​(r​(z))subscript𝑝4𝑧subscript𝑝3π‘Ÿπ‘§π‘§π‘§subscript𝑝5π‘Ÿπ‘§p_{4}(|z|)+p_{3}(r(z),|z|,|z|)\leqslant p_{5}(r(z)) for a polynomial p5subscript𝑝5p_{5}. Here we use that π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}-provably t,N,x𝑑𝑁π‘₯t,N,x are bounded by z𝑧z, and rπ‘Ÿr is non-decreasing with r​(x)β©Ύ|x|π‘Ÿπ‘₯π‘₯r(x)\geqslant|x| by (r1) and (r2).

Let M𝑀M be an explicit π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine, say witnessed by pM​(r​(x))subscriptπ‘π‘€π‘Ÿπ‘₯p_{M}(r(x)) for a polynomial pMsubscript𝑝𝑀p_{M}. Choose fMsubscript𝑓𝑀f_{M} for pMsubscript𝑝𝑀p_{M} according to (r3).

For (a), argue in π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} and assume Z𝑍Z is an accepting computation of M𝑀M on xπ‘₯x. Then Z𝑍Z is time pM​(r​(x))subscriptπ‘π‘€π‘Ÿπ‘₯p_{M}(r(x)), so by (r3) we can repeat the halting configuration to get an accepting time r​(fM​(x))π‘Ÿsubscript𝑓𝑀π‘₯r(f_{M}(x)) computation Z0subscript𝑍0Z_{0} of M𝑀M on xπ‘₯x, i.e., φ​(Z0,M,x,r​(fM​(x)))πœ‘subscript𝑍0𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯\varphi(Z_{0},M,x,r(f_{M}(x))) holds. By Lemma 20.7, the set Z1:=Cφ​(Z0,M,x,r​(fM​(x)),tφ​(M,x,r​(fM​(x))),β‹…)assignsubscript𝑍1subscriptπΆπœ‘subscript𝑍0𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯subscriptπ‘‘πœ‘π‘€π‘₯π‘Ÿsubscript𝑓𝑀π‘₯β‹…Z_{1}:=C_{\varphi}(Z_{0},M,x,r(f_{M}(x)),t_{\varphi}(M,x,r(f_{M}(x))),\cdot) is an accepting computation of MΟ†Z0subscriptsuperscript𝑀subscript𝑍0πœ‘M^{Z_{0}}_{\varphi} on the triple M,x,r​(fM​(x))𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯M,x,r(f_{M}(x)). By Lemma 25.a, the set Z2:=F​(Z1,Z0,M,x,r​(fM​(x)),β‹…)assignsubscript𝑍2𝐹subscript𝑍1subscript𝑍0𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯β‹…Z_{2}:=F(Z_{1},Z_{0},M,x,r(f_{M}(x)),\cdot) is an accepting computation of M1subscript𝑀1M_{1} on the triple M,x,r​(fM​(x))𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯M,x,r(f_{M}(x)). Compose Z2subscript𝑍2Z_{2} with an initial computation of Mrsubscriptπ‘€π‘ŸM_{r} on z:=⟨M,x,fM​(x)⟩assign𝑧𝑀π‘₯subscript𝑓𝑀π‘₯z:=\langle M,x,f_{M}(x)\rangle to get an accepting computation Z3subscript𝑍3Z_{3} of Mrsubscriptπ‘€π‘ŸM_{r} on z𝑧z. It is clear that Z3=FM​(Z,x,β‹…)subscript𝑍3subscript𝐹𝑀𝑍π‘₯β‹…Z_{3}=F_{M}(Z,x,\cdot) for some quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula FMsubscript𝐹𝑀F_{M}.

For (b), argue in π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} and let Z𝑍Z be an accepting computation of Mrsubscriptπ‘€π‘ŸM_{r} on ⟨M,x,fM​(x)βŸ©π‘€π‘₯subscript𝑓𝑀π‘₯\langle M,x,f_{M}(x)\rangle. From Z𝑍Z extract an accepting computation Z0subscript𝑍0Z_{0} of M1subscript𝑀1M_{1} on the triple M,x,r​(fM​(x))𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯M,x,r(f_{M}(x)). By Lemma 25.b,  Z1:=G​(Z0,M,x,r​(fM​(x)),β‹…)assignsubscript𝑍1𝐺subscript𝑍0𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯β‹…Z_{1}:=G(Z_{0},M,x,r(f_{M}(x)),\cdot) is an accepting computation of MΟ†Z2subscriptsuperscript𝑀subscript𝑍2πœ‘M^{Z_{2}}_{\varphi} on the triple M,x,r​(fM​(x))𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯M,x,r(f_{M}(x)) where Z2:=H​(Z0,M,x,r​(fM​(x)),β‹…)assignsubscript𝑍2𝐻subscript𝑍0𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯β‹…Z_{2}:=H(Z_{0},M,x,r(f_{M}(x)),\cdot). Clearly, Z0subscript𝑍0Z_{0} can be described by a quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula, so Z1subscript𝑍1Z_{1} and Z2subscript𝑍2Z_{2} exist by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. Hence, by Lemma 20.a, φ​(Z2,M,x,r​(fM​(x)))πœ‘subscript𝑍2𝑀π‘₯π‘Ÿsubscript𝑓𝑀π‘₯\varphi(Z_{2},M,x,r(f_{M}(x))) holds, i.e., Z2subscript𝑍2Z_{2} is an accepting time-r​(fM​(x))π‘Ÿsubscript𝑓𝑀π‘₯r(f_{M}(x)) computation of M𝑀M on xπ‘₯x. By (r3) we can shrink Z2subscript𝑍2Z_{2} to time pM​(r​(x))subscriptπ‘π‘€π‘Ÿπ‘₯p_{M}(r(x)) and get an accepting computation Z3subscript𝑍3Z_{3} of M𝑀M on xπ‘₯x. Clearly, Z3=GM​(Z,x,β‹…)subscript𝑍3subscript𝐺𝑀𝑍π‘₯β‹…Z_{3}=G_{M}(Z,x,\cdot) for some quantifier-free 𝖯𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-formula GMsubscript𝐺𝑀G_{M}.

Finally, (c) follows from (a) and (b) by Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. ∎

5.2 Formalization

To faithfully formalize 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯π–―π—‰π—ˆπ—…π—’\mathsf{NTIME}(\mathsf{poly}(r(x)))\not\subseteq\mathsf{P/poly} we intend to follow the path paved in Section 4. Some modification are, however, required. First, we need an analogue of the Easy Witness Lemma. This has been achieved by Murray and Williams [27]:

Lemma 35.

Let t​(n)𝑑𝑛t(n) be a function that is increasing, time-constructible, and superpolynomial. If π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(t​(n)))βŠ†π–―/π—‰π—ˆπ—…π—’π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘‘π‘›π–―π—‰π—ˆπ—…π—’\mathsf{NTIME}(\mathsf{poly}(t(n)))\subseteq\mathsf{P/poly}, then every π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(t​(n)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘‘π‘›\mathsf{NTIME}(\mathsf{poly}(t(n)))-machine M𝑀M has polynomial-size witness circuits.

That t​(n)𝑑𝑛t(n) is superpolynomial means that for every cβˆˆβ„•π‘β„•c\in\mathbb{N} there is ncβˆˆβ„•subscript𝑛𝑐ℕn_{c}\in\mathbb{N} such that t​(n)>nc𝑑𝑛superscript𝑛𝑐t(n)>n^{c} for all n>nc𝑛subscript𝑛𝑐n>n_{c}. That M𝑀M has witness circuits of size s​(n)𝑠𝑛s(n), where s:β„•β†’β„•:𝑠→ℕℕs:\mathbb{N}\to\mathbb{N} is a function, means that for every  x∈{0,1}βˆ—π‘₯superscript01x\in\{0,1\}^{*} that is accepted by M𝑀M, there exists a circuit D𝐷D of size at most s​(|x|)𝑠π‘₯s(|x|) such that π‘‘𝑑​(D)𝑑𝑑𝐷\mathit{tt}(D) encodes an accepting computation of M𝑀M on xπ‘₯x. Note that, in contrast to Lemma 4, the circuit D𝐷D can depend on xπ‘₯x. We do not know whether Lemma 35 holds true for oblivious witness circuits as in Lemma 4.

Lemma 35 follows from the central result of [27]:

Lemma 36 (Lemma 4.1 in [27]).

There are e,gβˆˆβ„•π‘’π‘”β„•e,g\in\mathbb{N} with e,gβ©Ύ1𝑒𝑔1e,g\geqslant 1 such that for all increasing time-constructible functions s​(n)𝑠𝑛s(n) and t​(n)𝑑𝑛t(n), and for s2​(n):=s​(e​n)eassignsubscript𝑠2𝑛𝑠superscript𝑒𝑛𝑒s_{2}(n):=s(en)^{e}, if 𝖭𝖳𝖨𝖬𝖀​(O​(t​(n)e))βŠ†π–²π–¨π–Ήπ–€β€‹(s​(n))𝖭𝖳𝖨𝖬𝖀𝑂𝑑superscript𝑛𝑒𝖲𝖨𝖹𝖀𝑠𝑛\mathsf{NTIME}(O(t(n)^{e}))\subseteq\mathsf{SIZE}(s(n)), then every 𝖭𝖳𝖨𝖬𝖀​(t​(n))𝖭𝖳𝖨𝖬𝖀𝑑𝑛\mathsf{NTIME}(t(n))-machine has witness circuits of size s2​(s2​(s2​(n)))2​gsubscript𝑠2superscriptsubscript𝑠2subscript𝑠2𝑛2𝑔s_{2}(s_{2}(s_{2}(n)))^{2g}, provided that s​(n)<2n/e/n𝑠𝑛superscript2𝑛𝑒𝑛s(n)<2^{n/e}/n and t​(n)β©Ύs2​(s2​(s2​(n)))d𝑑𝑛subscript𝑠2superscriptsubscript𝑠2subscript𝑠2𝑛𝑑t(n)\geqslant\penalty 10000s_{2}(s_{2}(s_{2}(n)))^{d} for a sufficiently large dβˆˆβ„•π‘‘β„•d\in\mathbb{N}.

Proof of Lemma 35 from Lemma 36.

We start noting that there is a non-deterministic machine Uπ‘ˆU that decides the problem Q0subscript𝑄0Q_{0} defined in Section 4.1 in time O​(|x|+|M|β‹…t2)𝑂π‘₯⋅𝑀superscript𝑑2O(|x|+|M|\cdot t^{2}) on input ⟨M,x,tβŸ©π‘€π‘₯𝑑\langle M,x,t\rangle: after reading the input, guess the non-deterministic choices of M𝑀M and deterministically in time cMβ‹…t2β‹…subscript𝑐𝑀superscript𝑑2c_{M}\cdot t^{2} simulate the computation path of M𝑀M on input xπ‘₯x as determined by those choices, where cMsubscript𝑐𝑀c_{M} is a simulation overhead constant that depends only on M𝑀M and that we may assume is at most |M|𝑀|M|.

Assume 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(t​(n)))βŠ†π–―/π—‰π—ˆπ—…π—’π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘‘π‘›π–―π—‰π—ˆπ—…π—’\mathsf{NTIME}(\mathsf{poly}(t(n)))\subseteq\mathsf{P/poly}. Fix cβˆˆβ„•π‘β„•c\in\mathbb{N} with cβ©Ύ1𝑐1c\geqslant 1 and an 𝖭𝖳𝖨𝖬𝖀​(t​(n)c)𝖭𝖳𝖨𝖬𝖀𝑑superscript𝑛𝑐\mathsf{NTIME}(t(n)^{c})-machine M𝑀M. We intend to apply Lemma 36 to M𝑀M for a suitably chosen s​(n)𝑠𝑛s(n), with t​(n)c𝑑superscript𝑛𝑐t(n)^{c} in the role of t​(n)𝑑𝑛t(n). For that, we will need to show that 𝖭𝖳𝖨𝖬𝖀​(O​(t​(n)c​e))βŠ†π–²π–¨π–Ήπ–€β€‹(s​(n))𝖭𝖳𝖨𝖬𝖀𝑂𝑑superscript𝑛𝑐𝑒𝖲𝖨𝖹𝖀𝑠𝑛\mathsf{NTIME}(O(t(n)^{ce}))\subseteq\mathsf{SIZE}(s(n)) for the chosen s​(n)𝑠𝑛s(n), where eβ©Ύ1𝑒1e\geqslant 1 is the first of the two constants in Lemma 36.

The restriction of Uπ‘ˆU to inputs of the form ⟨M,x,t​(|x|)c​e+1βŸ©π‘€π‘₯𝑑superscriptπ‘₯𝑐𝑒1\langle M,x,t(|x|)^{ce+1}\rangle runs in time O​(|x|+|M|β‹…t​(|x|)2​c​e+2)𝑂π‘₯⋅𝑀𝑑superscriptπ‘₯2𝑐𝑒2O(|x|+\penalty 10000|M|\cdot t(|x|)^{2ce+2}). Therefore, the set of pairs ⟨M,xβŸ©π‘€π‘₯\langle M,x\rangle such that Uπ‘ˆU accepts on input ⟨M,x,t​(|x|)c​e+1βŸ©π‘€π‘₯𝑑superscriptπ‘₯𝑐𝑒1\langle M,x,t(|x|)^{ce+1}\rangle is in 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(t​(n)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘‘π‘›\mathsf{NTIME}(\mathsf{poly}(t(n))), so by the assumption, it is decided by circuits of size p​(|⟨M,x⟩|)𝑝𝑀π‘₯p(|\langle M,x\rangle|) for a suitable polynomial p​(n)𝑝𝑛p(n).

Now, choose s​(n)𝑠𝑛s(n) as a polynomial such that for every non-deterministic Turing machine M𝑀M and every xπ‘₯x that is sufficiently long with respect to M𝑀M it holds that p​(|⟨M,x⟩|)<s​(|x|)𝑝𝑀π‘₯𝑠π‘₯p(|\langle M,x\rangle|)<s(|x|). We verify that 𝖭𝖳𝖨𝖬𝖀​(O​(t​(n)c​e))βŠ†π–²π–¨π–Ήπ–€β€‹(s​(n))𝖭𝖳𝖨𝖬𝖀𝑂𝑑superscript𝑛𝑐𝑒𝖲𝖨𝖹𝖀𝑠𝑛\mathsf{NTIME}(O(t(n)^{ce}))\subseteq\mathsf{SIZE}(s(n)): if B𝐡B is a set in 𝖭𝖳𝖨𝖬𝖀​(O​(t​(n)c​e))𝖭𝖳𝖨𝖬𝖀𝑂𝑑superscript𝑛𝑐𝑒\mathsf{NTIME}(O(t(n)^{ce})) and M𝑀M is a non-deterministic Turing machine that witnesses this, then, for sufficiently long xπ‘₯x, we have that xπ‘₯x is in B𝐡B if and only if Uπ‘ˆU accepts on ⟨M,x,t​(|x|)c​e+1βŸ©π‘€π‘₯𝑑superscriptπ‘₯𝑐𝑒1\langle M,x,t(|x|)^{ce+1}\rangle. Hence, by the choice of s​(n)𝑠𝑛s(n), the set B𝐡B is in 𝖲𝖨𝖹𝖀​(s​(n))𝖲𝖨𝖹𝖀𝑠𝑛\mathsf{SIZE}(s(n)).

The requirements of Lemma 36 that s​(n)<2n/e/n𝑠𝑛superscript2𝑛𝑒𝑛s(n)<2^{n/e}/n and t​(n)cβ©Ύs2​(s2​(s2​(n)))d𝑑superscript𝑛𝑐subscript𝑠2superscriptsubscript𝑠2subscript𝑠2𝑛𝑑t(n)^{c}\geqslant s_{2}(s_{2}(s_{2}(n)))^{d} for a sufficiently large constant dβˆˆβ„•π‘‘β„•d\in\mathbb{N} are obviously met because s​(n)𝑠𝑛s(n) is polynomially bounded and t​(n)𝑑𝑛t(n) is superpolynomial. Lemma 36 applied to s​(n)𝑠𝑛s(n) and t​(n)c𝑑superscript𝑛𝑐t(n)^{c} then gives that M𝑀M has witness circuits of size s2​(s2​(s2​(n)))2​gsubscript𝑠2superscriptsubscript𝑠2subscript𝑠2𝑛2𝑔s_{2}(s_{2}(s_{2}(n)))^{2g}, where gβ©Ύ1𝑔1g\geqslant 1 is the second of the two constants in Lemma 36. Since s​(n)𝑠𝑛s(n) is polynomially bounded, also this function is polynomially bounded. Thus, M𝑀M has polynomial-size witness circuits. ∎

Lemma 35 enables a βˆ€Ξ 11,bfor-allsubscriptsuperscriptΞ 1𝑏1\forall\Pi^{1,b}_{1}-formalization of 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯π–―π—‰π—ˆπ—…π—’\mathsf{NTIME}(\mathsf{poly}(r(x)))\not\subseteq\mathsf{P/poly}:

Definition 37.

For an explicit π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine M𝑀M with one input-tape and without oracles define

Ξ³Mc:=βˆ€nβˆˆπΏπ‘œπ‘”>1β€‹βˆƒC<2ncβ€‹βˆ€x<2nβ€‹βˆƒD<2ncβ€‹βˆ€2Y(C​(x)=0β†’Β¬β€œY is an accepting computation of M on x”)∧(C​(x)=1β†’β€œD​(β‹…) is an accepting computation of M on x”).superscriptsubscript𝛾𝑀𝑐assignfor-all𝑛subscriptπΏπ‘œπ‘”absent1𝐢superscript2superscript𝑛𝑐for-allπ‘₯superscript2𝑛𝐷superscript2superscript𝑛𝑐subscriptfor-all2π‘Œmissing-subexpressionmissing-subexpressionlimit-from𝐢π‘₯0β†’β€œY is an accepting computation of M on x”missing-subexpressionmissing-subexpression𝐢π‘₯1β†’β€œD(β‹…) is an accepting computation of M on x”\begin{array}[]{lcl}\gamma_{M}^{c}&:=&\forall n{\in}\mathit{Log}_{>1}\ \exists C{<}2^{n^{c}}\ \forall x{<}2^{n}\ \exists D{<}2^{n^{c}}\ \forall_{2}Y\\ &&\quad(C(x){=}0\ \to\ \neg\textit{``$Y$ is an accepting computation of $M$ on $x$''})\ \wedge\\ &&\quad(C(x){=}1\ \to\ \textit{``$D(\cdot)$ is an accepting computation of $M$ on $x$''}).\end{array}

Let Mrsubscriptπ‘€π‘ŸM_{r} be the explicit π–­π–³π–¨π–¬π–€(π—‰π—ˆπ—…π—’(r(x))))\mathsf{NTIME}(\mathsf{poly}(r(x))))-machine of Lemma 34. Define

β€œπ–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))βŠˆπ–―/π—‰π—ˆπ—…π—’β€:={¬γMrc∣cβˆˆβ„•}.assignβ€œπ–­π–³π–¨π–¬π–€(π—‰π—ˆπ—…π—’(r(x)))βŠˆπ–―/π—‰π—ˆπ—…π—’β€conditional-setsubscriptsuperscript𝛾𝑐subscriptπ‘€π‘Ÿπ‘β„•\textit{``$\mathsf{NTIME}(\mathsf{poly}(r(x)))\not\subseteq\mathsf{P/poly}$''}\ :=\ \big{\{}\neg\gamma^{c}_{M_{r}}\mid c\in\mathbb{N}\big{\}}.

The following is the analogue of Lemma 30 and is similarly proved.

Lemma 38.

For every cβˆˆβ„•π‘β„•c\in\mathbb{N} and every explicit π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine M𝑀M with one input-tape and without oracles, π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves (Ξ³Mcβ†’Ξ±Mc)β†’subscriptsuperscript𝛾𝑐𝑀subscriptsuperscript𝛼𝑐𝑀(\gamma^{c}_{M}\to\alpha^{c}_{M}).

Lemma 39.

For every cβˆˆβ„•π‘β„•c\in\mathbb{N} and every explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine M𝑀M with one input-tape and without oracles there is dβˆˆβ„•π‘‘β„•d\in\mathbb{N} such that 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) proves (Ξ±Mrcβ†’Ξ±Md)β†’subscriptsuperscript𝛼𝑐subscriptπ‘€π‘Ÿsubscriptsuperscript𝛼𝑑𝑀(\alpha^{c}_{M_{r}}\to\alpha^{d}_{M}) and (Ξ³Mrcβ†’Ξ³Md)β†’subscriptsuperscript𝛾𝑐subscriptπ‘€π‘Ÿsubscriptsuperscript𝛾𝑑𝑀(\gamma^{c}_{M_{r}}\to\gamma^{d}_{M}).

Proof.

This is proved similarly as Lemma 29. We only treat the γ𝛾\gamma-case. Choose fM​(x)βˆˆπ–―π–΅subscript𝑓𝑀π‘₯𝖯𝖡f_{M}(x)\in\mathsf{PV} according to Lemma 34. Argue in π–²21​(Ξ±)+Ξ³Mrcsubscriptsuperscript𝖲12𝛼subscriptsuperscript𝛾𝑐subscriptπ‘€π‘Ÿ\mathsf{S}^{1}_{2}(\alpha)+\gamma^{c}_{M_{r}}. Let nβˆˆπΏπ‘œπ‘”>1𝑛subscriptπΏπ‘œπ‘”absent1n\in\mathit{Log}_{>1} be given. Choose eβˆˆβ„•π‘’β„•e\in\mathbb{N} such that |⟨M,x,fM​(x)⟩|<ne𝑀π‘₯subscript𝑓𝑀π‘₯superscript𝑛𝑒|\langle M,x,f_{M}(x)\rangle|<n^{e} for all x<2nπ‘₯superscript2𝑛x<2^{n}. Choose C0subscript𝐢0C_{0} witnessing Ξ³Mrcsubscriptsuperscript𝛾𝑐subscriptπ‘€π‘Ÿ\gamma^{c}_{M_{r}} for m:=neassignπ‘šsuperscript𝑛𝑒m:=n^{e}. Choose a circuit C𝐢C such that C​(x)=C0​(⟨M,x,fM​(x)⟩)𝐢π‘₯subscript𝐢0𝑀π‘₯subscript𝑓𝑀π‘₯C(x)=C_{0}(\langle M,x,f_{M}(x)\rangle) for all x<2nπ‘₯superscript2𝑛x<2^{n}. We shall choose d𝑑d large enough such that Cβ©½2nd𝐢superscript2superscript𝑛𝑑C\leqslant 2^{n^{d}} and choose C𝐢C to witness the first existential quantifier in Ξ³Mdsubscriptsuperscript𝛾𝑑𝑀\gamma^{d}_{M} for n𝑛n. To verify this choice, let x<2nπ‘₯superscript2𝑛x<2^{n} be given.

If C​(x)=0𝐢π‘₯0C(x)=0, then there are no accepting computations of Mrsubscriptπ‘€π‘ŸM_{r} on βŸ¨M,x,fM​(x)βŸ©π‘€π‘₯subscript𝑓𝑀π‘₯\langle M,x,f_{M}(x)\rangle. By Lemma 34.a and Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension, there are no accepting computations of M𝑀M on xπ‘₯x. If C​(x)=1𝐢π‘₯1C(x)=1, then there is a circuit D0<2mcsubscript𝐷0superscript2superscriptπ‘šπ‘D_{0}<2^{m^{c}} such that D0​(β‹…)subscript𝐷0β‹…D_{0}(\cdot) is an accepting computation of Mrsubscriptπ‘€π‘ŸM_{r} on βŸ¨M,x,fM​(x)βŸ©π‘€π‘₯subscript𝑓𝑀π‘₯\langle M,x,f_{M}(x)\rangle. By Lemma 34.bGM​(D0​(β‹…),x,β‹…)subscript𝐺𝑀subscript𝐷0β‹…π‘₯β‹…G_{M}(D_{0}(\cdot),x,\cdot) is an accepting computation of M𝑀M on xπ‘₯x. By Lemma 14 there is a circuit D𝐷D such that (D​(u)↔GM​(D0​(β‹…),x,u))↔𝐷𝑒subscript𝐺𝑀subscript𝐷0β‹…π‘₯𝑒\big{(}D(u)\leftrightarrow G_{M}(D_{0}(\cdot),x,u)\big{)} for all u⩽⟨pM​(r​(x)),pM​(r​(x),|M|)βŸ©π‘’subscriptπ‘π‘€π‘Ÿπ‘₯subscriptπ‘π‘€π‘Ÿπ‘₯𝑀u\leqslant\langle p_{M}(r(x)),p_{M}(r(x),|M|)\rangle where pMsubscript𝑝𝑀p_{M} is a polynomial such that pM​(r​(x))subscriptπ‘π‘€π‘Ÿπ‘₯p_{M}(r(x)) witnesses M𝑀M. Choose dβˆˆβ„•π‘‘β„•d\in\mathbb{N} large enough such that D<2nd𝐷superscript2superscript𝑛𝑑D<2^{n^{d}}. ∎

Finally, we are in the position to verify that the formulas considered formalize the intended circuit lower bound.

Proposition 40.

The following are equivalent.

  1. (a)

    𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯π–―π—‰π—ˆπ—…π—’\mathsf{NTIME}(\mathsf{poly}(r(x)))\not\subseteq\mathsf{P/poly}.

  2. (b)

    {¬αMrc∣cβˆˆβ„•}conditional-setsubscriptsuperscript𝛼𝑐subscriptπ‘€π‘Ÿπ‘β„•\big{\{}\neg\alpha^{c}_{M_{r}}\mid c\in\mathbb{N}\big{\}}is true.

  3. (c)

    {¬αMc∣cβˆˆβ„•}conditional-setsubscriptsuperscript𝛼𝑐𝑀𝑐ℕ\big{\{}\neg\alpha^{c}_{M}\mid c\in\mathbb{N}\big{\}}is true for some explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine M𝑀M.

  4. (d)

    {¬γMc∣cβˆˆβ„•}conditional-setsubscriptsuperscript𝛾𝑐𝑀𝑐ℕ\big{\{}\neg\gamma^{c}_{M}\mid c\in\mathbb{N}\big{\}}is true for some explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine M𝑀M.

  5. (e)

    {¬γMrc∣cβˆˆβ„•}conditional-setsubscriptsuperscript𝛾𝑐subscriptπ‘€π‘Ÿπ‘β„•\big{\{}\neg\gamma^{c}_{M_{r}}\mid c\in\mathbb{N}\big{\}}is true.

Proof.

To see that (a) implies (b), assume (b) fails, so Ξ±Mrcsubscriptsuperscript𝛼𝑐subscriptπ‘€π‘Ÿ\alpha^{c}_{M_{r}} is true for some cβˆˆβ„•π‘β„•c\in\mathbb{N}. Then the problem accepted by Mrsubscriptπ‘€π‘ŸM_{r} is in 𝖲𝖨𝖹𝖀​[nc]𝖲𝖨𝖹𝖀delimited-[]superscript𝑛𝑐\mathsf{SIZE}[n^{c}]. By Lemma 34 this problem is 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-hard under polynomial time reductions. Since 𝖯/π—‰π—ˆπ—…π—’π–―π—‰π—ˆπ—…π—’\mathsf{P/poly} is downward-closed under polynomial-time reductions, (a) fails. The claim that (b) implies (c) is trivial since Mrsubscriptπ‘€π‘ŸM_{r} is an explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine. That (c) implies (d) follows from Lemma 38. That (d) implies (e) follows from Lemma 39. That (e) implies (a) follows from Lemma 35: by (r1) there is a function t​(n)𝑑𝑛t(n) such that t​(|x|)=r​(x)𝑑π‘₯π‘Ÿπ‘₯t(|x|)=r(x) for every xπ‘₯x; then 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))=𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(t​(n)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘‘π‘›\mathsf{NTIME}(\mathsf{poly}(r(x)))=\mathsf{NTIME}(\mathsf{poly}(t(n))) where the time-bound on the left is written as a function of the input xπ‘₯x and on the right as a function of its length n=|x|𝑛π‘₯n=|x|; further, t​(n)𝑑𝑛t(n) is time-constructible by (r0) and (r1), increasing by (r2) and superpolynomial by (r4). ∎

5.3 Consistency

For a theory π–³π–³\mathsf{T} that extends π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha), the new A,B-statements are the following:

Ar:𝖳+{¬αMc\mathsf{T}+\{\neg\alpha^{c}_{M}∣cβˆˆβ„•}\mid c\in\mathbb{N}\} is consistent for some explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine M𝑀M,
Br:𝖳+{¬γMc\mathsf{T}+\{\neg\gamma^{c}_{M}∣cβˆˆβ„•}\mid c\in\mathbb{N}\} is consistent for some explicit 𝖭𝖳𝖨𝖬𝖀​(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine M𝑀M,
A0r:𝖳+{¬αMrc\mathsf{T}+\{\neg\alpha^{c}_{M_{r}}∣cβˆˆβ„•}\mid c\in\mathbb{N}\} is consistent.
B0r:𝖳+{¬γMrc\mathsf{T}+\{\neg\gamma^{c}_{M_{r}}∣cβˆˆβ„•}\mid c\in\mathbb{N}\} is consistent.

To define the corresponding C-statement, we say that the bounding term of a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula Οˆ=Οˆβ€‹(x)πœ“πœ“π‘₯\psi=\psi(x) is polynomial in r​(x)π‘Ÿπ‘₯r(x) if π–²21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} proves π‘π‘‘​(ψ)β©½p​(r​(x))π‘π‘‘πœ“π‘π‘Ÿπ‘₯\mathit{bt}(\psi)\leqslant p(r(x)) for some polynomial p​(n)𝑝𝑛p(n). Then:

Cr:𝖳+{¬αψc\mathsf{T}+\{\neg\alpha^{c}_{\psi}∣cβˆˆβ„•}\mid c\in\mathbb{N}\} is consistent for some Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula Οˆ=Οˆβ€‹(x)πœ“πœ“π‘₯\psi=\psi(x) whose
bounding term is polynomial in r​(x)π‘Ÿπ‘₯r(x).

Before we prove the analogue of Theorem 32 we state the proof complexity lower bound on which it is based. Recall the Pigeonhole Principle formula π‘ƒπ»π‘ƒβ€‹(x)𝑃𝐻𝑃π‘₯\mathit{PHP}(x) from the proof of Theorem 2. The first strong lower bounds on the provability of π‘ƒπ»π‘ƒβ€‹(x)𝑃𝐻𝑃π‘₯\mathit{PHP}(x) were due to Ajtai [1]; here we need the later quantitative improvements from [4]. This can be called the gem of proof complexity. We use it in the following form. Recall that a function is called length-superpolynomial when it satisfies (r4).

Theorem 41 (Gem Theorem).

For every length-superpolynomial 𝖯𝖡𝖯𝖡\mathsf{PV}-function s​(x)𝑠π‘₯s(x), the theory π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} does not prove π‘ƒπ»π‘ƒβ€‹(s​(x))𝑃𝐻𝑃𝑠π‘₯\mathit{PHP}(s(x)).

Proof.

Consider the Paris-Wilkie propositional translations Fn:=βŸ¨π‘ƒπ»π‘ƒβ€‹(s​(n))⟩nassignsubscript𝐹𝑛subscriptdelimited-βŸ¨βŸ©π‘ƒπ»π‘ƒπ‘ π‘›π‘›F_{n}:=\langle\mathit{PHP}(s(n))\rangle_{n} for nβˆˆβ„•π‘›β„•n\in\mathbb{N}; see [22, Definition 9.1.1] in the form used in [22, Corollary 9.1.4]. Assume for contradiction that 𝑃𝐻𝑃​(s​(x))𝑃𝐻𝑃𝑠π‘₯\mathit{PHP}(s(x)) is provable in π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2}. Then, there exist constants c,dβˆˆβ„•π‘π‘‘β„•c,d\in\mathbb{N} such that for every sufficiently large nβˆˆβ„•π‘›β„•n\in\mathbb{N}, the propositional formulas Fnsubscript𝐹𝑛F_{n} have Frege proofs of depth d𝑑d and size 2|n|csuperscript2superscript𝑛𝑐2^{|n|^{c}}: apply [22, Corollary 9.1.4] with the function f​(x)=x​#​x𝑓π‘₯π‘₯#π‘₯f(x)=x\#x and note that π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} is conservative over the theory considered there: from a model of that theory, get a model of π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} by just adding all bounded sets that are definable by bounded formulas.

Now, let nβˆˆβ„•π‘›β„•n\in\mathbb{N} be large enough to ensure this upper bound and at the same time such that s​(n)>|n|6d​c𝑠𝑛superscript𝑛superscript6𝑑𝑐s(n)>|n|^{6^{d}c}, which exists because s​(x)𝑠π‘₯s(x) is length-superpolynomial. Setting m:=s​(n)assignπ‘šπ‘ π‘›m:=s(n), this means that the propositional formula π‘ƒπ»π‘ƒmm+1:=Fnassignsubscriptsuperscriptπ‘ƒπ»π‘ƒπ‘š1π‘šsubscript𝐹𝑛\mathit{PHP}^{m+1}_{m}:=F_{n} has Frege proofs of depth d𝑑d and size bounded by an exponential in m1/6dsuperscriptπ‘š1superscript6𝑑m^{1/6^{d}}. It is well-known that if mπ‘šm is sufficiently large, then this is false; see [22, Theorem 12.5.3]. ∎

Finally we can prove the analogue of Theorem 32, which entails Theorem 9.

Theorem 42.

For π–³=𝖡20𝖳subscriptsuperscript𝖡02\mathsf{T}=\mathsf{V}^{0}_{2}, all statements Cr, Ar, A0r, Br, B0r are true.

Proof.

The analogue of Proposition 31 for the Ar,Br,Cr-statements has the same proof using Lemmas 38, 39 in place of Lemmas 30, 29. Note that the claim that Ar implies Cr follows from the remark after Equation (9). As in the proof of Theorem 32, that Cr implies Ar for π–³=𝖡20𝖳subscriptsuperscript𝖡02\mathsf{T}=\mathsf{V}^{0}_{2} follows from Lemma 26.a and 26.b. We also need 26.c along with r​(x)β©Ύ|x|π‘Ÿπ‘₯π‘₯r(x)\geqslant|x| by (r1) and (r2) to guarantee that the explicit π–­π–€π–·π–―𝖭𝖀𝖷𝖯\mathsf{NEXP}-machine is an explicit π–­π–³π–¨π–¬π–€β€‹(π—‰π—ˆπ—…π—’β€‹(r​(x)))π–­π–³π–¨π–¬π–€π—‰π—ˆπ—…π—’π‘Ÿπ‘₯\mathsf{NTIME}(\mathsf{poly}(r(x)))-machine.

We are left to show that Cr holds for π–³=𝖡20𝖳subscriptsuperscript𝖡02\mathsf{T}=\mathsf{V}^{0}_{2}. This is proved by tightening the choice of parameters in the argument that proved Theorem 2.

Consider the formula

yβ©½r​(x)βˆ§Β¬π‘ƒπ»π‘ƒβ€‹(y)π‘¦π‘Ÿπ‘₯𝑃𝐻𝑃𝑦y{\leqslant}r(x)\wedge\neg\mathit{PHP}(y)(13)

and write this as ψ=Οˆβ€‹(z)πœ“πœ“π‘§\psi=\psi(z), where z=⟨x,yβŸ©π‘§π‘₯𝑦z=\langle x,y\rangle; i.e., x=Ο€1​(z)π‘₯subscriptπœ‹1𝑧x=\pi_{1}(z) and y=Ο€2​(z)𝑦subscriptπœ‹2𝑧y=\pi_{2}(z) with Ο€1subscriptπœ‹1\pi_{1} and Ο€2subscriptπœ‹2\pi_{2} as 𝖯𝖡𝖯𝖡\mathsf{PV}-functions. The formula Οˆβ€‹(z)πœ“π‘§\psi(z) is logically equivalent to a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula whose bounding term is polynomial in r​(z)π‘Ÿπ‘§r(z) by (r1) and (r2). We claim that 𝖡20+{¬αψc∣cβˆˆβ„•}subscriptsuperscript𝖡02conditional-setsubscriptsuperscriptπ›Όπ‘πœ“π‘β„•\mathsf{V}^{0}_{2}+\{\neg\alpha^{c}_{\psi}\mid c\in\mathbb{N}\} is consistent, which will give Cr.

For the sake of contradiction, assume otherwise. By compactness, there exists cβˆˆβ„•π‘β„•c\in\mathbb{N} such that π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} proves Ξ±Οˆcsubscriptsuperscriptπ›Όπ‘πœ“\alpha^{c}_{\psi}. As in the proof of Theorem 2, we show that this implies that 𝖡20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} proves π‘ƒπ»π‘ƒβ€‹(r​(x))π‘ƒπ»π‘ƒπ‘Ÿπ‘₯\mathit{PHP}(r(x)), which contradicts the Gem Theorem by (r4).

Argue in π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} and set n:=max⁑{|z|,2}assign𝑛𝑧2n:=\max\{|z|,2\}, where z=⟨x,r​(x)βŸ©π‘§π‘₯π‘Ÿπ‘₯z=\langle x,r(x)\rangle. Then Ξ±Οˆcsubscriptsuperscriptπ›Όπ‘πœ“\alpha^{c}_{\psi} on n𝑛n gives a circuit C𝐢C such that, for all uβ©½z𝑒𝑧u{\leqslant}z and vβ©½z𝑣𝑧v{\leqslant}z with βŸ¨u,v⟩⩽z𝑒𝑣𝑧\langle u,v\rangle{\leqslant}z, we have

Β¬C​(⟨u,v⟩)↔(vβ©½r​(u)→𝑃𝐻𝑃​(v)).β†”πΆπ‘’π‘£π‘£π‘Ÿπ‘’β†’π‘ƒπ»π‘ƒπ‘£\neg C(\langle u,v\rangle)\leftrightarrow(v{\leqslant}r(u)\to\mathit{PHP}(v)).

Noting that βŸ¨x,v⟩⩽zπ‘₯𝑣𝑧\langle x,v\rangle{\leqslant}z for all vβ©½r​(x)π‘£π‘Ÿπ‘₯v{\leqslant}r(x), fix u𝑒u to xπ‘₯x in the circuit C​(⟨u,v⟩)𝐢𝑒𝑣C(\langle u,v\rangle) and get a circuit D​(v)𝐷𝑣D(v) such that

βˆ€vβ©½r(x)(Β¬D(v)↔𝑃𝐻𝑃(v)).\forall v{\leqslant}r(x)\ (\neg D(v)\leftrightarrow\mathit{PHP}(v)).

Recall that π–΅20subscriptsuperscript𝖡02\mathsf{V}^{0}_{2} proves that π‘ƒπ»π‘ƒβ€‹(x)𝑃𝐻𝑃π‘₯\mathit{PHP}(x) is inductive. Hence, plugging Β¬D​(v)𝐷𝑣\neg D(v) for π‘ƒπ»π‘ƒβ€‹(v)𝑃𝐻𝑃𝑣\mathit{PHP}(v) gives π‘ƒπ»π‘ƒβ€‹(r​(x))π‘ƒπ»π‘ƒπ‘Ÿπ‘₯\mathit{PHP}(r(x)) by quantifier-free π–―𝖡​(Ξ±)𝖯𝖡𝛼\mathsf{PV}(\alpha)-induction. ∎

6 Magnification

For this section, a βˆƒ2Ξ 1b​(Ξ±)subscript2subscriptsuperscriptΠ𝑏1𝛼\exists_{2}\Pi^{b}_{1}(\alpha)-formula is a Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-formula as in (5) in which its maximal Ξ£01,bsubscriptsuperscriptΞ£1𝑏0\Sigma^{1,b}_{0}-subformula Ο†β€‹(XΒ―,Y,xΒ―)πœ‘Β―π‘‹π‘ŒΒ―π‘₯\varphi(\bar{X},Y,\bar{x}) is a Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula.

Lemma 43.

For every cβˆˆβ„•π‘β„•c\in\mathbb{N} and every βˆƒ2Ξ 1b​(Ξ±)subscript2subscriptsuperscriptΠ𝑏1𝛼\exists_{2}\Pi^{b}_{1}(\alpha)-formula Οˆβ€‹(xΒ―,y)πœ“Β―π‘₯𝑦\psi(\bar{x},y) without free set variables, the theory π–²21​(Ξ±)+Ξ²M0csubscriptsuperscript𝖲12𝛼subscriptsuperscript𝛽𝑐subscript𝑀0\mathsf{S}^{1}_{2}(\alpha)+\beta^{c}_{M_{0}} proves

βˆƒCβˆ€yβ©½z(C(y)=1β†”Οˆ(xΒ―,y)).\exists C\ \forall y{\leqslant}z\ \big{(}C(y){=}1\leftrightarrow\psi(\bar{x},y)\big{)}.(14)
Proof.

Argue in π–²21​(Ξ±)+Ξ²M0csubscriptsuperscript𝖲12𝛼subscriptsuperscript𝛽𝑐subscript𝑀0\mathsf{S}^{1}_{2}(\alpha)+\beta^{c}_{M_{0}}. For simplicity assume xΒ―Β―π‘₯\bar{x} is empty. For Οˆ=Οˆβ€‹(y)πœ“πœ“π‘¦\psi=\psi(y) choose M:=Nψassign𝑀subscriptπ‘πœ“M:=N_{\psi} according to Lemma 26. Note that since Οˆπœ“\psi does not have free set variables, M𝑀M is without oracles. By Lemma 26.5, the formula Οˆβ€‹(y)πœ“π‘¦\psi(y) is equivalent to

βˆƒ2Yβ€‹β€œY is an accepting computation of M on y”.subscript2π‘Œβ€œY is an accepting computation of M on y”\exists_{2}Y\textit{``$Y$ is an accepting computation of $M$ on $y$''}.

By Lemmas 30 and 29 we have Ξ±Mdsubscriptsuperscript𝛼𝑑𝑀\alpha^{d}_{M} for some dβˆˆβ„•π‘‘β„•d\in\mathbb{N}. Let z𝑧z be given and choose nβˆˆπΏπ‘œπ‘”>1𝑛subscriptπΏπ‘œπ‘”absent1n\in\mathit{Log}_{>1} with |z|β©½n𝑧𝑛|z|\leqslant n. Let C𝐢C witness Ξ±Mdsubscriptsuperscript𝛼𝑑𝑀\alpha^{d}_{M} for n𝑛n. This C𝐢C witnesses (14). ∎

It follows that over π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) the circuit upper bound statement Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} implies comprehension for βˆƒ2Ξ 1b​(Ξ±)subscript2subscriptsuperscriptΠ𝑏1𝛼\exists_{2}\Pi^{b}_{1}(\alpha)-formulas without free set variables. For later reference, we note that allowing free set variables entails full Ξ£^11,bsubscriptsuperscript^Ξ£1𝑏1\hat{\Sigma}^{1,b}_{1}-comprehension:

Lemma 44.

𝖲21​(Ξ±)+βˆƒ2Ξ 1b​(Ξ±)subscriptsuperscript𝖲12𝛼subscript2subscriptsuperscriptΠ𝑏1𝛼\mathsf{S}^{1}_{2}(\alpha)+\exists_{2}\Pi^{b}_{1}(\alpha)-comprehension proves 𝖡21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2}.

Proof.

Let π–³π–³\mathsf{T} denote π–²21​(Ξ±)+βˆƒ2Ξ 1b​(Ξ±)subscriptsuperscript𝖲12𝛼subscript2subscriptsuperscriptΠ𝑏1𝛼\mathsf{S}^{1}_{2}(\alpha)+\exists_{2}\Pi^{b}_{1}(\alpha)-comprehension. Since 𝖲21​(Ξ±)+Ξ£11,bsubscriptsuperscript𝖲12𝛼subscriptsuperscriptΞ£1𝑏1\mathsf{S}^{1}_{2}(\alpha)+\Sigma^{1,b}_{1}-comprehension proves π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2}, it suffices to show that the set of formulas that are 𝖳𝖳\mathsf{T}-provably equivalent to an βˆƒ2Ξ 1b​(Ξ±)subscript2subscriptsuperscriptΠ𝑏1𝛼\exists_{2}\Pi^{b}_{1}(\alpha)-formula is closed under ∨\vee, ∧\wedge, βˆƒ2Ysubscript2π‘Œ\exists_{2}Y, βˆƒyβ©½t​(xΒ―)𝑦𝑑¯π‘₯\exists y{\leqslant}t(\bar{x}) and βˆ€yβ©½t​(xΒ―)for-all𝑦𝑑¯π‘₯\forall y{\leqslant}t(\bar{x}). We verify the latter: the formula

βˆ€yβ©½uβ€‹βˆƒ2Y​φ​(XΒ―,Y,xΒ―,u,y)for-all𝑦𝑒subscript2π‘Œπœ‘Β―π‘‹π‘ŒΒ―π‘₯𝑒𝑦\forall y{\leqslant}u\ \exists_{2}Y\ \varphi(\bar{X},Y,\bar{x},u,y)

with Ο†β€‹(XΒ―,Y,xΒ―,u,y)πœ‘Β―π‘‹π‘ŒΒ―π‘₯𝑒𝑦\varphi(\bar{X},Y,\bar{x},u,y)Ξ 1b​(Ξ±)subscriptsuperscriptΠ𝑏1𝛼\Pi^{b}_{1}(\alpha)-formula is π–³π–³\mathsf{T}-provably equivalent to

βˆƒ2Zβ€‹βˆ€yβ©½u​φ​(XΒ―,Z​(y,β‹…),xΒ―,u,y),subscript2𝑍for-allπ‘¦π‘’πœ‘Β―π‘‹π‘π‘¦β‹…Β―π‘₯𝑒𝑦\exists_{2}Z\ \forall y{\leqslant}u\ \varphi(\bar{X},Z(y,\cdot),\bar{x},u,y),

where Z​(y,v)𝑍𝑦𝑣Z(y,v) abbreviates the atomic formula ⟨y,v⟩∈Z𝑦𝑣𝑍\langle y,v\rangle\in Z. Indeed, assuming the former formula, the latter is proved by induction on u𝑒u. As the latter is an βˆƒ2Ξ 1b​(Ξ±)subscript2subscriptsuperscriptΠ𝑏1𝛼\exists_{2}\Pi^{b}_{1}(\alpha)-formula, induction for it follows from comprehension. ∎

The following lemma makes precise the idea sketched in Section 1.3.

Lemma 45.

For every cβˆˆβ„•π‘β„•c\in\mathbb{N} and every model (M,𝒳)𝑀𝒳(M,\mathcal{X}) of S21​(Ξ±)+Ξ²M0csubscriptsuperscript𝑆12𝛼subscriptsuperscript𝛽𝑐subscript𝑀0S^{1}_{2}(\alpha)+\beta^{c}_{M_{0}}, there exists π’΄βŠ†π’³π’΄π’³\mathcal{Y}\subseteq\mathcal{X} such that (M,𝒴)𝑀𝒴(M,\mathcal{Y}) is a model of π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2}.

Proof.

By Ξ”1b​(Ξ±)superscriptsubscriptΞ”1𝑏𝛼\Delta_{1}^{b}(\alpha)-comprehension, for every C∈M𝐢𝑀C\in M that is a circuit in the sense of M𝑀M there is a set Aβˆˆπ’³π΄π’³A\in\mathcal{X} such that

(M,𝒳)βŠ§βˆ€y(C(y)=1↔y∈A).(M,\mathcal{X})\models\forall y\ (C(y){=}1\leftrightarrow y{\in}A).

By extensionality such a set A𝐴A is uniquely determined by C𝐢C and we write C^^𝐢\hat{C} for it. For these two claims we used the fact that C​(y)=1β†’y<2|C|𝐢𝑦1→𝑦superscript2𝐢C(y){=}1\to y{<}2^{|C|} holds in every model of 𝖲21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2}.

Let

𝒴:={C^βˆˆπ’³βˆ£C∈M​ is a circuit in the sense of β€‹M}.assign𝒴conditional-set^𝐢𝒳𝐢𝑀 is a circuit in the sense of π‘€\mathcal{Y}:=\big{\{}\hat{C}\in\mathcal{X}\mid C\in M\textit{ is a circuit in the sense of }M\big{\}}.

Since π’΄βŠ†π’³π’΄π’³\mathcal{Y}\subseteq\mathcal{X}, the model (M,𝒴)𝑀𝒴(M,\mathcal{Y}) satisfies all Ξ 11,bsubscriptsuperscriptΞ 1𝑏1\Pi^{1,b}_{1}-sentences which are true in (M,𝒳)𝑀𝒳(M,\mathcal{X}), so in particular extensionality, set boundedness, Ξ£1b​(Ξ±)subscriptsuperscriptΣ𝑏1𝛼\Sigma^{b}_{1}(\alpha)-induction, and Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}}.

The point of the model (M,𝒴)𝑀𝒴(M,\mathcal{Y}) is that it eliminates set parameters. More precisely, let Ο†β€‹(xΒ―)πœ‘Β―π‘₯\varphi(\bar{x}) be a Ξ£βˆž1,bsubscriptsuperscriptΞ£1𝑏\Sigma^{1,b}_{\infty}-formula with parameters from (M,𝒴)𝑀𝒴(M,\mathcal{Y}), and define Ο†βˆ—​(xΒ―)superscriptπœ‘Β―π‘₯\varphi^{*}(\bar{x}) as follows: replace every subformula of the form t∈C^𝑑^𝐢t{\in}\hat{C} where t𝑑t is a term (possibly with number parameters from M𝑀M) and C^^𝐢\hat{C} is a set parameter from π’΄π’΄\mathcal{Y} by C​(t)=1𝐢𝑑1C(t){=}1 (i.e., by π‘’π‘£π‘Žπ‘™β€‹(C,t)=1π‘’π‘£π‘Žπ‘™πΆπ‘‘1\mathit{eval}(C,t){=}1). Note every set parameter in Ο†β€‹(xΒ―)πœ‘Β―π‘₯\varphi(\bar{x}) becomes a number parameter in Ο†βˆ—​(xΒ―)superscriptπœ‘Β―π‘₯\varphi^{*}(\bar{x}), and

(M,𝒴)βŠ§βˆ€xΒ―(Ο†(xΒ―)β†”Ο†βˆ—(xΒ―)).(M,\mathcal{Y})\models\forall\bar{x}\ (\varphi(\bar{x})\leftrightarrow\varphi^{*}(\bar{x})).(15)

Claim: (M,𝒴)βŠ§π–²21​(Ξ±)models𝑀𝒴subscriptsuperscript𝖲12𝛼(M,\mathcal{Y})\models\mathsf{S}^{1}_{2}(\alpha).

Proof of the Claim. It suffices to show that (M,𝒴)𝑀𝒴(M,\mathcal{Y}) models Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-comprehension. So let φ​(x)πœ‘π‘₯\varphi(x) be a Ξ”1b​(Ξ±)subscriptsuperscriptΔ𝑏1𝛼\Delta^{b}_{1}(\alpha)-formula with parameters from (M,𝒴)𝑀𝒴(M,\mathcal{Y}) and a∈Mπ‘Žπ‘€a\in M. Then Ο†βˆ—β€‹(x)superscriptπœ‘π‘₯\varphi^{*}(x) is a number-sort formula, namely a Ξ”1bsubscriptsuperscriptΔ𝑏1\Delta^{b}_{1}-formula with (number) parameters from M𝑀M. Since MβŠ§π–²21models𝑀subscriptsuperscript𝖲12M\models\mathsf{S}^{1}_{2}, Buss’ witnessing theorem implies that Ο†βˆ—​(x)superscriptπœ‘π‘₯\varphi^{*}(x) is equivalent in M𝑀M to a quantifier-free 𝖯𝖡𝖯𝖡\mathsf{PV}-formula with the same parameters. Lemma 14 applied to n:=max⁑{|a|,2}assignπ‘›π‘Ž2n:=\max\{|a|,2\} gives a circuit C𝐢C in the sense of M𝑀M such that

MβŠ§βˆ€x<2n(C(x)=1β†”Ο†βˆ—(x)).M\models\forall x{<}2^{n}(C(x)=1\leftrightarrow\varphi^{*}(x)).

Then C^βˆˆπ’΄^𝐢𝒴\hat{C}\in\mathcal{Y} and (M,𝒴)𝑀𝒴(M,\mathcal{Y}) satisfies βˆ€yβ©½a(y∈C^↔φ(y))\forall y{\leqslant}a(y\in\hat{C}\leftrightarrow\varphi(y)) by (15). ⊣does-not-prove\dashv

By the Claim and Lemma 44, it suffices to show that (M,𝒴)𝑀𝒴(M,\mathcal{Y}) has βˆƒ2Ξ 1b​(Ξ±)subscript2subscriptsuperscriptΠ𝑏1𝛼\exists_{2}\Pi^{b}_{1}(\alpha)-comprehension. Let Οˆβ€‹(x)πœ“π‘₯\psi(x) be a βˆƒ2Ξ 1b​(Ξ±)subscript2subscriptsuperscriptΠ𝑏1𝛼\exists_{2}\Pi^{b}_{1}(\alpha)-formula with parameters from (M,𝒴)𝑀𝒴(M,\mathcal{Y}), and let a∈Mπ‘Žπ‘€a\in M. Then Οˆβˆ—​(x)superscriptπœ“π‘₯\psi^{*}(x) is a βˆƒ2Ξ 1b​(Ξ±)subscript2subscriptsuperscriptΠ𝑏1𝛼\exists_{2}\Pi^{b}_{1}(\alpha)-formula without set parameters. We already noted that (M,𝒴)⊧βM0cmodels𝑀𝒴subscriptsuperscript𝛽𝑐subscript𝑀0(M,\mathcal{Y})\models\beta^{c}_{M_{0}}. Hence, by the Claim, Lemma 43 applies and gives C∈M𝐢𝑀C\in M such that

(M,𝒴)βŠ§βˆ€xβ©½a(C(x)=1β†”Οˆβˆ—(x)).(M,\mathcal{Y})\models\forall x{\leqslant}a\,(C(x){=}1\leftrightarrow\psi^{*}(x)).

Then C^βˆˆπ’΄^𝐢𝒴\hat{C}\in\mathcal{Y} and (M,𝒴)𝑀𝒴(M,\mathcal{Y}) satisfies βˆ€xβ©½a(x∈C^β†”Οˆ(x))\forall x{\leqslant}a\,(x{\in}\hat{C}\leftrightarrow\psi(x)) by (15). ∎

As announced in Section 1.3 this lemma implies Theorems 10 and 11.

Proof of Theorem 10.

Assume that 𝖳𝖳\mathsf{T} is inconsistent with β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}”. By compactness, 𝖳𝖳\mathsf{T} proves Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} for some cβˆˆβ„•π‘β„•c\in\mathbb{N}. Let Οˆπœ“\psi be a number sort consequence of π–΅21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2} and (M,𝒳)𝑀𝒳(M,\mathcal{X}) a model of π–³π–³\mathsf{T}. We have to show that M⊧ψmodelsπ‘€πœ“M\models\psi. But by Lemma 45 there exists π’΄βŠ†π’³π’΄π’³\mathcal{Y}\subseteq\mathcal{X} such that (M,𝒴)βŠ§π–΅21models𝑀𝒴subscriptsuperscript𝖡12(M,\mathcal{Y})\models\mathsf{V}^{1}_{2}, so (M,𝒴)⊧ψmodelsπ‘€π’΄πœ“(M,\mathcal{Y})\models\psi, and M⊧ψmodelsπ‘€πœ“M\models\psi. ∎

Proof of Theorem 11.

Assume 𝖲21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) does not prove β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}”, say, it does not prove ¬βM0csubscriptsuperscript𝛽𝑐subscript𝑀0\neg\beta^{c}_{M_{0}}. Then there is a model (M,𝒳)𝑀𝒳(M,\mathcal{X}) of 𝖲21​(Ξ±)+Ξ²M0csubscriptsuperscript𝖲12𝛼subscriptsuperscript𝛽𝑐subscript𝑀0\mathsf{S}^{1}_{2}(\alpha)+\beta^{c}_{M_{0}}. By Lemma 45 there exists π’΄βŠ†π’³π’΄π’³\mathcal{Y}\subseteq\mathcal{X} such that (M,𝒴)βŠ§π–΅21models𝑀𝒴subscriptsuperscript𝖡12(M,\mathcal{Y})\models\mathsf{V}^{1}_{2}. Since Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}} is a Ξ 11,bsubscriptsuperscriptΞ 1𝑏1\Pi^{1,b}_{1}-formula, we have (M,𝒴)⊧βM0cmodels𝑀𝒴subscriptsuperscript𝛽𝑐subscript𝑀0(M,\mathcal{Y})\models\beta^{c}_{M_{0}}. Thus, 𝖡21subscriptsuperscript𝖡12\mathsf{V}^{1}_{2} does not prove β€œπ–­π–€π–·π–―βŠˆπ–―/π—‰π—ˆπ—…π—’not-subset-of-or-equalsπ–­π–€π–·π–―π–―π—‰π—ˆπ—…π—’\mathsf{NEXP}\not\subseteq\mathsf{P/poly}”. ∎

Remark 46.

The introduction mentioned that Theorem 11 might raise hopes to complete Razborov’s program by construcing a model of π–²21​(Ξ±)subscriptsuperscript𝖲12𝛼\mathsf{S}^{1}_{2}(\alpha) satisfying some Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}}. There are good general methods to construct models even of certain extensions of π–³21​(Ξ±)subscriptsuperscript𝖳12𝛼\mathsf{T}^{1}_{2}(\alpha) based on forcing (see [35] and [25] for an extension). However, these methods are tailored for Ξ£^11,b​(Ξ±)superscriptsubscript^Ξ£11𝑏𝛼\hat{\Sigma}_{1}^{1,b}(\alpha)-statements, not Ξ 11,bsuperscriptsubscriptΞ 11𝑏\Pi_{1}^{1,b} like Ξ²M0csubscriptsuperscript𝛽𝑐subscript𝑀0\beta^{c}_{M_{0}}. By the method of feasible interpolation and assuming the existence of suitable pseudorandom generators, Razborov [33] proved that for every Σ∞bsubscriptsuperscriptΣ𝑏\Sigma^{b}_{\infty}-definable t​(n)=nω​(1)𝑑𝑛superscriptπ‘›πœ”1t(n)=n^{\omega(1)} and every Σ∞bsubscriptsuperscriptΣ𝑏\Sigma^{b}_{\infty}-formula φ​(x)πœ‘π‘₯\varphi(x) there exists a model (M,𝒳)𝑀𝒳(M,\mathcal{X}) of π–²22​(Ξ±)subscriptsuperscript𝖲22𝛼\mathsf{S}^{2}_{2}(\alpha) that for some n∈M𝑛𝑀n\in M contains a set Cβˆˆπ’³πΆπ’³C\in\mathcal{X} coding a size-t​(n)𝑑𝑛t(n) circuit that computes Ο†β€‹(x)πœ‘π‘₯\varphi(x); i.e., for every a<2nπ‘Žsuperscript2𝑛a<2^{n} there is Xaβˆˆπ’³subscriptπ‘‹π‘Žπ’³X_{a}\in\mathcal{X} coding a computation of C𝐢C on aπ‘Ža of the truth value of Ο†β€‹(a)πœ‘π‘Ž\varphi(a). Getting a circuit (and computations) coded by a number seems to require new ideas.

The best currently known unprovability result is due to Pich [29, Corollary 6.2] and is conditional: a theory formalizing 𝖭𝖒1superscript𝖭𝖒1\mathsf{NC}^{1}-reasoning does not prove almost everywhere superpolynomial lower bounds for SAT unless subexponential-size formulas can approximate polynomial-size circuits. Reaching 𝖲21subscriptsuperscript𝖲12\mathsf{S}^{1}_{2} seems to require new ideas.

References

  • [1] M. Ajtai, The complexity of the pigeonhole principle, in Proceedings of the 29th Annual IEEE Symposium on Foundations of Computer Science, 1988, pp. 346–355.
  • [2] A. Atserias, S. Buss, and M. MΓΌller, On the consistency of circuit lower bounds for non-deterministic time, in Proc. 55th ACM Symposium on the Theory of Computing (STOC), 2023, pp. 1257–1270.
  • [3] A. Atserias and M. MΓΌller, Partially definable forcing and bounded arithmetic, Archive for Mathematical Logic, 54 (2015), pp. 1–33.
  • [4] P. Beame, R. Impagliazzo, J. Krajíček, T. Pitassi, P. PudlΓ‘k, and A. Woods, Exponential lower bounds for the pigeonhole principle, in Proceedings of the 24th Annual ACM Symposium on Theory of Computing, 1992, pp. 200–220.
  • [5] A. Beckmann and S. R. Buss, Improved witnessing and local improvement principles for second-order bounded arithmetic, ACM Transactions on Computational Logic, 15 (2014). Article 2, 35 pages.
  • [6] S. R. Buss, Bounded Arithmetic, Bibliopolis, Naples, Italy, 1986. Revision of 1985 Princeton University Ph.D. thesis.
  • [7] S. R. Buss, L. A. KoΕ‚odziejczyk, and K. Zdanowski, Collapsing modular counting in bounded arithmetic and constant depth propositional proofs, Transactions of the AMS, 367 (2015), pp. 7517–7563.
  • [8] J. BydΕΎovskΓ½, J. Krajíček, and I. C. Oliveira, Consistency of circuit lower bounds with bounded theories, Logical Methods in Computer Science, 16 (2020), pp. 12:1–12:16.
  • [9] J. BydΕΎovskΓ½ and M. MΓΌller, Polynomial time ultrapowers and the consistency of circuit lower bounds, Archive for Mathematical Logic, 59 (2020), pp. 127–147.
  • [10] M. Carmosino, V. Kabanets, A. Kolokolova, and I. C. Oliveira, LEARN-uniform circuit lower bounds and provability in bounded arithmetic, in Proc. 62nd IEEE Symposium on Foundations of Computer Science (FOCS), 2021, pp. 770–780.
  • [11] L. Chen, S. Hirahara, I. C. Oliveira, J. Pich, N. Rajgopal, and R. Santhanam, Beyond natural proofs: Hardness magnification and locality, Journal of the ACM, 69 (2022), pp. 25:1–25:49.
  • [12] S. A. Cook and J. KrajΓ­v cek, Consequences of the provability of NPβŠ†P/polyNPPpoly\mathrm{NP\subseteq\mathrm{P}{/}poly}, Journal of Symbolic Logic, 72 (2010), pp. 1353–1371.
  • [13] M. Furst, J. B. Saxe, and M. Sipser, Parity, circuits and the polynomial-time hierarchy, Math. Systems Theory, 17 (1984), pp. 13–27.
  • [14] R. Impagliazzo, V. Kabanets, and A. Wigderson, In search of an easy witness: Exponential time vs. probabilistic polynomial time, Journal of Computer and Systems Sciences, 65 (2002), pp. 672–694.
  • [15] E. JeΕ™Γ‘bek, Dual weak pigeonhole principle, Boolean complexity, and derandomization, Annals of Pure and Applied Logic, 124 (2004), pp. 1–37.
  • [16]  , Weak Pigeonhole Principle, and Randomized Computation, PhD thesis, Charles University, Prague, 2005.
  • [17]  , Approximate counting in bounded arithmetic, Journal of Symbolic Logic, 72 (2007), pp. 959–993.
  • [18] R. Kannan, Circuit-size lower bounds and non-reducibility to sparse sets, Information and Control, 55 (1982), pp. 40–56.
  • [19] R. M. Karp and R. J. Lipton, Turing machines that take advice, L’Enseignement Mathematique, 28 (1982), pp. 191–209. Earlier version appeared in STOC’80.
  • [20] J. Krajíček, Exponentiation and second-order bounded arithmetic, Annals of Pure and Applied Logic, 48 (1990), pp. 261–276.
  • [21]  , No counter-example interpretation and interactive computation, in Logic From Computer Science: Proceedings of a Workshop held November 13-17, 1989, Mathematical Sciences Research Institute Publication #21, Springer-Verlag, 1992, pp. 287–293.
  • [22]  , Bounded Arithmetic, Propositional Calculus and Complexity Theory, Cambridge University Press, Heidelberg, 1995.
  • [23]  , Forcing with Random Variables and Proof Complexity, Cambridge University Press, 2011.
  • [24] J. Krajíček and I. C. Oliveira, Unprovability of circuit lower bounds in Cook’s theory PV, Logical Methods in Computer Science, 13 (2017).
  • [25] M. MΓΌller, Typical forcings, NP search problems and an extension of a theorem of Riis, Annals of Pure and Applied Logic, 172 (2021), p. 102930.
  • [26] M. MΓΌller and J. Pich, Feasibly constructive proofs of succinct weak circuit lower bounds, Annals of Pure and Applied Logic, 172 (2020), p. 102735.
  • [27] C. D. Murray and R. R. Williams, Circuit lower bounds for nondeterministic quasi-polytime from a new easy witness lemma, SIAM Journal on Computing, 49 (2020), pp. STOC18–300–STOC18–322.
  • [28] I. C. Oliveira and R. Santhanam, Hardness magnification for natural problems, in Proc. 59th IEEE Symposium on Foundations of Computer Science (FOCS), 2018, pp. 65–76.
  • [29] J. Pich, Circuit lower bounds in bounded arithmetic, Annals of Pure and Applied Logic, 166 (2015), pp. 29–45.
  • [30]  , Logical strength of complexity theory and a formalization of the PCP theorem in bounded arithmetic, Logical Methods in Computer Science, 11 (2015), pp. 1–38.
  • [31] J. Pich and R. Santhanam, Strong co-nondeterministic lower bounds for NP cannot be proved feasibly, in Proc. 53rd ACM Symposium on Theory of Computing (STOC), 2021, pp. 223–233.
  • [32] A. A. Razborov, Bounded arithmetic and lower bounds in Boolean complexity, in Feasible Mathematics II, P. Clote and J. Remmel, eds., Boston, 1995, BirkhΓ€user, pp. 344–386.
  • [33]  , Unprovability of lower bounds on the circuit size in certain fragments of bounded arithmetic, Izvestiya of the RAN, 59 (1995), pp. 201–224.
  • [34]  , Pseudorandom generators hard for kπ‘˜k-DNF resolution and polynomial calculus resolution, Annals of Mathematics, 181 (2015), pp. 415–472. Preprint online in 2003.
  • [35] S. Riis, Finitization in bounded arithmetic, Tech. Rep. RS-94-23, Basic Research in Computer Science, 1994. 34 pages.
  • [36] R. Santhanam and R. Williams, On uniformity and circuit lower bounds, Computational Complexity, 23 (2014), pp. 177–205.
  • [37] G. Takeuti, Bounded arithmetic and truth definition, Annals of Pure and Applied Logic, (1988), pp. 75–104.
  • [38] R. Williams, Improving exhaustive search implies superpolynomial lower bounds, SIAM Journal on Computing, 42 (2013), pp. 1218–1244.
  • [39]  , Natural proofs versus derandomization, SIAM Journal on Computing, 45 (2016), pp. 497–529.