Abstract
Proposition algebra is based on Hoare’s conditional, a ternary connective comparable to if–then–else and used in the context of propositional logic. Conditional statements are composed from atomic propositions (propositional variables), constants for the Boolean truth values, and the conditional. In previous work, various equational axiomatisations have been defined, each of which leads to a so-called valuation congruence. The weakest of these is “free valuation congruence” and the strongest is “static valuation congruence”, which is equivalent to propositional logic. Free valuation congruence is axiomatised by four simple equational axioms, and we use evaluation trees to give a simple semantics: two conditional statements are free valuation congruent if, and only if, they have equal evaluation trees. Increasingly stronger valuation congruences arise by adding axioms to the four that define free valuation congruence: repetition-proof, contractive, memorising, and static valuation congruence. We prove that each such valuation congruence C can be characterised using a transformation on evaluation trees: two conditional statements are C-valuation congruent if, and only if, their C-transformed evaluation trees are equal. In order to prove that these transformations preserve the congruence property, we use normalisation functions: two conditional statements are C-valuation congruent if, and only if, the C-normalisation function returns equal images. Our framework provides the first comprehensive tree-based semantics that unifies all major valuation congruences in proposition algebra, offering both conceptual clarity and practical decision procedures.
Keywords:
conditional composition; evaluation tree; proposition algebra; short-circuit evaluation; short-circuit logic; side effect MSC:
03B05; 03B70
1. Introduction
This paper is an extended journal version of the conference paper [1] entitled Evaluation trees for proposition algebra: The case for free and repetition-proof valuation congruence, with new results for three other valuation congruences discussed in Section 4, Section 5 and Section 6. Much of the text in Section 1, Section 2 and Section 3 is taken from [1]. We have included this material because it is necessary for the new results. The conclusions in Section 7 are based on the concluding section of [1] and include further references to related work.
In 1985, Hoare’s paper A couple of novelties in the propositional calculus [2] was published. In this paper, the ternary connective is introduced as the conditional. A more common expression for a conditional statement is the following:
However, in order to reason systematically with conditional statements, a notation such as is preferable. In a conditional statement , first Q is evaluated, and depending on that evaluation result, either P or R is evaluated (and the other is not) and determines the evaluation value. This evaluation strategy is a form of short-circuit evaluation (short-circuit evaluation denotes the semantics of binary propositional connectives in which the second argument is evaluated only if the first argument does not suffice to determine the value of the expression). In [2], Hoare proves that propositional logic is characterised by eleven equational axioms, some of which employ constants and for the truth values and . However, the same result was proven in 1948 by Church in ref. [3], where he introduced conditioned disjunction, notation , that also models “”, or in Church’s words, “p or r, according as q or not q”. See also Church’s 1956 book [4] (§24), which reiterates all the main findings. Furthermore, Church emphasized the duality property of , and even referred to older related work, notably that of Post from 1942 on functionally complete systems of independent primitive connectives for two-valued logic.
In 2011, Bergstra and Ponse introduced “Proposition Algebra” in ref. [5] as a general approach to the study of the conditional and defined several valuation congruences and equational axiomatisations of these congruences. The most basic and least identifying valuation congruence is free valuation congruence, which is axiomatised by the axioms in Table 1.
Table 1.
The set of equational axioms for free valuation congruence.
These axioms stem from [2] and define the conditional as a primitive connective. The name (for Conditional Propositions) was chosen for this set of axioms. Interpreting a conditional statement as an if–then–else expression, axioms (CP1)–(CP3) are natural, and axiom (CP4) (distributivity) can be clarified by case analysis: if z evaluates to and y as well, then x determines the result of evaluation; if z evaluates to and y evaluates to , then v determines the result of evaluation, and so on and so forth. A simple example, taken from [5], is the conditional statement that a pedestrian evaluates before crossing a road with two-way traffic driving on the right:
This statement requires one, or two, or three atomic evaluations and cannot be simplified to one that requires fewer.
In Section 2 we characterise free valuation congruence with help of evaluation trees, which provide a simple semantics for the conditional; we return to this point in Section 7. Given a conditional statement, its evaluation tree directly represents all its evaluations (in the way a truth table does in the case of propositional logic). Two conditional statements are equivalent with respect to free valuation congruence if their evaluation trees are equal. Evaluation trees are simple binary trees, proposed by Staudt in ref. [6] (that appeared in 2012). Free valuation congruence identifies less than the equivalence defined by Hoare’s axioms in ref. [2]. For example, the atomic proposition a and the conditional statement are not equivalent with respect to free valuation congruence, although they are equivalent with respect to static valuation congruence, which is the valuation congruence that characterises propositional logic.
In Section 3 we consider repetition-proof valuation congruence, a valuation congruence that identifies more than free and less than static valuation congruence. Repetition-proof valuation congruence is axiomatised by extended with two (schematic) axioms, one of which reads
for any atomic proposition a, and thus expresses that if a evaluates to , a consecutive evaluation of a also evaluates to , so the conditional statement at the y-position will not be evaluated and can be replaced by any other. As an example,
and the left-hand and right-hand conditional statements are repetition-proof valuation congruent, but not free valuation congruent. A more concrete example of this valuation congruence in the field of programming languages is given in Example 3 (in Section 7). We characterise repetition-proof valuation congruence by defining a transformation on evaluation trees that yields repetition-proof evaluation trees: two conditional statements are repetition-proof valuation congruent if, and only if, they have equal repetition-proof evaluation trees. Although this transformation on evaluation trees is simple and natural, our proof of the mentioned characterisation, which is phrased as a completeness result, is non-trivial and we could not find a proof that is essentially simpler.
Valuation congruences that identify more conditional statements than repetition-proof valuation congruence are contractive, memorising, and static valuation congruence. These are defined and axiomatised in ref. [5]. In Section 4, Section 5 and Section 6, each of these valuation congruences is characterised using a transformation on evaluation trees: two conditional statements are C-valuation congruent if, and only if, their C-transformed evaluation trees are equal. These transformations are simple and natural, and only for static valuation congruence do we use a slightly more complex transformation.
In Section 7, we discuss the general structure of the proofs of the axiomatisation results in Section 3, Section 4, Section 5 and Section 6, each of which is based on a normalisation function for conditional statements. Then we end the paper with a brief digression on short-circuit logic and give the above-mentioned example of the use of repetition-proof valuation congruence, and Example 4 of contractive valuation congruence. We conclude with some remarks about related and future work. Finally, in Appendix A, we provide some independence results.
2. Evaluation Trees for Free Valuation Congruence
Consider the signature with constants and for the truth values and , respectively, and constants a for atomic propositions, further called atoms, from some countable set A containing at least two atoms. We write
for the set of closed terms, or conditional statements, over the signature . Given a conditional statement , we refer to Q as its central condition.
We define the dual of as follows:
Observe that is a self-dual axiomatisation: when defining for each variable x, the dual of each axiom is also in , and hence
A natural view on conditional statements in involves short-circuit evaluation, which is similar to how we consider the evaluation of an “” expression. The following three definitions are taken from [6].
Definition 1.
The function is called post-conditional composition over a. In the evaluation tree , the root is represented by a, the left branch by X, and the right branch by Y.
The set of evaluation trees over A with leaves in is defined inductively by
We refer to trees in as evaluation trees, or trees for short. Post-conditional composition and its notation stem from thread algebra; the thread first performs a and then proceeds with P if was returned or with Q otherwise (see [7] for more information). Evaluation trees play a crucial role in the main results of [6]. In order to define our “evaluation tree semantics”, we first define an auxiliary function on trees.
Definition 2 (Leaf replacement).
Given evaluation trees , the leaf replacement function , for which postfix notation
is adopted, is defined as follows, where :
We note that the order in which the replacements of leaves of X are listed is irrelevant and adopt the convention of not listing identities inside the brackets, e.g., . Furthermore, repeated replacements satisfy the following equation, which follows easily by structural induction on X:
We now have the terminology and notation to define the interpretation of conditional statements in as evaluation trees by a function (abbreviating short-circuit evaluation).
Definition 3.
The short-circuit evaluation function
is defined as follows, where :
Example 1. 
The conditional statement yields the following evaluation tree:
A more pictorial representation of this evaluation tree is the following, where yields a left branch and a right branch:

As we can see from the definition on atoms, evaluation continues in the left branch if an atom evaluates to and in the right branch if it evaluates to . We shall often use the constants and to denote the result of an evaluation (instead of and ).
Definition 4.
Let . An evaluation of P is a pair where and , such that if , then (the empty string) and , and otherwise,
where is a complete path in and
- for , if is a left child of then , and otherwise ;
- if B is a left child of then , and otherwise .
We refer to σ as the evaluation path and to B as the evaluation result.
So, an evaluation of a conditional statement P is a complete path in (from root to leaf) and contains evaluation values for all occurring atoms. For instance, the evaluation tree from Example 1 encodes the evaluations , , and . As an aside, we note that this particular evaluation tree encodes all possible evaluations of , where is the connective that prescribes short-circuit conjunction (we return to this connective in Section 7).
In turn, each evaluation tree gives rise to a unique conditional statement. For Example 1, this is (note the syntactical correspondence).
Definition 5.
Basic forms over A are defined by the following grammar:
We write for the set of basic forms over A. The depth of is defined by and .
Following [5], we speak of “basic forms” instead of normal forms in order to avoid intuitions from term rewriting; for example, the basic form associated with atom a is , whereas one would expect that the normal form of the latter is a. The following lemmas exploit the structure of basic forms and are stepping stones to our first completeness result (Theorem 1).
Lemma 1.
For each there exists , such that .
Proof.
First we establish an auxiliary result: if and R are basic forms, then there is a basic form S, such that . This follows by structural induction on Q.
The lemma’s statement follows by structural induction on P. The base cases are trivial, and if there exist, by induction, basic forms , such that ; hence, . Now apply the auxiliary result. □
Lemma 2.
For all basic forms P and Q, implies .
Proof.
By structural induction on P. The base cases are trivial. If , then and with , so and . By induction we find , and hence . □
Definition 6.
The binary relation se-congruence, notation , is defined on as follows:
Lemma 3.
Se-congruence is a congruence relation.
Proof.
Assume , , and . Then
so . □
Theorem 1 (Completeness of ).
For all ,
Proof.
(⇒) Without loss of generality it can be assumed that substitutions happen first in equational proofs (see, e.g., [8]). By Lemma 3, is a congruence relation and it easily follows that all -axioms are sound. For example, the soundness of axiom (CP4) follows from
(⇐) Let . According to Lemma 1, there exist basic forms and , such that and , and so . By soundness (⇒) we find , so by Lemma 2, . Hence, . □
A consequence of the above results is that for each there is a unique basic form with , and for each basic form, its -image has exactly the same syntactic structure (replacing by , and by ). In the remainder of this section, we make this precise.
Definition 7.
The basic form function is defined as follows, where :
Given , the auxiliary function for which post-fix notation is adopted, is defined as follows:
(The notational overloading with the leaf replacement functions on evaluation trees is harmless.)
So, for given , the auxiliary function applied to (thus, ) replaces all -occurrences in P by Q, and all -occurrences in P by R. The following two lemmas imply that is a normalisation function.
Lemma 4.
For all , is a basic form.
Proof.
By structural induction. The base cases are trivial. For the inductive case we find , so by induction, , , and are basic forms. Furthermore, replacing all -occurrences and -occurrences in by basic forms and , respectively, yields a basic form. □
Lemma 5.
For each basic form P, .
Proof.
By structural induction on P. □
Definition 8.
The binary relation on is defined as follows:
Lemma 6.
The relation is a congruence relation.
Proof.
Replace by in the proof of Lemma 3. □
Before proving that is an axiomatisation of the relation , we show that each instance of the axiom (CP4) satisfies .
Lemma 7.
For all ,
Proof.
By definition, the lemma’s statement is equivalent with
By Lemma 4, , , and are basic forms. We prove (1) by structural induction on the form that can have. If , then
and
If , then (1) follows in a similar way.
The inductive case is trivial (by definition of the last defining clause of the auxiliary function in Definition 7). □
Theorem 2.
For all ,
Proof.
(⇒) By Lemma 6, is a congruence relation and it easily follows that closed instances of the -axioms (CP1)–(CP3) satisfy . By Lemma 7 it follows that closed instances of axiom (CP4) also satisfy .
(⇐) Assume . According to Lemma 1, there exist basic forms and , such that and , so . By ⇒ it follows that , which implies by Lemma 5 that . Hence, . □
Corollary 1.
For all , and .
Proof.
By Lemmas 4 and 5, ; thus, . By Theorem 2, , and by Theorem 1, . □
3. Evaluation Trees for Repetition-Proof Valuation Congruence
In ref. [5], Bergstra and Ponse defined repetition-proof as the extension of the axiom set with the following two axiom schemes, where a ranges over A:
We write for this extension. These axiom schemes characterise that for each atom a, a consecutive evaluation of a yields the same result, so in both cases the conditional statement at the y-position will not be evaluated and can be replaced by any other. Note that (CPrp1) and (CPrp2) are each other’s dual.
Following [5], we define a proper subset of basic forms with the property that each propositional statement can be proved equal to such a basic form.
Definition 9.
Rp-basic forms are inductively defined:
- and are rp-basic forms;
- is an rp-basic form if and are rp-basic forms, and if is not equal to or , then either the central condition in is different from a, or is of the form .
It will turn out useful to define a function that transforms conditional statements into rp-basic forms, and which is comparable to the function .
Definition 10.
The rp-basic form function is defined by
The auxiliary function is defined as follows:
For , the auxiliary functions and are defined by
Thus, maps a conditional statement P to and then transforms according to the auxiliary functions , , and .
Lemma 8.
For all and ,
Proof.
By structural induction on P. The base cases are trivial. For the inductive case , we have to distinguish the cases and . If , then
and follows in a similar way. If , then , and hence .
The second pair of equalities can be derived in a similar way. □
In order to prove that for all , is an rp-basic form, we use the following auxiliary lemma.
Lemma 9.
For all and , and .
Proof.
Fix some . We prove these inequalities by structural induction on P. The base cases are trivial. For the inductive case , we have to distinguish the cases and . If , then
and follows in a similar way.
If , then , and hence and . □
Lemma 10.
For all , is an rp-basic form.
Proof.
We first prove an auxiliary result:
This follows by induction on the depth of P. If , then , and hence is an rp-basic form. For the inductive case , it must be the case that . We find
which is an rp-basic form because of the following:
- By Lemma 9, and are basic forms with depth smaller than or equal to n, so by the induction hypothesis, and are rp-basic forms;
- and both satisfy the following property: if the central condition (if present) is a, then the outer arguments are equal. We show this first for by a case distinction in the form of Q:
- If , then , and so there is nothing to prove.
- If , then , and thus by Lemma 8, .
- If with , then , and soand there is nothing to prove.
The fact that satisfies this property follows in a similar way.
This finishes the proof of (2).
The lemma’s statement now follows by structural induction: the base cases (comprising a single atom a) are again trivial, and for the inductive case,
For some basic form S by Lemma 4, and by auxiliary result (2), is an rp-basic form. □
The following result is used in Proposition 1 and Lemma 12.
Lemma 11.
If is an rp-basic form, then and .
Proof.
We first prove an auxiliary result:
We prove both equalities by simultaneous induction on the structure of Q and R. The base case, thus , is trivial. If and , then Q and R are rp-basic forms with central condition a, and so
and the equality for R follows in a similar way. If and , then , and the result follows as above. All remaining cases follow in a similar way, which finishes the proof of (3).
We now prove the lemma’s statement by simultaneous induction on the structure of Q and R. The base case, thus , is again trivial. If and , then by auxiliary result (3),
and by induction, . Hence, , and
and the equalities for R follow in a similar way.
If and , the lemma’s equalities follow in a similar way, although are slightly simpler because .
For all remaining cases, the lemma’s equalities follow in a similar way. □
Proposition 1 (rpbf is a normalisation function).
For all , is an rp-basic form, and for each rp-basic form P, .
Proof.
The first statement is Lemma 10. For the second statement, it suffices by Lemma 5 to prove that for each rp-basic form P, . This follows by case distinction on P. The cases follow immediately, and otherwise , and thus . By Lemma 11, and , hence . □
Lemma 12.
For all , .
Proof.
We apply structural induction on P. The base cases are trivial. Assume . By induction, . We proceed by the following case distinction on the form that and can have:
- If with , then and , and hence . Thus, .
- If and with , then and by auxiliary result (2) in the proof of Lemma 10, and are rp-basic forms. We derive
- If with and , we can proceed as in the previous case, but now using axiom scheme (CPrp2) and the identity , and the fact that and are rp-basic forms.
- If and , we can proceed as in two previous cases, now using both (CPrp1) and (CPrp2), and the fact that and are rp-basic forms.
□
Theorem 3.
For all , .
Proof.
By Theorem 2 and Corollary 1, we find . By Lemma 12, , and . □
Definition 11.
The binary relation on is defined as follows:
Theorem 4.
For all , .
Proof.
(⇒) Assume . By Theorem 3, . In ref. [5], the following two statements are proven (Theorem 6.3 and an auxiliary result in its proof), where is the binary relation on that specifies repetition-proof valuation congruence:
- For all , .
- For all rp-basic forms P and .
By Lemma 10, these statements imply , that is, .
(⇐) Assume . By Theorem 3, . □
So, the relation is axiomatised by , and is thus a congruence that coincides with repetition-proof valuation congruence as defined in ref [5]. With this observation in mind, we define a transformation on evaluation trees that mimics the function and proves that the equality of two such transformed trees characterises repetition-proof valuation congruence.
Definition 12.
The unary repetition-proof evaluation function
yields repetition-proof evaluation trees and is defined by
The auxiliary function is defined as follows ():
For , the auxiliary functions and are defined by
Example 2. 
Let . We depict (as in Example 1) and the repetition-proof evaluation tree as follows:

The similarities between and the function can be exploited: We use the following lemma in the proof of this section’s last completeness result.
Lemma 13.
For all , .
Proof.
We first prove an auxiliary result:
Fix some . We prove (4) by structural induction on P. The base cases are trivial. For the inductive case , we have to distinguish the cases and . If , then
and if , then
The second equality can be derived in a similar way, and this finishes the proof of (4).
We prove the lemma’s statement by induction on . The base cases follow immediately. Assume ; then,
□
Finally, we relate conditional statements by means of their repetition-proof evaluation trees.
Definition 13.
Repetition-proof se-congruence, notation , is defined on as follows:
The following characterisation result immediately implies that is a congruence relation on (and hence justifies calling it a congruence).
Proposition 2.
For all , .
Proof.
(⇒) Assume ; thus, . By Corollary 1, , and so by Lemma 13, . By Lemma 2 and auxiliary result (2) (see the proof of Lemma 10), it follows that ; that is, .
(⇐) Assume ; thus, and . By Lemma 13, . By Corollary 1, and , and so ; that is, . □
We end this section with the completeness result we were seeking.
Theorem 5 (Completeness of ).
For all ,
Proof.
Combine Theorem 4 and Proposition 2. □
4. Evaluation Trees for Contractive Valuation Congruence
In ref. [5], Bergstra and Ponse introduced , contractive , as the extension of with the following two axiom schemes, where a ranges over A:
These schemes prescribe the contraction for each atom a for respectively the true case and the false case, and are each others dual. It easily follows that the axiom schemes (CPrp1) and (CPrp2) are derivable from , and so is also an axiomatic extension of .
Again, we define a proper subset of basic forms with the property that each propositional statement can be proved equal to such a basic form.
Definition 14.
Cr-basic forms are inductively defined:
- and are cr-basic forms;
- is a cr-basic form if and are cr-basic forms, and if is not equal to or , the central condition in is different from a.
It will become useful to define a function that transforms conditional statements into cr-basic forms, and that is comparable to the function (see Definition 7).
Definition 15.
The cr-basic form function is defined by
The auxiliary function is defined as follows:
For , the auxiliary functions and are defined by
Thus, maps a conditional statement P to and then transforms according to the auxiliary functions , , and .
Lemma 14.
For all and , and .
Proof.
Fix some . We prove these inequalities by structural induction on P. The base cases are trivial. For the inductive case , we have to distinguish the cases and . If , then
and follows in a similar way.
If , then , and hence and . □
Lemma 15.
For all , is a cr-basic form.
Proof.
We first prove an auxiliary result:
This follows by induction on the depth of P. If , then , and hence is a cr-basic form. For the inductive case , it must be the case that . We find
which is a cr-basic form because of the following:
- By Lemma 14, and are basic forms with a depth smaller than or equal to n, and so by the induction hypothesis, and are cr-basic forms,
- By the definition of the auxiliary functions and , the central condition of and is not equal to a; hence, is a cr-basic form.
This completes the proof of (5).
The lemma’s statement now follows by structural induction: the base cases (comprising a single atom a) are again trivial, and for the inductive case,
for some basic form S by Lemma 4, and by (5), is a cr-basic form. □
The following lemma is used in Proposition 3 and Lemma 17.
Lemma 16.
If is a cr-basic form, then and .
Proof.
By simultaneous induction on the structure of Q and R. The base case, thus , is again trivial. If and , then and thus and . Moreover, and have no central condition b; hence, and , and thus
The equalities for R follow in a similar way.
If and , the lemma’s equalities follow in a similar way, and this is also the case if and . □
With Lemma 16 we can easily prove the following result.
Proposition 3 (cbf is a normalisation function).
For each , is a cr-basic form, and for each cr-basic form P, .
Proof.
The first statement is Lemma 15. For the second statement, it suffices by Lemma 5 to prove that . We prove this by case distinction on P. The cases follow immediately, and otherwise , and thus . By Lemma 16, and ; hence, . □
Lemma 17.
For all , .
Proof.
We first prove two auxiliary results:
Fix some . We prove (6) by structural induction on Q. The base cases are trivial. For the inductive case , we have to distinguish the cases and . If , then and
If then , and hence .
Auxiliary result (7) follows in a similar way by structural induction on P and with the help of axiom scheme (CPcr1).
The lemma’s statement follows by induction on . The base cases are trivial. For the inductive case, assume . We derive
□
Theorem 6.
For all , .
Proof.
By Theorem 2 and Corollary 1, , and by Lemma 17, , and . □
Definition 16.
The binary relation on is defined as follows:
Theorem 7.
For all , .
Proof.
(⇒) Assume . Then, by Theorem 6, . In ref. [5], the following two statements are proven (Theorem 6.4 and an auxiliary result in its proof), where is the binary relation on that specifies contractive valuation congruence:
- For all , .
- For all cr-basic forms P and .
By Lemma 15, these statements imply ; that is, .
(⇐) Assume . By Theorem 6, . □
Hence, the relation is axiomatised by , and is thus a congruence that coincides with contractive valuation congruence defined in [9]. We now define a transformation on evaluation trees that mimics the function and prove that the equality of two such transformed trees characterises this congruence.
Definition 17.
The unary contractive evaluation function
yields contractive evaluation trees and is defined by
The auxiliary function is defined as follows ():
For , the auxiliary functions and are defined by
As a simple example, we depict and the contractive evaluation tree :

The similarities between the evaluation function and the function can be exploited, and we use the following lemma in the proof of the next completeness result.
Lemma 18.
For all , .
Proof.
We first prove the following auxiliary result:
Fix some . We prove (8) by structural induction on P. The base cases are trivial. For the inductive case , we have to distinguish the cases and . If , then
and if , then
The second equality can be derived in a similar way, and this finishes the proof of (8).
We prove the lemma’s statement by induction on . The base cases follow immediately. Assume ; then,
□
Finally, we relate conditional statements by means of their contractive evaluation trees.
Definition 18.
Contractive se-congruence, notation , is defined on as follows:
The following characterisation result implies that is a congruence relation on .
Proposition 4.
For all , .
Proof.
(⇒) Assume , and thus . By Corollary 1, , and so by Lemma 18, . By Lemma 2 and auxiliary result (2) (see the proof of Lemma 10), it follows that ; that is, .
(⇐) Assume ; thus, and . By Lemma 18, . By Corollary 1, and , so : that is, . □
Our final result in this section is a completeness result for contractive se-congruence.
Theorem 8 (Completeness of ).
For all ,
Proof.
Combine Theorem 7 and Proposition 4. □
5. Evaluation Trees for Memorising Valuation Congruence
In ref. [5], Bergstra and Ponse introduced , memorising , as the extension of with the following axiom:
Axiom (CPmem) expresses that the first evaluation value of y is memorised. More precisely, a “memorising evaluation” is one with the property that upon the evaluation of a compound propositional statement, the first evaluation value of each atom is memorised throughout the evaluation and can have no side effect that affects the evaluation of any other atom. We write for the set of axioms.
Replacing the variable y in axiom (CPmem) by and/or the variable u by yields all other memorising patterns:
Hence, the duality principle also holds in . Furthermore, if we replace in axiom (CPmem) u by , we find the contraction law
and replacing y by then yields the dual contraction law
Hence, is an axiomatic extension of .
We define a proper subset of basic forms with the property that each propositional statement can be proven as equal to such a basic form.
Definition 19.
Let be a subset of A. Mem-basic forms over are inductively defined as follows:
- and are mem-basic forms over ;
- is a mem-basic form over if and P and Q are mem-basic forms over .
P is a mem-basic form if for some , P is a mem-basic form over .
Note that if A is finite, the number of mem-basic forms is also finite. It will turn out useful to define a function that transforms conditional statements into mem-basic forms.
Definition 20.
The mem-basic form function is defined by
The auxiliary function is defined as follows:
For , the auxiliary functions (left a-reduction) and (right a-reduction) are defined by
Thus, maps a conditional statement P to and then transforms according to the auxiliary functions , , and . We will use the following inequalities.
Lemma 19.
For all and , and .
Proof.
Fix some . We prove these inequalities by structural induction on P. The base cases are trivial. For the inductive case , we have to distinguish the cases and . If , then
and follows in a similar way.
If , then
and follows in a similar way. □
Lemma 20.
For all , is a mem-basic form.
Proof.
We first prove an auxiliary result:
This follows by induction on the depth of P. If , then , and hence is a mem-basic form. For the inductive case , it must be the case that . We find
which is a mem-basic form because by Lemma 19, and are basic forms with depth smaller than or equal to n, so by the induction hypothesis, is a mem-basic form over and is a mem-basic form over for suitable subsets and of A. Notice that by the definition of and we can assume that the atom a does not occur in . Hence, is a mem-basic form over , which completes the proof of (11).
The lemma’s statement now follows by structural induction: the base cases (comprising a single atom a) are again trivial, and for the inductive case,
For some basic form S by Lemma 4, and by (11), is a mem-basic form. □
With Lemma 20 we can easily prove the following result.
Proposition 5 (mbf is a normalisation function).
For each , is a mem-basic form, and for each mem-basic form P, .
Proof.
The first statement is Lemma 20. For the second statement, it suffices by Lemma 5 to prove that . We prove this by induction on . The base cases are trivial, and for the inductive case, assume ; thus, . Because P is a mem-basic form, Q and R are mem-basic forms in which a does not occur, and thus and . By induction, and , and thus . □
Lemma 21.
For all , .
Proof.
We first prove an auxiliary result:
Fix some . We prove (12) by structural induction on Q. The base cases are trivial. For the inductive case we have to distinguish the cases and . If , then and
If , then and
Auxiliary result (13) follows in a similar way with help of axioms (CPm1) and (CPm3).
The lemma’s statement follows by induction on . The base cases are trivial. For the inductive case, assume . We derive
□
Theorem 9.
For all , .
Proof.
By Theorem 2 and Corollary 1, , and by Lemma 21, and . □
Definition 21.
The binary relation on is defined as follows:
Theorem 10.
For all , .
Proof.
(⇒) Assume . Then, by Theorem 9, . In ref. [5], the following two statements are proven (Theorem 8.1 and Lemma 8.4), where is the binary relation on that specifies memorising valuation congruence:
- For all , .
- For all mem-basic forms P and .
By Lemma 20, these statements imply ; that is, .
(⇐) Assume . By Theorem 9, . □
Hence, the relation is axiomatised by and is thus a congruence that coincides with memorising valuation congruence as defined in ref. [5]. We define a transformation on evaluation trees that mimics the function , and prove that equality of two such transformed trees characterises the congruence that is axiomatised by .
Definition 22.
The unary memorising evaluation function
yields memorising evaluation trees and is defined by
The auxiliary function is defined as follows ():
For , the auxiliary functions (left a-reduction) and (right a-reduction) are defined by
As a simple example, we depict and the memorising evaluation tree :
The similarities between and the function will of course be exploited.Lemma 22.
For all , .
Proof.
We first prove an auxiliary result:
Fix some . We prove (14) by structural induction on P. The base cases are trivial. For the inductive case we have to distinguish the cases and . If , then
and if , then
The second equality can be derived in a similar way, and this finishes the proof of (14).
We prove the lemma’s statement by induction on . The base cases follow immediately. Assume ; then,
□
Definition 23.
Memorising se-congruence, notation , is defined on as follows:
The following characterisation result immediately implies that is indeed a congruence relation on .
Proposition 6.
For all , .
Proof.
(⇒) Assume ; thus, . By Corollary 1, and so by Lemma 22,
By Lemma 2, it follows that ; that is, .
(⇐) If , then , and by Lemma 22,
By Corollary 1, ; that is, . □
We end this section with a completeness result for memorising se-congruence.
Theorem 11 (Completeness of ).
For all ,
Proof.
Combine Theorem 10 and Proposition 6. □
6. Evaluation Trees for Static Valuation Congruence
The most identifying axiomatic extension of we consider can be defined by adding the following axiom to :
So, the evaluation value of each atom in a conditional statement is memorised, and by axiom (CPs), no atom a can have a side effect because for all . We write for the set of these axioms, and thus
Observe that ; the duality principle holds in . The following lemma is a direct consequence of axiom (CPs).
Lemma 23.
.
Proof.
□
A simple example on illustrates how the order of evaluation of x and y in can be swapped:
Equation (15) can be derived as follows:
In ref, [5], Bergstra and Ponse defined as the extension of with the following two axioms:
Axiom (CPstat) expresses how the order of evaluation of u and y can be swapped. Because we will rely on the results for recorded in ref. [5], we first prove the following result.
Proposition 7.
The axiom sets and are equally strong.
Proof.
We show that all axioms in the one set are derivable from the other set. We first prove that the axiom (CPmem) is derivable from :
where the contraction law (9) is derivable from ; replace y by in (10). Hence, . If in axiom (CPstat), we find , and hence .
In order to show that we have to derive (CPstat):
□
Given a finite, ordered subset of atoms we define a proper subset of basic forms with the property that each propositional statement over these atoms can be proven equal to such a basic form.
Definition 24.
St-basic forms over are defined as follows:
- and are st-basic forms over ϵ;
- is an st-basic form over if P and Q are st-basic forms over ρ.
P is an st-basic form if for some , P is an st-basic form over σ.
For example, an st-basic form over has the following form:
with . For , there exist different st-basic forms over .
It will be useful to define a function that transforms conditional statements to st-basic forms.
Definition 25.
Let . Then, is the set of closed terms in with atoms in σ, and is the subset of basic forms in . The conditional statement is defined as
So, for each , is an st-basic form over in which the constant does not occur, e.g.,
Definition 26.
The st-basic form function is defined by
where is defined in Definition 20.
For example,
The reason that is defined relative to some that covers the alphabet of P is that in order to prove completeness of (and ), we need to be able to relate conditional statements that contain different sets of atoms, but have equal st-basic forms for all appropriate , such as
Lemma 24.
Let . For all , .
Proof.
By induction on the structure of . If , then and by axiom (CP2), . If for some and , then , and hence
□
Lemma 25.
Let . For all , is an st-basic form.
Proof.
We first prove an auxiliary result:
Both equalities follow easily by induction on the structure of P and we only show the inductive case for the first one. Choose . If , then and
and if with , then and
We prove the lemma’s statement by induction on the structure of . If , then each contains no atoms. Hence, . If , then
which is an st-basic form over . The case for is similar. If for some and , then for each ,
where (17) follows because and are conditional statements in (thus, not containing a), and so by induction, and are st-basic forms over . Hence, is an st-basic form over . □
With Lemma 25 we can easily prove the following result.
Proposition 8 (sbf is a normalisation function).
Let . For each , is an st-basic form over σ, and for each st-basic form P over σ, .
Proof.
The first statement is Lemma 25. We prove the second statement by induction on the structure of . If , by definition.
If , then with st-basic forms over ; thus, and . For brevity, we identify below and Q for all :
□
Lemma 26.
Let . For all , .
Proof.
By Lemma 24, . By Theorem 9, , and hence . □
Definition 27.
Let . The binary relation on is defined as follows:
Theorem 12.
Let . For all , .
Proof.
(⇒) Assume . Then, by Lemma 26, , and by Proposition 7, . In ref. [5], the following two statements are proven (Theorem 9.1 and an auxiliary result in its proof), where is the binary relation on that specifies static valuation congruence:
- For all , .
- For all st-basic forms P and .
By Lemma 25, these statements imply , and thus .
(⇐) Assume , thus . By Theorem 10, , and by Lemma 24, this implies . □
Hence, the relation is a congruence on that is axiomatised by and coincides with static valuation congruence as defined in ref. [5]. Below we define static evaluation trees with help of the function and prove that the equality of two such trees characterises this congruence.
Definition 28.
Let . The unary static evaluation function yields static evaluation trees and is defined as follows:
where is defined in Definition 26 and in Definition 3.
As an example, let . We depict at the left-hand side. The static evaluation tree is depicted in the middle, and the static evaluation tree is depicted at the right-hand side:
The two different static evaluation trees correspond to the different ways in which one can present truth tables for P, that is, the different possible orderings of the valuation values of the atoms occurring in P: 
The similarities between and the function can be exploited and lead to a completeness result.
Definition 29.
Let . Static valuation congruence over σ, notation , is defined on as follows:
The following characterisation result immediately implies that for all , is indeed a congruence relation on .
Proposition 9.
Let . For all ,
Proof.
This follows by Proposition 6. □
We end this section with a completeness result for static valuation congruence.
Theorem 13 (Completeness of ).
Let . For all ,
Proof.
Combine Theorem 12 and Proposition 9. □
7. Conclusions
In 2011, Bergstra and Ponse introduced proposition algebra in ref. [5], which is based on Hoare’s conditional connective and the constants and . Four simple equational axioms specify “free valuation congruence” () and the addition of two axioms specifies “static valuation congruence” (), which represents propositional logic. Some other valuation congruences that lie in between free and static valuation congruence were also defined, and in this paper we paid attention to repetition-proof, contractive, and memorising valuation congruence, in symbols , , and .
In ref. [10], Bergstra and Ponse introduced an alternative valuation semantics for proposition algebra in the form of Hoare–McCarthy algebras (HMA’s), which is more elegant than the semantical framework provided in ref. [5]; HMA-based semantics has the advantage that one can define a valuation congruence without first defining the valuation equivalence it is contained in.
In this paper, we use Staudt’s evaluation trees [6] to characterise free valuation congruence as the relation “se-congruence”, the relation in Section 2, and this appears to be a relatively simple and stand-alone exercise, resulting in a semantics that is elegant and much simpler than HMA-based semantics [10] and the semantics defined in ref. [5]. By Theorem 1, coincides with free valuation congruence because both relations are axiomatised by (see [5] (Theorems 4.4 and 6.2)). An advantage of “evaluation tree semantics” is that for a given conditional statement P, the evaluation tree determines all relevant evaluations, so is determined by evaluation trees that contain no more atoms than those that occur in P and Q; this is comparable to how truth tables can be used in the setting of propositional logic.
In Section 3 we define “repetition-proof se-congruence” on by if, and only if, , where and is a transformation function on evaluation trees. It is clear that this transformation is “natural”, given the axiom schemes (CPrp1) and (CPrp2) that are characteristic for . The equivalence on that we want to prove is
by which coincides with the repetition-proof valuation congruence as defined in ref. [5] because both are axiomatised by (see [5] (Theorem 6.3)). So, by equivalence (18), is a congruence relation on . However, we could not find a direct proof of this fact and chose to simulate the transformation by the transformation on conditional statements, and to prove that the associated equivalence relation is axiomatised by , and is hence a congruence. This is Theorem 4, the proof of which depends on ref. [5] (Theorem 6.3; this theorem requires that , and so does the HMA approach in ref. [10]) and on Theorem 3; that is,
In order to prove (18) (which is Theorem 5), it is thus sufficient to prove that and coincide, and this is Proposition 2. Although it remains a challenge to find a direct and elegant proof of equivalence (18), we can conclude that repetition-proof evaluation trees and the valuation congruence provide full-fledged, simple, and elegant semantics for .
The structure of our completeness proofs of the axiomatisations of the other se-congruences is very similar, although the case for static se-congruence requires a slightly more complex proof (we return to this point below). Moreover, these axiomatisations are incremental: the axiom systems , up to and including , all share the axioms of , and each succeeding system is defined by the addition of either one or two axioms (schemes), in most cases making the previously added axiom(s) redundant (in Appendix A, we provide some independence results). Given some , this implies that in ,
where all these inclusions are proper. We conclude that for the se-congruences up to , the associated evaluation trees provide full-fledged, simple, and elegant semantics.
The case for static se-congruence over for some is somewhat more involved. This semantics coincides with any standard semantics of propositional logic in the following sense:
where and refer to Hoare’s definition ref. [2]:
Let and . The fact that is stronger than is immediately clear:
where it is easy to see that . Our proof that (and thus as defined in ref. [5]) is an axiomatisation of static se-congruence is slightly more complex than those for the other axiomatisations because in this case the evaluation of a conditional statement P does not enforce a canonical order for the evaluation of its atoms, and therefore such an ordering should be fixed beforehand in order to construct an adequate evaluation tree. To this purpose, we can use any that covers the atoms in P.
We continue with a brief digression on short-circuit logic, which we defined in ref. [11] (see Bergstra and Ponse [10] for a quick introduction), and an example on the use of . Familiar binary connectives that occur in the context of imperative programming and that prescribe short-circuit evaluation, such as (called “logical AND” in the programming language C), are often defined in the following way:
independent of the precise syntax of P and Q; hence, . It easily follows that is associative.
In a similar way, negation can be defined by . In ref. [11], we focus on this question:
Question 1.
Which are the logical laws that characterise short-circuit evaluation of binary propositional connectives?
A first approach to this question is to adopt the conditional as an auxiliary operator, as is the approach in ref. [10,11], and to answer Question 1 using definitions of the binary propositional connectives as above and the axiomatisation for the se-congruence of interest in proposition algebra (or, if “mixed conditional statements” are at stake, axiomatisations for the appropriate se-congruences). An alternative and more direct approach to Question 1 is to establish axiomatisations for short-circuited binary connectives in which the conditional is not used. For free se-congruence, a complete equational axiomatisation of short-circuited binary propositional connectives is provided by Staudt in ref. [6], where
(and where the function is also defined for short-circuited disjunction). The completeness proof is based on decomposition properties of evaluation trees. For repetition-proof and contractive se-congruence we conjecture that a finite equational axiomatisation of the short-circuited binary propositional connectives does not exist if . We continue with two examples on the use of and , both taken from [11].
Example 3
([11], Example 4). Let A be a set of atoms of the form and with some initialized integer program variable and arithmetical expressions over the integers that may contain . Assume that evaluates to if and represent the same value, and always evaluates to with the effect that the value of is assigned to . Then, these atoms satisfy the axioms of (of course, not all equations that are valid in the setting of Example 3 follow from , e.g., ). Note that if has initial value or , , and evaluate to different results, so the atom does not satisfy the law “”, by which this is a typical example of the repetition-proof characteristic of .
Example 4
([11], Example 3). An example in the same style that illustrates the use of concerns atoms that define manipulation of Boolean registers. Let with the number of registers and the value of registers.
- Upon evaluation, atom can have a side effect (it sets register to value ) and always yields true.
- Upon evaluation, atom has no side effect and yields only if register has value .
It is clear that the axioms of are valid, as is their consequence “” for all . However, is not true for all . Let . If register has value , then evaluation of t yields , while evaluation of yields .
Furthermore, we note that the se-congruences up to can be used as a basis for systematic analysis of the kind of side effects that may occur upon the evaluation of short-circuited connectives as in Examples 3 and 4, and we quote these words of Parnas [12]:
Although side effects are well understood in programming, see e.g., Black and Windley [13], they are often explained informally and systematic surveys and analyses do not yet appear to be available.“Most mainline methods disparage side effects as a bad programming practice. Yet even in well-structured, reliable software, many components do have side effects; side effects are very useful in practice. It is time to investigate methods that deal with side effects as the normal case.”
We finally note that the value of lies primarily in the fact that it is a stepping stone to defining static se-congruence (and more se-congruences, see the section below on related and future work), rather than in direct applications in the field of programming.
Related and Future Work
As mentioned in the Introduction, this paper is a journal version of the conference paper [1] by Bergstra and Ponse entitled, Evaluation trees for proposition algebra: The case for free and repetition-proof valuation congruence. In ref. [1], “free valuation congruence” and “repetition-proof valuation congruence” are defined using evaluation trees. However, in the earlier paper [5], Bergstra and Ponse define both “free valuation congruence” and “repetition-proof valuation congruence” as the smallest congruence arising from the corresponding “valuation equivalence”, which in turn is defined using a variety of so-called valuation algebras. In this article, we use “se-congruence” and “repetition-proof valuation congruence” for the congruences defined in ref. [1].
In the journal paper [14], we discuss several three-valued versions of proposition algebra and their evaluation trees, with help of a constant that represents the truth value . This paved the way for the recent paper [9], in which Bergstra and Ponse define “conditional short-circuit logic”, based on the work of Guzmán and Squier in [15], in which three-valued “conditional logic” is studied. Conditional logic is based on the notion of a regular extension of classical logic, defined by Kleene in ref. [16], and on the observation that up to anti-isomorphism, there is a unique regular extension of the classical boolean algebra with ordinary negation (′), conjunction (∧), and disjunction (∨) to a three-valued logic with non-commutative ∧ and ∨ which satisfies deMorgan’s laws and ; the name “conditional logic” stems from Gries [17] and this logic was first studied by McCarthy [18]. In ref. [9], two-valued and three-valued conditional short-circuit logic are distinguished, each of which gives rise to a corresponding “conditional valuation congruence”, defined in terms of “CL-basic forms”, although it is noted that “free valuation congruence” is defined in ref. [5]. In the two-valued case, this is a congruence that is in between memorising and static se-congruence. A typical identity in the underlying proposition algebra with is
and an example of a non-valid equation is . Like in the case for static se-congruence, and its associated short-circuit logic are a technical basis for this work.
In ref. [6], Staudt defined “free fully evaluated logic”, which characterises free valuation congruence for fully evaluated connectives (and negation), and came up with a completeness result. The binary connective “fulland”, which we represent here by the symbol &, can be characterised by the equation
Hence, y is always evaluated, even when the evaluation result is already known to be . In ref. [6], evaluation trees for expressions with & and its dual connective “fullor” are defined and their equality is axiomatised. This led to [19], in which Ponse and Staudt defined memorising, conditional, and static fully evaluated logic. In ref. [20], Cornets de Groot studied the “left-sequential exclusive OR” ℓXOR, defined by
so that y is always evaluated. With regard to this binary (sequential) connective, there is therefore no difference between short-circuited and full evaluation (in [20], the “left-sequential NAND” ℓNAND, defined by is also studied, and this work contains several completeness and expressiveness results with respect to free valuation congruence).
In the near future, we plan to investigate three-valued free, memorising, and conditional se-congruence, in particular their axiomatisations and normalisation functions.
Author Contributions
J.A.B., A.P. and D.J.C.S. contributed equally to this work. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding. The APC was funded by MDPI.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Acknowledgments
We would like to thank the anonymous reviewers for their helpful comments, which have certainly improved the article.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Independent Axiomatisations
All results mentioned below were found by or checked with the theorem prover Prover9 (Version 0.5B), and finite (counter) models were generated with the tool Mace4 (Version 0.5B). For both tools, including free downloads, see [21]. We used these tools on a Macbook Pro with a 2.4 GHz dual-core Intel Core i5 processor and 4 GB of RAM.
Firstly, the axioms (CP1)–(CP4) of (see Table 1, and also Table A1) are independent; this is easily verified with help of Mace4 and the same is true for the axioms of and (see Section 3 and Section 4). Furthermore, as was noted in Section 4,
Also is independent; it is, for example, immediately clear that the memorising axiom (CPmem) (also included in Table A1) is independent from those of : the evaluation trees of a and are different. Also, all other axioms of are independent and we briefly explain how the tool Mace4 can be used to prove this for axiom (CP1). Taking for example the -axioms (CP2)–(CP4) and (CPmem) as assumptions, a model of size two for these axioms that refutes the (CP1)-instance is the following, which was generated by Mace4:

Table A1.
The set of equational axioms for static valuation congruence, and three more axioms.
Table A1.
The set of equational axioms for static valuation congruence, and three more axioms.
| (CP1) | |
| (CP2) | |
| (CP3) | |
| (CP4) | |
| (CPmem) | |
| (CPs) | |
| (CP1,2) | |
| (CP3s) | |
| (Contr1) |
The case for is more complex, and in Table A1 we give its six axioms and three other axioms that we will use to define alternative axiomatisations. With Prover9 it quickly follows that the axiom (CP1) is derivable from and with Mace4 that the axioms in the latter set are independent. Furthermore, in ref. [14] (Table 5), an alternative set of independent axioms for is given that is concise and simple, and equally strong (this follows with help of Prover9), and independence follows with the help of Mace4:
Note that the axiom (CP3s) with implies (CP3), and with the axiom (CPs); hence, its name.
Following Lemma 23, we finally note that there is another axiomatisation of static valuation congruence that consists of only four independent axioms and is at least as elegant:
where (CP1,2) is the equation of Lemma 23, i.e., , and (Contr1) is the contraction law (i.e, (9) in Section 5). With Prover9, it quickly follows that the axiomatisations (A1) and (A2) are equally strong, and the independence of (A2) also quickly follows with the help of Mace4.
Although we believe that is sufficiently simple and expresses the fundamental intuitions in an appropriate manner, our reasons for presenting these two alternative axiomatisations are not only their independence (in contrast to ), but also their striking simplicity compared to Hoare’s eleven axioms in ref. [2].
Ternary Boolean algebras are algebras of type with one ternary operation f and one unary operation g defined by and , where +, · and ′ are the Boolean join, meet, and complementation operations. In ref. [22], Padmanabhan and McCune present several single axioms, each of which constitutes a base for ternary Boolean algebra, and thus axiomatises static valuation congruence. As might be expected, these equations are complex and not easy to read. We finally mention the work of Fatelo and Martins-Ferreira [23], which offers a general study of classical algebras via ternary operations. These algebras all satisfy and are thus related to the domain of static valuation congruence.
References
- Bergstra, J.A.; Ponse, A. Evaluation trees for proposition algebra: The case for free and repetition-proof valuation congruence. In Correct System Design: Symposium in Honor of Ernst-Rüdiger Olderog on the Occasion of His 60th Birthday, Oldenburg, Germany, 8–9 September 2015; Meyer, R., Platzer, A., Wehrheim, H., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2015; Volume 9360, pp. 44–61. [Google Scholar] [CrossRef]
- Hoare, C.A.R. A couple of novelties in the propositional calculus. Math. Log. Q. 1985, 31, 173–178. [Google Scholar] [CrossRef]
- Church, A. Conditioned disjunction as a primitive connective for the propositional calculus. Port. Math. 1948, 7, 87–90. Available online: https://purl.pt/2171/1/j-5293-b-vol7-fasc2-art3_PDF/j-5293-b-vol7-fasc2-art3_PDF_01-B-R0300/j-5293-b-vol7-fasc2-art3_0000_capa1-90_t01-B-R0300.pdf (accessed on 25 November 2025).
- Church, A. Introduction to Mathematical Logic; Princeton University Press: Princeton, NJ, USA, 1956; Also Published as a Paperback Edition; De Gruyter Brill: 1991. [Google Scholar] [CrossRef]
- Bergstra, J.A.; Ponse, A. Proposition algebra. ACM Trans. Comput. Log. 2011, 12, 36. [Google Scholar] [CrossRef]
- Staudt, D.J.C. Completeness for Two Left-Sequential Logics. Master’s Thesis, University of Amsterdam, Amsterdam, The Netherlands, 2012. arXiv 2012, arXiv:1206.1936. [Google Scholar]
- Vu, T.D. Denotational semantics for thread algebra. J. Log. Algebr. Program. 2008, 74, 94–111. [Google Scholar] [CrossRef][Green Version]
- Aceto, L.; Chen, T.; Fokkink, W.J.; Ingolfsdottir, A. On the axiomatizability of priority. Math. Struct. Comput. Sci. 2008, 18, 5–28. [Google Scholar] [CrossRef]
- Bergstra, J.A.; Ponse, A. Conditional logic as a short-circuit logic. Sci. Ann. Comput. Sci. 2025, 35, 161–196. [Google Scholar] [CrossRef]
- Bergstra, J.A.; Ponse, A. Proposition algebra and short-circuit logic. In Proceedings of the 4th International Conference on Fundamentals of Software Engineering (FSEN 2011), Tehran, Iran, 20–22 April 2012; Arbab, F., Sirjani, M., Eds.; Lecture Notes in Computer Science. Springer: Berlin/Heidelberg, Germany, 2012; Volume 7141, pp. 15–31. [Google Scholar] [CrossRef]
- Bergstra, J.A.; Ponse, A.; Staudt, D.J.C. Short-circuit logic. arXiv 2013. [Google Scholar] [CrossRef]
- Parnas, D.L. Really rethinking ‘Formal Methods’. Computer 2010, 43, 28–34. [Google Scholar] [CrossRef]
- Black, P.E.; Windley, P.J. Inference rules for programming Languages with side effects in expressions. In Theorem Proving in Higher Order Logics; Goos, G., Hartmanis, J., van Leeuwen, J., von Wright, J., Grundy, J., Harrison, J., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 1996; Volume 1125, pp. 51–60. [Google Scholar] [CrossRef]
- Bergstra, J.A.; Ponse, A.; Staudt, D.J.C. Non-commutative propositional logic with short-circuit evaluation. J. Appl.-Non-Class. Logics 2021, 31, 234–278. [Google Scholar] [CrossRef]
- Guzmán, F.; Squier, C.C. The algebra of conditional logic. Algebra Universalis 1990, 27, 88–110. [Google Scholar] [CrossRef]
- Kleene, S.C. Introduction to Metamathematics; Van Nostrand: New York, NY, USA, 1952; ISBN 9780720421033. Also Published as a Hardback Edition: North Holland: 1980. [Google Scholar]
- Gries, D. The Science of Programming; Springer: New York, NY, USA, 1981. [Google Scholar] [CrossRef]
- McCarthy, J. A basis for a mathematical theory of computation. In Computer Programming and Formal Systems; Braffort, P., Hirschberg, D., Eds.; Studies in Logic and the Foundations of Mathematics; Elsevier: Amsterdam, The Netherlands, 1963; Volume 35, pp. 33–70. [Google Scholar] [CrossRef]
- Ponse, A.; Staudt, D.J.C. Fully evaluated left-sequential logics. J. Appl.-Non-Class. Logics 2025, 1–53. [Google Scholar] [CrossRef]
- Cornets de Groot, S.H. Logical Systems with Left-Sequential Versions of NAND and XOR. Master’s Thesis, University of Amsterdam, Amsterdam, The Netherlands, 2020. Available online: https://eprints.illc.uva.nl/id/eprint/1743/1/MoL-2020-02.text.pdf (accessed on 2 January 2026).
- McCune, W. The GUI: Prover9 and Mace4 with a Graphical User Interface: Prover9-Mace4, Version 0.5B; The University of New Mexico: Albuquerque, NM, USA, 2008. Available online: https://www.cs.unm.edu/~mccune/prover9/gui/v05.html (accessed on 17 November 2025).
- Padmanabhan, R.; McCune, W. Single Identities for Ternary Boolean Algebras. Comput. Math. Appl. 1995, 29, 13–16. [Google Scholar] [CrossRef]
- Fatelo, J.P.; Martins-Ferreira, N. Reconstructing classical algebras via ternary operations. Mathematics 2025, 13, 1407. [Google Scholar] [CrossRef]
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. |
© 2026 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.