Next Article in Journal
On Some New Weighted Steffensen-Type Inequalities on Time Scales
Next Article in Special Issue
Interpolation and Uniform Interpolation in Quantifier-Free Fragments of Combined First-Order Theories
Previous Article in Journal
Optimal Control Theory for a System of Partial Differential Equations Associated with Stratified Fluids
Previous Article in Special Issue
On the Ternary Exponential Diophantine Equation Equating a Perfect Power and Sum of Products of Consecutive Integers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Schema Complexity in Propositional-Based Logics

Instituto Superior Técnico, Universidade de Lisboa and Instituto de Telecomunicações, 1049-001 Lisboa, Portugal
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(21), 2671; https://doi.org/10.3390/math9212671
Submission received: 10 September 2021 / Revised: 18 October 2021 / Accepted: 18 October 2021 / Published: 21 October 2021
(This article belongs to the Special Issue Decidability of Logics and Their Theories and Combinations)

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.

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 s D ( η ) ; 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
C = { C k } k N
where C k is the set of operators of arity k for k N . The set SL C of schema formulas or the schema language over C is inductively defined as follows:
  • Ξ C 0 SL C ;
  • c ( η 1 , , η k ) SL C , provided that c C k and η 1 , , η k SL C .
When there is no ambiguity, we can skip the subscript in SL C . We denote by SL S 4 the schema language over C S 4 and by SL J the schema language over C J .
Definition 1.
A schema calculus over C is a tuple
D = ( D L , μ , s A x , s D , s P )
where
  • DL is a set of schema deductive assertions (or the schema deductive language);
  • μ : S L D L is an injective translation map;
  • s A x D L is a finite set of schema axioms;
  • s D f i n ( D L ) × D L is a finite set of schema derivation rules;
  • s P f i n ( D L ) × D L is a finite set of schema proof rules;
such that s D s P where f i n ( D L ) is the set of all finite subsets of DL.
We will present a rule ( { τ 1 , , τ n } , τ ) as follows:
τ 1 τ n τ
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 SL . 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 S 4 and the Gentzen schema calculus for intuitionistic logic J .
A Hilbert schema calculus  D H is a schema calculus, such that
  • DL is SL ;
  • μ : SL DL is the identity.
Example 1.
The signature C S 4 for modal logic S 4 is defined as follows: C 1 S 4 = { ¬ , } , C 2 S 4 = { } and C k S 4 = for k 1 , 2 . A Hilbert schema calculus D H S 4 for modal logic S 4 over C S 4 is a Hilbert schema calculus
( D L H S 4 , μ H S 4 , s A x H S 4 , s D H S 4 , s P H S 4 )
such that
  • s A x H S 4 is composed by the following axiom schemas:
    • s A x 1 ξ 1 ( ξ 2 ξ 1 )
    • s A x 2 ( ξ 1 ( ξ 2 ξ 3 ) ) ( ( ξ 1 ξ 2 ) ( ξ 1 ξ 3 ) )
    • s A x 3 ( ( ¬ ξ 1 ) ( ¬ ξ 2 ) ) ( ξ 2 ξ 1 )
    • K ( ( ξ 1 ξ 2 ) ) ( ( ξ 1 ) ( ξ 2 ) )
    • 4 ( ξ ) ξ
    • T ( ξ ) ξ
  • s D H S 4 is composed by the following schema derivation rule:
    • s M P ξ 1 ξ 1 ξ 2 ξ 2
  • s P H S 4 contains s D H S 4 as well as the schema proof rule:
    • s N e c ξ ξ
for ξ , ξ 1 , ξ 2 , ξ 3 Ξ .
A Gentzen schema calculus  D G is a schema calculus such that
  • DL is the set of all sequents;
  • μ G ( η ) is η ;
  • sAx G includes ξ ξ
where a sequent is a pair ( { η 1 , , η m } , { η 1 , , η n } ) of finite multisets of schema formulas presented as
η 1 , , η m η 1 , , η n .
We use Π , Π 1 , Π 2 for denoting multisets. Moreover, we write ξ ,   Π instead of { ξ } Π .
Definition 2.
A Gentzen calculus D G over C is regular whenever the rules for each c C n and n 1 are either of the type
 (i)
L   c Π 1 Π 2 , ξ j , f o r j = 1 , , ξ j , Π 1 Π 2 , f o r j = + 1 , , n c ( ξ 1 , , ξ n ) , Π 1 Π 2
R   c ξ 1 , , ξ , Π 1 Π 2 , ξ + 1 , , ξ n Π 1 Π 2 , c ( ξ 1 , , ξ n )
or
 (ii)
L   c ξ 1 , , ξ , Π 1 Π 2 , ξ + 1 , , ξ n c ( ξ 1 , , ξ n ) , Π 1 Π 2
R   c Π 1 Π 2 , ξ j , f o r j = 1 , , ξ j , Π 1 Π 2 , f o r j = + 1 , , n Π 1 Π 2 , c ( ξ 1 , , ξ n )
or
 (iii)
L   c ξ 1 , Π 1 Π 2 ξ n , Π 1 Π 2 c ( ξ 1 , , ξ n ) , Π 1 Π 2
R   c j Π 1 Π 2 , ξ j Π 1 Π 2 , c ( ξ 1 , , ξ n ) for each j = 1 , , n
or
 (iv)
L   c j ξ j , Π 1 Π 2 c ( ξ 1 , , ξ n ) , Π 1 Π 2 for each j = 1 , , n
R   c Π 1 Π 2 , ξ 1 Π 1 Π 2 , ξ n Π 1 Π 2 , c ( ξ 1 , , ξ n ) for each j = 1 , , n
where 0 n . In the first type of rules, we assume that if = 0 then in R c the premise is Π 1 Π 2 , ξ 1 , , ξ n and in rule L c the premises of the left hand side are omitted. Furthermore, if = n then in rule R c the premise is ξ 1 , , ξ n , Π 1 Π 2 , 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 C J for intuitionistic logic is defined as follows: C 0 J = { } , C 2 J = { , , } and C k J = for k 0 , 2 . The Gentzen schema calculus
D G J
for intuitionistic logic J over C J is a Gentzen schema calculus
( D L G J , μ G J , s A x G J , s D G J , s P G J )
such that
  • s A x G J is composed by
    • A x ξ ξ
    • L ξ
  • s D G J = s P G J is composed by the following schema derivation rules:
    • L ξ 2 , Π ξ Π ξ 1 ξ 1 ξ 2 , Π ξ R ξ 1 , Π ξ 2 Π ξ 1 ξ 2
    • L ξ 1 , ξ 2 , Π ξ ξ 1 ξ 2 , Π ξ R Π ξ 1 Π ξ 2 Π ξ 1 ξ 2
    • L ξ 1 , Π ξ ξ 2 , Π ξ ξ 1 ξ 2 , Π ξ R j Π ξ j Π ξ 1 ξ 2 for j = 1 , 2
    • L W Π ξ ξ 1 , Π ξ L C ξ 1 , ξ 1 , Π ξ ξ 1 , Π ξ
    • C u t Π ξ 1 ξ 1 , Π ξ Π ξ
for ξ , ξ 1 , ξ 2 Ξ and Π is an S L J multiset. Observe that s D G J is a regular Gentzen schema calculus because rules for ⊃ are of type (i) with n = 2 and = 1 , rules for ∧ are of type (ii) with n = = 2 , and rules for ∨ are of type (iii) with n = 2 .
In general, a cut rule is either of the form
Π ξ 1 ξ 1 , Π ξ Π ξ
or
ξ , Π 1 Π 2 Π 1 Π 2 , ξ Π 1 Π 2 .
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 D = ( D L , μ , s A x , s D , s P ) be a schema calculus and Δ { τ } D L . We say that τ is schema provable from Δ in D , written
Δ D p τ ,
whenever there is a finite sequence ω = ω 1 ω n in DL such that:
  • ω n is τ;
  • for each j = 1 , , n
    -
    either ω j Δ ;
    -
    or ω j is an instance of a schema axiom in s A x ;
    -
    or ω j is an instance of the conclusion of a schema rule r in s P and the instances of the premises of r occur in positions contained in { 1 , , j 1 } .
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 SL .
Definition 4.
Let Θ { η } S L . Then, η is schema provable fromΘ in D , written
Θ D p η
whenever μ ( η ) is schema provable from μ ( Θ ) in D , that is, μ ( Θ ) D p μ ( η ) . When Θ is empty then η is a schema theorem.
Example 3.
Recall the Hilbert calculus D H S 4 defined in Example 1. Let
Θ = { ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) } .
Then,
Θ D H S 4 p ( ( ¬ ξ 1 ) ) ( ( ξ 1 ξ 2 ) )
since
1 ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) Hyp
2 ( ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) ) s N e c :1
3 ( ( ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) ) ) ( ( ( ¬ ξ 1 ) ) ( ( ξ 1 ξ 2 ) ) ) K
4 ( ( ¬ ξ 1 ) ) ( ( ξ 1 ξ 2 ) ) MP:2,3
is a schema proof of ( ( ¬ ξ 1 ) ) ( ( ξ 1 ξ 2 ) ) from Θ.
Example 4.
Recall the Gentzen calculus D G J defined in Example 2. We now show that
D G J p ( ξ 1 ) ( ξ 1 ξ 2 ) ,
that is, μ ( ( ξ 1 ) ( ξ 1 ξ 2 ) ) = ( ξ 1 ) ( ξ 1 ξ 2 ) is schema provable. In fact
1 ξ 2 L
2 ξ 1 ξ 1 A x
3 ξ 1 , ξ 2 L W :1
4 ξ 1 , ξ 1 ξ 2 L :3,2
5 ξ 1 ξ 1 ξ 2 R :4
6 ( ξ 1 ) ( ξ 1 ξ 2 ) R :5
is a schema proof of ( ξ 1 ) ( ξ 1 ξ 2 ) .
Definition 5.
Let D = ( D L , μ , s A x , s D , s P ) be a schema calculus and Δ { τ } D L . We say that τ is schema derivable from Δ in D , written
Δ D τ ,
whenever there is a finite sequence ω = ω 1 ω n in DL such that:
  • ω n is τ;
  • for each j = 1 , , n
    -
    either ω j Δ ;
    -
    or ω j is an instance of a schema axiom in s A x ;
    -
    or ω j is an instance of the conclusion of a schema rule r in s D and the instances of the premises of r occur in positions contained in { 1 , , j 1 } ;
    -
    or ω j is schema provable.
The sequence ω is a schema derivation of τ from Δ.
We now introduce the notion of schema lemma.
Definition 6.
Let D = ( D L , μ , s A x , s D , s P ) be a schema calculus and Δ { τ } D L . Whenever τ is schema derivable from Δ in D , we say that ( Δ , τ ) is a schema lemma.
Let Λ be a set of schema lemmas and Δ { τ } DL . We write
Δ D , Λ τ
whenever there is a schema derivation using as schema derivation rules the rules in D 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 Δ D , τ coincides with Δ D τ . 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 SL . Let Θ { η } SL . Then, we write
Θ D , Λ η
whenever there is a schema derivation of μ ( Θ ) D , Λ μ ( η ) . In the following examples, we highlight the use of schema lemmas. When Λ = , we write Θ D η .
Example 5.
Recall the Hilbert calculus D H S 4 defined in Example 1. Let Λ = { s H S } where sHS is the schema lemma
( { ξ 1 ξ 2 , ξ 2 ξ 3 } , ξ 1 ξ 3 )
and ω the sequence
1 ( ¬ ξ 1 ) ( ( ¬ ξ 2 ) ( ¬ ξ 1 ) ) sAx1
2 ( ( ¬ ξ 2 ) ( ¬ ξ 1 ) ) ( ξ 1 ξ 2 ) sAx3
3 ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) sHS1,2
4 ( ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) ) s N e c 3
5 ( ( ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) ) ) ( ( ¬ ξ 1 ) ( ( ξ 1 ξ 2 ) ) ) K
6 ( ¬ ξ 1 ) ( ( ξ 1 ξ 2 ) ) sMP4,5
7 ( ( ξ 1 ξ 2 ) ) ( ( ξ 1 ) ( ξ 2 ) ) K
8 ( ¬ ξ 1 ) ( ( ξ 1 ) ( ξ 2 ) ) sHS 6,7
9 ¬ ξ 1 H y p
10 ( ξ 1 ) ( ξ 2 ) sMP 9,8
Hence,
¬ ξ 1 D H S 4 , Λ ( ξ 1 ) ( ξ 2 )
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 ω sHS be the following schema derivation:
1  ξ 1 ξ 2 Hyp
2  ξ 2 ξ 3 Hyp
3  ( ξ 2 ξ 3 ) ( ξ 1 ( ξ 2 ξ 3 ) ) sAx1
4  ξ 1 ( ξ 2 ξ 3 ) sMP  2,3
5  ( ξ 1 ( ξ 2 ξ 3 ) ) ( ( ξ 1 ξ 2 ) ( ξ 1 ξ 3 ) ) sAx2
6  ( ξ 1 ξ 2 ) ( ξ 1 ξ 3 ) sMP  4,5
7  ξ 1 ξ 3 sMP  1,6
Example 6.
Recall the Gentzen calculus D G J defined in Example 2. As usual, we define ¬ ξ as an abbreviation of ξ . Consider the following schema derivation lemmas
R ¬ = ( { ξ , Π } , Π ¬ ξ )
with schema derivation ω R ¬
1 ξ , Π H y p
2 Π ξ R:1
and
L ¬ = ( { Π ξ 1 } , ¬ ξ 1 , Π ξ )
with schema derivation ω L ¬
1 ξ L
2 Π ξ 1 H y p
3 , Π ξ L W * :1
4 ξ 1 , Π ξ L :3,2
where L W * means that the left weakening may be applied several times. We now show that
D G J , Λ ( ( ¬ ¬ ξ 1 ) ( ¬ ¬ ξ 2 ) ) ¬ ¬ ( ξ 1 ξ 2 )
where Λ = { R ¬ , L ¬ } . In fact, consider the schema derivation:
1 ξ 1 ξ 1 A x
2 ξ 1 , ¬ ξ 1 ξ 2 L ¬ :1
3 ¬ ξ 1 ξ 1 ξ 2 R:2
4 ¬ ξ 1 , ¬ ( ξ 1 ξ 2 ) L ¬ :3
5 ¬ ( ξ 1 ξ 2 ) ¬ ¬ ξ 1 R ¬ :4
6 ξ 2 ξ 2 A x
7 ξ 1 , ξ 2 ξ 2 L W :6
8 ξ 2 ξ 1 ξ 2 R⊃:7
9 ξ 2 , ¬ ( ξ 1 ξ 2 ) L ¬ :8
10 ¬ ( ξ 1 ξ 2 ) ¬ ξ 2 R ¬ :9
11 ¬ ( ξ 1 ξ 2 ) , ¬ ¬ ξ 2 L ¬ :10
12 ¬ ( ξ 1 ξ 2 ) , ( ¬ ¬ ξ 1 ) ( ¬ ¬ ξ 2 ) L⊃:11,5
13 ( ¬ ¬ ξ 1 ) ( ¬ ¬ ξ 2 ) ¬ ¬ ( ξ 1 ξ 2 ) R ¬ :12
14 ( ( ¬ ¬ ξ 1 ) ( ¬ ¬ ξ 2 ) ) ¬ ¬ ( ξ 1 ξ 2 ) 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 Δ { τ } DL , the notation
Δ D , Λ ω τ
states that ω is a schema derivation of Δ D , Λ τ using (directly or indirectly) schema lemmas in Λ . Furthermore, we denote by | | · | | the total number of symbols in a sequence.
Definition 7.
Let λ = ( { δ 1 , , δ k } , τ ) be a schema lemma in D . Then, the schema complexity of λ is
D D ( λ ) = inf { | | ω | | : δ 1 , , δ k D ω τ } i = 1 k | | δ i | | | | τ | | .
The schema complexity of τ given a set of schema lemmas Λ and Δ in D is
D D ( τ | Λ , Δ ) = inf Λ Λ { | | ω | | + λ Λ D D ( λ ) : Δ D , Λ ω τ } .
Furthermore, we define D D ( η | Λ , Θ ) as D D ( μ ( η ) | Λ , μ ( Θ ) ) given Θ { η } SL .
When Λ and Θ are empty sets then D D ( η ) is the minimum number of symbols in a derivation of η in D (this measure corresponds to s D ( η ) 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 Θ { η } S L and Λ and Λ sets of schema lemmas such that Λ Λ . Then,
D D ( η | Λ , Θ ) D D ( η | Λ , Θ ) .
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, D D ( η | Λ , Θ ) D D ( η | , Θ ) for any set Λ of schema lemmas.
Example 7.
Consider the schema derivation ω for
¬ ξ 1 D H S 4 , Λ ( ξ 1 ) ( ξ 2 )
introduced in Example 5 where Λ is { s H S } . Furthermore, recall the schema derivation ω s H S for schema lemma sHS. Observe that
D D H S 4 ( s H S ) | | ( ω s H S ) 3 ( ω s H S ) 4 ( ω s H S ) 5 ( ω s H S ) 6 | | .
Hence,
D D H S 4 ( ( ξ 1 ) ( ξ 2 ) ) | Λ , ¬ ξ 1 ) | | ω 1 ω 10 | | + D D H S 4 ( s H S ) .
So
D D H S 4 ( ( ξ 1 ) ( ξ 2 ) ) | Λ , ¬ ξ 1 ) | | ω 1 ω 10 | | + κ
where κ = D D H S 4 ( s H S ) | | ( ω s H S ) 3 ( ω s H S ) 4 ( ω s H S ) 5 ( ω s H S ) 6 | | . 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
D G J , Λ ( ( ¬ ¬ ξ 1 ) ( ¬ ¬ ξ 2 ) ) ¬ ¬ ( ξ 1 ξ 2 )
given in Example 6 with Λ = { R ¬ , L ¬ } . Note that
D D G J ( R ¬ ) = 0 and D D G J ( L ¬ ) | | ( ω L ¬ ) 2 ( ω L ¬ ) 3 | | .
Thus,
D D G J ( ( ( ¬ ¬ ξ 1 ) ( ¬ ¬ ξ 2 ) ) ¬ ¬ ( ξ 1 ξ 2 ) ) | Λ ) | | ω 1 ω 14 | | + D D G J ( L ¬ ) .
Hence,
D D G J ( ( ( ¬ ¬ ξ 1 ) ( ¬ ¬ ξ 2 ) ) ¬ ¬ ( ξ 1 ξ 2 ) ) | Λ ) | | ω 1 ω 14 | | + κ
where κ = D D G J ( L ¬ ) | | ( ω L ¬ ) 2 ( ω L ¬ ) 3 | | . In this case, the schema lemma R ¬ has no impact on the schema derivation complexity. Moreover, although the schema lemma L ¬ was used four times, it only counts once on the schema derivation complexity.

5. Schema Metatheorems

A schema metatheorem over D is a pair
Θ 1 D η 1 , , Θ m D η m , Θ D η ,
written
Θ 1 D η 1 Θ m D η m Θ D η
such that each Θ i D η i , for i = 1 , , m , is a meta premise and Θ D η 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 D H has implication if C 2 and the following schema metatheorems of modus ponens (MTMP) and deduction (MTD)
MTMP Θ D H η η Θ , η D H η and MTD Θ , η D H η Θ D H η η
hold.
The schema MTD can be characterized in D H by some schema lemmas. That is, a deductive system has the MTD, provided that certain schema lemmas hold. Consider the following pairs:
  • (L1) ( , ξ ξ ) ;
  • (L2) ( { ξ 1 } , ξ 2 ξ 1 ) ;
  • (LD r ) ( { ξ η 1 , , ξ η k } , ξ η ) for every schema derivation rule r = ( { η 1 , , η k } , η ) 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 D H be a Hilbert schema calculus with C 2 and MTMP. Then MTD holds in D H iff L1, L2, LD r are schema lemmas for every r s D H .
Proof. 
( ) We must prove the three properties:
(L1) Observe that ξ D H ξ and so by MTD D H ξ ξ .
(L2) Note that ξ 1 , ξ 2 D H ξ 1 and so by MTD ξ 1 D H ξ 2 ξ 1 .
(LD r ) Assume that r = ( { η 1 , , η k } , η ) sD H . Since ξ η 1 , , ξ η k D H ξ η j for j = 1 , , k then using MTMP, we have
ξ η 1 , , ξ η k , ξ D H η j
for j = 1 , , k . Hence,
ξ η 1 , , ξ η k , ξ D H η
and so by MTD ξ η 1 , , ξ η k D H ξ η .
( ) Assume that Θ , η D H η . Let ω 1 ω m be a schema derivation of η from Θ and η . We prove the result by induction on m.
(Basis) m = 1 . There are four possibilities.
(a) ω m is a schema axiom. Then consider the schema derivation:
1 η sAx
2 η η L2:1
(b) ω m Θ is an hypothesis. Then consider the schema derivation:
1 η Hyp
2 η η L2:1
(c) ω m is schema provable, that is η D H p . Then consider the schema derivation:
1 η sThm
2 η η L2:1
where sThm means that η is a schema theorem (hence, has a schema proof).
(d) ω m is η . Then consider the schema derivation
1 η η L1
(Step) ω m = η is an instance of the conclusion of a schema derivation rule r and the instances of the premises are ω j 1 , ω j n assuming that r has n premises. Hence, Θ , η D H ω j i and so, by the induction hypothesis, Θ D H η ω j i , for every i = 1 , , n . Then consider the following schema derivation:
1 η ω j 1 IH
n η ω j n IH
n + 1 η η LD r : 1 , , n
shows that Θ D H η η . □
In order to avoid the overloading of the notation we omit the reference to schema lemmas L1, L2, LD r for r sD H 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 D H be a Hilbert schema calculus with C 2 and MTMP. Assume that L1, L2, LD r for every r s D H are schema lemmas. Then, for every instance of a schema proof rule r = ( { η 1 , , η k } , η )
(LP r ) ( { ξ η 1 , , ξ η k } , ξ η )
is a schema lemma, provided that η 1 , , η k are schema theorems and ξ is a fresh schema variable.
Proof. 
Assume that r = ( { η 1 , , η k } , η ) is an instance of a schema proof rule and that η 1 , , η k are schema theorems. Then η is also a schema theorem. So, using L2, it follows that ξ η is a schema theorem. □
Let λ = ( { η 1 , , η k } , η ) be a pair and define λ ¯ = ( { ξ η 1 , ξ η k } , ξ η ) where ξ is a fresh schema variable. The following result is an immediate consequence of Proposition 2.
Proposition 4.
Let D H be a Hilbert schema calculus with implication. Then
λ is a schema lemma if and only if λ ¯ is a schema lemma .
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 D H be a Hilbert schema calculus with C 2 and MTMP, and Λ be a set of schema lemmas. Then if L1, L2, LD r for every r s D H are schema lemmas then
  • M T M P Λ Θ D H , Λ η η Θ , η D H , Λ η M T D Λ Θ , η D H , Λ η Θ D H , Λ ¯ η η
hold.
Proof. 
We only prove that MTD Λ holds. Let ω = ω 1 ω k be a schema derivation for Θ , η D H , Λ η . Consider the sequence ω obtained from ω as follows: for each j = 1 , , k ,
  • ω j is either an axiom or an element in Θ . Then replace ω j by
    j ω j sAx or Hyp
    j η ω j L2:j
  • ω j is η . Then replace ω j by η η justified by L1;
  • ω j is the conclusion of an instance ( { ω j 1 , , ω j n } , ω j ) of a schema derivation rule r. Then replace ω j by η ω j with justification LD r : j 1 , , j n ;
  • ω j is the conclusion of an instance ( { ω j 1 , , ω j n } , ω j ) of a schema lemma λ Λ . Then replace ω j by η ω j with justification λ ¯ : j 1 , , j n ;
  • ω j is the conclusion of an instance ( { ω j 1 , , ω j n } , ω j ) of a schema proof rule r. Then replace ω j by η ω j with justification LP r : j 1 , , j n .
We now show by induction on k that ω is a schema derivation for Θ D H , Λ ¯ η η .
(Base) k = 1 . Then η is either an axiom or an element of Θ or is η . Thus, by construction of ω , ω is a schema derivation for Θ D H , Λ ¯ η η .
(Step) (1) ω j is the conclusion of an instance ( { ω j 1 , , ω j n } , ω j ) of a derivation rule r. Then, by the induction hypothesis, Θ D H , Λ ¯ η ω j i for i = 1 , , n . Hence, by construction of ω , ω is a schema derivation for Θ D H , Λ ¯ η η .
(2) ω j is the conclusion of an instance ( { ω j 1 , , ω j n } , ω j ) of the schema lemma λ Λ . Then, by the induction hypothesis, Θ D H , Λ ¯ η ω j i for i = 1 , , n . Hence, by construction of ω , ω is a schema derivation for Θ D H , Λ ¯ η η observing that λ ¯ Λ ¯ .
(3) ω j is the conclusion of an instance ( { ω j 1 , , ω j n } , ω j ) of a schema proof rule r. Then, by the induction hypothesis, Θ D H , Λ ¯ η ω j i for i = 1 , , n . Hence, by construction of ω , ω is a schema derivation for Θ D H , Λ ¯ η η observing that if ω j i is a theorem then η ω j i must also be a theorem for i = 1 , , n and, in these conditions, LP r is a schema lemma by Proposition 3. □
Example 9.
Note that D H S 4 has implication. We now prove that D H S 4 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 ω L D s M P
1  ξ ξ 1 H y p
2  ξ ( ξ 1 ξ 2 ) H y p
3  ( ξ ( ξ 1 ξ 2 ) ) ( ( ξ ξ 1 ) ( ξ ξ 2 ) ) s A x 2
4  ( ξ ξ 1 ) ( ξ ξ 2 ) s M P :2,3
5  ξ ξ 2 s M P :1,4
is a schema derivation for ξ ξ 1 , ξ ( ξ 1 ξ 2 ) D H S 4 ξ ξ 2 .
Example 10.
Recall Example 5 where Λ = { s H S } . In this case
s H S ¯ = ( { ξ ( ξ 1 ξ 2 ) , ξ ( ξ 2 ξ 3 ) } , ξ ( ξ 1 ξ 3 ) ) .
Recall also that D H S 4 has implication, as shown in Example 9. Then the sequence ω M T D defined is as follows
1 ( ¬ ξ 1 ) ( ( ¬ ξ 2 ) ( ¬ ξ 1 ) ) s A x 1
1 ( ¬ ξ 1 ) ( ( ¬ ξ 1 ) ( ( ¬ ξ 2 ) ( ¬ ξ 1 ) ) ) L2: 1
2 ( ( ¬ ξ 2 ) ( ¬ ξ 1 ) ) ( ξ 1 ξ 2 ) s A x 3
2 ( ¬ ξ 1 ) ( ( ( ¬ ξ 2 ) ( ¬ ξ 1 ) ) ( ξ 1 ξ 2 ) ) L2: 2
3 ( ¬ ξ 1 ) ( ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) ) s H S ¯ :1,2
4 ( ¬ ξ 1 ) ( ( ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) ) ) L P s N e c :3
5 ( ( ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) ) ) ( ( ¬ ξ 1 ) ( ( ξ 1 ξ 2 ) ) ) K
5 ( ¬ ξ 1 ) ( ( ( ( ¬ ξ 1 ) ( ξ 1 ξ 2 ) ) ) ( ( ¬ ξ 1 ) ( ( ξ 1 ξ 2 ) ) ) ) L2: 5
6 ( ¬ ξ 1 ) ( ( ( ¬ ξ 1 ) ) ( ( ξ 1 ξ 2 ) ) ) L D s M P :4,5
7 ( ( ξ 1 ξ 2 ) ) ( ( ξ 1 ) ( ξ 2 ) ) K
7 ( ¬ ξ 1 ) ( ( ( ξ 1 ξ 2 ) ) ( ( ξ 1 ) ( ξ 2 ) ) ) L2: 7
8 ( ¬ ξ 1 ) ( ( ¬ ξ 1 ) ( ( ξ 1 ) ( ξ 2 ) ) ) s H S ¯ :6,7
9 ( ¬ ξ 1 ) ( ¬ ξ 1 ) L1
10 ( ¬ ξ 1 ) ( ( ξ 1 ) ( ξ 2 ) ) L D s M P 9,8
is a schema derivation for
D H S 4 , Λ ¯ ( ¬ ξ 1 ) ( ( ξ 1 ) ( ξ 2 ) ) .
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 D be a Hilbert schema calculus with implication, Λ a set of schema lemmas and ω a schema derivation for Θ , η D H , Λ η . Then there is a constant κ, such that
D D H ( η η | Λ ¯ , Θ ) 2 | | ω | | + | ω | ( 1 + | | η | | ) + κ .
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
D D H ( L 1 ) + D D H ( L 2 ) + r sD H D D H ( LD r ) + λ Λ D D H ( λ ¯ )
is a bound for constant κ . □
Example 11.
Recall Example 7. Then
D D H S 4 ( ( ¬ ξ 1 ) ( ( ξ 1 ) ( ξ 2 ) ) | s H S ¯ ) 2 | | ω | | + | ω | ( 1 + | | ( ¬ ξ 1 ) | | ) + κ .
where κ is
D D H S 4 ( L 1 ) + D D H S 4 ( L 2 ) + D D H S 4 ( L D s M P ) + D D H S 4 ( s H S ¯ ) .

5.2. Cut in Gentzen Like Calculi

Let D G be a regular Gentzen schema calculus with the following cut rule
ξ , Π 1 Π 2 Π 1 Π 2 , ξ Π 1 Π 2 .
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:
  • depth ( ξ ) = 0 ;
  • depth ( c ( η 1 , , η n ) ) = 1 + max { depth ( η 1 ) , , depth ( η n ) } .
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: S D G , Cut d s means that there is a schema derivation of s from S in D G and cut in which all the cuts have a depth of at most d and S D G , Cut d 1 s means that there is a schema derivation of s from S in D G and cut in which the final step is a cut of depth d, and all the other cuts have a depth of at most d 1 . 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
D D G , Cut d ( Γ Δ )
the complexity of the smallest schema derivation for Γ Δ using cuts with at most depth d. Moreover, we denote by
D D G , Cut d 1 ( Γ Δ )
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 d 1 .
Finally, we use S D G Cut s 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), = 1 and n = 2 . Then we define λ c as the schema lemma
ξ 1 , Π 1 Π 2 , ξ 2 ξ 2 , Π 1 Π 2 Π 1 Π 2 , ξ 1 Π 1 Π 2
with schema derivation ω λ c
1 ξ 2 , Π 1 Π 2 Hyp
2 ξ 2 , ξ 1 , Π 1 Π 2 LW :1
3 ξ 1 , Π 1 Π 2 , ξ 2 Hyp
4 Π 1 Π 2 , ξ 1 Hyp
5 ξ 1 , Π 1 Π 2 Cut :2,3
6 Π 1 Π 2 Cut :4,5
in D G . We denote by
D D G ( λ C ) = c C D D G ( λ c )
the complexity of the schema lemmas for C.
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 D G be a regular Gentzen schema calculus (recall Definition 2) and c a connective of type (i), = 1 and n = 2 . Then, the following metatheorem holds
D G , Cut d 1 Γ Δ D G , λ c , Cut d 1 Γ Δ
assuming that the last step of the schema derivation for Γ Δ on the numerator is justified by Cut with premises c ( η 1 , η 2 ) , Γ Δ and Γ Δ , c ( η 1 , η 2 ) . Moreover,
D D G , Cut d 1 ( Γ Δ ) D D G , Cut d 1 ( Γ Δ ) + D D G ( λ C ) .
Proof. 
Let ω be a schema derivation
k η 1 , Γ Δ , η 2
k + 1 η 2 , Γ Δ
k + 2 Γ Δ , η 1
k + 3 c ( η 1 , η 2 ) , Γ Δ Lc: k + 1 , k + 2
k + 4 Γ Δ , c ( η 1 , η 2 ) Rc:k
k + 5 Γ Δ Cut : k + 3 , k + 4
From ω we have schema derivations for η 1 , Γ Δ , η 2 , for η 2 , Γ Δ and for Γ Δ , η 1 . Hence, there is a schema derivation of Γ Δ using the schema lemma:
k η 1 , Γ Δ , η 2
k + 1 η 2 , Γ Δ
k + 2 Γ Δ , η 1
k + 3 Γ Δ λ c : k , k + 1 , k + 2
Observe that in this schema derivation, all the cuts have depth less than d. Moreover,
D D G , Cut d 1 ( Γ Δ ) D D G , Cut d 1 ( Γ Δ ) | | c ( η 1 , η 2 ) , Γ Δ | | | | Γ Δ , c ( η 1 , η 2 ) ) | | + D D G ( λ c ) D D G , Cut d 1 ( Γ Δ ) + D D G ( λ c ) .
The inequality holds since D D G ( λ c ) D D G ( λ C ) . □
Observe that we can establish a similar result for every connective of type (i) (with 1 ), (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 D G be a regular Gentzen schema calculus with the following cut rule
ξ 1 , Π ξ Π ξ 1 Π ξ
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 λ c i be the schema lemma
ξ i , Π ξ Π ξ i Π ξ
with schema derivation ω λ c i
1  Π ξ i Hyp
2  ξ i , Π ξ Hyp
3  Π ξ Cut :1,2
for i = 1 , 2 in D G .
Proposition 8.
Let D G 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
D G , Cut d 1 Γ δ D G , λ c 1 , λ c 2 , Cut d 1 Γ δ
assuming that the last step of the schema derivation for Γ δ on the numerator is justified by C u t with premises c ( η 1 , η 2 ) , Γ δ and Γ c ( η 1 , η 2 ) . Moreover,
D D G , C u t d 1 ( Γ δ ) D D G , C u t d 1 ( Γ δ ) + D D G ( λ C ) .
Proof. 
Let ω be a schema derivation
k Γ η i
k + 1 η 2 , Γ δ
k + 2 η 1 , Γ δ
k + 3 c ( η 1 , η 2 ) , Γ δ Lc: k + 1 , k + 2
k + 4 Γ c ( η 1 , η 2 ) Rc i :k
k + 5 Γ δ Cut : k + 3 , k + 4
From ω we have schema derivations for Γ η i and η i , Γ δ for i = 1 , 2 . Hence, there is a schema derivation of Γ δ using the schema lemma λ c i . Observe that in this schema derivation, all the cuts have depth less than d. Furthermore,
D D G , Cut d 1 ( Γ δ ) D D G , Cut d 1 ( Γ η i ) + D D G , Cut d 1 ( η i , Γ δ ) + | | Γ δ | | + D D G ( λ c i ) D D G , Cut d 1 ( Γ δ ) + D D G ( λ c 1 ) + D D G ( λ c 2 ) .
The inequality holds since D D G ( λ c 1 ) + D D G ( λ c 2 ) D D G ( λ C ) . □
We now investigate the impact on the complexity of reducing the depths of the cut in schema derivations.
Proposition 9.
Let D G be a regular Gentzen schema calculus. Then, the following metatheorem holds
D G , C u t d Γ Δ D G , C u t d 1 Γ Δ .
Moreover,
D D G , C u t d 1 ( Γ Δ ) D D G , C u t d ( Γ Δ ) + D D G ( λ C ) .
Proof. 
Assume that
D G , Cut d Γ Δ .
Let ω of size m be a smallest schema derivation of Γ Δ in D G using cuts of at most depth d. The proof follows by induction on the number n of cuts of depth d in ω .
(Base) n = 0 . Then ω is also a schema derivation for Γ Δ with cuts less than or equal to d 1 . Then D G , Cut d 1 Γ Δ and D D G , Cut d 1 ( Γ Δ ) = D D G , Cut d ( Γ Δ ) .
(Step) n > 0 . Assume that ω m = Γ Δ is justified by a cut of depth d with cut formula η in positions ω m 1 and ω m 2 . Let Γ 1 Δ 1 , , Γ n 1 Δ n 1 be the other sequents in ω justified by cuts of depth d. Then
D G , Cut d Γ i Δ i
for every i = 1 , , n 1 . Then, by the induction hypothesis,
D G , Cut d 1 Γ i Δ i .
Consider the schema derivation ω obtained from ω by replacing the schema derivation of Γ i Δ i in ω by a schema derivation of Γ i Δ i where the cut of depth d is substituted by cuts of depth less than d for i = 1 , , n 1 , as given by the induction hypothesis. Then,
( ) | | ω | | | | ω | | .
Observe that ω is a schema derivation of Γ Δ with a unique cut of depth d. That is,
D G , Cut d 1 Γ Δ .
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,
D D G , Cut d 1 ( Γ Δ ) | | ω | | + D D G ( λ C ) ( ) | | ω | | + D D G ( λ C ) ( ) | | ω | | + D D G ( λ C ) ( ) = D D G , Cut d ( Γ Δ ) + D D G ( λ C )
where ( ) comes from the definition of D D G , Cut d 1 . □
Now we can state the cut elimination theorem.
Proposition 10.
Let D G be a regular Gentzen schema calculus. Then, the following metatheorem holds, for every d N ,
D G , C u t d Γ Δ D G C u t Γ Δ .
Moreover,
D D G C u t ( Γ Δ ) D D G , C u t d ( Γ Δ ) + D D G ( λ C ) .
Proof. 
The proof follows by induction on d.
(Base) d = 0 . Immediate by definition.
(Step) Assume that d 1 . Hence, by the induction hypothesis,
D D G Cut ( Γ Δ ) D D G , Cut d 1 ( Γ Δ ) + D D G ( λ C ) .
The thesis follows by Proposition 9. □
Example 12.
Recall Example 2 and Example 8. Then, by Proposition 10,
D D G C u t J ( Γ η ) D D G , C u t d J ( Γ η ) + D D G , C u t J ( λ C J )
where D D G , C u t J ( λ C J ) is the complexity of the schema lemmas for ∧, ∨ and ⊃.

5.3. Paraconsistent Nelson’s Logic

Recall Nelson’s paraconsistent logic N 4 ([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 N 4 to J + ).
The signature C N 4 for Nelson’s paraconsistent logic is as follows: C 1 N 4 = { } , C 2 N 4 = { , , } and C k N 4 = for k 0 , 2 . Let L N 4 be the set of formulas inductively generated from the set of schema variables Ξ . Recall Example 2. The Gentzen schema calculus
D G N 4
for N 4 over C N 4 is a Gentzen schema calculus
( DL G N 4 , μ G N 4 , sAx G N 4 , sD G N 4 , sP G N 4 )
such that
  • sAx G N 4 is composed by ξ ξ and ξ ξ
  • sD G N 4 = sP G N 4 includes the rules in sD G J , plus the rules
    • L ξ 1 , Π ξ ξ 1 , Π ξ R Π ξ Π ξ
    • L ξ 1 , ξ 2 , Π ξ ( ξ 1 ξ 2 ) , Π ξ R Π ξ 1 Π ξ 2 Π ( ξ 1 ξ 2 )
    • L ξ 1 , Π ξ ξ 2 , Π ξ ( ξ 1 ξ 2 ) , Π ξ R j Π ξ j Π ( ξ 1 ξ 2 ) for j = 1 , 2
    • L ξ 1 , ξ 2 , Π ξ ( ξ 1 ξ 2 ) , Π ξ R Π ξ 1 Π ξ 2 Π ( ξ 1 ξ 2 )
for ξ , ξ 1 , ξ 2 Ξ and Π is a multiset. Observe that sD G N 4 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:
  • depth ( η ) = depth ( η ) ;
  • depth ( ( η 1 η 2 ) ) = 1 + max { depth ( η 1 ) , depth ( η 2 ) } .
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 D G N 4 be a Gentzen schema calculus. Then, the following metatheorem holds, for every d N ,
D G N 4 , C u t d Γ η D G N 4 C u t Γ η .
Moreover,
D D G N 4 C u t ( Γ Δ ) D D G N 4 , C u t d ( Γ Δ ) + D D G N 4 ( λ C ) .
Proof. 
Let L J be the set of formulas over Ξ { ξ : ξ Ξ } . Consider the following translation
τ : L N 4 L J
defined as follows
  • τ ( ξ ) = ξ ;
  • τ ( ξ ) = ξ ;
  • τ ( η 1 η 2 ) = τ ( η 1 ) τ ( η 2 ) for { , , } ;
  • τ ( η ) = η ;
  • τ ( ( η 1 η 2 ) ) = τ ( η 1 ) τ ( η 2 ) ;
  • τ ( ( η 1 η 2 ) ) = τ ( η 1 ) τ ( η 2 ) ;
  • τ ( ( η 1 η 2 ) ) = τ ( η 1 ) τ ( η 2 )
We start by showing that
( ) D G N 4 Γ η iff D G J τ ( Γ ) τ ( η ) .
( ) The proof follows by induction on the length of a derivation ω = ω 1 ω k for D G N 4 Γ η .
(Basis) Immediate.
(Step) We only consider the specific rules for N 4 .
Assume that ω k was obtained by rule L from ω i and ω j with i , j < k . Let
ω k = ( η 1 η 2 ) , Γ η .
Then ω i = η 1 , Γ η and ω j = η 2 , Π η . Hence, ω 1 ω i and ω 1 ω j are schema derivations for ω i and ω j , respectively. Thus, by the induction hypothesis,
D G J τ ( η 1 ) , τ ( Γ ) τ ( η ) and D G J τ ( η 2 ) , τ ( Γ ) τ ( η ) .
Moreover, using L , we have
D G J τ ( η 1 ) τ ( η 2 ) , τ ( Γ ) τ ( η ) .
Therefore, the result follows because τ ( ( η 1 η 2 ) ) = τ ( η 1 ) τ ( η 2 ) .
Assume that ω k was obtained by rule R 1 from ω i with i < k . Let
ω k = Γ ( η 1 η 2 ) .
Hence, ω i = Γ η 1 . Thus, by the induction hypothesis,
D G J τ ( Γ ) τ ( η 1 ) .
Moreover, using R 1 , we have
D G J τ ( Γ ) τ ( η 1 ) τ ( η 2 ) .
Therefore, the result follows because τ ( ( η 1 η 2 ) ) = τ ( η 1 ) τ ( η 2 ) . The case where R 2 was applied is similar. Furthermore, the other specific rules are also similar.
( ) The proof follows by induction on the length of a derivation ω = ω 1 ω k for D G J τ ( Γ ) τ ( η ) .
(Basis) immediate.
(Step) we only consider ∨.
Assume that ω k was obtained by rule L from ω i and ω j with i , j < k . There are two possibilities. Either ω k = τ ( η 1 ) τ ( η 2 ) , τ ( Γ ) τ ( η ) or ω k = τ ( η 1 ) τ ( η 2 ) , τ ( Γ ) τ ( η ) . The first case is straightforward using L on N 4 . For the second case, we have
ω i = τ ( η 1 ) , τ ( Γ ) τ ( η ) and ω j = τ ( η 2 ) , τ ( Γ ) τ ( η )
where i , j < k . Thus, by the induction hypothesis,
D G N 4 η 1 , Γ η and D G N 4 η 2 , Γ η .
Moreover, applying L we get
D G N 4 ( η 1 η 2 ) , Γ η .
The result follows since τ ( ( η 1 η 2 ) ) = τ ( η 1 ) τ ( η 2 ) . The other rules are similar.
So,
D G N 4 , Cut d Γ η D G J , Cut d τ ( Γ ) τ ( η ) D G J Cut τ ( Γ ) τ ( η ) D G N 4 Cut Γ η
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,
D D G N 4 Cut ( Γ η ) D D G N 4 , Cut d ( Γ Δ ) + D D G N 4 ( λ C )
since the structure of the derivation is essentially the same as the derivation in J 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 S 4 and intuitionistic logic J . We also gave a bound on the cut elimination for Nelson’s logic N 4 by providing a translation from N 4 to J + (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 D 1 and D 2 for the same logic, under which conditions, there is a map f : ω f ( ω ) such that
ω is a schema derivation for η D 1 iff f ( ω ) is a schema derivation for η D 2
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 L 1 and L 2 when there is a translation from L 1 to L 2 (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

  1. Thiele, R. Hilbert’s twenty-fourth problem. Am. Math. Mon. 2003, 110, 1–24. [Google Scholar] [CrossRef]
  2. 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]
  3. Prawitz, D. Natural Deduction. A Proof-Theoretical Study; Acta Universitatis Stockholmiensis. Stockholm Studies in Philosophy, No. 3; Almqvist & Wiksell: Stockholm, Sweden, 1965. [Google Scholar]
  4. Prawitz, D. On the idea of a general proof theory. Synthese 1974, 27, 63–77. [Google Scholar] [CrossRef]
  5. Pudlák, P. Improved bounds to the length of proofs of finitistic consistency statements. Contemp. Math. Log. Comb. 1987, 65, 309–332. [Google Scholar]
  6. Mints, G. Selected Papers in Proof Theory, Volume 3 of Studies in Proof Theory; North-Holland: Amsterdam, The Netherlands, 1992. [Google Scholar]
  7. 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]
  8. Troelstra, A.; Schwichtenberg, H. Basic Proof Theory, 2nd ed.; Cambridge University Press: Cambridge, UK, 2000. [Google Scholar]
  9. Negri, S.; von Plato, J. Structural Proof Theory; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar]
  10. Restall, G. Normal proofs, cut free derivations and structural rules. Stud. Log. 2014, 102, 1143–1166. [Google Scholar] [CrossRef]
  11. Krajíček, J. On the computational complexity of finding hard tautologies. Bull. Lond. Math. Soc. 2014, 46, 111–125. [Google Scholar] [CrossRef] [Green Version]
  12. Krajíček, J. Proof Complexity; Cambridge University Press: Cambridge, UK, 2019. [Google Scholar]
  13. Ramos, J.; Rasga, J.; Sernadas, C. Essential structure of proofs as a measure of complexity. Log. Universalis 2020, 14, 209–242. [Google Scholar] [CrossRef]
  14. 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]
  15. 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]
  16. Uspensky, V. Kolmogorov and mathematical logic. J. Symb. Log. 1992, 57, 385–412. [Google Scholar] [CrossRef]
  17. 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]
  18. Nelson, D. Constructible falsity. J. Symb. Log. 1949, 14, 16–26. [Google Scholar] [CrossRef]
  19. Carnielli, W.; Coniglio, M. Paraconsistent Logic: Consistency, Contradiction and Negation; Springer: Basel, Switzerland, 2016. [Google Scholar]
  20. Kamide, N.; Wansing, H. Proof theory of Nelson’s paraconsistent logic: A uniform perspective. Theor. Comput. Sci. 2012, 415, 1–38. [Google Scholar] [CrossRef]
  21. Reckhow, R. On the Length of Proofs in the Propositional Calculus. Ph.D. Thesis, University of Toronto, Toronto, ON, Canada, 1975. [Google Scholar]
  22. Urquhart, A. The complexity of propositional proofs. Bull. Symb. Log. 1995, 1, 425–467. [Google Scholar] [CrossRef] [Green Version]
  23. 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]
  24. Sernadas, C.; Rasga, J.; Carnielli, W. Modulated fibring and the collapsing problem. J. Symb. Log. 2002, 67, 1541–1569. [Google Scholar] [CrossRef] [Green Version]
  25. 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.

Share and Cite

MDPI and ACS Style

Ramos, J.; Rasga, J.; Sernadas, C. Schema Complexity in Propositional-Based Logics. Mathematics 2021, 9, 2671. https://doi.org/10.3390/math9212671

AMA Style

Ramos J, Rasga J, Sernadas C. Schema Complexity in Propositional-Based Logics. Mathematics. 2021; 9(21):2671. https://doi.org/10.3390/math9212671

Chicago/Turabian Style

Ramos, Jaime, João Rasga, and Cristina Sernadas. 2021. "Schema Complexity in Propositional-Based Logics" Mathematics 9, no. 21: 2671. https://doi.org/10.3390/math9212671

APA Style

Ramos, J., Rasga, J., & Sernadas, C. (2021). Schema Complexity in Propositional-Based Logics. Mathematics, 9(21), 2671. https://doi.org/10.3390/math9212671

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop