4.1 Natural deduction system
Natural deduction in its modern form was independently proposed by the German mathematician, Gerhard Gentzen in 1934, in a dissertation delivered to the faculty of mathematical sciences of the University of Göttingen. Gentzen was motivated by a desire to establish the consistency of number theory. He was unable to prove the main result required for the consistency result, the cut elimination theorem—the Hauptsatz—directly for natural deduction. For this reason, he introduced his alternative system, the sequent calculus, for which he proved the Hauptsatz both for classical and intuitionistic logic. In a series of seminars in 1961 and 1962, Prawitz gave a comprehensive summary of natural deduction calculi, and transported much of Gentzen’s work with sequent calculi into the natural deduction framework.
Natural deduction grew out of a context of dissatisfaction with the axiomatizations of deductive reasoning common to the systems of Hilbert, Frege and Russell (see, e. g., Hilbert system), axioms from (1) to (9) of the Classic Propositional Logic (CPL) provided in Section A.1 in the Appendix.
In the natural deduction system of Gentzen and Prawitz, a deduction consists in deriving a proposition (formula, denoted by a , b , c , d , … in what follows, while logical conjunction is denoted by product ‘×’, disjunction by sum ‘+’, while the implication by ‘⇒’) from a finite number of packets of assumptions, using some predefined inference rules. Technically, packets are multisets of propositions. During the course of a deduction, certain packets of assumptions can be “closed” or “discharged.”
A proof is a deduction such that all the assumptions have been discharged. In order to formalize the concepts of deduction, one faces the problem of describing rigorously the process of discharging packets of assumption. The difficulty is that one is allowed to discharge any number of occurrences of the same proposition in a single step, and this requires some form of tagging mechanism.
4.1.1 First solution for tagging techniques of natural deduction
The first solution
This one, used by Gentzen and Prawitz [ 18 ], consisting in viewing a deduction as a tree whose nodes are labeled with propositions. One is allowed to tag any set of occurrences of the same proposition with a natural number, which tags the inference that triggers the simultaneous discharge of all the occurrences tagged by that number. Now we can introduce the set of axioms and inference of natural deduction, as follows:
-
The axioms and inference rules of the system Σ M ( minimal positive propositional logic ) are listed below (a formula written within square brackets above premises is to indicate that assumptions of this form occurring above the premises are discharged at this inference).
1.
The axiom:
a a ( R )
2.
The inference rules for logical connectives (introduction and elimination):
[ a ] b a ⇒ b ( → ⇒ ) , a ⇒ b , a b ( ⇒ → ) a , b a × b ( → × ) a × b a ( × → ) 1 , a × b b ( × → ) 2 a a + b ( → + ) 1 , b a + b ( → + ) 2 a + b [ a ] d [ b ] d d ( + → )
-
The axioms and inference rules of the system Σ I ( positive intuitionistic propositional logic ) are obtained by the system Σ M adding the following intuitionistic absurdity rule (the constant ⊥ is introduced for absurdity or falsehood ):
(4.1) ⊥ a ( ⊥ → )
The inferences are broken into atomic steps in such a way that each step involves only one logical connective. The steps are of two kinds, and for each logical connective there are inferences of both kinds: steps that allow the introduction of logical connectives ((→×), (→+) and (→⇒)), and steps that allow the elimination of the logical connective, ((×→), (+→) and (→⇒)).
Example 12.
Let us consider the following example of the natural deduction tree:
We are particularly interested in the inference rule for the introduction of the implication (→⇒), based (as a rule of disjunction elimination (+→)) on the hypothetical derivation. Each hypothetical derivation has a collection of antecedent derivations written on the top line (by [ a ] in this case), and a succedent judgment written on the bottom line (judgment b in our case). The notion of hypothetical judgment is internalized as the connective of the implication. This fact of “internalized,” in our categorial framework corresponds to the derivation of this implication in a base category from an arrow f : a → b of this category in which the arrows corresponds to logical derivations.
Let us denote by ND this category for the natural deduction of the propositional formula from other true formula. In this category, we have two kinds of arrows, deductive and non-deductive, and two kinds of objects, logical formulae and nonlogical formulae (having tensor products as connectives as well). It means that each inference rule must correspond to an arrow (deduction) in this category, from the upper formula to the derived formula, and hence there are the following properties that this category ND has to satisfy:
1.
The objects of ND are initially defined true formulae in a set Γ of assumptions, and also all other derived objects from them (true formulae derived by inference rules, products, tensor products, etc.).
2.
Between two objects of ND can be at most one arrow (derivation) as in partial orders. The derivation a a given by axiom (R) of a proposition a corresponds to the unique identity deductive arrow id a : a → a of this object a . The deductive derivation [ a ] b of the logic formula b from a logic formula a , used in the inference rules of natural deductions, is represented by the deductive arrow f : a → b in ND .
3.
The structural operation “comma” used in inference rules (⇒→) and (→×), which represents the set of two formulae, will be represented by the tensor product operator ⊗. Consequently, any pair of two formulae, which is not a logical formula , is represented by the single object a ⊗ b (which is not a limit object in ND ), respectively. So, the inference rule (→×) is represented in ND by the following nondeductive arrow (because the tensor product a ⊗ b is not a logical formula):
(4.2) π : a ⊗ b → a × b .
The point 3 above introduces the objects (tensor) products, which are not logical formulae while, from rule (→⇒), the logical implication a ⇒ b must be introduced from derivation of b from a (a deductive arrow in ND from formula a to formula b ). The necessity to introduce the logical implication a ⇒ b , as an object in ND , from a deductive arrow (derivation) f : a → b of ND , means that we need the category symmetry, with the conceptual-closure functor T e : ND ↓ ND → ND , such that the implication is defined to be the conceptualized object of ND :
(4.3) ( a ⇒ b ) ≜ f ˜ \= T e 0 J ( f ) iff f : a → b is a deductive arrow .
Note that f ˜ \= T e 0 J ( f ) is an object of ND also if f : a → b is a nondeductive arrow, e. g., for the arrow π in ( 4.2 ), so that we have the nonlogical object π ˜ \= T e 0 J ( π ) but we have no logical object ( a ⊗ b ) ⇒ ( a × b ) . So, we can try to reasonably use the extended-symmetry properties for this new category ND .
Thus, the inference rule (→⇒) means that, if hypothetically we have the deduction (a deductive arrow f : a → b in ND ), then we must have the implication a ⇒ b iff both a and b are logical formulae. So, this inference rule (→⇒) can be represented in ND by the following nondeductive isomorphic arrow:
(4.4) is ⇒ : b → ( a ⇒ b )
with its inverse arrow is ⇒ − 1 : ( a ⇒ b ) → b , such that is ⇒ − 1 ∘ is ⇒ \= id b is the identity arrow of the object (derived formula from this inference rule) b . So, we obtain the following commutative diagram for each arrow f : a → b :
where τ f ≜ is ⇒ ∘ f and τ f − 1 ≜ is − 1 , i. e., ND has to be symmetry-extended category.
We can consider now the rest of the inference rules. The two elimination rules for the logical conjunction ×, ( × → ) 1 and ( × → ) 2 can be directly represented by the first and second deductive projections (epimorphisms) π 1 : a × b → a and π 2 : a × b → b relatively in ND , by considering the objects a × b as products (limits) in ND .
From the fact that from an object a into b in ND , we can have at most one arrow f : a → b , in the case when both a and b are logical formulae and f is a deductive arrow, the conceptualized object a ⇒ b represents the derivation of b from a , and hence the products ( a ⇒ b ) × a represent the application of this derivation to the formula a in order to obtain the derived formula b . That is, we obtain the unique “evaluation” deductive arrow eval a , b : ( a ⇒ b ) × a → b in ND , as a composition of two deductive arrows:
(4.6) eval a , b ≜ f ∘ π 2 : ( a ⇒ b ) × a → b .
The introduction rule for conjunction a × b can be interpreted by the standard bifunctor × : ND × ND → ND , and hence by request that ND for any two objects a and b must have the limit (product) a × b . This product is a logical conjunction iff both objects a and b are logical formulae . In this way, also the “modus ponens” rule of elimination of implication (⇒→) can be represented by using the bifunctor × : ND × ND → ND in order to transform the pair ( a ⇒ b , a ) into the product (limit object) ( a ⇒ b ) × a .
From the fact that the domain of this evaluation arrow, for a given arrow f : a → b , i. e., for the object J ( f ) in the arrow category ND ↓ ND , is equal to
( a ⇒ b ) × a \= T e 0 ( J ( f ) ) × F st 0 ( J ( f ) ) \= × ( T e 0 ( J ( f ) ) , F st 0 ( J ( f ) ) ) \= × ⟨ T e , F st ⟩ ( J ( f ) )
for the composed functor ⟨ T e , F st ⟩ : ND ↓ ND → ND × ND , and the bifunctor × : ND × ND → ND , we can define the new descending functor,
(4.7) A p p ≜ × ∘ ⟨ T e , F st ⟩ : ND ↓ ND → ND .
So, the “modus ponens” inference rule (⇒→), by using the tensor product ⊗ : ND × ND → ND for the structural comma operation, can be given by the unique composed arrow
(4.8) m p ≜ eval a , b ∘ π : ( a ⇒ b ) ⊗ a → b .
Note that, differently from the product ×, which generates the limit cones with deductive projections π 1 and π 2 , the tensor product ⊗ does not generate the limit cones, but has the two projections π 1 ∘ π and π 2 ∘ π as well, from the following commutative diagram valid for all objects with nondeductive arrow π :
The consequence of this fact (that tensor product is not a limit) is that we have no inverse arrow to the arrow π , from a × b , which is conjunctive logic formula (iff both a and b are logical formulae) to a ⊗ b , which interprets the ordered set of two formulae a and b .
So, it remains only to find the solution for the inference rules with logical disjunction +: the rules of introduction ( → + ) 1 and ( → + ) 2 can be directly represented as the arrow components (monomorphisms) of the cocone of the colimit (coproduct) a + b , i. e., deductive injections in 1 : a ↪ a + b and in 2 : b ↪ a + b , respectively.
Then the last rule of disjunction elimination (+→), with the two hypothetical judgments, can be expressed by the statement that: if there exists another cocone with the vertex d and with two arrow components of this cocone j 1 : a → d and j 2 : b → d (corresponding to “hypothesis”), then there is a unique arrow ⟨ j 1 , j 2 ⟩ : a + b → d , with
Coproduct a + b is a logical conjunction formula iff both objects a and b are logical formulae . Consequently, the three inference rules with logical disjunction + require only that ND have the coproducts. With this, we finished the analysis of the first solution of tagging techniques, and hence we can consider the second one.
4.1.2 Sequent-based solution for tagging techniques
The second solution consists in keeping a record of all undischarged assumptions at every stage of the deduction. We use variables for the labels, and a packet labeled with x , consisting of occurrences of the proposition a , is written as x : a . Thus, a deduction is a tree whose nodes are labeled with expressions of the form x 1 : a 1 , … , x n : a n ⊢ b , with x i ≠ x k for all k ≠ i , called sequents, where b is a proposition, and Γ \= x 1 : a 1 , … , x n : a n is a list of all undischarged assumptions at the stage of the deduction associated with this node. It is convenient to tag packets of assumptions with labels, in order to discharge the propositions in these packets in a single step. The axioms and inference rules of the system Σ M ( minimal positive propositional logic ), in this sequent-based formulation, are listed below.
1.
The axiom:
Γ , x : a ⊢ a ( R )
2.
The inference rules for logical connectives (introduction and elimination):
Γ , x : a ⊢ b Γ ⊢ a ⇒ b ( → ⇒ ) , Γ ⊢ a ⇒ b Γ ⊢ a Γ ⊢ b ( ⇒ → ) Γ ⊢ a Γ ⊢ b Γ ⊢ a × b ( → × ) Γ ⊢ a × b Γ ⊢ a ( × → ) 1 , Γ ⊢ a × b Γ ⊢ b ( × → ) 2 Γ ⊢ a Γ ⊢ a + b ( → + ) 1 , Γ ⊢ b Γ ⊢ a + b ( → + ) 2 Γ ⊢ a + b Γ , x : a ⊢ d Γ , y : b ⊢ d Γ ⊢ d ( + → )
Let us consider the Example 12 of natural deduction by this sequent calculus:
Remark.
Next, a bold letter, like c , denotes an object of ND , which is not logical formula , while nonbold letters denote the logical formulae. □
The first step, in order to translate this sequent calculus into categorial language, is to define the categorial interpretation of it.
Definition 16 (Categorial interpretation of sequents).
The interpretation by the categorial language is based on the representation of the sequent by an arrow, and the assumptions Γ \= x 1 : a 1 , … , x n : a n by the tensorial product c \= a 1 ⊗ ⋯ ⊗ a n nominate by the “context object,” while the sequents with the composed left-hand side Γ, x : a ⊢ b is interpreted by the next two arrows:
1.
The deduction-sequent arrow f : c ⊗ a → b .
2.
A precondition arrow g : a → b , used to derive the deduction arrow f .
In this case, from the fact that in ND we have, from the commutative diagram (4.9), the projection tensor product arrow π 2 ∘ π : c ⊗ a → a , by using this precondition arrow g , we obtain the following composition of the deduction-sequent arrow:
(4.11) f \= g ∘ π 2 ∘ π : c ⊗ a → b .
With this categorial interpretation of the sequents in the ND category, we obtain the following transformation of the sequent system above in the categorial language:
1.
Axiom (R) with precondition arrow id a : a → a (identity arrow of the object a always there exists in a category), is represented by the arrow f \= id a ∘ π 2 ∘ π \= π 2 ∘ π : c ⊗ a → a .
2.
The inference rule for introduction of implication (→⇒), for the precondition arrow f : a → b of ND , which defines the implication object ( a ⇒ b ) \= T e 0 ( J ( f ) ) and the arrow k \= f ∘ π 2 : c × a → b , is traduced by
k ∘ π : c ⊗ a → b Λ ( k ) : c → a ⇒ b ( → ⇒ )
where from ( 4.2 ) we have the arrow π : c ⊗ a → c × a , and we obtain the constraint
(4.12) if there exists an arrow k \= f ∘ π 2 : c × a → b , then must exist Λ ( k ) : c → a ⇒ b
where Λ ( k ) is the “abstraction” of the arrow k .
3.
The inference rule for elimination of implication (⇒→) is traduced by
h : c → a ⇒ b k : c → a f ∘ k : c → b ( ⇒ → )
where f : a → b is an arrow between two logical formulae, for which there exists the object (logical implication) ( a ⇒ b ) \= T e 0 ( J ( f ) ) in ND .
4.
The inference rule for introduction of product (→×) is traduced by
k 1 : c → a k 2 : c → b ⟨ k 1 , k 2 ⟩ : c → a × b ( → × )
as it follows from the commutative diagram for the product (limit) cone:
5.
The inference rules for elimination of product (×→) are traduced by (see the commutative diagram above)
k : c → a × b π 1 ∘ k : c → a ( × → ) 1 , k : c → a × b π 2 ∘ k : c → b ( × → ) 2
6.
The inference rules for introduction of coproduct (→+) is traduced by (see the commutative diagram of coproduct cocone (4.10)),
k 1 : c → a in 1 ∘ k 1 : c → a + b ( → + ) 1 , k 2 : c → b in 2 ∘ k 2 : c → a + b ( → + ) 2
7.
The inference rule for elimination of coproduct (+→), by Definition 16 , introduces two precondition arrows: j 1 : a → d from conditional sequent Γ, x : a ⊢ d and j 2 : b → d from conditional sequent Γ, y : b ⊢ d used to derive the deduction-sequent arrows by ( 4.11 ), we obtain
k : c → a + b j 1 ∘ π 2 ∘ π : c ⊗ a → d j 2 ∘ π 2 ∘ π : c ⊗ b → d [ j 1 , j 2 ] ∘ k : c → d ( + → )
as follows from the extension of the cocone coproduct diagram (4.10):
Thus, by enabling the natural deduction also with the sequent-based tagging technique, we obtained only the new constraint provided by ( 4.12 ).
4.2 Definition of symmetry-extended category ND for natural deduction
We have introduced informally in the previous section the symmetry-extended category ND , such that for a given set of assumptions (set of true formulae) Γ, for each inference rule introduce an arrow, as explained previously, so that this category for each two objects would have at most one arrow between them as in partial orders. 1
Having this in mind, before the complete formal definition of this natural deduction category of Σ M , denoted by ND , let us consider how the natural deduction tree in Example 12 would be represented by composition of the arrows (atomic deductions) in this category:
The numbers in the parenthesis denote the steps of deduction, while the dotted arrows are that from which conceptualized objects of premises (top objects in this diagram) are derived, from left to right: subformula ( b ⇒ c ) \= T e 0 ( J ( j 6 ) ) , the formula (object) ( a ⇒ ( b ⇒ c ) ) \= T e 0 ( J ( j 2 ) ) and the object (formula) ( a ⇒ b ) \= T e 0 ( J ( j 3 ) ) . Thus, these dotted arrows are part of the assumptions of the natural deduction expressed by diagram above. The rest of arrows are part of the deductive process.
Definition 17.
For a natural deduction system with the initial set of assumptions (true formula) Γ, we define the deductive category ND with the following properties:
1.
Γ is a strict subset of its objects.
2.
For any two objects a and b , there exists at most one arrow f : a → b of ND (it is a preorder category), and their product a × b (logical conjunction iff a and b are logical formulae) with its limit cone arrows π 1 : a × b → a and π 2 : a × b → b , their coproduct a + b (logical disjunction iff a and b are logical formulae) with colimit’s cocone arrows j 1 : a → a + b and j 2 : b → a + b , and finally also their tensorial product a ⊗ b with the arrow π : a ⊗ b → a × b .
3.
For each arrow (natural deduction) f : a → b between two logical formulae a and b , there exist the logical implication between these two formulae (objects),
(4.18) ( a ⇒ b ) ≜ f ˜ \= T e 0 J ( f )
obtained by the functor T e \= ( T e 0 , T e 1 ) : ND ↓ ND → ND , with two derived natural transformations, ․ τ : F st → ․ T e and natural isomorphism ․ τ − 1 : T e → ․ S nd , so that in commutative diagram (4.5) we have the arrows τ f \= τ ( J ( f ) ) and τ f − 1 \= τ − 1 ( J ( f ) ) . In correlation with such logical implication, obtained from the arrow f : a → b , there exists also the arrow eval a , b : ( a ⇒ b ) × a → b , as specified by ( 4.6 ), and for each arrow k \= f ∘ π 2 : c × a → b the arrow Λ ( k ) : c → a ⇒ b derived from ( 4.12 ).
This category is well-defined, and we have to show that it is valid for the representation principle, that is, the natural isomorphism φ : T e ∘ ▲ ≃ I ND . That is, for each formula a with its identity arrow id a : a → a , and hence the conceptualized object ( a ⇒ a ) \= T e 0 ( J ( id a ) ) , there is the isomorphism a ≃ ( a ⇒ a ) . It is easy to verify that it is true, from the existence of the arrow τ ( J ( id a ) ) : a → ( a ⇒ a ) and its opposite arrow τ − 1 ( J ( id a ) ) : ( a ⇒ a ) → a . So, from the fact that between two objects of ND there is at most one arrow, we obtain that τ ( J ( id a ) ) ∘ τ − 1 ( J ( id a ) ) \= id a ⇒ a and τ − 1 ( J ( id a ) ) ∘ τ ( J ( id a ) ) \= id a , and hence, for each formula (object) a , which is by definition of ND a true formula, we obtain logically valid equivalence a ≃ ( a ⇒ a ) .
What makes Gentzen’s systems especially interesting is the discovery of certain symmetry between the atomic inferences: a proof of the conclusion of an elimination is already “contained” in the proof of the premises when the major premise is inferred by introduction.
We shall refer to this by saying that the pairs of corresponding introduction and elimination satisfy the inverse principle : it means that nothing new is obtained by an elimination immediately following an introduction. This principle has been provided for category ND by Proposition 13 in [ 4 ], which here can be expressed by more simple mathematical expression, for each deductive arrow f : a → b between two formulae, relatively:
(4.19) τ − 1 ( J ( f ) ) ∘ ( τ − 1 ( J ( f ) ) ) − 1 \= id b and ( τ − 1 ( J ( f ) ) ) − 1 ∘ τ − 1 ( J ( f ) ) \= id a ⇒ b
based on the fact that for ND , τ − 1 is a natural isomorphism, so that the arrow ( τ − 1 ( J ( f ) ) ) − 1 : b → ( a ⇒ b ) is the inverse arrow of τ − 1 ( J ( f ) ) : ( a ⇒ b ) → b (expressed in [ 4 ] by ( 4.16 ) and ( 4.15 ), relatively). Thus, for each arrow f : a → b , from Definition 17 , we have the following commutative diagram (the bottom triangle is the commutative diagram of the limit cone of the product (limit) object ( a ⇒ b ) × a with the well-defined cone with vertex object a , so that the arrow ⟨ id a , τ J ( f ) ⟩ is the unique arrow from this cone into the limit cone),
so that the “evaluation” arrow eval a , b \= τ J ( f ) − 1 ∘ π 1 \= f ∘ π 2 there exists, as specified in ( 4.6 ). With this fact, all requirements by the natural deduction are satisfied by the category ND .
Now we are ready to demonstrate the follow proposition.
Corollary 9.
Each category ND is a symmetry-extended category.
The covariant implication functor T e \= ( T e 0 , T e 1 ) : ND ↓ ND → ND derive logic implications of two formulae by its object component T e 0 as conceptualized objects obtained from natural derivations (arrows of ND ), while its arrow component T e 1 , for each arrow ( h ; k ) : J ( f ) → J ( g ) , satisfies
(4.21) T e 1 ( h ; k ) \= ( τ J ( g ) − 1 ) − 1 ∘ k ∘ τ J ( f ) − 1 .
Proof.
From the commutativity of the external arrows of the diagram (4.20), we have that ψ ( J ( f ) ) \= f \= id a ∘ f \= τ − 1 ( J ( f ) ) ∘ τ ( J ( f ) ) \= ( τ − 1 ∙ τ ) ( J ( f ) ) , and hence we obtain that
τ − 1 ∙ τ \= ψ
as required for the symmetry-extended categories.
It is easy to verify that for each arrow ( h ; k ) : J ( f ) → J ( g ) , the following diagram in ND commutes:
i. e., the arrow component of the closure functor T e is well-defined and satisfies, for each arrow ( h ; k ) : J ( f ) → J ( g ) the equation ( 4.21 ), from the fact that from the object f ˜ into the object g ˜ in ND can exist at most one arrow. □
The more frequent interpretations for the logical implications are one of these two kinds:
-
Classical : In classical logic, the meaning of the logic implication is defined by its truth-function, analogously as it is provided for the logical conjunction and disjunction. For this classical logic interpretation, the categorial model is defined by a (noncovariant) bifunctor ⇒ : C OP × C → C , contravariant for the first and covariant for the second argument (see, e. g., in [ 19 ]), such that ( a ⇒ b ) ≜ ( ¬ a + b ) , i. e., the implication is by other two logical connectives: classical negation ¬ and disjunction +.
-
Constructive : In nonclassical logic, an implication a ⇒ b is defined independently from other logical connectives as the constructive approach in which a construction of formula b from a allows the inference of a ⇒ b . Historically, the intuitionistic philosophy (I. E. Brower at the beginning of last century) seams to have been the first one to realize that, by rejection of nonconstructive arguments such as, e. g., the “excluded middle” law (as provided with axiomatic system of propositional logic in Section A.1 in the Appendix).
A systematic account of the constructive interpretation of the logical connective ⇒, along the lines of the explanations by Heyting (1956), can be given by defining inductively when something is a constitution of a sentence over a Post system S , where all inference rules are of the form a 1 , … , a n → b and all a i , for 1 ≤ i ≤ n and b are atomic formulae:
1.
When a is atomic proposition, a construction k is simply a construction of a in S ;
2.
k is a construction of a ⇒ b iff k is “constructive” function (recursive for the Church thesis), such that for each construction k ′ of a , the k ( k ′ ) , i. e., the value of k for the argument k ′ , is a construction of b .
Curry and Feyes (1958) presented the analogy between the logical constructions of propositions (intuitionistic logic) and terms (functions) of typed λ -calculus, extended by Howard (1969) and by Martin-Löf (1969) for a predicate logic: this correspondence, also known by the suggestive name of Curry–Howard “ formulae-as-types ” analogy, has been a main methodological tool for the design of new functional languages with a powerful-type system.
The Curry–Howard correspondence works only for logical systems of intuitionistic logic . This restriction should be clear, since the constructive, procedural interpretation of this notion of proof was the very basis of Brower’s approach to mathematics, which inspired Heyting’s formalization of intuitionistic logic. The “ formulae-as-types ” has a direct application to systems of natural deduction, where one proceeds by the method of drawing inferences from assumptions, considered here.
So, for the natural deduction we can introduce the new definition of the covariant functor for definition of the logical implication between formulae, based on the specific constructive interpretation explained above. This non-bifunctorial consideration (used for the classical logic) is a consequence of the following observations provided by the relevant logics:
1.
While the logical conjunction and disjunction of two formulae a and b are binary symmetric operations (categorial products and coproducts) a × b \= b × a and a + b \= b + a , this symmetric property does not hold for the implication. So, the implication depends of the ordering of its arguments, which is a vectorial property, in contraposition with the scalar properties of the conjunction and disjunction. Intuitively, the implication does not depend only on the truth values of its arguments, but represent a transitional property from its first into the second arguments, which is expressed, e. g., by the (possibly relevant ) deduction of the second argument from its first argument, different from the interpretation of implication in the classical logic. This principle has been the reason to overcome this classical logic inconsistency by research of meaningful relevant logics.
2.
In the actual functorial interpretation of logical connectives, there exists the adjunction between the product (and product) bifunctor and the diagonal functor △ : C → C × C , while this adjunction does not exist for the exponentiation bifunctor ⇒ : C OP × C → C used actually for the implication of classical logic.
3.
By considering the operational semantics of Gentzen (1935), provided in his natural deduction system, by the inference rule (→⇒), it is possible to infer (introduce) the implication a ⇒ b only if there is some deduction of the formula b from a .
Consequently, the original categorial semantics for such constructive approach to the logical implication, by definition of a covariant functor ⇒ : C ↓ C → C , has been provided [ 4 ] in my PhD thesis, and here (in a technically different way) represented by Definition 17 and Corollary 9 for application to the positive propositional fragment of natural deduction by identifying this covariant implication functor with the closure functor T e : ND ↓ ND → ND provided in Definition 17 .
Now, we can specify the arrows j k , 1≤9, in the commutative diagram (4.17), based on the properties of the closure functor T e and its natural transformations τ and τ − 1 . We will denote by f \= j 3 : a → b and g \= j 6 : b → c , which guarantee the existence of the conceptualized object a ⇒ b \= T e 0 ( J ( f ) ) and b ⇒ c \= T e 0 ( J ( g ) ) , used in the assumptions of this deduction (in the top line of (4.17)), so that we obtain
with the composed arrow
k \= ( τ − 1 ( J ( g ∘ f ) ) ) − 1 ∘ g ∘ τ − 1 ( J ( f ) ) : a ⇒ b → a ⇒ c and h \= ( τ − 1 ( J ( g ∘ f ) ) ) − 1 ∘ g ∘ τ − 1 ( J ( f ) ) ) ) ) − 1 ∘ ∘ ( τ − 1 ( J ( g ∘ f ) ) ) − 1 ∘ τ − 1 ( J ( g ) ) ∘ τ − 1 ( J ( τ ( J ( g ) ) ∘ f ) ) : ( a ⇒ ( b ⇒ c ) ) → ( ( a ⇒ b ) ⇒ ( a ⇒ c ) ) .
4.2.1 The properties of the covariant implication functor
So far, we have determined that the natural deduction category ND is a Cartesian category, where for each two objects a and b , the limit object a × b corresponding to the product there exists. What we need now is to verify if the further closure property, generally holds, or if not generally, what are the limitations.
First of all, to verify if we have the exponents of a and b , denoted by b a , which suitably represents the set of morphisms from the object a into the object b . From the fact that in the natural deduction category ND , in Definition 17 , it holds that at most from a into b there exists only one arrow , and we conclude that if there exists such an arrow f : a → b of ND , then we can define the exponent object b a to be equal (up to isomorphism) to the logical implication ( a ⇒ b ) ≜ T e 0 ( J ( f ) ) obtained from the closure functor T e \= ( T e 0 , T e 1 ) : ND ↓ ND → ND , so that this exponent object indeed represents the morphisms (in our case the unique morphism) from a into b .
From the reference to typing in programming, the key property of these conceptualized objects a ⇒ b , which represents (by symmetry property) the morphisms, provides an interpretation to a common construct in actual programming; namely, the identification of types such as ( a × b ) ⇒ c and a ⇒ ( b ⇒ c ) . This corresponds to the important uniformity property of programs of several arguments, which is directly inherited from classical recursion theory, and represented by the exponentiation commutative diagram (A.19) in Section A.2 in the Appendix.
However, ND has no the exponent c b , i. e., b ⇒ c , for each pair of the objects b and c , but only if there is a deduction (an arrow) g : b → c , and hence ND is not a Cartesian Closed Category (CCC).
Thus, in what follows, we will examine the limitations for which the exponentiation commutative diagram (4.23) above is well-defined in the natural deduction category ND , i. e., in some way is a “partial concept” of exponentiation.
Corollary 10.
For each product a × b , where a can be a nonformula object as well, the domain of a composed arrow k \= g ∘ π 2 : a × b → c , with the conceptualized object ( b ⇒ c ) \= T e 0 ( J ( g ) ) obtained from the deduction (arrow) g : b → c of the formula c from the formula b, the exponentiation diagram in ND commutes,
with the “evaluation” arrow eval b , c from ( 4.6 ) and Λ ( k ) from ( 4.12 ).
Proof.
It holds directly from the point 3 of Definition 17 . In effect, having the arrow g : b → c , and hence the conceptualized object (exponent) b ⇒ c then, from ( 4.6 ), we always have the (unique) arrow eval b , c \= τ − 1 ( J ( g ) ) ∘ π 1 \= g ∘ π 2 : ( b ⇒ c ) × b → c of ND (from the fact that from a given object into another object of ND we can have at most one arrow).
So, if there exists a composed arrow k \= g ∘ π 2 : a × b → c in ND , from the sequent-inference rule of introduction of implication, from ( 4.12 ) there exists also Λ ( k ) , the “abstraction” of the arrow k . The equation k \= eval b , c ∘ ( Λ ( k ) × id b ) : a × b → c must be satisfied because from the object a × b into the object c can exist at maximum one arrow in a category ND . □
Remark.
Note that for the case when a \= c \= b are the same formula, we obtain k \= π 1 : b × b → b , and hence we obtain always , for each formula (an object) b of ND , the commutative exponentiation diagram (4.24) because we have always the identity arrow id b : b → b , and its conceptualized object ( b ⇒ b ) \= T e 0 ( J ( id b ) ) , and that in this case both arrows g : b → b are just the identity arrow id b (between b and b can be at most one arrow in ND , and it is just the identity arrow id b ), and hence we obtain the maximal reduction Λ ( k ) \= Λ ( π 1 ) \= ( φ ( cod ( π 1 ) ) ) − 1 \= ( φ ( b ) ) − 1 : b → ( b ⇒ b ) , i. e., Λ ( k ) \= Λ ( π 1 ) \= τ ( J ( id b ) ) : b → ( b ⇒ b ) . □
Moreover, the exponentiation diagram (4.24) can be extended to tensorial product as well:
Corollary 10 expresses the weaker constraints for the natural deduction category ND w. r. t. the Cartesian Closed Categories (CCC): we do not have for each pair of objects a and b the exponent object a ⇒ b . It means that for this category ND we have no the adjunction between the standard diagonal functor and exponentiation bifunctor ⇒ : ND OP × ND → ND (which is usually used for the definition of CCCs). Let us now verify which kind of adjunction we can use for the definition of natural deduction category instead of the adjunction with the exponentiation bifunctor.
The transformation of the natural deduction category ND into the Cartesian category is easily obtained by its extension with the new tautology (or truth) constant ⊤ as the terminal object in ND , so that it is meaningful to analyze if ND can have some property of local CCC , from the fact that we verified that it cannot be a global CCC.
We recall that in actual category theory, a category C is a (global) CCC when it satisfies that for every object b , the (covariant) functor F \= _ × b : C → C has a right adjoint covariant functor G \= b ⇒ _ : C → C , where ⇒ : C OP × C → C is the classical exponentiation bifunctor contravariant for the first and covariant for the second argument. Consequently, this adjunction ( F , G , ε , η ) is represented by the following commutative diagrams in C :
where the right-hand commutative diagram, with the arrow F ( h ) \= h × id b , is equal to exponentiation diagram (4.24).
4.2.2 Local Cartesian Closed Adjunction (pCCC)
In this section, we intend to define a kind of locally valid (partial) adjunction between the categorial products and the covariant implication functor T e : ND ↓ ND → ND with the properties provided by ( 4.21 ) in Corollary 9 in a previous section.
As was previously concluded, the (global) CCC is a too strong constraint for the natural deduction Cartesian categories ND with the terminal object ⊤, from the fact that in them for a given two objects b and c , the “exponent object,” defined as logical implication b ⇒ c , does not exist if we have no deduction (an arrow in ND ) of the formula (an object) c from the formula b . In effect, the covariant closure functor T e does not define the exponents b ⇒ c if there is no an arrow g : b → c of this natural deduction category ND . So, at maximum we can obtain a kind of partial CCC property of ND (denoted by pCCC), with partial adjunctions and partial universal arrows of ND . Hence, we have to define formally such partial universal arrows (denominated as “p-universal arrows”) as follows.
Definition 18.
Let G : D → C be a functor and a ∈ Ob C an object of C . A p-universal arrow w. r. t. a given full subcategory D _ of D , from a ∈ Ob C to G , is a pair ( d , u ) which consists of an object d of D and an arrow u : a → G 0 ( d ) in C , such that for every pair ( c , h ) , where c is an object of D _ and an arrow h : a → G 0 ( c ) in C there exists a unique arrow h _ : d → c in D such that the following diagram commutes:
The locality of the p-arrows w. r. t. the (global) universal arrow is obtained by the restriction of the objects c to be only in the (local) subcategory D _ . In what follows, for the natural deduction category ND this locality regards a prefixed object (a formula) and all deductions of other formulae (other objects) from this given object: locality in this case determines the full subcategory D _ ⊂ D composed by these local deductions. That is, the locality in this case corresponds to the locality of the natural deductions from a given formula.
Now we can extend this concept of locality to the adjunctions as well.
Definition 19.
A partial adjunction for a covariant functor G : D → C , local w. r. t. a full subcategory D _ of D , denoted by ( G , K , ε , η ) , with its right adjoint functor K : C → D , is defined by the following constraints:
1.
For the unit ․ η : I C → ․ G ∘ K and for each object a ∈ Ob C of C , the arrow component η ( a ) : a → G 0 K 0 ( a ) is a p-universal arrow from a ∈ Ob C to G w. r. t. a full subcategory D _ of D .
2.
For the counit ․ ε : K ∘ G → ․ I D and each object c of the subcategory D _ , the arrow component ε ( c ) is universal from K to c .
In a special case when D _ \= D , a local (partial) adjunction corresponds to the global adjunction.
A partial adjunction for a covariant functor G : D → C can be “completed” by introducing the disjoint partition of the full subcategories of the category D , as follows.
Definition 20 (Partitioned Adjunction).
Let H : S D → S C , for the subsets of objects S D ⊆ Ob D and S C ⊆ Ob C , be a partition function with the kernel Ker H , such that for each object b ∈ Im ( H ) ⊆ S C , the equivalence class
(4.27) [ b ] ≜ { d ∈ S D ∣ b \= H ( d ) } \= { d ∣ ( b , d ) ∈ Ker H }
defines the objects of the full subcategory D [ b ] of D . Let us denote by S D / Ker H the set of all equivalence classes generated by the function H .
Consequently, a partitioned adjunction (p-adjunction) for a covariant functor G : D → C is a pair of functions ( H , F ) , with F : Ker H → Ob E where E \= D C is the category of functors from C into D , such that for each equivalence class [ b ] ∈ Ker H , which determines the full subcategory D [ b ] of D , the functor K \= F ( [ b ] ) : C → D is the right locally adjoint to G .
This definition of partitioned adjunction for a given covariant functor G : D → C , which introduces the disjoint set of the full subcategories D [ b ] of D and corresponding set of partially right adjoint “local” functors F ( [ b ] ) : C → D to G , and generalizes the standard (global) adjunction, as we can see from the following example.
Example 13.
We will consider two extreme cases—the minimal one, which reduces partitioned into global adjunction, and the maximal one (with maximal possible partitions):
1.
Minimal case: When S D \= Ob D and S C \= Ob C , and when the partition function H is constant (returns the constant value b ), and hence generates a unique equivalence class [ b ] \= Ob D , which determines the full subcategory D [ b ] to be equal to the category D . Thus, we have only one functor K \= F ( [ b ] ) : C → D , globally right adjoint to G . Thus, the standard adjunction is this specific minimal case of the more general concept of partitioned adjunction.
2.
Maximal case: When the partition function H is surjective for a fixed S C ⊆ Ob C . Then S D / Ker H has the maximal number of the equivalence classes, equal to the number of (non isomorphic) objects of S C ⊆ Ob C . In this case, from the theorem of decomposition, the following commutative diagram in Set is valid, where nat q is a natural representation:
while H _ is a bijective function, with its inverse H _ − 1 . So, for each object b of S C and equivalence class [ b ] ⊂ S D , we obtain the following local (partial) adjunction ( G , K , ε , η ) :
In the maximal case of partitioned adjunction, for the covariant functor G \= T e with C \= ND and D \= ND ↓ ND , we have the following theorem.
Theorem 7. For the natural deduction category ND , there exists the following maximal-partitioned adjunction of Definition 20 for the covariant functor G \= T e : ND ↓ ND → ND , with the pair of functions ( H , F ) specified by:
1.
S C ≜ { a ∈ Ob ND ∣ a is a formula } , and S D ≜ { J ( f ) ∈ Ob ND ↓ ND ∣ dom ( f ) and cod ( f ) are the formulae } .
2.
H is the restriction of the function F st 0 (the object component of the first-projection functor F st : ND ↓ ND → ND ) to the subset S D ⊆ Ob ND ↓ ND , and hence the surjective function.
3.
For each equivalence class [ b ] ∈ Ker H , the function F returns with the functor K \= F ( [ b ] ) : ND → ND ↓ ND , right p-adjoint to G, defined by
(4.29) F ( [ b ] ) ≜ ▲ ∘ ( _ × b )
where ( _ × b ) : ND → ND is covariant endofunctor derived from the product bifunctor × : ND × ND → ND , and ▲ : ND → ND ↓ ND is diagonal functor ( 1.11 ) .
This p-adjunction represents exactly the exponentiation diagrams specified in the diagram (4.24) of Corollary 10 .
Proof.
The H ≜ F st 0 : S D → S C is the surjective function from the fact that for every object (a formula) b ∈ S C ⊆ Ob ND with its identity arrow id b , the object J ( id b ) is an element of the set S D , and hence we have that H ( J ( id b ) ) \= F st 0 ( J ( id b ) ) \= b , i. e., b ∈ Im ( H ) . We have that for each fixed object (which is a logical formula) b ∈ S C ⊆ Ob ND , from Definition 20 and ( 4.27 ), we obtain
(4.30) [ b ] ≜ { d ∈ S D ∣ b \= H ( d ) } \= { J ( g ) ∈ S D ⊆ Ob ND ↓ ND ∣ b \= F st 0 ( J ( g ) ) } , i. e., [ b ] \= { J ( g ) ∈ S D ⊆ Ob ND ↓ ND ∣ dom ( g ) \= b } ,
which is the set of arrows (deductions) from the object d to derived objects (formulae) in ND . Thus, the locality in this case is determined by the actual object b and only derivations of other formulae (objects) from it. So, for each object b of ND , we obtain that the functor ( 4.29 ), K \= F ( [ b ] ) ≜ ▲ ∘ ( _ × b ) is right p-adjoint to the symmetry-closure functor T e , with p-adjunction ( G , K , ε , η ) as follows from the commutative diagram (4.28) for G \= T e and d \= J ( g ) ∈ [ b ] , i. e., the arrow g : b → c (a deduction from b ), and hence we have the logical implication ( b ⇒ c ) \= g ˜ \= T e 0 ( J ( g ) ) .
(We recall that the bold letter a represents an object of ND , which is not necessarily logical formulae but can be a tensorial product as well.)
The components of the functor K are K 0 \= ▲ 0 ( _ × b ) and K 1 \= ▲ 1 ( _ × id b ) , so that
K 0 ( a ) \= ▲ 0 ( a × b ) \= J ( id a × b ) T e 0 K 0 ( a ) \= T e 0 ( J ( id a × b ) ) ,
i. e., the conceptualized object id ˜ a × b equal to the tautology ( a × b ) ⇒ ( a × b ) (isomorphic to terminal object ⊤) if a \= a is a logical formula and η ( a ) : a → ( ( a × b ) ⇒ ( a × b ) ) is substantially unique arrow from the object a into the terminal object ⊤ of ND ,
K 0 T e 0 ( d ) \= K 0 ( b ⇒ c ) \= J ( id ( b ⇒ c ) × b )
so that the arrow h _ : K 0 ( a ) → d corresponds to the following commutative diagram in ND :
i. e., h _ \= ( π 2 ; g ∘ π 2 ) . Consequently, the arrow K 1 ( h ) \= ▲ 1 ( h × id b ) \= ( h × id b ; h × id b ) corresponds to the left-upper commutative diagram in ND ,
while the left-hand side lower commutative diagram corresponds to the arrow ε ( d ) \= ( π 2 ; eval b , c ) , and from the fact that
π 2 ∘ ( h × id b ) \= π 2 : a × b → b
(because in ND between two objects, here between a × b and b , can exist at most one arrow), the commutative diagram in the left-hand side is equivalent to the right-hand side commutative diagram, which corresponds to the exponentiation diagram (4.24) in Corollary 10 ,
for h \= Λ ( k ) (if the left-hand side diagram of p-adjunction commutes for a given h , then there exists unique arrow k such that the right-hand side diagram commutes. Thus, the abstract operator Λ is well-defined) and k \= g ∘ π 2 (it must be so because between a × b and c can exist in ND at most one arrow). Moreover, from the p-adjunction in diagram (4.31): it is well-defined if there exists the pair ( d , h ) with the arrow h : a → ( b ⇒ c ) .
Hence, the exponentiation diagrams in ND , which must satisfy the conditions of Corollary 10 , corresponds to the p-adjunction specified in this theorem. □
Consequently, the max-partitioned adjunction in this theorem (for the subset of exponents in ND derived by closure covariant functor T e from the arrows (natural deductions) in ND ) replaces the standard (global) Cartesian closed adjunction (between functors b ⇒ _ : C → C and _ × b : C → C , for each object b ) as its weaker form fitted for the natural deduction category ND .
The partitioned CCC (pCCC), corresponding to these local adjunctions, can be used as models also for another applications different from natural deduction systems.
4.2.3 The n -dimensional levels of natural deduction categories
An arrow in the n -dimensional level ND n , for n ≥ 2 , generally expresses a number of correlated commutative deductive diagrams. Consequently, we want to show that also the meta-theories (the n -dimensional level ND n ) in effect preserve all valid deductions expressed in the basic natural deduction category ND , only in more compressed form.
Thus, in what follows, we can demonstrate the following invariance of the structural properties of the natural deduction categories ND under the comma-induction transformations introduced in Section 1.3 .
Theorem 8. The structural properties of the natural deduction categories ND under the comma-induction transformations are preserved. That is, all n-dimensional levels ND n \= ND n − 1 ↓ ND n − 1 , for n ≥ 2 (with ND 1 \= ND ) preserve the structural properties of the basic natural deduction category ND .
Proof.
We recall that, from Proposition 9 in Section 3.4 , we obtained that all n -dimensional levels ND n , for n ≥ 2 , are the symmetry-extended categories, “closed” by the covariant descending functor such that, for this descending functor its comma-induced family of functors, from Section 1.3 , is given by
(4.32) T e n \= T e n − 1 ˆ ∘ L ⊥ \= ( J T e n − 1 1 ψ , ( T e n − 1 1 F st 1 ; T e n − 1 1 S nd 1 ) ) : ND n + 1 → ND n
with the natural transformations
(4.33) τ n \= τ n − 1 ˆ L ⊥ \= ( τ n − 1 F st 0 ; τ n − 1 S nd 0 ) L ⊥ : F st → T e n τ n − 1 \= τ n − 1 − 1 ˆ L ⊥ \= ( τ n − 1 − 1 F st 0 ; τ n − 1 − 1 S nd 0 ) L ⊥ : T e n → S nd
such that
(4.34) τ n − 1 ∙ τ n \= ψ n .
Thus, from Example 11 in Section 3.5 , for each arrow l \= ( ( l 1 ; l 2 ) ; ( l 3 ; l 4 ) ) : J ( h 1 ; k 1 ) → J ( h 2 ; k 2 ) , we have the following commutative diagram, analog to (3.45):
where the square commutative diagram in ND n corresponds to the vertical arrow in ND n + 1 , and the middle vertical arrow T e n 1 ( l ) \= ( T e n − 1 1 ( l 1 ; l 3 ) ; T e n − 1 1 ( l 2 ; l 4 ) ) in ND n , obtained by application of the comma-inducted functor T e n : ND n + 1 → ND n on the vertical arrow l \= ( ( l 1 ; l 2 ) ; ( l 3 ; l 4 ) ) in ND n + 1 , and corresponds to the following commutative diagram in base category ND n − 1 :
with the exponents, for i \= 1 , 2 ,
(4.36) ( J ( f i ) ⇒ J ( g i ) ) \= ( h i ; k i ) ˜ ≜ T e n 0 ( J ( h i ; k i ) ) \= J ( T e n − 1 1 ( f i ; g i ) ) ,
and the arrow components of the natural transformations,
(4.37) τ n ( J ( h i ; k i ) ) \= ( τ n − 1 ( J ( h i ) ) ; τ n − 1 ( J ( k i ) ) ) , τ n − 1 ( J ( h i ; k i ) ) \= ( τ n − 1 − 1 ( J ( h i ) ) ; τ n − 1 − 1 ( J ( k i ) ) )
We have to show that for any n -dimensional level ND n the requirements in points 2 and 3 of Definition 17 in Section 4.2 are satisfied (the requirement in point 1 is irrelevant because all objects of ND n are determined from the arrows of the ( n − 1 ) -dimensional level ND n − 1 ):
-
From the fact that comma-induction is a restricted case of the more general comma-propagation, and that the comma-propagation, from Theorem 4 in Section 2.3 , preserves all adjunctions, limits and colimits, it holds that the comma-induction preserves the products (limits) and coproducts (colimits), so that each n -dimensional level ND n has the products and the coproducts for each pair of its objects.
-
From the inductive hypothesis and the square commutative diagram (4.35) in ND n , the arrows, f i , g i , h i , k i , for i \= 1 , 2 and l i , for i \= 1 , 2 , 3 , 4 , composing the commutative diagrams in ND n − 1 , are unique arrows for their domain and codomain objects in ND n − 1 , and hence also the pairs ( h i ; k i ) , ( l 1 ; l 2 ) , ( l 4 ; l 4 ) , etc., which are the arrows in ND n are unique arrows between their domain and codomain objects. That is, also in the n -dimensional level ND n for each pair of objects there is at most one arrow from the first into the second object.
-
Also, the natural transformation τ n − 1 is natural isomorphism : in fact, its component arrows from ( 4.37 ), are τ n − 1 ( J ( h i ; k i ) ) \= ( τ n − 1 − 1 ( J ( h i ) ) ; τ n − 1 − 1 ( J ( k i ) ) ) , and from the inductive hypothesis, both its components τ n − 1 − 1 ( J ( h i ) ) and τ n − 1 − 1 ( J ( k i ) ) are isomorphic arrows of ND n − 1 , and hence also the arrow τ n − 1 ( J ( h i ; k i ) ) of ND n is isomorphic.
-
From ( 4.36 ), for each arrow ( h i ; k i ) : J ( f i ) → J ( g i ) of ND n , for i \= 1 , 2 , we obtain definition of the “meta-implication” (conceptualized) object J ( f i ) ⇒ J ( g i ) of ND n ,
( J ( f i ) ⇒ J ( g i ) ) \= ( h i ; k i ) ˜ ≜ T e n 0 ( J ( h i ; k i ) ) \= J ( T e n − 1 1 ( f i ; g i ) ) \= J ( f i ⇒ g i ) ,
where we denoted by f i ⇒ g i the arrow T e n − 1 1 ( f i ; g i ) .
It is now enough only to verify the constraints ( 4.4 ) and ( 4.6 ), i. e., for each arrow ( h i ; k i ) : J ( f i ) → J ( g i ) of ND n , there exists the arrow k : J ( g i ) → ( J ( f i ) ⇒ J ( g i ) ) and eval J ( f i ) , J ( g i ) : ( J ( f i ) ⇒ J ( g i ) ) × J ( f i ) → J ( g i ) . In fact in ND n the diagram (4.20) becomes, for b \= J ( f i ) , c \= J ( g i ) , and hence, from
(4.38) J ( m 1 ) × J ( m 2 ) ≜ J ( m 1 × m 2 )
( b ⇒ c ) \= ( J ( f i ) ⇒ J ( g i ) ) \= T e n 0 ( J ( h i ; k i ) ) \= J ( T e n − 1 1 ( f i ; g i ) ) \= J ( f i ⇒ g i ) ,
and
( b ⇒ c ) × b \= J ( f i ⇒ g i ) × J ( f i ) \= J ( f i × ( f i ⇒ g i ) ) ,
so that the “evaluation” arrow eval b , c \= τ n − 1 ( J ( h i ; k i ) ) ∘ π 1 \= ( h i ; k i ) ∘ π 2 there exist as specified in ( 4.6 ), and inverse of the isomorphism k \= ( τ n − 1 ( J ( h i ; k i ) ) ) − 1 : J ( g i ) → ( J ( f i ) ⇒ J ( g i ) ) as required by ( 4.4 ).
Let us assume the existence of the exponential diagrams in ND n − 1 and show that they there exist also in ND n , for the given objects J ( f i ) \= ⟨ a i , b i , f i ⟩ , J ( g i ) \= ⟨ c i , d i , g i ⟩ provided in diagram 4.35, and object J ( m ) \= ⟨ e 1 , e 2 , m ⟩ , and consider their exponential diagram in ND n below, with the composed object
J ( m ) × J ( f i ) \= J ( m × f i ) from (4.38) ( J ( f i ) ⇒ J ( g i ) ) × J ( f i ) \= J ( f i ⇒ g i ) × J ( f i ) \= J ( ( f i ⇒ g i ) × f i )
where ( f i ⇒ g i ) ≜ T e n − 1 1 ( f i ; g i ) and the arrows k \= ( k _ 1 ; k _ 2 ) and h \= ( h _ 1 ; h _ 2 ) ,
with its equivalent commutative diagram in ND n − 1 in the right-hand part, composed by two exponential (top and bottom triangles) diagrams, where from the inductive hypothesis we have that h _ 1 \= Λ ( k _ 1 ) and h _ 2 \= Λ ( k _ 2 ) , and hence, also in the higher level ND n we obtain that h \= ( h _ 1 ; h _ 2 ) \= ( Λ ( k _ 1 ) ; Λ ( k _ 2 ) ) \= Λ ( k _ 1 ; k _ 1 ) , i. e., h \= Λ ( k ) in ND n as well.
Moreover, we have that eval J ( f i ) , J ( g i ) \= ( eval a i , c i ; eval b i , d i ) , and hence, it holds that the left-hand triangle diagram in ND n is an exponential diagram as well. From the fact that the exponential diagrams in the higher n -dimensional levels are composed by two exponential diagrams of ( n − 1 ) -dimensional level, for all n -dimensional levels we have the same partiality as for the exponential diagrams in the basic natural deduction category ND (with p-universal arrows and p-adjunctions).
That is, all n -dimensional levels ND n , for n ≥ 2 are the pCCC. □
This concept of n -dimensional level stratification is particularly interesting for a consideration of metatheories. For example, in the basic natural deduction category ND the objects are positive propositional formulae while the arrows are valid deductions. So, w. r. t. the theory of propositional calculus, the objects (logical propositions) belong to the language of this theory, while the logical derivations (the arrows of ND ) belong to the metatheory. Consequently, in the higher level ND 2 \= ND ↓ ND all objects are just the natural deduction, while the arrows between them represent the commutative deductive diagrams in ND .
This theorem explains that also the metatheories in effect preserve all valid deductions expressed in basic natural deduction category ND , only in more compressed form, because an arrow in the n -dimensional level ND n , for n ≥ 2 , generally expresses a number of correlated commutative deductive diagrams.
4.3 Symmetry-extended category IC for propositional intuitionistic calculus
The axioms and inference rules of the system Σ M ( minimal positive propositional logic ) are used in order to obtain the natural deduction category ND as a Cartesian pCCC, so that we did not use the intuitionistic absurdity rule (where the constant ⊥ is introduced for absurdity or falsehood ) in ( 4.1 ),
⊥ a ( ⊥ → )
There are two reasons for it:
-
The first is that each natural deduction category is defined by an initial set of assumptions Γ, considered as true propositional formulae (the objects in ND ), and all other true formulae (the objects) that are derived in constructive way. So, ⊥ as the falsehood cannot be an object in ND .
-
The second is that the rule above is not strictly a constructive deduction, because for a constructive deduction of b from a , we use the deduction of a to derive the formula b , and a is not derivable in logically consistent systems. Because of that, we do not define the negation ¬ a by the logical implication a ⇒ ⊥ , because it would be an (true) object in ND only if there exists an arrow (natural deduction) g : a → ⊥ in ND , that is impossible.
Consequently, from the reasons explained above, we cannot use the object (falsehood) ⊥ to define the logical negation operation, and we remained only on the minimal positive propositional logic with inference system Σ M .
Thus, in order to introduce the negation logical operation ¬ as well, we have to pass to the Gentzen sequent system, with two new inference rules for the negation operation. In what follows, we will use Gentzen LJ sequent system of logic inference rules.
Sequent calculi can be motivated by the desire to obtain more “symmetric” systems, but also systems in which proof search is easier to perform (due to the subformula property). At first, the cut rule is totally unnecessary and even undesirable, since we are trying to design systems as deterministic as possible. It has been shown that for every proof in intuitionistic logic the sequent calculus can be converted into a natural deduction proof as well. In order to provide a transformation in the other direction, we introduce the cut rule. The mismatch is resolved by Gentzen’s fundamental cut elimination theorem, which in turn singles out the crucial role played by the contraction rule. Indeed, the contraction rule plays a crucial role in the proof of the cut elimination theorem, and furthermore, it cannot be dispensed within traditional systems for intuitionistic logic (however, in the case of intuitionistic propositional logic, it is possible to design contraction-free systems). So, we consider “contraction-free” systems for intuitionistic propositional logic for which the proof search always terminates.
Thus, from the categorial point of view, it means that the natural deduction category ND , developed for the minimal intuitionistic logic Σ M without negation, has to be conservatively extended into the (full) propositional intuitionistic category IC , by introduction two new constraints for the arrows, in order to satisfy the two new inference rules for introduction and elimination of negation logical operation ¬ of the LJ sequent system.
In Section A.1.1 in the Appendix, there is an example of introduction of the simpler form of binary sequent calculus, where each sequent is of the form a ⊢ b for two given propositional formulae a and b , while the Gentzen sequent system uses the set of propositions on the left-hand side of the sequent symbol ⊢, i. e., sequent of the form Γ ⊢ b where Γ \= { a 1 , … , a n } is the set of assumptions. However, we just use the symmetric tensor product ⊗ : ND × ND → ND for the interpretation of the structural “comma” syntax operation [ 11 ] in the natural deduction category ND .
Thus, we are ready to translate the inference rules of the LJ sequent system into categorial structure of ND . This upgrade of ND , extended by the logical negation operation as well, will be denoted as IC category, with this tensor product ⊗, so that a provable sequent a 1 , … , a n ⊢ b is then associated with an arrow (in accordance with this categorial interpretation specified by Definition 16 in Section 4.1.2 ),
h : c → b
where a i and b the objects corresponding to the propositional formulae (as in category ND ) of this sequent and c \= a 1 ⊗ ⋯ ⊗ a n is a tensor product (which is not a logical formula). Since the comma is associative and commutative structural operation of a sequent, ⊗ is a symmetric tensor product such that, in ND , for any three objects a , b and c (also nonlogical formulae), we have the following arrows:
(4.40) is a : a ≃ a ⊗ a , exch a , b : a ⊗ b → b ⊗ a and assoc a , b , c : a ⊗ ( b ⊗ c ) → ( a ⊗ b ) ⊗ c .
Thus, the structural inference rules for the associativity and exchange,
a , ( b , c ) ⊢ d ( a , b ) , c ⊢ d (associativity) , Γ , a , b ⊢ d Γ , b , a ⊢ d (exchange)
can be represented by the ND category rules for the arrows:
f : a ⊗ ( b ⊗ c ) → d f ∘ assoc a , b , c : ( a ⊗ b ) ⊗ c → d (associativity) , f : c ⊗ ( a ⊗ b ) → d f ∘ ( id c ⊗ exch a , b ) : c ⊗ ( b ⊗ a ) → d (exchange)
while the left weakening structural rule is implemented in ND by
Γ ⊢ b Γ , a ⊢ b (LW) ↦ f : c → b f ∘ ( π 1 ∘ π ) : c ⊗ a → b
However, different from actual nonconstructive well-defined interpretation, 2 the interpretation of the logical implication ⇒ is not more than the functor right adjoint to the functor ⊗, but to the well-defined closure functor T e \= ( T e 0 , T e 1 ) : ND ↓ ND → ND .
In the sequent system below, we will have both the cut and contraction inference rules; also, it is known that for the propositional intuitionistic logic, they are not necessary. We leave this system extendable to the logic quantifiers as well, and will show that all structural rules can be supported by our ND category. However, the inference rules for the negation logical connective ¬, not present in natural deduction, will necessarily introduce the new constraints for ND category, so we need to extend it into the more powerful category IC , in what follows. Having this in mind, let us consider the LJ sequent system for propositional intuitionistic logic:
1.
The axiom:
a ⊢ a (R)
2.
The structural inference rules:
Γ ⊢ a , Γ , a ⊢ b Γ ⊢ b (cut) , Γ , a , a ⊢ b Γ , a ⊢ b (contraction)
3.
The inference rules for logical connectives (introduction and elimination):
Γ , a ⊢ b Γ ⊢ a ⇒ b ( → ⇒ ) , Γ ⊢ a , Γ , b ⊢ d Γ , a ⇒ b ⊢ d ( ⇒ → ) Γ ⊢ a , Γ ⊢ b Γ ⊢ a × b ( → × ) , Γ , a ⊢ d Γ , a × b ⊢ d ( × → ) 1 , Γ , b ⊢ d Γ , a × b ⊢ d ( × → ) 2 Γ ⊢ a Γ ⊢ a + b ( → + ) 1 , Γ ⊢ b Γ ⊢ a + b ( → + ) 2 , Γ , a ⊢ d , Γ , b ⊢ d Γ , a + b ⊢ d ( + → ) Γ , a ⊢ Γ ⊢ ¬ a ( → ¬ ) , Γ ⊢ a Γ , ¬ a ⊢ ( ¬ → )
With this categorial interpretation of the sequents in the ND category, we obtain the following transformation of the sequent system above (except for the negation logical operation ¬) in the categorial language:
1.
Axiom (R) corresponds to the identity arrows id a : a → a of the category.
2.
The inference rule for the cut and contraction inference rule with the isomorphisms is a : a → a ⊗ a in ( 4.40 ) is represented by
k : c → a , h : c ⊗ a → b h ∘ ( id c ⊗ k ) ∘ is c : c → b (cut), k : c ⊗ a ⊗ a → b k ∘ ( id c ⊗ is a − 1 ) : c ⊗ a → b (contraction)
3.
The inference rule for introduction of implication (→⇒), for the precondition arrow f : a → b of ND , which defines the implication object ( a ⇒ b ) \= T e 0 ( J ( f ) ) and the arrow k \= f ∘ π 2 : c × a → b , is represented by
k ∘ π : c ⊗ a → b Λ ( k ) : c → a ⇒ b ( → ⇒ )
where from ( 4.2 ) we have the arrow π : c ⊗ a → c × a , and from ( 4.12 ) the “abstraction” Λ ( k ) of the arrow k .
4.
The inference rule for elimination of implication (⇒→) is represented by
h : c → a k : c ⊗ b → d k ∘ g : c ⊗ ( a ⇒ b ) → d ( ⇒ → )
where g \= ( id c ⊗ h 1 ) ∘ ( is c ⊗ id a ⇒ b ) with the arrows is c : c → c ⊗ c and
h 1 \= eval a , b ∘ π ∘ ( id a ⇒ b ⊗ h ) ∘ exch c , a ⇒ b : c ⊗ ( a ⇒ b ) → b ,
where from ( 4.2 ), we have the nondeductive arrow π : ( a ⇒ b ) ⊗ a → ( a ⇒ b ) × a .
Note that, from the extended symmetry property of ND , also g \= id c ⊗ τ − 1 ( J ( f ) ) for τ − 1 ( J ( f ) ) : ( a ⇒ b ) → b , where f : a → b is an arrow for which there exists implication ( a ⇒ b ) \= T e 0 ( J ( f ) ) in ND .
5.
The inference rule for introduction of product (→×) is represented by
k 1 : c → a k 2 : c → b ⟨ k 1 , k 2 ⟩ : c → a × b ( → × )
as it follows from the commutative diagram for the product (limit) cone (4.13).
6.
The two inference rules for elimination of product (×→) are represented by
k : c ⊗ a → d k ∘ ( id c ⊗ π 1 ) : c ⊗ ( a × b ) → d , k : c ⊗ b → d k ∘ ( id c ⊗ π 2 ) : c ⊗ ( a × b ) → d
7.
The inference rules for introduction of coproduct (→+) is represented by (see the commutative diagram of coproduct cocone (4.10))
k 1 : c → a in 1 ∘ k 1 : c → a + b ( → + ) 1 , k 2 : c → b in 2 ∘ k 2 : c → a + b ( → + ) 2
8.
The inference rule for elimination of coproduct (+→) is a version of that used for the sequent-based natural deduction with two precondition arrows j 1 and j 2 , and hence, represented by
j 1 ∘ π 2 ∘ π : c ⊗ a → d j 1 ∘ π 2 ∘ π : c ⊗ b → d [ j 1 , j 2 ] ∘ π 2 ∘ π : c ⊗ ( a + b ) → d ( + → )
as follows from the extension of the cocone coproduct diagram (4.10), analog to that in scheme (4.14), of the coproduct a + b in ND , such that for any object d with cocone component conditional arrows j 1 : a → d and j 2 : b → d , there is a unique arrow [ j 1 ; j 2 ] : a + b → d , as follows:
Thus, as we can see, the positive part of the intuitionistic logic (without negation operation) is an extension of ND with structural deductive arrows in ( 4.40 ). The arrows in this extension of the ND model its inference rules for all logical connectives different from negation ¬. That is, ND is not only a categorial model for the natural deduction for positive propositional logic but a model for the positive intuitionistic logic as well. So, the traduction of the sequent-based inference rules is of this type:
“ If there is a particular arrow in ND , then must exist another particular arrow. ”
However, such a kind of categorial inference is not adequate for the inference rules for introduction and elimination of logical negation ¬, from the fact that in them we have the sequents with an empty right-hand side, which cannot be represented by an arrow in ND , because each arrow must have codomain object as well. Thus, we have the following.
Definition 21.
The inference rules for the introduction and elimination of logical negation operations has to be traduced into categorial language as the following two new constraints are not supported by ND (we denote by IC this extension w. r. t. category ND ):
1.
The inference rule (→¬) is traduced by the constraint, for a given object c of IC if a formula a is not an object of IC , and if from c and a cannot be inferred any formula, then we can insert the formula ¬ a as a new object of IC , with the arrow
(4.41) neg a : c → ¬ a .
2.
The inference rule (¬→) is traduced by the constraint that, for a given arrow f : c → a of IC where the object a is a logic formula, the logic formula ¬ a cannot be inserted into this category IC .
So, we obtain the final result.
Corollary 11.
he category IC , obtained as an extension of the ND with negation operation with two constraints of Definition 21 , and with structural deductive arrows in ( 4.40 ) , is a categorial model of Intuitionistic propositional logic (IL).
Proof.
The proof is directly from the categorial translation of the intuitionistic inference rules above and Definition 21 . □