Relational Companions of Logics111A version of this article has been submitted to the Indian Conference on Logic and its Applications 2025
Abstract
The variable inclusion companions of logics have lately been thoroughly studied by multiple authors. There are broadly two types of these companions: the left and the right variable inclusion companions. Another type of companions of logics induced by Hilbert-style presentations (Hilbert-style logics) were introduced in [1]. A sufficient condition for the restricted rules companion of a Hilbert-style logic to coincide with its left variable inclusion companion was proved there, while a necessary condition remained elusive. The present article has two parts. In the first part, we give a necessary and sufficient condition for the left variable inclusion and the restricted rules companions of a Hilbert-style logic to coincide. In the rest of the paper, we recognize that the variable inclusion restrictions used to define variable inclusion companions of a logic are relations from to . This leads to a more general idea of a relational companion of a logical structure, a framework that we borrow from the field of universal logic. We end by showing that even Hilbert-style logics and the restricted rules companions of these can be brought under the umbrella of the general notions of logical structures and their relational companions that are discussed here.
Keywords: Companion logics; Universal logic; Logics of variable inclusion.
1 Introduction
The logics of variable inclusion have recently been rigorously studied, e.g., in [7, 8, 13]. These companion logics come in four flavors, viz., the left, the right, the pure left, and the pure right variable inclusion companion logics. The definitions and various examples of each of these classes can be found in the above references. It is well-known that the left variable inclusion companion of classical propositional logic (CPC) is the paraconsistent weak Kleene logic (PWK). A simple Hilbert-style presentation of PWK, consisting of the same set of axioms as CPC and a restricted version of the classical rule of modus ponens, was presented in [6]. This led to the following natural question. Can we always obtain a Hilbert-style presentation of the left variable inclusion companion logic from that of the original logic (if it has one, of course) by just restricting the rules of inference? The answer to this question was shown to be negative in [1]. In the course of the argument, the restricted rules companion of a Hilbert-style logic, i.e., a logic induced syntactically by a Hilbert-style presentation, was introduced. A sufficient condition for the restricted rules companion to coincide with the left variable inclusion companion of a Hilbert-style logic was proved as well. However, a necessary condition for the same remained unattained.
The present article has two main parts. In the first, a necessary and sufficient condition for the left variable inclusion and the restricted rules companions of a Hilbert-style logic to coincide, is presented.
In the second part, we generalize the notions of variable inclusion companion and restricted rules companion logics. This is done using the framework of logical structures from universal logic [4, 5].
A logical structure is a pair , where is a set and . A logic is a logical structure , where is the set of formulas defined inductively, in the usual way, over a set of variables , using a finite set of connectives/operators called the signature/type. In other words, is the formula algebra over of some type. The formula algebra has the universal mapping property for the class of all algebras of the same type as over , i.e., any function , where is the universe of an algebra of the same type as , can be uniquely extended to a homomorphism from to (see [12, 11] for more details). We, however, do not assume any condition on the -relation. For any , denotes the set of all the variables occurring in , and for any , .
2 Left variable inclusion and restricted rules companions
In this section, we will deal exclusively with logics, in the usual sense, as described in the previous section. As mentioned earlier, the logics of variable inclusion have recently been rigorously studied, e.g., in [7, 8, 13]. The following definition of a left variable inclusion companion can be found in these.
Definition 2.1.
Suppose is a logic. The left variable inclusion companion of , denoted by , is defined as follows. For any ,
The restricted rules companion of a Hilbert-style logic, i.e., a logic induced syntactically by a Hilbert-style presentation, was introduced in [1] as follows.
Definition 2.2.
Suppose is a Hilbert-style logic with as the set of axioms and as the set of rules of inference. The restricted rules companion of , denoted by , is then defined as the Hilbert-style logic with the following sets of axioms and rules.
Set of axioms | = | , and |
---|---|---|
set of rules of inference | = | . |
Suppose is a Hilbert-style logic and , be its left variable inclusion and restricted rules companion logics, respectively. It was established that, ([1, Theorem 3.6]), but the reverse inclusion, i.e., is not guaranteed ([1, Remark 3.7]). The following sufficient condition for the latter inclusion was also given in this paper.
Theorem 2.3 ([1, Theorem 4.3]).
Suppose is a finitary Hilbert-style logic such that (modus ponens [MP]) is a rule of inference in . Suppose further that the Deduction theorem holds in . Then the restricted rules companion of coincides with the left variable inclusion companion of , i.e., .
However, a necessary condition for remained elusive. In the rest of this section, we investigate this further and provide a necessary and sufficient condition for the two companion logics to coincide. The following lemmas list some straightforward inferences that can be drawn from the definitions of left variable inclusion and restricted rules companions.
Lemma 2.4.
Suppose is a logic.
-
(i)
is monotonic. Moreover, if is monotonic, then .
-
(ii)
, i.e., .
-
(iii)
Suppose is a Hilbert-style logic. Then, is monotonic and moreover, .
-
(iv)
Suppose is a Hilbert-style logic. Then, , i.e., .
Proof.
Parts (i) and (ii) follow straightforwardly from the definition of left variable inclusion companions. For part (iii), we recall that every Hilbert-style logic is monotonic. Thus, in fact, and , being Hilbert-style logics, are both monotonic. That , follows from the definition of .
For part (iv), let and as its sets of axioms and rules of inference, respectively, of . Then has and , as its sets of axioms and rules, where is as described in the definition of a restricted rules companion. Now, since any rule in is already restricted, and also comprise a Hilbert-style presentation for . Thus, , i.e., . ∎
Theorem 2.5.
Suppose and are two logics such that . Then, . Moreover, if and are Hilbert-style logics, such that for any , , then .
Proof.
Suppose such that . Then there exists with such that . Since , . Thus, . Hence, .
Next, suppose are Hilbert-style logics such that for any , . Now, let such that . Then, there exists a derivation of from , where for each , is either an axiom of , or an element of , or is obtained by applying a rule of inference in . If is an axiom, then , and since , . Then, by [1, Theorem 3.4], . So, there exists a derivation of in . Now, suppose is obtained by applying a rule of inference , where . Then, by assumption, , and hence, there exists a derivation of from in . So, we can translate the derivation of from as follows. For each , if is an axiom, then we replace by the elements of a derivation of in . If is obtained from , by using a rule of inference in , then we replace by the elements of a derivation of from in . Finally, if , then we keep it unchanged. Let be the resulting sequence of formulas. Clearly, is a derivation of from in . Thus, . Hence, . ∎
Remark 2.6.
It is not true, in general, that if and are two Hilbert-style logics with , then . This can be seen from the following example.
Suppose is the formula algebra over a countable set of variables of type . Let be the Hilbert-style logic with an empty set of axioms and the following two rules of inference.
is the same logic that was used in [1, Remark 3.7] to show that the left variable inclusion companion of a Hilbert-style logic can differ from its restricted rules companion.
Let be the Hilbert-style logic with an empty set of axioms and the following rule of inference in addition to above.
Clearly, , since can be derived in as follows. For any ,
We note that , is the logic induced by the same set of axioms and the following two rules of inference.
while , is the logic induced by the same set of axioms and the rules , and . ( and do not need to be restricted as and for any .)
Now, suppose are distinct variables. Then, while , , since we cannot apply and to derive from in , as shown in [1, Remark 3.7].
Thus, although .
Theorem 2.7.
Suppose is a Hilbert-style logic. Then, iff . In other words, iff , i.e., for all , iff there exists such that and .
Proof.
Suppose , i.e., . Now, by Lemma 2.4 (iii), . So, by Theorem 2.5, . Now, suppose such that . Then, there exists such that and . Clearly, as well. This implies that , since . Now, as , , and , . Thus, . Hence, .
Conversely, suppose . We know that . Thus, we only need to show that . Suppose such that . Then, by our assumption, . So, there exists such that and . Now, as is a Hilbert-style logic, it is monotonic. This implies that . Thus, . Hence . ∎
3 Relational companions of a logical structure
We now let go of the formula algebras and land in the arena of logical structures that were described in the introduction. The attempt here would be to generalize the notion of a logic of variable inclusion. In doing so, we will be able to capture a lot more than just the logics of left variable inclusion.
Definition 3.1.
Suppose is a logical structure and .
-
(i)
The -companion of is the logical structure , where is defined as follows. For any ,
-
(ii)
The pure -companion of is the logical structure , where is defined as follows. For any ,
Any such -companion (-companion) () is called a relational companion (pure relational companion) of .
Example 3.2.
Suppose is a logic (in the usual sense).
-
(i)
The left variable inclusion companion is the relational companion of , where the relation is defined by variable inclusion from left to right, i.e., iff . Thus, , the -companion of .
- (ii)
Example 3.3.
Suppose is a monotonic logic (in the usual sense).
-
(i)
The right variable inclusion companion of , denoted by is defined (e.g., in [13]) as follows. For any ,
An -antitheorem is a set such that for every substitution , for all , i.e., explodes in for every 222Suppose is a formula algebra over a set of variables (which is the case when discussing variable inclusion logics). A substitution is any function that extends to a unique endomorphism (also denoted by ) from to itself via the universal mapping property..
can be seen as the relational companion of , where the relation is defined as follows. iff either is an -antitheorem or .
The proof that can be given as follows. Let .
Suppose . Then there exists a such that and . Now, since , either is an -antitheorem, in which case contains an -antitheorem, or and . In the latter case, as , and since is monotonic, as well. Thus, .
Conversely, suppose . Then, either contains an -antitheorem or and . If contains an -antitheorem , then such that and as is an -antitheorem. On the other hand, if and , then is its own subset such that and . Thus, in either case, there exists such that and , and so, . Hence , i.e., .
-
(ii)
The pure right variable inclusion companion of , denoted by , is defined (e.g., in [8, 13]) as follows. For any ,
can be seen as a relational companion of , where the relation is defined by variable inclusion from right to left, i.e., iff . This can be shown with a similar argument as for the right variable inclusion companions above. The monotonicity of is required for showing that .
Although can be seen as a relational companion of , it cannot be described as a pure relational companion of , unless is a logic without antitheorems. However, if is a logic without antitheorems, then , where is the relation used in (i).
Example 3.4.
Some more inclusion logics have been introduced in [9] as generalizations of the left and right variable inclusion logics. In these companion logics, the containment requirement is extended to classes of subformulas. We might call these the left and right subformula inclusion companion logics (the actual names require some additional machinery and hence we avoid these). While the left subformula inclusion companions of a logic can be seen as relational companions of it, the right subformula inclusion companions of a monotonic logic can be seen as relational companions of it. This is much like the case for left and right variable inclusion companions.
It is easy to see that the left, pure left, and pure right variable inclusion companions of a logic , with a unary (negation) operator in the signature, are all paraconsistent with respect to , i.e., there exists such that . In other words, the principle of explosion, ECQ, with respect to (we call this -ECQ), fails in these companion logics (see [3] for more on the paraconsistency of these companion logics). The right variable inclusion companion of a logic is, however, not necessarily paraconsistent with respect to a . Thus, not all relational companions of a logic, with such a unary operator , are paraconsistent with respect to . It can also be observed from the definition of a relational companion that the matter of paraconsistency depends on the relation. The following example from [10] can be seen as a relational companion created with the intention of obtaining a paraconsistent logical structure. The authors have called this process paraconsistentization.
Example 3.5.
Suppose is a logical structure. Then is the logical structure, where is defined as follows. For any ,
A set is -nontrivial, if there exists such that .
Theorem 3.6.
Suppose is a logical structure and .
-
(i)
Then, and are monotonic.
-
(ii)
If is monotonic, then .
-
(iii)
, i.e., , and , i.e., .
Proof.
-
(i)
Suppose such that and . Then, there exists such that and . So, as well. Thus, . Hence, is monotonic.
An almost identical argument can be used to show that is monotonic.
-
(ii)
Suppose is monotonic. Let and . Then, there exists such that and . So, by monotonicity, . Hence, . It is easy to see that . Thus, if , then as well.
-
(iii)
By (i), is monotonic. So, by (ii), .
Suppose and . Then, there exists such that and . Clearly, as well. Thus, , and so, . Hence, .
The argument for is identical, except for the non-emptiness requirement on the in the converse part.
∎
Remark 3.7.
The above theorem generalizes the results concerning the left variable inclusion companion of a logic in Lemma 2.4.
Theorem 3.8.
Suppose are logical structures such that , and such that . Then, and .
Proof.
Suppose such that . Then, there exists such that and . Since , and as , . Thus, . Hence, .
It can be proved that with similar arguments. ∎
Corollary 3.9.
The following are some immediate observations from the above theorem.
-
(i)
Suppose are logical structures such that and . Then, and .
-
(ii)
Suppose is a logical structure and . Then and .
Theorem 3.10.
Suppose is a logical structure and .
-
(i)
. The equality holds if .
-
(ii)
If is monotonic, then .
-
(iii)
If , then .
-
(iv)
If , then .
-
(v)
If , then iff .
Analogous statements hold for pure relational companions of .
Proof.
-
(i)
Now, suppose and such that . Then, there exists such that and . Clearly, . Since , . Thus, . So, . Hence, .
- (ii)
-
(iii)
Suppose and such that . Then, there exists such that and . So, there exists such that and . Now, , and as , . So, . Thus, .
-
(iv)
Suppose and such that . Then, there exists such that and . Clearly, . Now, as , as well. Thus, . Hence, .
-
(v)
Suppose . Moreover, suppose . Then, using parts (iii) and (iv) above, we have .
Conversely, suppose . Let such that . So, . Then, there exists such that and . This implies that there exists such that and . Since , . Thus. . Now, as , , by Theorem 3.8. Hence, .
The proofs for the pure relational companions of can be constructed with similar arguments. ∎
Definition 3.11.
Suppose is a set and . Then, is said to be downward directed if for any , implies that for all .
Theorem 3.12.
Suppose is a logical structure and . If is downward directed, then . Hence, if are both downward directed, then .
Proof.
Suppose is downward directed. Let such that . Then, there exists such that and . This implies that there exists such that and . Now, as is downward directed, . Then, . Now, since and , this implies that . Hence, .
Thus, if is also downward directed, then , and hence, in that case, . ∎
It is not hard to see that, for any logic , iff for all . The following theorem generalizes this to relational companions of logical structures.
Theorem 3.13.
Suppose is a logical structure and such that for all . Then, for any , (written as ) iff (written as ).
Proof.
Suppose such that . Then, as , . Conversely, suppose . Then, there exists such that and . Clearly, . Thus, . ∎
As discussed above, the left, pure left, and pure right variable inclusion companions of a logic are paraconsistent (see [3] for a detailed study on this). The following theorem generalizes this to certain relational companions of logical structures.
Definition 3.14.
Suppose are sets and . Then, is said to have finite reach if for every , the set is finite.
Theorem 3.15.
Suppose is a logical structure such that is infinite and has finite reach. Then, for every finite , there exists such that , i.e., every finite is nontrivial in . The same is true for the pure -companion of .
Proof.
Suppose has finite reach. Let be a finite subset of . So, is finite. Now, as has finite reach, is finite for every . Thus, , being a finite union of finite sets, is finite. Let (such a exists since is infinite). Then, for every . Thus, . Hence, every finite subset of is non-trivial.
An almost identical argument proves the same result for . ∎
Corollary 3.16.
Suppose is a logic (in the usual sense) such that there is a unary (negation) operator in the signature. Moreover, let be a relation with finite reach. Then, -ECQ fails in and . Thus, and are paraconsistent with respect to .
Definition 3.17.
A logical structure is said to be finitely trivializable if there exists a finite such that for all , i.e., there is a finite trivial subset of .
Remark 3.18.
Suppose is a logical structure such that is infinite and is a relation with finite reach. Then, by Theorem 3.15, and are not finitely trivializable.
Suppose is a logical structure. The generalized principle of explosion (gECQ) was introduced in [2] as follows. For every , there exists such that for all . A logic or logical structure in which gECQ fails is called NF-paraconsistent (NF stands for Negation-Free).
spECQ (where sp stands for set-point), a principle of explosion introduced in [3], can be described as follows. For each , there exists such that and for all .
It is easy to see that, if is a logical structure that is not finitely trivializable, then gECQ and spECQ fail in it. This is also discussed in [3].
Corollary 3.19.
Suppose is a logical structure such that is infinite and is a relation with finite reach. Then, by Remark 3.18, gECQ and spECQ fail in and .
3.1 Hilbert-type logical structures and their restrictions
In this subsection, we first generalize Hilbert-style logics to logical structures and then discuss ‘restricted’ companions of these as generalizations of the restricted rules companions of Hilbert-style logics discussed in Section 2. We first note that any axiom in a Hilbert-style logic can also be regarded as a rule with an empty set of hypotheses. Thus, it is sufficient to deal with Hilbert-style logics induced by only a set of rules. Secondly, for the restricted rules companion of a logic, we used the variable inclusion restriction only to restrict all the rules of inference. This can be generalized to a situation where different rules are restricted in different ways.
Definition 3.20.
Suppose is a set and . Let be defined as follows. For any , if there exists a finite sequence of elements of with , and for each , either , or there exists such that . Then is called the Hilbert-type logical structure induced by .
A Hilbert-type logical structure is any logical structure that is induced by some .
Remark 3.21.
It is clear from the above definition that a Hilbert-type logical structure is finitary and Tarski-type, i.e., reflexive, monotonic, and transitive (see [14] for the definitions).
Definition 3.22.
Suppose is a Hilbert-type logical structure induced by and is a collection of relations from to , i.e., for any , . Let . Then, the logical structure induced by , denoted by , is called the -restricted companion of .
Remark 3.23.
Suppose is a Hilbert-style logic with as the set of rules of inference. Let , where is defined by iff . Then, , and hence , the -restricted companion of , is the restricted rules companion of , .
We can also see a -restricted companion of a Hilbert-type logical structure as a relational companion of a logical structure as follows.
Suppose is a logical structure induced by and is a collection of relations from to . Then, is the Hilbert-type logical structure induced by , where is as described in the above definition. Let be defined as follows. iff . Then, is the -companion of .
Now, suppose and . So, there exists a finite sequence of elements of with , and for each , either , or there exists such that . Let . Clearly, , i.e., . So, . Conversely, suppose . Then, there exists a such that , i.e., and . Now, since is a Hilbert-type logical structure, and hence, monotonic by Remark 3.21, implies . Hence, .
Thus, the restricted rules companions of a logic can also be seen as relational companions of the logic.
4 Conclusions and future directions
In this article, we have proposed the relational companions of logical structures as generalizations of the variable inclusion companions of logics and the restricted rules companions of Hilbert-style logics. More properties of these companion logics, especially those of the -restricted companions of Hilbert-type logics, could be investigated further.
Another, perhaps interesting, observation is the possibility of using a logical structure to define a companion to another logical structure in the following way. Since is also a relation from to , we can define the -companion of . This is already the case in the way we have described a -restricted companion of a Hilbert-type logical structure as a relational companion at the end of the previous section. This line of investigation can be interesting from the perspective of combining logical structures as well, since this is, in a way, merging the two relations and .
References
- [1] S.S̃. Basu and M.K̃. Chakraborty, Restricted rules of inference and paraconsistency, Logic Journal of the IGPL 30 (2021), no. 3, 534–560.
- [2] S.S̃. Basu and S. Roy, Negation-free definitions of paraconsistency, Proceedings of the 10th International Conference on Non-Classical Logics. Theory and Applications, Łódź, Poland, 14-18 March 2022 (Andrzej Indrzejczak and Michał Zawidzki, eds.), Electronic Proceedings in Theoretical Computer Science, vol. 358, Open Publishing Association, 2022, pp. 150–159.
- [3] S.S̃. Basu and S. Roy, Generalized explosion principles, http://arxiv.org/abs/2307.15358 (2023), 28.
- [4] J.Ỹ. Béziau, Universal logic, Logica’94 - Proceedings of the 8th International Symposium (Prague) (T.Childers and O.Majer, eds.), 1994, pp. 73–93.
- [5] J.Ỹ. Béziau, 13 questions about universal logic, University of Łódź. Department of Logic. Bulletin of the Section of Logic 35 (2006), no. 2-3, 133–150, Questions by Linda Eastwood.
- [6] S. Bonzio, J. Gil-Férez, F. Paoli, and L. Peruzzi, On paraconsistent weak Kleene logic: Axiomatisation and algebraic analysis, Studia Logica 105 (2017), no. 2, 253–297.
- [7] S. Bonzio, T. Moraschini, and M. Pra Baldi, Logics of left variable inclusion and Płonka sums of matrices, Archive for Mathematical Logic 60 (2021), no. 1-2, 49–76.
- [8] S. Bonzio, F. Paoli, and M. Pra Baldi, Logics of variable inclusion, Trends in Logic—Studia Logica Library, vol. 59, Springer, Cham, 2022.
- [9] C. Caleiro, S. Marcelino, and P. Filipe, Infectious semantics and analytic calculi for even more inclusion logics, 2020 IEEE 50th International Symposium on Multiple-Valued Logic—ISMVL 2020, IEEE Computer Soc., Los Alamitos, CA, 2020, pp. 224–229.
- [10] E.G̃. de Souza, A. Costa-Leite, and D. H.B̃. Dias, Paraconsistent orbits of logics, Logica Universalis 15 (2021), no. 3, 271–289.
- [11] J.M̃. Font, Abstract algebraic logic: An introductory textbook, Studies in Logic and the Foundations of Mathematics, College Publications, 2016.
- [12] J.M̃. Font, R. Jansana, and D. Pigozzi, A survey of abstract algebraic logic, Studia Logica 74 (2003), no. 1, 13–97.
- [13] F. Paoli, M. Pra Baldi, and D. Szmuc, Pure variable inclusion logics, Logic and Logical Philosophy 30 (2021), no. 4, 631–652.
- [14] S. Roy, S.S̃. Basu, and M.K̃. Chakraborty, Lindenbaum-type logical structures, Logica Universalis 17 (2023), no. 1, 69–102.