Abstract
The essential structure of derivations is used as a tool for measuring the complexity of schema consequences in propositional-based logics. Our schema derivations allow the use of schema lemmas and this is reflected on the schema complexity. In particular, the number of times a schema lemma is used in a derivation is not relevant. We also address the application of metatheorems and compare the complexity of a schema derivation after eliminating the metatheorem and before doing so. As illustrations, we consider a propositional modal logic presented by a Hilbert calculus and an intuitionist propositional logic presented by a Gentzen calculus. For the former, we discuss the use of the metatheorem of deduction and its elimination, and for the latter, we analyze the cut and its elimination. Furthermore, we capitalize on the result for the cut elimination for intuitionistic logic, to obtain a similar result for Nelson’s logic via a language translation.
Keywords:
schematic complexity; propositional-based schema calculus; schema derivation; schema metatheorems MSC:
03F20; 03F03; 03B22; 03B45; 03B55
1. Introduction
One of the main concerns of proof theory is related to the complexity of symbolic proofs, as stated by David Hilbert in [1], namely in finding criteria for simplicity in mathematical proofs.
This topic, started by Gerhard Gentzen (see [2]), has been under intensive research by many authors, namely concerning the general structure of proofs, normal forms and their relevant properties (see [3,4,5,6,7,8,9,10,11,12]). For an extensive overview of different possible complexity measure, the reader is invited to consult [12].
In [13], we addressed the problem of measuring the complexity of derivations in FOL by using as measure the size of the derivations as well as the length of each step (in the terminology of [12,14], with respect to Frege systems, we discuss ; that is the minimum number of symbols in a schema derivation for ). In [13], two derivations can have the same complexity, except for some non-essential details; that is, they share the same schema derivation. Thus, both should have the same complexity, measured by the complexity of the schema derivation. The adopted view of complexity of a formula is related to Kolmogorov’s notion of the complexity of a description [15,16].
Herein, we address the role of schema lemmas and schema metatheorems in the complexity of schema derivations, as recognized in [12]. We concentrate on schema derivations in the context of propositional-based logics. These schema derivations give the foundation for the complexity measure. We allow the use of schema lemmas in schema derivations. The complexity of a schema derivation is not affected by the number of times that the same lemma is applied. This approach can be used both for Hilbert calculi and Gentzen calculi. This is illustrated with a Hilbert calculus for modal logic as well as by a Gentzen calculus for intuitionistic logic.
After the initial set-up, we focus on the application of metatheorems. Given the complexity of a schema derivation where a metatheorem was applied, we show how to use it to obtain a bound on the complexity of a schema derivation where the metatheorem is not used. We discuss the case of the metatheorem of deduction in a Hilbert calculus and the case of cut in a Gentzen calculus. Examples are provided for both cases for modal logic and intuitionistic logic, respectively.
The paper is organized as follows. In Section 2, we define the schema calculus, in particular, the Hilbert and Gentzen calculi. For the Gentzen calculi, we typify the connectives according to their arity and semantic behaviors in order to accommodate what we call regular Gentzen calculi. Moreover, we set up the Hilbert schema calculus for modal logic and the Gentzen calculus for intuitionistic logic. In Section 3, we define schema proof, schema derivation, and schema lemma. We also introduce the notion of schema derivation using schema lemmas. Examples are provided. Section 4 is dedicated to schema derivation complexity and how the use of lemmas relates to complexity. In Section 5, we define schema metatheorem and in particular the metatheorem of deduction for a Hilbert calculus and the cut metatheorem for a Gentzen calculus. We have results on the elimination of such metatheorems and how the schema complexity is affected by the respective elimination. We conclude in Section 6 with some remarks on future work.
2. Schema Calculus
We introduce the notion of schema calculus for propositional-based logics (that is, logics without quantifiers) where we can forget some details and concentrate on the structure of derivations. In doing so, many derivations have the same schema. Our schema notions are general enough to accommodate Hilbert and Gentzen schema calculi as special cases.
Let be a denumerable set of schema variables (schema variables can be instantiated in a particular formula producing another formula). A propositional-based signature is a family
where is the set of operators of arity k for . The set of schema formulas or the schema language over C is inductively defined as follows:
- ;
- , provided that and .
When there is no ambiguity, we can skip the subscript in . We denote by the schema language over and by the schema language over .
Definition 1.
A schema calculus over C is a tuple
where
- DL is a set of schema deductive assertions (or the schema deductive language);
- is an injective translation map;
- is a finite set of schema axioms;
- is a finite set of schema derivation rules;
- is a finite set of schema proof rules;
such that where is the set of all finite subsets of DL.
We will present a rule as follows:
and an axiom as
The schema deductive language is relevant when dealing with calculi where the deductive unit is not the formula. This is the case, for instance, with sequent calculi where the deductive unit is the sequent. When the deductive unit is the formula, then DL coincides with . This is the case in Hilbert calculi. The distinction between schema derivation rules and schema proof rules is needed in order to cope, for example, with the use of necessitation in modal logic.
Herein, we focus only on two kinds of schema calculi: Hilbert schema calculi and Gentzen schema calculi. Namely, we consider as working examples the Hilbert schema calculus for modal logic and the Gentzen schema calculus for intuitionistic logic .
A Hilbert schema calculus is a schema calculus, such that
- DL is ;
- is the identity.
Example 1.
The signature for modal logic is defined as follows: , and for . A Hilbert schema calculus for modal logic over is a Hilbert schema calculus
such that
- is composed by the following axiom schemas:
- K
- 4
- T
- is composed by the following schema derivation rule:
- contains as well as the schema proof rule:
for .
A Gentzen schema calculus is a schema calculus such that
- DL is the set of all sequents;
- is ;
- includes
where a sequent is a pair of finite multisets of schema formulas presented as
We use for denoting multisets. Moreover, we write instead of .
Definition 2.
A Gentzen calculus over C is regular whenever the rules for each and are either of the type
- (i)
- or
- (ii)
- or
- (iii)
- for eachor
- (iv)
- for eachfor each
where . In the first type of rules, we assume that if then in R c the premise is and in rule L c the premises of the left hand side are omitted. Furthermore, if then in rule R c the premise is , and in rule L c the premises on the right hand side are omitted. The same conventions apply to the second type of rules.
Example 2.
The signature for intuitionistic logic is defined as follows: , and for . The Gentzen schema calculus
for intuitionistic logic over is a Gentzen schema calculus
such that
- is composed by
- is composed by the following schema derivation rules:
- for
for and Π is an multiset. Observe that is a regular Gentzen schema calculus because rules for ⊃ are of type (i) with and , rules for ∧ are of type (ii) with , and rules for ∨ are of type (iii) with .
In general, a cut rule is either of the form
or
A Gentzen schema calculus is cut-free if it does not include the cut rule. Below, we will discuss a result that states that we can always work with a cut-free Gentzen schema calculus provided that this calculus is regular.
3. Schema Derivation and Lemmas
Given a schema calculus, we can define what are schema proofs and schema derivations. As expected, every schema derivation is a schema proof, but not the other way around.
Definition 3.
Let be a schema calculus and . We say that τ is schema provable from Δ in , written
whenever there is a finite sequence in DL such that:
- is τ;
- for each
- -
- either ;
- -
- or is an instance of a schema axiom in ;
- -
- or is an instance of the conclusion of a schema rule r in and the instances of the premises of r occur in positions contained in .
The sequence ω is a schema proofof τ from Δ. We say that τ is schema provable whenever τ is schema provable from the empty set.
We now extend the notion of schema proof to formulas in the schema language .
Definition 4.
Let . Then, η is schema provable fromΘ in , written
whenever is schema provable from in , that is, . When Θ is empty then η is a schema theorem.
Example 3.
Recall the Hilbert calculus defined in Example 1. Let
Then,
since
is a schema proof of from Θ.
| 1 | Hyp | |
| 2 | :1 | |
| 3 | K | |
| 4 | MP:2,3 |
Example 4.
Recall the Gentzen calculus defined in Example 2. We now show that
that is, is schema provable. In fact
is a schema proof of .
| 1 | ||
| 2 | ||
| 3 | :1 | |
| 4 | :3,2 | |
| 5 | :4 | |
| 6 | :5 |
Definition 5.
Let be a schema calculus and . We say that τ is schema derivable from Δ in , written
whenever there is a finite sequence in DL such that:
- is τ;
- for each
- -
- either ;
- -
- or is an instance of a schema axiom in ;
- -
- or is an instance of the conclusion of a schema rule r in and the instances of the premises of r occur in positions contained in ;
- -
- or is schema provable.
The sequence ω is a schema derivation of τ from Δ.
We now introduce the notion of schema lemma.
Definition 6.
Let be a schema calculus and . Whenever τ is schema derivable from Δ in , we say that is a schema lemma.
Let be a set of schema lemmas and . We write
whenever there is a schema derivation using as schema derivation rules the rules in and the schema lemmas in . We can extend the notion of schema lemma to allow the use of schema lemmas in the schema derivation of other schema lemmas. The set should be closed under dependencies of schema lemmas. Note that coincides with . Observe that the notion of schema provable can also be extended to encompass schema lemmas.
As expected, we extend this notion to schema formulas in . Let . Then, we write
whenever there is a schema derivation of . In the following examples, we highlight the use of schema lemmas. When , we write .
Example 5.
Recall the Hilbert calculus defined in Example 1. Let where sHS is the schema lemma
and ω the sequence
| 1 | sAx1 | |
| 2 | sAx3 | |
| 3 | sHS1,2 | |
| 4 | 3 | |
| 5 | K | |
| 6 | sMP4,5 | |
| 7 | K | |
| 8 | 6,7 | |
| 9 | ||
| 10 | 9,8 |
Hence,
since in ω the necessitation rule in step (4) was used over a schema theorem.
Observe that the schema lemma sHS was used twice in . Let be the following schema derivation:
| 1 | Hyp | |
| 2 | Hyp | |
| 3 | sAx1 | |
| 4 | sMP 2,3 | |
| 5 | sAx2 | |
| 6 | sMP 4,5 | |
| 7 | sMP 1,6 |
Example 6.
Recall the Gentzen calculus defined in Example 2. As usual, we define as an abbreviation of . Consider the following schema derivation lemmas
with schema derivation
| 1 | ||
| 2 | R⊃:1 |
and
with schema derivation
where means that the left weakening may be applied several times. We now show that
where . In fact, consider the schema derivation:
| 1 | ||
| 2 | ||
| 3 | :1 | |
| 4 | :3,2 |
| 1 | ||
| 2 | :1 | |
| 3 | R⊃:2 | |
| 4 | :3 | |
| 5 | :4 | |
| 6 | ||
| 7 | :6 | |
| 8 | R⊃:7 | |
| 9 | :8 | |
| 10 | :9 | |
| 11 | :10 | |
| 12 | L⊃:11,5 | |
| 13 | :12 | |
| 14 | R⊃:13 |
4. Schema Derivation Complexity
For defining schema complexity, we need to introduce an additional information on schema proofs and derivations. We start by considering the schema derivation complexity over DL. Then we extend the notion to schema formulas.
Given a set of schema lemmas and , the notation
states that is a schema derivation of using (directly or indirectly) schema lemmas in . Furthermore, we denote by the total number of symbols in a sequence.
Definition 7.
Let be a schema lemma in . Then, the schema complexity of is
The schema complexity of τ given a set of schema lemmas Λ and Δ in is
Furthermore, we define as given .
When and are empty sets then is the minimum number of symbols in a derivation of in (this measure corresponds to in [12]).
Observe that we count once the derivation of each lemma, even if the lemma is applied several times, directly or indirectly. Moreover, we only consider, for the complexity, the total number of symbols of the derivation of each used lemma after removing the hypotheses and the conclusion of the lemma.
We now compare the complexity of schema derivation using different sets of schema lemmas.
Proposition 1.
Let and Λ and sets of schema lemmas such that . Then,
Proof.
It is enough to observe that any schema derivation using schema lemmas in is also a schema derivation using schema lemmas in . □
In particular, for any set of schema lemmas.
Example 7.
Consider the schema derivation ω for
introduced in Example 5 where Λ is . Furthermore, recall the schema derivation for schema lemma sHS. Observe that
Hence,
So
where . Note that schema lemma sHS was used twice in the schema derivation, but it only counts once for the schema derivation complexity.
Example 8.
Consider the schema derivation ω for
given in Example 6 with . Note that
Thus,
Hence,
where . In this case, the schema lemma has no impact on the schema derivation complexity. Moreover, although the schema lemma was used four times, it only counts once on the schema derivation complexity.
5. Schema Metatheorems
A schema metatheorem over is a pair
written
such that each , for , is a meta premise and is the meta conclusion of the schema metatheorem.
5.1. Metatheorem of Deduction in Hilbert Like Calculi
The metatheorem of deduction is associated with implication. Since we are working in a general setting we need to make precise what is a Hilbert calculus with implication.
We say that a Hilbert schema calculus has implication if and the following schema metatheorems of modus ponens (MTMP) and deduction (MTD)
hold.
The schema MTD can be characterized in by some schema lemmas. That is, a deductive system has the MTD, provided that certain schema lemmas hold. Consider the following pairs:
- (L1) ;
- (L2) ;
- (LD) for every schema derivation rule where is a fresh schema variable.
The following result gives a necessary and sufficient condition for MTD to hold in a Hilbert schema calculus.
Proposition 2.
Let be a Hilbert schema calculus with and MTMP. Then MTD holds in iff L1, L2, LD are schema lemmas for every .
Proof.
We must prove the three properties:
(L1) Observe that and so by MTD .
(L2) Note that and so by MTD .
(LD) Assume that . Since for then using MTMP, we have
for . Hence,
and so by MTD .
Assume that . Let be a schema derivation of from and . We prove the result by induction on m.
(Basis) . There are four possibilities.
(a) is a schema axiom. Then consider the schema derivation:
| 1 | sAx | |
| 2 | L2:1 |
(b) is an hypothesis. Then consider the schema derivation:
| 1 | Hyp | |
| 2 | L2:1 |
(c) is schema provable, that is . Then consider the schema derivation:
where sThm means that is a schema theorem (hence, has a schema proof).
| 1 | sThm | |
| 2 | L2:1 |
(d) is . Then consider the schema derivation
(Step) is an instance of the conclusion of a schema derivation rule r and the instances of the premises are assuming that r has n premises. Hence, and so, by the induction hypothesis, , for every . Then consider the following schema derivation:
shows that . □
| 1 | L1 |
| 1 | IH | |
| ⋮ | ||
| n | IH | |
| LD: |
In order to avoid the overloading of the notation we omit the reference to schema lemmas L1, L2, LD for in the meta conclusion of the MTD. Before extending the previous result to schema derivations using schema lemmas, we establish a useful result for the schema proof rules.
Proposition 3.
Let be a Hilbert schema calculus with and MTMP. Assume that L1, L2, LD for every are schema lemmas. Then, for every instance of a schema proof rule
(LP)
is a schema lemma, provided that are schema theorems and ξ is a fresh schema variable.
Proof.
Assume that is an instance of a schema proof rule and that are schema theorems. Then is also a schema theorem. So, using L2, it follows that is a schema theorem. □
Let be a pair and define where is a fresh schema variable. The following result is an immediate consequence of Proposition 2.
Proposition 4.
Let be a Hilbert schema calculus with implication. Then
Let be a set of schema lemmas. We define
The following result is useful for detailing how to get a schema derivation for from out of a schema derivation for from and in the presence of schema lemmas.
Proposition 5.
Let be a Hilbert schema calculus with and MTMP, and Λ be a set of schema lemmas. Then if L1, L2, LD for every are schema lemmas then
hold.
Proof.
We only prove that holds. Let be a schema derivation for . Consider the sequence obtained from as follows: for each ,
- is either an axiom or an element in . Then replace by
or j L2:j - is . Then replace by justified by L1;
- is the conclusion of an instance of a schema derivation rule r. Then replace by with justification ;
- is the conclusion of an instance of a schema lemma . Then replace by with justification ;
- is the conclusion of an instance of a schema proof rule r. Then replace by with justification .
We now show by induction on k that is a schema derivation for .
(Base) . Then is either an axiom or an element of or is . Thus, by construction of , is a schema derivation for .
(Step) (1) is the conclusion of an instance of a derivation rule r. Then, by the induction hypothesis, for . Hence, by construction of , is a schema derivation for .
(2) is the conclusion of an instance of the schema lemma . Then, by the induction hypothesis, for . Hence, by construction of , is a schema derivation for observing that .
(3) is the conclusion of an instance of a schema proof rule r. Then, by the induction hypothesis, for . Hence, by construction of , is a schema derivation for observing that if is a theorem then must also be a theorem for and, in these conditions, LP is a schema lemma by Proposition 3. □
Example 9.
Note that has implication. We now prove that has the MTD. According to Proposition 2, it is enough to show that L1, L2, and LDsMP are schema lemmas. We only show LDsMP. For that, it is enough to observe that the sequence
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | :2,3 | |
| 5 | :1,4 |
is a schema derivation for .
Example 10.
Recall Example 5 where . In this case
Recall also that has implication, as shown in Example 9. Then the sequence defined is as follows
| 1 | L2: | |
| 2 | L2: | |
| 3 | :1,2 | |
| 4 | :3 | |
| K | ||
| 5 | L2: | |
| 6 | :4,5 | |
| K | ||
| 7 | L2: | |
| 8 | :6,7 | |
| 9 | L1 | |
| 10 | 9,8 |
is a schema derivation for
Observe that this schema derivation was obtained from the schema derivation in Example 5 using the proofs of Proposition 5 and Proposition 3.
Proposition 6.
Let be a Hilbert schema calculus with implication, Λ a set of schema lemmas and ω a schema derivation for Then there is a constant κ, such that
Proof.
The first two terms of the bound of the schema complexity are a direct consequence of the proof of Proposition 5. The following expression
is a bound for constant . □
Example 11.
Recall Example 7. Then
where κ is
5.2. Cut in Gentzen Like Calculi
Let be a regular Gentzen schema calculus with the following cut rule
A possible instantiation of the Cut rule is
where is said to be the cut formula. The depth of a schema formula is defined as follows:
- ;
- .
The depth of a cut instantiation is the depth of its cut formula. For more details on cut elimination, the reader should consult [17].
We use the following notations: means that there is a schema derivation of from S in and cut in which all the cuts have a depth of at most d and means that there is a schema derivation of from S in and cut in which the final step is a cut of depth d, and all the other cuts have a depth of at most . In order to investigate the impact of the elimination of cuts of depth d, we need to work with more fine grained complexity measures. We denote by
the complexity of the smallest schema derivation for using cuts with at most depth d. Moreover, we denote by
the complexity of the smallest schema derivation for ending with an application of a cut rule of depth d and all the other cuts have depth at most .
Finally, we use for denoting a cut-free schema derivation. Observe that for cut elimination we will use schema lemmas that depend on the main connective of the cut formula. Hence, we associate schema lemmas with each connective depending on its type (recall Definition 2). Let c be a connective of type (i), and . Then we define as the schema lemma
with schema derivation
in . We denote by
the complexity of the schema lemmas for C.
| 1 | Hyp | |
| 2 | :1 | |
| 3 | Hyp | |
| 4 | Hyp | |
| 5 | :2,3 | |
| 6 | :4,5 |
In the next results we assume without loss of generality that in a schema derivation the cut formulas are immediately expanded after the application of the cut. The general case would follow by an additional induction on the level of the cut.
Proposition 7.
Let be a regular Gentzen schema calculus (recall Definition 2) and c a connective of type (i), and . Then, the following metatheorem holds
assuming that the last step of the schema derivation for on the numerator is justified by with premises and . Moreover,
Proof.
Let be a schema derivation
| ⋮ | ||
| k | ||
| Lc:, | ||
| Rc:k | ||
| :, |
From we have schema derivations for , for and for . Hence, there is a schema derivation of using the schema lemma:
| ⋮ | ||
| k | ||
| : |
Observe that in this schema derivation, all the cuts have depth less than d. Moreover,
The inequality holds since . □
Observe that we can establish a similar result for every connective of type (i) (with ), (ii), (iii), and (iv) in a regular Gentzen calculus with signature C. We also provide an illustration for a connective c of type (iii) and arity 2 (the rules for disjunction in intuitionistic logic are of this kind). Let be a regular Gentzen schema calculus with the following cut rule
and where every schema rule has premises and conclusion sequents with a unique schema formula on the right hand side. A possible instantiation of the cut rule is
Let be the schema lemma
with schema derivation
for in .
| 1 | Hyp | |
| 2 | Hyp | |
| 3 | :1,2 |
Proposition 8.
Let be a regular Gentzen schema calculus where every schema rule has as premises and conclusion sequents with a unique schema formula on the right hand side, and c a connective of type (iii) and arity 2. Then, the following metatheorem holds
assuming that the last step of the schema derivation for on the numerator is justified by with premises and . Moreover,
Proof.
Let be a schema derivation
| ⋮ | ||
| k | ||
| Lc: | ||
| Rc:k | ||
| : |
From we have schema derivations for and for . Hence, there is a schema derivation of using the schema lemma . Observe that in this schema derivation, all the cuts have depth less than d. Furthermore,
The inequality holds since . □
We now investigate the impact on the complexity of reducing the depths of the cut in schema derivations.
Proposition 9.
Let be a regular Gentzen schema calculus. Then, the following metatheorem holds
Moreover,
Proof.
Assume that
Let of size be a smallest schema derivation of in using cuts of at most depth d. The proof follows by induction on the number n of cuts of depth d in .
(Base) . Then is also a schema derivation for with cuts less than or equal to . Then and .
(Step) . Assume that is justified by a cut of depth d with cut formula in positions and . Let be the other sequents in justified by cuts of depth d. Then
for every . Then, by the induction hypothesis,
Consider the schema derivation obtained from by replacing the schema derivation of in by a schema derivation of where the cut of depth d is substituted by cuts of depth less than d for , as given by the induction hypothesis. Then,
Observe that is a schema derivation of with a unique cut of depth d. That is,
Then, looking at the proof of Proposition 7, we can say that there is a schema derivation of where all the cut rules are of depth less than d. Furthermore,
Finally,
where comes from the definition of . □
Now we can state the cut elimination theorem.
Proposition 10.
Let be a regular Gentzen schema calculus. Then, the following metatheorem holds, for every ,
Moreover,
Proof.
The proof follows by induction on d.
(Base) . Immediate by definition.
(Step) Assume that . Hence, by the induction hypothesis,
The thesis follows by Proposition 9. □
Example 12.
Recall Example 2 and Example 8. Then, by Proposition 10,
where is the complexity of the schema lemmas for ∧, ∨ and ⊃.
5.3. Paraconsistent Nelson’s Logic
Recall Nelson’s paraconsistent logic ([18,19]). We discuss how the result of the complexity of the cut elimination can be used to find an upper bound on cut elimination in N4 (using the results in [20], namely the theoremhood reduction from to ).
The signature for Nelson’s paraconsistent logic is as follows: , and for . Let be the set of formulas inductively generated from the set of schema variables . Recall Example 2. The Gentzen schema calculus
for over is a Gentzen schema calculus
such that
- is composed by and
- includes the rules in , plus the rules
- for
for and is a multiset. Observe that is not a regular Gentzen schema calculus. For instance even looking at as a new connective, it is not of any type in the definition of regular calculus. For the sake of simplicity, we assume that the depth of a schema formula with negation is defined as follows:
- ;
- .
The reason for this is that the rules for negation only consider cases where the negation appears paired with another connective. Thus, we can regard these pairs as new connectives. We can obtain a result similar to Proposition 10 by using a reduction technique.
Proposition 11.
Let be a Gentzen schema calculus. Then, the following metatheorem holds, for every ,
Moreover,
Proof.
Let be the set of formulas over . Consider the following translation
defined as follows
- ;
- ;
- for ;
- ;
- ;
- ;
We start by showing that
The proof follows by induction on the length of a derivation for .
(Basis) Immediate.
(Step) We only consider the specific rules for .
Assume that was obtained by rule from and with . Let
Then and . Hence, and are schema derivations for and , respectively. Thus, by the induction hypothesis,
Moreover, using , we have
Therefore, the result follows because .
Assume that was obtained by rule from with . Let
Hence, Thus, by the induction hypothesis,
Moreover, using , we have
Therefore, the result follows because . The case where was applied is similar. Furthermore, the other specific rules are also similar.
The proof follows by induction on the length of a derivation for .
(Basis) immediate.
(Step) we only consider ∨.
Assume that was obtained by rule from and with . There are two possibilities. Either or . The first case is straightforward using on . For the second case, we have
where . Thus, by the induction hypothesis,
Moreover, applying we get
The result follows since . The other rules are similar.
So,
where the first and the third steps are justified by and the second step is justified by Proposition 10. Furthermore, by looking into the translation of the schema derivations in both directions, we observe that no complexity is added either to the length of the derivations or the depth of the formulas in the cuts. Thus,
since the structure of the derivation is essentially the same as the derivation in and, thus, we can replicate the proof of Proposition 9. □
6. Outlook
In the context of schema calculi for propositional-based logics, the notion of schema complexity of a schema formula was introduced. A key observation was to recognize that distinct formulas can share the same schema derivation. Another relevant observation is that different applications, of the same lemma in the same proof, should be counted only once. These observations motivated the definition of schema complexity of a schema formula.
We also investigated the use of schema metatheorems in the complexity of a schema derivation. We looked into the complexity of using the metatheorem of deduction in the context of Hilbert calculi, with the implication and complexity of using the metatheorem of cut elimination in the context of (regular) Gentzen calculi. Examples were provided for modal logic and intuitionistic logic . We also gave a bound on the cut elimination for Nelson’s logic by providing a translation from to (that is, positive intuitionistic logic). The results in this work only apply to logics that, when presented by Hilbert calculi, should have implication, and when presented by sequent calculi, should have rules of the types identified in this paper. Furthermore, we did not discussed logic presented by other kinds of calculi, e.g., tableaux.
With respect to future work, it seems worthwhile to generalize Deckhow’s Theorem (see [21]), i.e., given schema calculi and for the same logic, under which conditions, there is a map such that
for every formula , and relate the respective schema complexities (see also [22]).
It is also interesting to relate the schema complexities of a formula in logics and when there is a translation from to (for instance, the standard translation from modal to first-order logic, see [23]). Moreover, it seems challenging to investigate schema complexity when combining logics [24,25]. Furthermore, it seems worthwhile to explore the relationship between schema derivation complexity and decidability as well as to explore other measures of complexity as in [12]. For the moment, we can say that if the theoremhood problem for a given logic is decidable, then the schema complexity for a given schema formula is a natural number, provided that the algorithm that testifies the decidability, when executed for the formula, returns value 1, and is infinite otherwise. Finally, we intend to analyze how these results can be extended to first-order-based logics, and see how these results can be applied in real life examples.
Author Contributions
All authors have contributed equally for the paper. All authors have read and agreed to the published version of the manuscript.
Funding
The authors acknowledge the support from Instituto de Telecomunicações (IT) Research Unit ref. UIDB/50008/2020, funded by Fundação para a Ciência e a Tecnologia (FCT).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Thiele, R. Hilbert’s twenty-fourth problem. Am. Math. Mon. 2003, 110, 1–24. [Google Scholar] [CrossRef]
- Gentzen, G. The Collected Papers of Gerhard Gentzen; Szabo, M., Ed.; Studies in Logic and the Foundations of Mathematics; North-Holland: Amsterdam, The Netherlands, 1969. [Google Scholar]
- Prawitz, D. Natural Deduction. A Proof-Theoretical Study; Acta Universitatis Stockholmiensis. Stockholm Studies in Philosophy, No. 3; Almqvist & Wiksell: Stockholm, Sweden, 1965. [Google Scholar]
- Prawitz, D. On the idea of a general proof theory. Synthese 1974, 27, 63–77. [Google Scholar] [CrossRef]
- Pudlák, P. Improved bounds to the length of proofs of finitistic consistency statements. Contemp. Math. Log. Comb. 1987, 65, 309–332. [Google Scholar]
- Mints, G. Selected Papers in Proof Theory, Volume 3 of Studies in Proof Theory; North-Holland: Amsterdam, The Netherlands, 1992. [Google Scholar]
- Pudlák, P.; Buss, S. How to lie without being (easily) convicted and the lengths of proofs in propositional calculus. In Computer Science Logic; Springer: Berlin/Heidelberg, Germany, 1995; Volume 933, pp. 151–162. [Google Scholar]
- Troelstra, A.; Schwichtenberg, H. Basic Proof Theory, 2nd ed.; Cambridge University Press: Cambridge, UK, 2000. [Google Scholar]
- Negri, S.; von Plato, J. Structural Proof Theory; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar]
- Restall, G. Normal proofs, cut free derivations and structural rules. Stud. Log. 2014, 102, 1143–1166. [Google Scholar] [CrossRef]
- Krajíček, J. On the computational complexity of finding hard tautologies. Bull. Lond. Math. Soc. 2014, 46, 111–125. [Google Scholar] [CrossRef]
- Krajíček, J. Proof Complexity; Cambridge University Press: Cambridge, UK, 2019. [Google Scholar]
- Ramos, J.; Rasga, J.; Sernadas, C. Essential structure of proofs as a measure of complexity. Log. Universalis 2020, 14, 209–242. [Google Scholar] [CrossRef]
- Pudlák, P. The lengths of proofs. In Handbook of Proof Theory; Studies in Logic and the Foundations of Mathematics; North-Holland: Amsterdam, The Netherlands, 1998; Volume 137, pp. 547–637. [Google Scholar]
- Kolmogorov, A. Combinatorial foundations of information theory and the calculus of probabilities. Akad. Nauk SSSR I Mosk. Mat. Obshchestvo. Uspekhi Mat. Nauk 1983, 38, 27–36. [Google Scholar] [CrossRef]
- Uspensky, V. Kolmogorov and mathematical logic. J. Symb. Log. 1992, 57, 385–412. [Google Scholar] [CrossRef]
- Buss, S. An introduction to proof theory. In Handbook of Proof Theory; North-Holland: Amsterdam, The Netherlands, 1998; Volume 137, pp. 1–78. [Google Scholar]
- Nelson, D. Constructible falsity. J. Symb. Log. 1949, 14, 16–26. [Google Scholar] [CrossRef]
- Carnielli, W.; Coniglio, M. Paraconsistent Logic: Consistency, Contradiction and Negation; Springer: Basel, Switzerland, 2016. [Google Scholar]
- Kamide, N.; Wansing, H. Proof theory of Nelson’s paraconsistent logic: A uniform perspective. Theor. Comput. Sci. 2012, 415, 1–38. [Google Scholar] [CrossRef]
- Reckhow, R. On the Length of Proofs in the Propositional Calculus. Ph.D. Thesis, University of Toronto, Toronto, ON, Canada, 1975. [Google Scholar]
- Urquhart, A. The complexity of propositional proofs. Bull. Symb. Log. 1995, 1, 425–467. [Google Scholar] [CrossRef]
- Blackburn, P.; van Benthem, J. Modal logic: A semantic perspective. In Handbook of Modal Logic; Blackburn, P., van Benthem, J., Wolter, F., Eds.; Elsevier Science: Amsterdam, The Netherlands, 2006; pp. 173–204. [Google Scholar]
- Sernadas, C.; Rasga, J.; Carnielli, W. Modulated fibring and the collapsing problem. J. Symb. Log. 2002, 67, 1541–1569. [Google Scholar] [CrossRef]
- Rasga, J.; Sernadas, C.; Sernadas, A. Preservation of admissible rules when combining logics. Rev. Symb. Log. 2016, 9, 641–663. [Google Scholar] [CrossRef][Green Version]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).