Abstract
Although algebraic structures are frequently analyzed using unary and binary operations, they can also be effectively defined and unified using ternary operations. In this context, we introduce structures that contain two constants and a ternary operation. We demonstrate that these structures are isomorphic to various significant algebraic systems, including Boolean algebras, de Morgan algebras, MV-algebras, and (near-)rings of characteristic two. Our work highlights the versatility of ternary operations in describing and connecting diverse algebraic structures.
Keywords:
Boolean algebras; MV-algebras; de Morgan algebras; ternary operations; rings and near-rings of characteristic two MSC:
06E05; 06D30; 06D35; 03G25
1. Introduction
Ternary Boolean algebras [] were introduced by Grau in 1947 to axiomatize Boolean algebras by means of the ternary operation (see also []). In the same year, this operation was used independently by Birkhoff and Kiss [] to characterize distributive lattices. Both approaches are particular cases of median algebras [,,]. Although the set of axioms is distinct in each case, complete commutativity is a common feature. In 1948, Church [] shows that it is possible to axiomatize Boolean algebras in terms of the conditioned disjunction , which is not completely commutative (see also []).
In this article, we explore the axiomatization of Boolean algebras, de Morgan algebras, MV-algebras, and rings or near-rings of characteristic two using ternary structures. By a ternary structure, we mean an algebraic system consisting of a set A with two constants, 0 and 1, and a ternary operation . This ternary operation gives rise to derived unary and binary operations, and each formula specifying p in terms of these operations corresponds to a new axiom, leading to subvarieties of the original structure. Interestingly, each classical structure considered here has a characteristic expression that determines the ternary operation p using its derived binary operations. The purpose of this paper is to examine these expressions and their implications for the unification of classical algebras within the framework of ternary structures.
For example, within the set of axioms (T1)–(T4) introduced in Section 2, Boolean algebras form a subvariety if and only if is interpreted as Church’s conditioned disjunction, as proved in Section 3. Section 4 gives the formula for p that turns the (T1)–(T4) structure into a de Morgan algebra, while Section 5 discusses the cases of rings and near-rings of characteristic 2. In Section 6, it is shown how to modify the axioms (T1)–(T4) so that MV-algebras can be characterized with a ternary structure, and the corresponding ternary operation is given. Finally, conclusions are draw in Section 7, where a table is presented with a comparison between the cases considered here.
Further observations and some more details are presented in the preprints [,].
2. Preliminaries
Let us begin by introducing the principal notations used for the unary and binary operations derived from a general structure with one ternary operation p and two constants 0 and 1.
Definition 1.
Let be a system consisting of a set A, together with a ternary operation p and two constants . From p, the following operations are defined:
Next, we present an algebraic structure satisfying four axioms. Axiom (T2) alone defines a Church algebra [,], while a Menger algebra of rank 2 (see, e.g., []) uses axiom (T4). The axioms (T1), (T2), and (T4) have been used to define proposition algebras [], while axioms (T2), (T3), and (T4), among others, have been used to study spaces with geodesic paths [,,]. Lemma 1 below displays the basic properties of the structure (T1)–(T4).
Lemma 1.
Let be a system consisting of a set A, together with a ternary operation p and two constants satisfying
- (T1)
- (T2)
- (T3)
- (T4) .
Then, the following properties hold:
Proof.
In each step of the proof, the needed property when required is written above the corresponding equality.
Property (11) is just a combination of (9) and (10), whereas (12) is just a particular case of (9). Next is the proof of Properties (13):
With respect to (14), we have associativity
and identities
For properties (15) and (16), the proof is
The structure is a monoid since
Furthermore, and , which proves (18). In particular, . □
The following lemmas investigate the consequences of some classic extra conditions on the binary operations besides Axioms (T1) to (T4). Note that the de Morgan’s laws (13) imply a duality between · and ∘. In particular, · is idempotent if and only if ∘ is idempotent too.
Lemma 2.
Let be a system verifying conditions (T1) to (T4). If the operation ∘ is idempotent, then we have the following absorption rules:
Proof.
Idempotency means that
and consequently,
The second equality in (19) follows through the application of (13). □
When commutativity is added, distributivity is obtained.
Lemma 3.
Let be a system verifying conditions (T1) to (T4). If the operations · and ∘ are commutative and idempotent, then they distribute over each other.
Proof.
When ∘ is commutative, the first absorption rule in (19) may be written as
Then, we have
Similarly, using , we obtain □
Lemma 4.
Let be a system verifying conditions (T1) to (T4). If , then the operation + is commutative, and the operation · is right distributive over +:
Proof.
implies, using (17), , and therefore . The right distributivity of · over + can be proven as follows:
□
It is worth noting that the left distributivity of · over + is not guaranteed. On the dual side, we have the left distributivity of ∘ over the binary operation when , and no right distributivity is guaranteed.
In addition to the structure defined by conditions (T1)–(T4), in the following lemma, is assumed to be the Boolean complement of . When this is the case, · and ∘ are idempotent.
Lemma 5.
Let be a system verifying conditions (T1) to (T4). If every verifies the relations
then idempotency holds:
Proof.
The idempotency of ∘ is obtained similarly or using (13). □
3. The Boolean Algebra
The next proposition shows how the structure of axioms (T1)–(T4) can be turned into a Boolean ring. Recall that the notation is being used for .
Proposition 1.
If verifies conditions (T1) to (T4) and if
then,
Proof.
Condition (25) implies Boolean complements and :
Now, this result and Lemma 4 imply that + is commutative
and · is distributed on the right over +
In addition, the following properties hold:
Indeed,
The second relation in (30) is a consequence of the commutativity of +. We can now prove that · is commutative. From Lemma 5, we already know that under the hypothesis of Proposition 1, · is idempotent, and consequently,
□
The following theorem is a refinement of Grau’s ternary Boolean algebra in the sense that it uses Church’s operation and a systematization of Hoare’s axioms considered in [].
Theorem 1.
Suppose that satisfies axioms (T1) to (T4). For
the following conditions are equivalent:
- (i)
- is a Boolean ring;
- (ii)
- is a Boolean algebra;
- (iii)
- ;
- (iv)
- ;
- (v)
- .
Proof.
The proof proceeds as follows: (ii) ⇒(iii)⇒ ((iv)⇔(v)) ⇒(i)⇒ (ii). We begin by proving that if is a system verifying the hypothesis of Theorem 1, then (ii) implies (iii). It is well known (see, e.g., [,]) that in a distributive lattice, if and for some given element a in the lattice, then . We show here that if verifies (T1) to (T4) and is a Boolean algebra, then
which proves (iii). Indeed,
Next, it is shown that condition (iii) implies condition (iv). Indeed, when (iii) is true, we have
which means that using (T3) and (14), and, by duality, that . Therefore, . Conditions (iv) and (v) are equivalent according to duality (13). Proposition 1 proves that (iv) implies (i). It remains to prove (i)⇒(ii); that is, if is a Boolean ring, then is a Boolean algebra with defined as and defined as . Indeed, firstly, we have
and consequently,
Secondly, we have
□
It is straightforward to prove that the category of Boolean algebra is isomorphic to the category of structures of type (3,1,1) verifying (T1)–(T4) and or any other equivalent relation presented in Theorem 1. A detailed proof of this result is given in the next section for the more general case of de Morgan algebras.
4. De Morgan Algebras
A de Morgan algebra is a structure consisting of a bounded distributive lattice together with an involution verifying (or ). Simple examples of de Morgan algebras are the sets of divisors of any given positive integer n with as ·, as ∘, and . Multiple-valued logic [,,] is also an example of de Morgan algebras. In this section, a characterization of de Morgan algebras in terms of a ternary structure is given.
Theorem 2.
Let be a system consisting of a set A, a ternary operation p, and two constants satisfying the conditions (T1) to (T4). For , , and , the following conditions are equivalent:
- (i)
- The system is a de Morgan algebra;
- (ii)
- The system is a distributive lattice;
- (iii)
- is a join-semilattice;
- (iv)
- is a meet-semilattice;
- (v)
- is an idempotent and commutative magma;
- (vi)
- is an idempotent and commutative magma;
- (vii)
- ;
- (viii)
- .
Proof.
We begin by proving that if is a system verifying the conditions (T1)–(T4), then (vi) implies (i). Indeed, and are monoids, as demonstrated in Lemma 1. The commutativity and idempotency of · are precisely what (vi) states. The commutativity and idempotency of ∘ follow by duality. The distributivity of · and ∘ over each other is guaranteed by Lemma 3. As shown in Lemma 1, the unary operation is an involution and verifies the de Morgan laws (13), which concludes the proof (vi)⇒(i).
We will now prove that the ternary operation (vii) is the only one compatible with (i). It is well known (see, e.g., [,]) that in a distributive lattice, if and for some given element a in the lattice, then . We show here that if verifies (T1)–(T4) and is a de Morgan algebra, then
which proves (i)→(vii). Indeed,
We now turn to the proof that condition (vii) implies condition (vi) in the context of Theorem 2. When (vii) is true, we have in particular that which means, using (T2), (7), (14), (14), and (15), that
By duality, we also have the absorption rule
The idempotency of · and ∘ follows as particular cases:
When (vii) is true, we also have , which means, using (T3), (36), and (34), that
Now, the commutativity of ∘ can be proven as follows:
The commutativity of · follows by duality. This proves (vii)⇒(vi) and concludes the proof of Theorem 2 because the other equivalences are trivially verified. □
We show now that the category of de Morgan algebras is isomorphic to the category of systems satisfying conditions (T1)–(T4) when the operations · or ∘ are commutative and idempotent.
Theorem 3.
Let be a system consisting of a set A, together with a ternary operation p and two constants satisfying conditions (T1) to (T4) and
- (T5) and .
The category of such systems is isomorphic to the category of de Morgan algebras.
Proof.
Consider a system verifying (T1)–(T5) and define
Then, according to Theorem 2, is a de Morgan algebra. Conversely, consider a de Morgan algebra and define the ternary operation
then p verifies axioms (T1)–(T5). We will last prove that (T4) is verified. For the other axioms,
Before proving (T4), note that within a de Morgan algebra, (39) can be written as
Using this result and also (10), we have
The last line is equal to
and consequently, we have that
If we start with a de Morgan algebra and construct a system through (39), then the de Morgan algebra obtained from it is exactly the same as the original one. Indeed,
If starting with a system , verifying (T1)–(T5), and constructing a de Morgan algebra through (38), then the system obtained from it is exactly the same as the original one. Indeed,
Morphisms are defined as usual in a de Morgan algebra. On the ternary side, a morphism f verifies the following requirements:
All the morphisms are trivially preserved by the isomorphism. □
Expression (vii) in Theorem 2 implies that in a de Morgan algebra, and . This means that in a general de Morgan algebra, the binary operation is different from , and is different from . These operations are equal when the complement is Boolean, in which case the de Morgan algebra is a Boolean algebra. It is worth noting too that in a de Morgan algebra, the notion of a sum still remains from the ternary structure through and that is a monoid.
5. Rings and Near-Rings of Characteristic Two
Each new interpretation of the ternary operation p satisfying axioms (T1)–(T4) in terms of its derived operations is equivalent to adding a new axiom and gives rise to a new subvariety, as Theorems 4 and 5 illustrate. An example of a ternary operation obtained from a unitary Abelian near-ring [], which is not necessarily determined by its derived operations, is presented in the next proposition. The algebraic model of the unit interval considered in [,] is another example.
Proposition 2.
If is a unitary Abelian (right) near-ring, in which , then with satisfies axioms (T1) to (T4).
Proof.
The proof is straightforward. □
When is changed to and is replaced by , the formula for p, presented in Theorem 4 below, is obtained. Recall that a ring (or a near-ring) of characteristic 2 is such that for all b, so that . Moreover, rewriting as gives the formula used in Theorem 5.
Theorem 4.
Suppose that satisfies axioms (T1) to (T4). For
the following conditions are equivalent:
- (i)
- is a unitary ring of characteristic 2;
- (ii)
- ;
- (iii)
- .
Proof.
The unique non-commutative ring of order 8, say consisting of all upper triangular binary 2-by-2 matrices, illustrates Theorem 4. Note that the addition is the Boolean symmetric difference, as in a Boolean ring.
It is clear that (i) implies (iii). According to (18), (iii) implies that and hence, considering (14), (17), and Lemma 4, (iii) implies (i). Moreover, when ,
Consequently, (iii) implies (ii) as It remains to prove that (ii) implies (iii). According to (T3), (17), and (18), (ii) implies , i.e., . Then, (40) and Lemma 4 imply left distributivity:
□
Theorem 5.
Suppose that satisfies axioms (T1) to (T4). For
the following conditions are equivalent:
- (i)
- is a unitary (right) near ring of characteristic 2;
- (ii)
- ;
- (iii)
- ;
- (iv)
- .
Proof.
Several examples of unitary (right) near-rings of characteristic 2 with four elements can be found. The following example illustrates Theorem 5. Multiplication is neither commutative nor idempotent, and addition is the same as Boolean symmetric difference. Note that if the formula is used as the ternary operation p instead of , then (T4) is not satisfied.It is clear that (i) implies (iii), and considering Lemma 4 and the associativity of +, (iii) implies (i). Using (40), condition (iii) implies (ii):
Using (17) and (T2), condition (ii) implies (iii): Properties (18) and Lemma 4 show that (iii) and (iv) are equivalent. □
6. MV-Algebra
An MV-algebra is a structure of type that can be defined as follows.
Definition 2.
Usually, the commutativity of the binary operation ∘ is included as an axiom of MV-algebras. Nevertheless, Kolařík [] proved that the commutativity of ∘ is a consequence of the other axioms. The canonical example of a MV-algebra consist of the set and the operations and .A MV-algebra is a system such that
- (M1) ;
- (M2) ;
- (M3) ;
- (M4) ;
- (M5) .
Next, some well-known properties of MV-algebras are presented.
Proposition 3.
Let be an MV-algebra, and consider the following notations:
Then, the following properties hold:
- and ;
- and ;
- ;
- is a distributive lattice;
- is a Boolean algebra ;
- and .
Proof.
See, for instance, []. □
Considering these properties and Lemma 5, if an MV-algebra comes from a (T1)–(T4) ternary structure, then it is a Boolean algebra. This means that a ternary structure isomorphic to a general MV-algebra cannot contain the full (T1)–(T4) structure. We propose here replacing Axiom (T4) with some of its consequences, namely particular cases of properties (11) and (14). This implies that properties (9) and (12) will not apply in general, and consequently, the operations ∘ and ∨ will be different. We call the resulting structure a ternary MV-algebra.
Definition 3.
A ternary MV-algebra is a system consisting of a set A, together with a ternary operation and two constants satisfying
- (T1) ;
- (T2) ;
- (T3) ;
- (T4-1) ;
- (T4-2) and ;
- (TWV) .
In the next propositions, it is shown that a ternary MV-algebra is isomorphic to an MV-algebra.
Proposition 4.
Let be a ternary MV-algebra. Then, for and , the structure is an MV-algebra.
Proof.
It is clear that 0 and 1 are still complements of each other:
Now, we can prove the five axioms of Definition 2:
□
Proposition 5.
Let be an MV-algebra, and consider the usual dual operation . Then, for
the structure is a ternary MV-algebra.
Proof.
First, from (41) and using Proposition 3, we observe the following correspondences.
Note that these results are compatible with definitions (1) to (5).
Now, we can prove the properties of p included in Definition 3:
□
Theorem 6.
Ternary MV-algebras and MV-algebras are isomorphic.
Proof.
Let be a ternary MV-algebra, and consider the operations and . Then, according to Proposition 4, the structure is an MV-algebra. Through Proposition 5, a new ternary MV-algebra is recovered. We prove now that the new ternary MV-algebra is equal to the original one, i.e., that :
Conversely, let us begin with an MV-algebra . Then, using Proposition 5, a ternary MV-algebra is obtained, with , which, through Proposition 4, gives back an MV-algebra . We now prove that and :
□
To compare between the binary operations observed in Boolean and de Morgan algebras with equalities, let us notice that in a ternary MV-algebra, the following relations hold:
Note also that in a Ternary MV-algebra, the notion of a sum is still well defined through , with and .
7. Conclusions
We have presented examples of ternary structures that provide a common background for several classical algebras. It has long been recognized that de Morgan algebras with Boolean complements or MV-algebras with idempotency are Boolean algebras. However, other characteristics of Boolean algebras, like the existence of a sum leading to Boolean rings, are not so easily generalized (see [] for an example). Here, the sum defined as is well defined in all structures derived from a ternary system and allows for generalization of the notion of a ring. With respect to the algebras considered here, we observe the following, Table 1:

Table 1.
List of algebras considered and the corresponding properties.
In Section 6, we explained how the initial ternary structure (T1)–(T4) is generalized to allow for MV-algebras. Of course, the structure can be modified in other ways given other type of structures. With only (T1)–(T3), the unary operation is not an involution, which could be a starting point for studying a ternary version of Heyting algebras, for example.
Author Contributions
J.P.F. and N.M.-F. contributed equally to this work. All authors have read and agreed to the published version of the manuscript.
Funding
This research work was supported by the Portuguese Foundation for Science and Technology FCT/MCTES (PIDDAC) through the following projects—Associate Laboratory ARISE LA/P/0112/2020; UIDP/04044/2020; UIDB/04044/2020; PAMI-ROTEIRO/0328/2013 (N° 022158); MATIS (CENTRO-01-0145-FEDER-000014-3362); DOI: 10.54499/UIDB/04044/2020; Generative. Thermodynamic; and FruitPV—and by the CDRSP and ESTG from the Polytechnic of Leiria.
Data Availability Statement
The data are contained within the article.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Grau, A.A. Ternary Boolean algebras. Bull. Amer. Math. Soc. 1947, 53, 567–572. [Google Scholar] [CrossRef]
- Padmanabhan, R.; McCune, W. Single identities for ternary Boolean algebra. Comput. Math. Appl. 1995, 29, 13–16. [Google Scholar] [CrossRef]
- Birkhoff, G.; Kiss, S.A. A ternary operation in distributive lattices. Bull. Amer. Math. Soc. 1947, 53, 749–752. [Google Scholar] [CrossRef]
- Bandelt, H.-S.; Hedlícová, J. Median algebras. Discret. Math. 1983, 45, 1–30. [Google Scholar] [CrossRef]
- Sholander, M. Trees, lattice, order and betweenness. Proc. Amer. Math. Soc. 1952, 3, 369–381. [Google Scholar] [CrossRef]
- Isbell, J.R. Median Algebra. Trans. Amer. Math. Soc. 1980, 260, 319–362. [Google Scholar] [CrossRef]
- Church, A. Conditioned disjunction as a primitive connective for the prepositional calculus. Port. Math. 1948, 7, 87–90. [Google Scholar]
- Hoare, C.A.R. A couple of novelties in the propositional calculus. Z. Math. Logik Grundlag. Math. 1985, 31, 173–178. [Google Scholar] [CrossRef]
- Fatelo, J.P.; Martins-Ferreira, N. A new look at ternary Boolean algebras. arXiv 2021, arXiv:2109.06259. [Google Scholar]
- Fatelo, J.P.; Martins-Ferreira, N. A refinement of ternary Boolean algebras. arXiv 2022, arXiv:2203.08012. [Google Scholar]
- Cvetko-Vah, K.; Salibra, A. The connection of skew Boolean algebras and discriminator varieties to Church algebras. Algebra Universalis 2015, 73, 369–390. [Google Scholar] [CrossRef]
- Salibra, A.; Ledda, A.; Paoli, F.; Kowalski, T. Boolean-like algebras. Algebra Universalis 2013, 69, 113–138. [Google Scholar] [CrossRef]
- Dudek, W.A.; Trokhimenko, V.S. Algebra of Multiplace Functions; De Gruyter: Berlin, Germany, 2012. [Google Scholar]
- Bergstra, J.A.; Ponse, A. Proposition algebra. ACM Trans. Comput. Logic 2011, 12, 1–36. [Google Scholar] [CrossRef]
- Fatelo, J.P.; Martins-Ferreira, N. Mobi algebra as an abstraction to the unit interval and its comparison to rings. Commun. Algebra 2019, 47, 1197–1214. [Google Scholar] [CrossRef]
- Fatelo, J.P.; Martins-Ferreira, N. Affine mobi spaces. Boll. Dell’Unione Mat. Ital. 2022, 15, 589–604. [Google Scholar] [CrossRef]
- Fatelo, J.P.; Martins-Ferreira, N. Mobi spaces and geodesics for the N-sphere. Cah. Topol. Géom. Différ. Catég. 2022, 63, 59–88. [Google Scholar]
- Martins-Ferreira, N. On distributive lattices and Weakly Mal’tsev categories. J. Pure Appl. Algebra 2012, 216, 1961–1963. [Google Scholar] [CrossRef][Green Version]
- Birkhoff, G. Lattice Theory; American Mathematical Society: Providence, RI, USA, 1948; Volume 25. [Google Scholar]
- Belnap, N. A Useful Four-Valued Logic; Dunn, J.M., Epstein, G., Eds.; Modern Uses of Multi-Valued Logic; Reidel Dordrecht: Boston, UK, 1977; pp. 8–37. [Google Scholar]
- Font, J.M. Belnap’s Four-Valued Logic and De Morgan Lattices. Log. J. Igpl 1997, 5, 1–29. [Google Scholar] [CrossRef]
- Kalman, J.A. Lattices with involution. Trans. Amer. Math. Soc. 1958, 87, 485–491. [Google Scholar] [CrossRef]
- Lockhart, R. The theory of Near-Rings. In Lecture Notes in Mathematics; Springer: Berlin/Heidelberg, Germany, 2021; Volume 2295. [Google Scholar]
- Fatelo, J.P.; Martins-Ferreira, N. Internal monoids and groups in the category of commutative cancellative medial magmas. Port. Math. 2016, 73, 219–245. [Google Scholar] [CrossRef]
- Kolařík, M. Independence of the axiomatic systems for a MV-algebras. Math. Slovaca 2013, 63, 1–4. [Google Scholar] [CrossRef]
- Cignoli, R.L.O.; D’Ottaviano, I.M.L.; Mundici, D. Algebraic Foundations of Many-Valued Reasoning; Trends in Logic; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2000. [Google Scholar]
- Chajda, I.; Länger, H. Ring-Like Structures Corresponding to MV-Algebras via Symmetric Difference; Verlag der Österreichischen Akademie der Wissenschaften: Wien, Austria, 2004; pp. 33–41. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).