Manuscript Offprint
arXiv:2610.37887Proof Theory of Quantifier Shifts - An Overview
(Dedicated to V.P. Orevkov)
Matthias Baaz¹[0000–0002–7815–2501]*and Mariami Gamsakhurdia¹[0009–0009–0468–9945]
Institute of Discrete Mathematics and Geometry, TU Wien, Austria {baaz,mariami}@logic.at
Abstract. Quantifier shifts are one of the oldest proof methods, but they are orthogonal to the cut free format: They can shorten proofs non-elementarily. (The proof is based on the sequence of proofs exhibiting a non-elementary difference between proofs with cuts and cut-free proofs by Orevkov). The cost is, however, that those proofs are globally sound but locally unsound. (Their subderivations might be unsound in contrast to the Hilbert concept of proof). In non-classical logics these calculi are only sound when all quantifier shifts are added. This characterizes all intermediate logics where Skolemization and the epsilon calculus is conservative (in contrast to the epsilon theorem which holds only for finite-valued Gödel logics).
Keywords: Proof Theory · Quantifier Shifts · epsilon Calculus · Non-classical Logics
1 Introduction
Hilbert's epsilon calculus [15] is one of the earliest proof-theoretic formalisms. Its first epsilon theorem (more precisely, the extended first epsilon theorem in modern terminology) constitutes one of the first genuine proof-theoretic results. The epsilon calculus was even regarded by Bourbaki [12] as the most natural formalization of mathematics.
The epsilon formalism is based on the replacement of by and by . Any Hilbert-style proof in a system based on the axiom and the inference rules
can be directly translated to epsilon calculus. The same holds if is in the language and for the sequent-format. The only requirement is a weak regularity condition: this means that whenever the same characteristic variables are used, the same quantified formula in the conclusion follows. In due course of such a
*This research was funded in part by the Austrian Science Fund (FWF) 10.55776/P36571.
translation, the formulas are replaced by and characteristic variables are simply substituted by suitable epsilon terms throughout the proof. Consequently, the translation is independent of whether the underlying propositional calculus is finitely or infinitely axiomatized. Moreover, unlike ordinary first-order calculi, the full deduction theorem remains valid. Consequently, every derivation in the epsilon calculus can be identified with a propositional implication whose antecedent is the conjunction of all critical formulas and whose consequent is the epsilon translation of the final formula.
In classical logic could be used for duality to represent instead of . In this case, we have to add critical formulas directly representing .
The critical formulas immediately yield the classical quantifier-shift principles. For example:
-
generated by .
-
generated by and
-
generated by .
-
generated by and
-
generated by .
-
generated by .
-
generated by and
- similar, non similar when is considered as .
Although Hilbert's epsilon calculus is inherently classical, one may ask what consequences the epsilon formalism has in non-classical logics, i.e., the addition of critical formulas to the propositional axioms of these non-classical logics. From the arguments above it can only be conservative for logics which admit all classically valid quantifier shifts (see the example above). Note, however, that contrary to an argument in Bell [11], the propositional structure is never changed as we might simply delete all term-position in the proof and the critical formulas become propositional formulas of the form .
The first epsilon theorem induces in addition the existence of propositional valid formulas of the form , consequently, in intermediate logics the first epsilon theorem is only valid for finite-valued Gödel logics in Baaz, Zach [10].
When proofs are translated into the epsilon calculus, characteristic variables are replaced by epsilon terms. These epsilon terms may subsequently occur outside the scope of the original quantifier inference, including in the conclusion of the derivation. This observation motivates a relaxation of the traditional characteristic variables conditions and forms the starting point of the present paper.
such that each is either (i) an axiom of the system, or (ii) obtained from preceding formulas () by an application of an inference rule. The last formula is the result or theorem of the proof.
Although this concept is rather recent, the alternatives have been completely forgotten. An alternative is, e.g., the méthode de descente infinie¹ of Fermat cf. Edwards [13]. In the méthode de descente infinie potential counterexamples are transformed in smaller counterexamples, according to a certain order and, separately, this order is shown to be well-founded (The méthode de descente infinie is nowadays partially reflected in the concept of circular proofs). The axiomatic method induces, however, an asymmetry: whereas soundness is demonstrated by simply induction completeness based on more involved arguments.
In this article, we aim for a more basic representation of this phenomenon using proof-theoretic calculi. We concentrate on first-order logic. The key observation is that characteristic variables in epsilon calculus substituted by epsilon terms are allowed to occur in the conclusion. We concentrate on cut-free proofs measured by size (number of symbols). Recall that a function on the natural numbers is elementary if it can be defined by a quantifier-free formula from +, ·, and the function . The main results deal with non-elementary differences between different concepts of cut-free proofs.
Consider the following argument:
-
That Kurt Gödel is Austrian entails that Kurt Gödel is Austrian.
-
Hence, that Kurt Gödel is Austrian entails that everyone is Austrian.
-
That is, if Kurt Gödel is Austrian, then all people are Austrian.
-
Therefore, there exists a person such that, if that person is Austrian, then all people are Austrian.
¹ Natural deduction can be also considered as a non-hilberian proof system, however, an easy transcription transforms it into a hilbert-style proof system.
This argument is globally sound but locally unsound and can be formalized as an instance of the following proof schema:
We consider derivations in sequent calculi. Sequents are expressions of the form , where and represent collections of formulae. The sequent is usually interpreted as 'if all of hold, then at least one of the formulae in holds.' Equivalently, if and , then is interpreted as:
Inferences are expressions of the form
which are to be interpreted as ‘the sequent follows from the sequent .’ Derivations are trees whose leaves are axioms and whose non-leaf nodes are sequents obtained from their predecessors by inferences; they are to be interpreted as proofs of the root sequent. In fact, we frequently refer to derivations as ‘proofs.’
If a formula is changed by an inference, we say that the formula is an auxiliary formula of the inference. If so, then the resulting formula in the conclusion is called the critical formula. An inference is a quantifier inference if the (only) critical formula has a quantifier as its outermost logical symbol. Normally, quantifier inferences consist of substituting a formula for an instance thereof in a sequent, e.g., as in
The polarity of a quantifier in a sequent is defined as follows: rewrite in the form (2) and then rewrite the resulting expression without implication symbols. A quantifier is positive if it is universal (resp. existential) and under the scope of an even (resp. odd) number of negation symbols, and negative otherwise. A quantifier is strong if it is positive and on the right-hand side of a sequent or negative and on the left-hand side of a sequent; it is weak otherwise.
If an inference yields a strongly-quantified formula from , where is a free variable, we say that is the characteristic variable of the inference. We will denote free variables by letters (in contrast, we denote bound variables by ). We denote closed terms by and variants thereof.
We will frequently use Q to denote any unspecified quantifier.
Let be any derivation. We say is a side-variable of in (written ) if contains a strong-quantifier inference of the form:
or of the form:
Definition 1 (Suitable quantifier inference) We say a quantifier inference is suitable for a proof if either it is a weak-quantifier inference, or the following three conditions are satisfied:
– (substitutability) the characteristic variable does not appear in the conclusion of .
– (side-variable condition) the relation is acyclic.
– (weak regularity) the characteristic variable is not the characteristic variable of another strong-quantifier inference in .
We will work with various sequent calculi extending Propositional LK, the sequent calculus whose only axioms are and (with atomic) and whose rules are:
Structural rules:
Logical rules:
Negation is defined as . The names of the structural rules stand, respectively, for 'weakening,' 'contraction,' and 'exchange.' First-order is the extension of Propositional obtained by adding quantifier inferences:
with the only restriction that in the inferences and , the variable is not allowed to appear in the conclusion. In particular, note that every quantifier inference is suitable for every regular -proof. Gentzen's famous Cut-Elimination Theorem states that the cut rule is redundant in both propositional and first-order .
Definition 2 ( ) The calculus is defined like , except that we instead allow all weak and strong quantifier inferences with the proviso that they be suitable for the proof.
A further weakening of the characteristic-variable conditions gives rise to the notion of weak suitability:
Definition 3 (Weakly suitable quantifier inference) A quantifier inference is weakly suitable for a proof if either it is a weak-quantifier inference or it satisfies substitutability, the side-variable condition, and:
– (very weak regularity) whenever the characteristic variable is also the characteristic variable of another strong-quantifier inference in , then it has the same critical formula.
Definition 4 ( ) The calculus is the extension of that results from allowing all weakly suitable quantifier inferences.
Remark 1. Note that any proof is already and proof, therefore compound axioms can be easily cutfree derived from atomic axioms with linear increase of size.
It is easy to find examples of sequences that are more easily provable in than in :
Example 5 The sequent
is cut-free provable in LK:
However, one can find a shorter -proof:
□
There is an astonishing asymmetry between the proofs for soundness and completeness in the usual proof systems: whereas soundness in Hilbert-style proof systems is simply demonstrated by induction on the length of proofs, completeness is a different matter. Here induction is not sufficient.
Theorem 6. If a sequent is -derivable, then it is already -derivable.
Proof. Let be an -proof. Replace every unsound universal quantifier inference by inference:
Similarly replace every unsound existential quantifier by an inference
By doing this, we obtain a proof of the desired sequent, together with many formulae of the form or on the left-hand side. However, we can eliminate each of them by adding an existential quantifier inference and cutting with formulae of the form
or of the form
both of which are easily derivable. Note that the existential quantifier inferences can be carried out in a way that is permissible by because the initial proof satisfied substitutability, weak regularity and the side-variable condition (recall that an derivation is already an derivation).
Corollary 7 If a sequent is derivable in , then it is already derivable in LK.
Each of the three conditions for suitable quantifier inferences have to be fulfilled for and first and second condition for .
- (substitutability is not fulfilled)
incorrect result
- (side-variable condition is not fulfilled)
Note that in and we have and , respectively, incorrect result.
- (very weak regularity is not fulfilled)
incorrect result.
Proposition 1. Contrary to LK in cut-free proofs in weakenings can be moved to the top-most part of the proof and all contractions can be postponed to the lowest part of the proof with minimal increase of the size.
Proof. characteristic variables in cannot be blocked by an occurrence outside the scope. Strong quantifiers may be inferred for the same formula from the same characteristic variable (very weak regularity).
Definition 1. A Herbrand expansion of a sequent with weak quantifiers only is a valid replacement inside-out of all subformulas by some and all subformulas by some .
Proposition 2. (cf. [4] for the prenex case) The extraction of a Herbrand expansion from a cut-free proof with weak quantifiers only is elementary.
Proof. Contractions of ( ) are replaced top-down by conjunctions (disjunctions). This at most doubles the size at any step.
3 The Relation of LK and LK Proofs with Respect to Complexity
In this article, we use size (number of symbols) as complexity measure of proofs as a length or the number of steps is misleading: even a short proof in this sense might encode a larger proof using high term-complexity.
LK, LK , LK proofs can be easily transformed by addition of cuts into a proof of one of the other formats, with linear increase of complexity. This is not trivial for cut-free proofs.
Theorem 8. There is a transformation of a cut-free LK -proof of the end-sequent into a cut-free LK -proof of with an elementary bound in the complexity of .
Proof. Let be a cut-free LK -derivation with end-sequent and characteristic variables of strong quantifier inferences. We replace the old inferences stepwise by inferences with the stronger regularity conditions of LK . These new variables are of the form
where are the old variables still present at the time of the transformation. Consider all inferences of the form
where this inference is an innermost inference not yet changed. Extract a proof of
by deleting all inferences working on and resulting formulas. Locate all places in the proof where is inferred from . Let be such a position. We replace the sub-proof leading to the premise
of this inference by of
Then we replace in the indices of new variables everywhere by . By weakening we obtain
and continue with the proof. ( left inferences are dual.)
Note that by replacing in the indices inferences already transformed to regular inferences remain regular. The side-variable condition is extended correspondingly. Note that the final proof of the original end-sequent after contraction which obviously fulfils the strong regularity condition of also fulfils the non-occurrence of strong inference variables in the end-sequent and the side-variable conditions are acyclic, as only if is a proper subterm of .
Finally, we replace all occurrences of (which are no characteristic variables of any inference anymore) by a fixed constant .
The transformation is exponential in the number of variables w.r.t. the height if weakenings and contractions are not counted. It is therefore elementary in the complexity.
Example 1. Consider the following -proof :
with .
In the following we will use the abbreviations for and for (our end-sequent is ).
is:
The new proof is obtain from and :
where and .
is:
Finally,
\begin{aligned}&\frac{(\varphi^{\prime}(x_{d},x_{f(d)},x_{g(d)}))}{\Pi\vdash\Gamma,\exists y\exists z A(x_{d},y,z)}\quad\frac{(\varphi^{\prime}(x_{e},x_{f(e)},x_{g(e)}))}{\Pi\vdash\Gamma,\exists y\exists z A(x_{e},y,z)}\\&\frac{\Pi\vdash\Gamma,\forall x\exists y\exists z A(x,y,z)}{A(a,a,b),\Pi\vdash\Gamma,\forall x\exists y\exists z A(x,y,z)}\quad\frac{\Pi\vdash\Gamma,\forall x\exists y\exists z A(x,y,z)}{A(a,a,b),\Pi\vdash\Gamma,\forall x\exists y\exists z A(x,y,z)}\\&\frac{C,A(a,a,b),\Pi\vdash\Gamma,\forall x\exists y\exists z A(x,y,z)}{C\lor D,A(a,a,b),\Pi\vdash\Gamma,\forall x\exists y\exists z A(x,y,z)}\\&\frac{C\lor D,\forall y A(a,a,y),\Pi\vdash\Gamma,\forall x\exists y\exists z A(x,y,z)}{C\lor D,\forall x\forall y A(x,x,y),\Pi\vdash\Gamma,\forall x\exists y\exists z A(x,y,z)}\\&\frac{\Pi\vdash\Gamma}{\end{aligned}where .
4 Quantifier Shifts in the Cut-free Contexts
The aboriginal proof strategy of quantifier shifts occurring e.g. in prenexation in classic logic is orthogonal to the concept of cut-free proofs as shown below. however allows to simulate quantifier shifts with low increase of complexity. For this reason, we introduce a calculus for quantifier shifts
Definition 9 The calculus is obtained by extending with the following rules:
where is a context, and , except if is and is taken from the antecedent, in which case is opposite. We refer to these rules as deep quantifier shifts.
Here, recall that, as per our conventions, the syntax of first-order logic includes separate symbols for free and bound variables.
Theorem 10. (cf. Aguilera, Baaz [1]) Cut-free simulates cut-free double-exponentially, i.e., every -provable sequent is -provable and there is a double exponential function that bounds the length of the least cut-free -proof of a -provable sequent in terms of its least cut-free -proof.
Proof. Let be a cut-free -proof of size . We transform it into a cut-free -proof. Assume by induction that there is only one application of a quantifier shift and this is the last inference. We proceed by cases. For simplicity, we assume does not change the polarity of the quantifiers. We also assume is ; the other connectives are treated similarly.
CASE I. The last inference is:
so that the proof has the following structure:
where the denote subproofs. The subproof might split into several branches not indicated in the diagram, each of which could potentially include its own copy of being inferred and its own subproof with conclusion of the form . Each branch can be dealt with the same way and so we will only focus on the indicated parts of .
Similarly, the subproof might split into several branches not indicated in the diagram, each of which could potentially include its own copy of being inferred. This we need to bear in mind. Note that each of those copies of is necessarily inferred from a different characteristic variable. In fact, the variable does not appear below (*), by the regularity of .
We modify the proof. Our approach is as follows: we would like to merge the subproofs and simply by postponing the inference (*) as follows:
The problem that might arise is that some occurrence of that would be contracted in with the indicated occurrence is unable to be contracted. We describe how to deal with each of them.
Notice that the problematic occurrence of must originate from a strong-quantifier inference. Omit that inference and drag the unquantified formula until after (**), so that at that point we have a derivation of
where . Add to that some exchanges to obtain:
and a subproof
in order to infer
with an application of and a contraction, we are left again with
to which we can apply as desired. The proof grows by adding a copy of (3)—of size at most n—for each problematic occurrence of (of which there are at most n). Hence, it grows quadratically.
CASE II. The last inference is:
The proof has the following structure:
As in Case I, the subproof could branch off into several subtrees each of which is taken care of in the same way, and so we only focus on the indicated parts of . We would like to merge the subproofs and as follows:
As before, we face the problem of circumventing a contraction of (possibly several occurrences of) in and solve it in the same way. The proof grows quadratically again. We note the following: it might happen that the term contains some free variable . Hence, the proof of this case does not necessarily go through in , as could be the characteristic variable of a strong-quantifier inference in . Note that the side-variable condition is satisfied.
CASE III. The last inference is:
This is analogous to CASE II.
CASE IV. The last inference is:
This is analogous to CASE I.
CASE V. The last inference is:
The proof has the following form, modulo qualifications as in Cases I and II:
We would like to postpone the inference (*), thus merging and :
\begin{aligned}&\frac{\vdots\sigma_{2}+\sigma_{1}}{\frac{\varGamma^{\prime},A(t)\vdash\varDelta^{\prime},B}{\varGamma^{\prime}\vdash\varDelta^{\prime},A(t)\to B}}(**)\\&\frac{\varGamma^{\prime}\vdash\varDelta^{\prime},\exists x\left(A(x)\to B\right)}{\vdots\sigma_{0}}\\&\frac{\varGamma\vdash\varDelta,\kappa[\exists x\left(A(x)\to B\right)]}{\end{aligned}However, we might have—similarly to the previous cases—an occurrence of that would be contracted on the left-hand side as part of . For simplicity, assume there is only one. This occurrence is inferred from a formula . Postpone this occurrence until after (**) so that at that point we have a derivation of
where . Add to that some exchanges to obtain:
and a weakening:
in order to infer
with an application of and a contraction, we are left again with
to which we can apply the rest of as desired. In this case the proof only grows linearly. As in CASE II, the proof of this case would not necessarily work for , but it is correct from the point of view of , as follows from the regularity of and the fact that the conclusion of the proof is .
CASE VI. The last inference is:
The proof has the following form, modulo qualifications as in Cases I and II:
As before, we would like to postpone the inference (*), thus merging and :
We deal with contractions of on the left-hand side as in the previous case. The proof grows linearly.
CASE VII. The last inference is:
This is analogous to CASE VI.
CASE VIII. The last inference is:
This is analogous to CASE V.
Hence, we have dealt with all the cases. Note that for each quantifier shifted, the proof grows at most quadratically. Since there are at most deep quantifier shifts, the size of the resulting proof is bounded by
and this is elementary.
□
5 Standard Skolemization and Andrews Skolemization
Proof-theoretic Skolemization relates to the replacement of characteristic variables in strong quantifier inferences by Skolem terms and preserves validity. In structural Skolemization, i.e., standard case, the Skolem functions depend on all weak quantifiers in whose scope the transformed subformula occurs.
Definition 2. Let be a closed first-order formula. Whenever does not contain strong quantifiers, we define its structural Skolem form as . Suppose now that contains strong quantifiers. Let and be the first strong quantifier occurring in . If is not in the scope of weak quantifiers, then its structural Skolem form is
where is the formula after omission of and is a new constant symbol not occurring in . If is in the scope of the weak quantifiers , then its structural Skolemization is
where is a fresh (Skolem) function symbol and does not occur in . Given and , define the structural Skolemization of the sequent as
This substitutions increases the size of cut-free proofs in polynomially. In and the standard Skolemization for cut-free proofs in Baaz, Leitsch [6] is not possible (as seen later), i.e., cuts have to be added as in the following example.
Example 2.
Definition 3. For a closed first-order formula , Andrews Skolemization is defined similar to Definition 2. The only difference is that the introduced Skolem functions in Andrews method do not depend on the weak quantifiers that dominate the strong quantifier , but depend on the subset of appearing (free) in the subformula dominated by .
Andrews Skolemization may allow shorter Herbrand sequent.
Example 3. Consider the sequent
Then its structural Skolemization is
and its Andrews Skolemization is
Remark 2. Herbrand disjunctions are generally shortened, cf the formula
The structural Skolemization of this formula is , with shortest Herbrand disjunction
The Andrews Skolemization of the above formula is , with shortest Herbrand disjunction
Remark 3. In the satisfiability sense, Structural Skolemization is obtained by addition of
for corresponding formulas and subformulas. Skolemize them using the axiom of choice
and replace strong quantifiers of the original formulas by Skolem terms. The difference is that it verifies in addition
This is not included in the proof-theoretic Skolemization as the proof-theoretic deSkolemization methods fail (note that Skolemization in this satisfiability context is dual to Skolemization in proof-theoretic context. In the first case, the challenge is Skolemization and in the second case - deSkolemization).
Remark 4. Andrews Skolemization has been originally introduced by the equal satisfiability of
and
bound by weak quantifiers outside B and occurring in B, P new predicate. Skolemize the right component with structural Skolemization and use the equivalence to obtain
Structural Skolemization can be elementarily deSkolemized in cut-free proofs in by Baaz, Hetzel, Weller [3]. (This deSkolemization is double exponential contrary to the deSkolemization in the second epsilon theorem which is exponentially bounded but relates only to prenex formulas). In the following deSkolemization is possible:
– Move all contractions to the bottom according to the Proposition 1.
– Replace the Skolem terms by variables indexed by the Skolem terms.
– Replace the weakening by the adequate formulas with strong quantifiers.
– Order the original Skolem terms from large size to small size.
– Infer weak quantifiers step by step at any stage wherever it is possible.
– Infer strong quantifiers step by step at the top-most possibility for the characteristic variables where s is a maximal Skolem term indexing a still free characteristic variable.
– Repeat this procedure until all free characteristic variables are exhausted.
The soundness is guaranteed by the dependencies of the Skolem functions in the Skolem terms (the side-variable condition is satisfied and very weak regularity enables the top-most inferences). This is an extended form of the second epsilon theorem allowing for the deSkolemization of all sorts of strong quantifiers also with infix occurrences. The price is, however, that it does not lead immediately to a cut-free proof to LK format.
Structural Skolemization is elementarily associated with cut-free proofs in , it is not elementarily associated with cut-free proofs, i.e., there is no elementary translation of cut-free proofs to the cut-free structural Skolemized form (see the next section). Such an elementary translation exists, however, for Andrews Skolemization.
6 Non-elementary Speed-ups of Cut-free and Proofs Relative to Cut-free -Proofs
The arguments in this section are based on the well-known result of Orevkov [17].
Theorem 11. There is a specific family of sequences and specific -proofs such that they have the following properties:
-
the size of is polynomial in ;
-
there is no bound on the size of their smallest cut-free -proofs that is elementary in ;
-
the size of these proofs (with cuts), however, is polynomially bounded in .
Corollary 1. Each worst-case sequence as formulated in Theorem 11 generates a worst-case sequence, where the end-sequences contain weak quantifiers only.
Proof. Skolemize the proofs in the worst-case sequence according to Section 5 and deSkolemize according to [3].
Remark 5. We could use any worst case sequence, e.g., that of Statman [19] or that of Pudlak [18]. In Statman's case, the formalization of Statman result in should be used [6].
Proposition 3. For every proof with cuts of size there is a cut-free proof of size at most ) where closed is added to the end-sequent.
Proof. Replace cuts by implication left inferences, and close under free variables.
This makes it possible to refine the worst-case sequent of Theorem 11.
Theorem 12. There is a specific family of sequences and specific -proofs such that they have the following properties:
-
the size of is elementary in , and contains only weak quantifiers;
-
there is no bound on the size of their smallest cut-free -proofs that is elementary in ;
-
the size of these proofs (with cuts), however, is elementary bounded in ;
-
all cut formulas are closed and prenex.
Proof. We use the cut-free proofs of Proposition 11. We derive corresponding sequent and cut them out. Now we make the cuts prenex. This is done by stepwise deriving outside the shift of quantifiers and cutting the infix inference of quantifier as in Baaz, Leisch [5]. Similar for all other connectives (for details see [5]). Therefore the size of the proofs in the worst case sequence remains elementary in .
In Section 4, we have shown that and simulate quantifier shifts in the cut-free format. The following theorem follows as a consequence of this fact
Theorem 13. (cf. Aguilera, Baaz [1]) There is no elementary function bounding the length of the shortest cut-free LK-proof of a formula in terms of its shortest cut-free LK_shift-proof.
Proof. We will make use of the family of sequences described in Theorem 12
We are left with a cut-free proof whose end sequent is of the form:
Choose any occurrence of a quantifier in that is not in the scope of another quantifier. Since it appears once in the antecedent of and once in the consequent, it appears once with each polarity. Because is assumed to be prenex, we can apply two deep quantifier shifts, so that we are left with a proof of the sequent:
Continue choosing any occurrence of a quantifier in that is not in the scope of another quantifier (within ) and applying deep quantifier shifts in pairs until we obtain a proof of the sequent:
where is quantifier-free and the prefix of consists of alternating quantifiers. Repeat this procedure for each of the to obtain a proof where each formula is replaced by an expression of the form:
where is quantifier free and the quantifier prefix is alternating. Let be the sequent:
Note that, since the size of the initial proof was polynomial in , there were polynomially many quantifiers in the proof; hence, we added only polynomially many deep quantifier shifts, and so the size of the resulting proof of (7) is bounded polynomially in . Moreover, it is cut-free. Consequently, it suffices to show:
Claim. There is no elementary function bounding the size of the smallest cut-free LK-proofs of (7).
Proof. Let be a sequence of such proofs. First, we transform it into a sequence of proofs of the Skolemizations of the sequences (7), so that for each sequent, each of the implications remains only universally quantified.
Then, by Herbrand's theorem, there are propositional proofs of the Herbrand sequences of (7), each of which is of the form:
Moreover, the lengths of the Herbrand sequences are bounded exponentially by the lengths of (see [4]). Each conjunct is a quantifier-free implication of the form:
for some terms . The key point is that, in the process of Skolemizing the sequences (7), exactly one term in each pair was weakly quantified and the other (which was under the scope of the strong quantifier) was replaced by a Skolem function. Hence, either is of the form or is of the form , for some tuple of terms .
Transform the sequent (8) as follows: pick a pair of some disjunct such that the element thereof that was replaced by a Skolem term—say, —does not have any other of as an argument. Such a term of course exists—it is the first term whose quantifier was shifted in (6). Substitute for throughout the sequent.
By repeating this process sufficiently-many times, each formula (9) is transformed into a propositional tautology of the form . This means that the sequent
is also a propositional tautology, whereby so too is , from which follows that it is -provable. By [3], there is an -proof of the unskolemized sequent of length exponential in that of . But this is impossible, since—by assumption—there exist no short proofs of the unskolemized sequent.
Corollary 2. There is a specific family of sequences and specific -proofs such that they have the following properties:
-
the size of is elementary in , and contains only weak quantifiers;
-
there is no bound on the size of their smallest cut-free -proofs that is elementary in ;
-
the size of these proofs (with cuts), however, is elementary bounded in ;
-
all cut formulas are closed and prenex.
Proof. Note that cut-free proofs of sequences with weak quantifiers only coincide for and as shown in Theorem 8.
Corollary 3. There is no elementary structural Skolemization of -proofs.
Proof. As cut-free proofs with weak quantifiers only coincide for and proofs, this would lead to a contradiction as proofs are for sure proofs.
In consequence, we obtain as further results that there is non-elementary difference between resolution-refutations under structural and Andrews Skolemization (note that cut-free and proofs can be elementarily transformed into ground resolution-refutation and vise versa [8]).
7 More Efficient Proof Systems in the Cut-free Context
By considering weaker and weaker side-variable conditions, we obtain calculi with shorter and shorter cut-free proofs (for example, a cut-free proof may simulate not only quantifier shifts but also quantifier distributions. In this case, the elementarily associated Skolemization can be found in Baaz, Lolic [9]). Note that the sequent calculi always appear in pairs depending on weak and very weak regularity.
Epsilon calculus in its sequent formulation allows, however, for a non-elementary speed-up on cut-free and proofs.
The language of the formulas in is the language of -calculus. The rules of are the propositional rules of expanded by the following quantifier rules:
– the weak quantifier inferences
and
– the strong quantifier inferences:
: substitution of for the characteristic variable
: substitution of for the characteristic variable.
Definition 4. An epsilon term overbinds if it is generated by the following inferences
Proposition 4. Every LK-derivation possibly with cuts can be translated into an -derivation of double exponential size.
Proof. All inference steps are replaced by corresponding inference steps with exception of strong quantifier rules, which are replaced by substitution. This means, that every bound variable is replaced by an epsilon expression at most of the size of the existing derivation.
Remark 6. Note that the usual form of epsilon proofs can be obtained by deleting the quantifier inferences of , and replacing them by
and
Example 4. Consider the sequent
Its shortest cut-free LK-derivation is
When we translate the sequent to epsilon calculus we obtain
and the translation of the above proof to is
Note that the formula in the end-sequent above is , and for (*): has been replaced by the substitution of for .
The shortest cut-free derivation of the sequent
in is however
Theorem 14. Consider -sequence which are translation of -sequence with weak quantifiers only. Cut-free proofs can be obtained by the extended first epsilon theorem.
Proof. Retranslate -sequent into epsilon calculus and apply extended first epsilon theorem. This leads to a valid propositional sequent without quantifiers. For this sequent a cut-free proof can be bound exponentially. Weak quantifiers can be reintroduced and formulas can be contracted if necessary. Note that the bound of size is elementary in the bounds of the extended first epsilon theorem.
Theorem 15. There is a sequence of cut-free -proofs of such that
-
the size of is elementary in i;
-
the end-sequences are translations of first-order sequences with weak quantifiers only;
-
the size of these -proofs is elementarily bounded in ;
-
There is no elementary bound on the size of the smallest -proofs of .
Proof. We choose a sequence of -proofs from Corollary 2 which has non-elementarily growing cut-free proofs. We add to the antecedent of the sequents, where are the matrices of the cuts (they are eliminable at double-exponential expenses in and cut-free proofs with weak quantifiers only coincide for and ). We translate the -proofs with cut into epsilon calculus. This lengthens the proof at most double exponentially. In the -proof we replace all cuts on by inferences of on the left side. Then we replace the epsilon terms in by epsilon terms representing the universal quantifiers to obtain
on the left side. Finally, we contract with the existing translations of universal formulas in the end-sequent.
Note that the extended first epsilon theorem provides an upper bound for cut-free -derivations: The number of weak quantifier inferences determines the number of critical formulas. From the Herbrand expansion according to the extended first epsilon theorem we obtain easily a cut-free derivation.
Example 5. This example shows how reduces cuts of arbitrary complexity to universal cuts. Consider the following proof in
The cut is replaced by an application of
\begin{array}{c c}{\frac{P(a,b)\vdash P(a,b)}{\forall y P(a,y)\vdash P(a,b)}\forall_{l}}&{\frac{P(c,d)\vdash P(c,d)}{P(c,d)\vdash\exists y P(c,y)}\exists_{r}}\\ {\frac{\forall x\forall y P(x,y)\vdash P(a,b)}{\forall x\forall y P(x,y)\vdash\forall y P(a,y)}\forall_{r}}&{\frac{P(c,d)\vdash\exists x\exists y P(x,y)}{\forall y P(c,y)\vdash\exists x\exists y P(x,y)}\forall_{l}}\\ {\frac{\forall x\forall y P(x,y)\vdash\exists x\forall y P(x,y)}{\forall x\forall y P(x,y),\exists x\forall y P(x,y)}\to\exists x\forall y P(x,y)\vdash\exists x\exists y P(x,y)}}&{\to_{l}}\\ \end{array}The translation of this derivation to is
Note that
and
Remark 7. The proofs of the theorems above show that no cut-elimination with induction on the complexity of the cut formulas is feasible. In consequence, the first epsilon theorem is an argument of a completely different category.
This section demonstrates that , incorporate only some properties of epsilon calculus, namely the occurrence behavior of epsilon terms, however, the full system is stronger than these calculi by the possibility to overbind epsilon terms by other epsilon terms. This property is however, in contrast to usual unification so no correspondingly resolution-refutation system is known.
8 Suitable Quantifier Inferences for Non-classical Logics
Non-classical versions of , are not sound if the logics do not contain all classical quantifier shift principles. In addition, they do not admit cut-elimination as the following example shows:
Example 6. Consider the following -proof:
If there were a cut-free proof of
by the subformula property, this derivation would consist entirely of subformulas of (11) and would contain no strong quantifier inferences. Therefore, it would already be an LJ-proof. This is impossible, as (11) is not intuitionistically valid.
Remark 8. This example demonstrates, in addition, that Gentzen-style cut-elimination is not feasible for and , as Gentzen-style cut-elimination transforms intuitionistic derivation automatically in intuitionistic derivations.
In this section, we will concentrate on intuitionistic logic and intermediate extensions. In intuitionistic logic, the following three quantifier shifts are not valid:
– Constant Domain (CD):
– Independence of Premise (IP)
– Quantifier Switch (SW):
We denote by and intuitionistic version of , . and are not sound for intuitionistic logic.
and become sound if the lacking second and third quantifier shift instances are added as axioms. (The first shift follows from the other two see Baaz, Gamsakhurdia, Iemhoff, Jalali [2]). This does not change anything in the non-eliminability of cuts in any format.
Note that by the example above, no cut-free proof system with the subformula property is possible. The concept, however, can be used to characterize intermediate logics with Andrews Skolemization and deSkolemization.
An intermediate logic is considered to be given by finitely many axiom schemes and the axiom schemes and rules of intuitionistic logic.
Theorem 16. (See [2]) An intermediate first-order logic admits structural and Andrews Skolemization if all quantifiers shifts are available.
Proof. Note that deSkolemization is not unique. Therefore, all quantifier shifts can be generated by Skolemizing and deSkolemizing. □
Note that the deSkolemization process is inherently non-deterministic, yet equivalent, reconstructed proofs may result depending on how Skolem functions are replaced and quantifiers are reintroduced. This flexibility does not affect correctness or completeness, as the logical structure and dependencies are preserved in all cases.
Theorem 17. Let be an intermediate logic which is sound for Andrews Skolemization and deSkolemization, then derives all classical quantifier shifts.
Proof. Skolemization is sound by substitution, therefore we only have to prove that , , .
- The case . It is easy to see that the only strong quantifier in is the universal quantifier in the succedent of the implication, which is not in the scope of any weak quantifiers. Therefore,
where is a fresh constant symbol not occurring in CD. It is easy to see that . Thus, , and by the assumption we have .
• For the other two cases, with similar reasoning, we have
where is a fresh constant not appearing in and . As and are valid in , thus and .
Note that the deSkolemization of quantifier shift principles is the same for structural and Andrews Skolemization. □
We now intend to show the soundness of the deSkolemization in the presence of all quantifies shift rules, i.e., lacking ones.
Theorem 18. Let L be an intermediate logic deriving all classical quantifier shift rules then L is sound for Andrews Skolemization and deSkolemization.
Proof. Skolemization is sound by substitution, deSkolemization follows from the following: Assume in a Skolemized form is provable using axioms . Then is derivable in LJ. Then is derivable in LJ by substitution again. Then we eliminate cuts in this LJ-proof. This cut-free LJ-proof is also a cut-free -proof. Now we introduce strong quantifiers exactly as the deSkolemization in classical logic (cf. end of Section 6). The result is a cut-free -proof of . The resulting proof is unsound for intuitionistic logic, however, it can be made sound by adding quantifier shifts principles to the antecedent of the end-sequent. This is analogous to the soundness proof of (see Theorem 6) using quantifier shifts which are derivable in .
Remark 9. Note that does not provide a cut-free system for intuitionistic logic expanded with quantifier shifts.
Therefore, there is an extension of the second epsilon theorem for intermediate logic which derive all classical shifts. The price to pay is however that the construction in this theorem does not lead to cut-free proofs. Furthermore, the -proofs lead to expansions as usual, which can be considered as extensions of the Herbrand Theorem in the sense that their soundness is not based on propositional validity only but is derived from variants of the shift principles. This is not uncommon in logics, cf. the number theoretic Herbrand disjunction in the analysis of the theorem of Roth which is validated by Peano arithmetic (Luckhardt [16]).
Remark 10. The same argumentation holds for most logics with an underlying analytic calculus whose + and ++ variants are given. Consequently, an extension of S4 admits Skolemization and deSkolemization iff all classical quantifier shifts are present. That is iff and can be shifted through .
As a consequence of the soundness of Skolemization and deSkolemization, we obtain, in addition, the conservativity of epsilon calculus understood as addition of critical formulas to the quantifier-free parts. Here, we deal with non-classical logics and, therefore, we have to represent by and critical formulas (cf. Bell [11]).
First, we analyze the structure of epsilon terms.
Definition 5. An -term (no variables are bound from outside the term) is included in an -term if is a proper subterm of .
An -term is subordinate to an -term if occurs in and occurs in .
A ground function of an epsilon term is the skeleton remaining when all included subterms are removed.
The same definition holds for .
Example 7. Consider the -term:
for some constant 0.
is subordinated to .
is are included in .
0 is included, but is the only maximal term included in .
The ground function is
Ground functions can be identified with Skolem functions, composed epsilon terms can be identified with Skolem terms, therefore epsilon terms can be translated into Skolem terms.
Example 8. The corresponding Skolem term for the above example is .
We now sketch the argument of the conservativity of epsilon calculus.
Theorem 19. For every intermediate logic, where structural Skolemization and deSkolemization is sound, translation to epsilon calculus adding critical formulas is conservative.
Proof. (Sketch.)
- Consider a proof of a formula in epsilon calculus which is an epsilon-translation of a formula with weak quantifiers only. Let be defined as with all sequences restricted at most to one on right side and
replaced by
We obtain a derivation of a sequent with all critical formulas in the antecedent and the epsilon-translation of the formula in the succedent. Remove all propositional cuts. Now we replace all epsilon terms by Skolem terms using the identification of ground functions on Skolem functions depending on the maximal included subterms. We are now in LJ.
• Introduce weak quantifiers to reconstruct original end-sequent.
• Introduce existential quantifier on the left (right side for the transformed critical formula) if the original inference has be on the right (left) side.
• Replacing the term t by its bound variables, where t is a term replaced by epsilon term in the critical formula.
• Introduce on transformed critical formula for all maximal included terms.
Confer the example:
• There is a Skolem function not occurring in the domain of other Skolem functions (this is guaranteed by the strictness of the order of subordination). DeSkolemize with respect to these Skolem functions.
We obtain according to the example
• Derive the transformed critical formula in LJ and cut it with the corresponding formula in the antecedent.
• Eliminate these cuts. (This is necessary as a transformed critical formula might contain other Skolem functions).
• Repeat the procedure until exhausting the Skolem functions.
□
Note that more and more quantifeir shifts are added to the antecedents during the deSkolemization process.
Remark 11. The conservativity of epsilon calculus in intermediate logics with quantifier shifts does not mean that the (extended) first epsilon theorem holds, which is feasible only for the finite-valued first-order Gödel logics.
9 Conclusion
Another application of is the possibility to handle macros of quantifiers as a single quantifier of its own. This is not possible in as shown in Baaz, Lolic [7]. The same principle holds for higher-order systems and corresponding partial systems, e.g., for Henkin quantifiers defined in the sense of
being defined as second-order formula , where and are function variables.
This demonstrates the adaption of LK to achieve specific mathematical insights. Maybe in future mathematical theories will be associated with their specific proof systems in proof theory in the same way as mathematical theories being associated with specific classes of models in model theory.
References
-
J. P. Aguilera and M. Baaz. Unsound inferences make proofs shorter. J. Symb. Log., 84(1):102–122, 2019.
-
M. Baaz, M. Gamsakhurdia, R. Iemhoff, and R. Jalali. Skolemization in intermediate logics. (Submitted to APAL), arXiv abs/2501.15507, 2025.
-
M. Baaz, S. Hetzl, and D. Weller. On the complexity of proof deskolemization. J. Symb. Log., 77(2):669–686, 2012.
-
M. Baaz and A. Leitsch. On skolemization and proof complexity. Fundam. Informaticae, 20(4):353–379, 1994.
-
M. Baaz and A. Leitsch. Cut normal forms and proof complexity. Ann. Pure Appl. Log., 97(1-3):127–177, 1999.
-
M. Baaz and A. Leitsch. Methods of Cut-elimination, volume 34. Springer Science & Business Media, 2011.
-
M. Baaz and A. Lolic. Note on globally sound analytic calculi for quantifier macros. In WoLLIC, volume 11541 of Lecture Notes in Computer Science, pages 486–497. Springer, 2019.
-
M. Baaz and A. Lolic. Andrews skolemization may shorten resolution proofs non-elementarily. Logical Foundations of Computer Science, pages 9–24, 2022.
-
M. Baaz and A. Lolic. Effective skolemization. In WoLLIC, volume 13923 of Lecture Notes in Computer Science, pages 69–82. Springer, 2023.
-
M. Baaz and R. Zach. Epsilon theorems in intermediate logics. The Journal of Symbolic Logic, 87(2):682–720, 2022.
-
J. L. Bell. Hilbert's -operator in intuitionistic type theories. Mathematical Logic Quarterly, 39(1):323–337, Nov. 2006.
-
N. Bourbaki, editor. Elements of Mathematics, Theory of Sets. Springer, 1968.
-
H. M. Edwards. Fermat's Last Theorem: A Genetic Introduction to Algebraic Number Theory, volume 50 of Graduate Texts in Mathematics. Springer Science & Business Media, New York, NY, 2000.
-
D. Hilbert. Grundlagen der Geometrie. B.G. Teubner, Leipzig, 1 edition, 1899.
-
D. Hilbert and P. Bernays. Grundlagen der Mathematik, volume 2. Springer, Berlin, 1939.
-
H. Luckhardt. Herbrand-analysen zweier beweise des satzes von roth: Polynomiale anzahlschranken. Journal of Symbolic Logic, 54(1):234–263, 1989.
-
V. P. Orevkov. Lower bounds for increasing complexity of derivations after cut elimination. Journal of Soviet Mathematics, 20(4):2337–2350, 1982.
-
P. Pudlák. The lengths of proofs. handbook of proof theory, edited by samuel r. buss, studies in logic and the foundations of mathematics, vol. 137, elsevier, amsterdam etc. 1998, pp. 547–637. Bulletin of Symbolic Logic, 6(4):473–475, 2000.
-
R. Statman. Lower bounds on Herbrand's theorem. Proceedings of the American Mathematical Society, pages 104–107, 1979.