Manuscript Offprint
arXiv:2610.37108Finite -algebras and fixed-point combinators
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
FINITE BM-ALGEBRAS AND FIXED-POINT COMBINATORS
TAKUMA IMAMURA
ABSTRACT. We study algebras for the BM-, BI-, and BMI-fragments of combinatory logic, where , and . We prove that every finite BM-algebra contains an element satisfying for all . Moreover, a single closed BM-term represents such an element in every finite BM-algebra. On the other hand, we show that there exists an infinite BMI-algebra with no such element. Consequently, the variety of BM-algebras is not generated by finite BM-algebras. We also characterise finite BI-algebras as finite semigroups with two distinguished left units and , and finite BMI-algebras as finite idempotent semigroups with three distinguished left units , and .
In his famous book on combinatory logic, Smullyan raised the question of whether there exists a fixed-point combinator in that system.
Problem 0.1 (Smullyan [11]). Is there a closed term Y in the BMI-fragment such that for a fresh variable symbol ?
To solve this problem, it is natural to consider its algebraic formulation. The idea is that if one thoroughly understands the structure of a model satisfying the axioms of the BMI-fragment (viewed as an equational theory), the original problem can be solved.
Definition 0.2. Let be a magma, i.e., a non-empty set with a binary operation . An element of is called
(1) a B-element if for all .
(2) an M-element if for all .
(3) an I-element if for all .
(4) a Y-element if for all .
A magma equipped with a B-element and an M-element is called a BM-algebra. The terms ‘B-algebra’, ‘BI-algebra’ and ‘BMI-algebra’ are defined in a similar fashion.
2020 Mathematics Subject Classification. 03B40 (Primary), 03B70, 20M12, 20M35 (Secondary).
Key words and phrases. combinatory logic; fixed-point combinators; idempotent semigroups; idempotent left ideals.
TAKUMA IMAMURA
Then, the original problem is reduced to considering the following algebraic problem.
Problem 0.3 (An algebraic version of Problem 0.1). Does every BMI-algebra have a Y-element?
Recently, Problem 0.1 was solved negatively in [6] without explicitly solving Problem 0.3. The proof involves the construction of an invariant for terms that separates and .
Fact 0.4 ([6]). Let be a variable symbol and . For every -free term in the BMI-fragment,
where – denotes the -fold application of , .
In fact, as we will see, the proof of Fact 0.4 also yields the negative answer to Problem 0.3.
Theorem 0.5 (Theorem 2.10). There exists an infinite BMI-algebra A that has no Y-element.
Prior to the complete solution of Problem 0.1, the author attempted to (negatively) solve the problem by constructing a finite BMI-algebra that lacks a Y-element; however, this attempt was unsuccessful. For instance, we obtained the following results using a SAT solver.
Observation 0.6. Every BM-algebra of cardinality has a Y-element. (See also Appendix A.)
Furthermore, during an exhaustive search for BM- and BMI-algebras, the author observed that the vast majority of them have somewhat ‘simple’ structures, which in turn force the existence of a Y-element. This naturally gives rise to the following problem.
Problem 0.7 (A finite analogue of Problem 0.3). Does every finite BM-algebra have a Y-element?
In this paper, we provide an affirmative answer to this problem: every finite BM-algebra has a Y-element. This explains why an infinite algebraic system was required to resolve Problem 0.3.
The paper is organised as follows. In Section 2, we first recall the definitions of the infinite BMI-algebra and the trace invariant , which were introduced in [6] to prove Fact 0.4. We then prove Theorem 0.5 by showing that has no Y-element.
In Section 3, we characterise finite BMI-algebras as finite idempotent semi-groups whose distinguished elements B, M, and I are left units. As a consequence, every finite BMI-algebra has a Y-element.
In Section 4, we investigate finite BM-algebras. We first construct a finite BI-algebra as a quotient of an idempotent left ideal of a finite B-algebra. We use this construction to show that, in finite BM-algebras, the eventual image of each left translation coincides with the set of its fixed points. We then prove that every non-standard fixed-point combinator gives a Y-element in every finite BM-algebra, thereby answering Problem 0.7. Together with the infinite example in Section 2, this shows that the variety of BM-algebras is not generated by finite BM-algebras.
In Section 5, we consider several related open problems concerning the relationship between the permutative effects in the sense of McCune and Wos [8] and the existence of fixed-point combinators, as well as the existence of Turing-type fixed-point combinators in the BWI-fragment.
1. PRELIMINARIES
We refer to Curry et al. [4], Barendregt [1] for general references of combinatory logic and lambda calculus.
Throughout this paper, we assume that application is left-associative, and we omit parentheses where appropriate: . Similarly, we assume that the binary operation of a magma is left-associative: . The operator symbol * is omitted unless there is a risk of confusion.
For terms and and an , we define the term as follows:
Similarly, for elements and of a magma and an , define the element as follows:
We denote the set of all terms in the -fragment by , the set of all normal terms by . The one-step weak reduction, its reflexive transitive closure, and its equivalence closure are denoted by , , and , respectively. The one-step leftmost-innermost reduction is denoted by .
The set forms the free magma generated by the set of all variable and constant symbols, whose magma operation is given by application. The quotient algebra forms a free -algebra generated by the set of all variable symbols. The same applies to the -fragment.
Let be a -algebra. For a closed term that may contain elements of as constant symbols, we denote the interpretation of in by .
2. An Infinite BMI-algebra without Y
In this section, we show that the BMI-algebra , introduced in [6], provides an example of an infinite BMI-algebra that lacks a Y-element.
2.1. Definition of the BMI-algebra . Throughout this section, we fix a variable symbol . We first recall the definition of the BMI-algebra and the homomorphism .
Definition 2.1 (Tail equivalence). For , we say that and are tail equivalent (denoted by ) if there exist such that holds for all .
Definition 2.2 (Shift operators). Let . Define the map by
Since preserves , it induces the map
TAKUMA IMAMURA
Definition 2.3 (Traces). Let and suppose that does not have a weak normal form. Then there exists a (unique) infinite leftmost-innermost reduction sequence (see [6, Lemma 1.1]). For , let
be the -th contraction of in the sequence. Define the -trace of by
where
.
Definition 2.4 (Trace invariants). For a term , the -trace invariant is defined by
Definition 2.5 (Algebra of traces). Let
Define the binary operation
by
Fact 2.6 (Theorem 2.10 in [6]). The structure forms a -algebra.
Fact 2.7 (Theorem 2.9 in [6]). The map is a homomorphism, i.e., for all .
Fact 2.8 (Theorem 2.11 in [6]). The homomorphism is invariant under weak equivalence : for any , if , then .
In other words, the trace invariant can be considered as a homomorphism from to . In general, an invariant for the -fragment is precisely a pair of a -algebra and a homomorphism from to .
The proof of Fact 0.4 ([6, Theorem 3.1]) actually proves the following stronger statement:
Fact 2.9 (Proof of Theorem 3.1 in [6]). Let . For every -free term ,
2.2. Absence of Y-elements. Now, let us prove that no Y-element exists in this BMI-algebra. The proof proceeds by showing that if yields a fixed point for , then cannot be a fixed point for the left translation .
Theorem 2.10. Let . For every , there exists an such that
In particular, the BMI-algebra has no Y-element.
Proof. Let . Since does not appear in the -sequence of , the -trace of is
Thus, for every ,
Now, let and suppose that
If , then
It follows that . By Fact 2.9,
On the other hand, if , then
Since , we have
Thus, no element Y of satisfies and simultaneously.
The proof also shows that the witness can be chosen from the set . This is a much stronger property than the non-existence of a -element.
Proposition 2.11. The BMI-algebra is of cardinality .
TAKUMA IMAMURA
Proof. Define the map by
where denotes the j-th prime. The map f is injective, so
On the other hand, we have
by the axiom of choice. Hence
Corollary 2.12. For every infinite cardinality , there exists a BMI-algebra of cardinality that has no Y-element.
Proof. Immediate from Proposition 2.11 and the Löwenheim–Skolem theorem. ☐
3. FINITE BMI-ALGEBRAS
In this section, we investigate the structures of finite BMI-algebras. As we shall see later, a finite BMI-algebra can be characterised as a finite idempotent semigroup with three left units. It follows that every finite BMI-algebra possesses a Y-element.
3.1. Finite BI-algebras as semigroups. We begin by examining the structure of finite BI-algebras.
Proposition 3.1. Every finite BI-algebra is a semigroup with B and I as its left units.
Proof. Let be a finite -algebra. For each , let be its left translation:
Consider the (finite) set of all those maps:
We first note that an element is left unit if and only if . The element is a left unit by definition. We only need to show that the operator of is associative and that is another left unit.
Define the map by
Let . Since for all , we have
Thus is surjective, and therefore bijective by .
For every , since , we have
Hence by the injectivity of . This means that is a left unit.
The B-axiom now implies that the associativity . ☐
In fact, the converse also holds. A finite BI-algebra is therefore precisely a finite semigroup with two specified left units.
Proposition 3.2. Let be a semigroup with left units B and I. (Here, B and I are not necessarily distinct.) Then is a -algebra.
Proof. Let . Since is associative and is a left unit, we have
3.2. Finite BMI-algebras as idempotent semigroups
Theorem 3.3. Every finite BMI-algebra is an idempotent semigroup with B, M and I as its left units.
Proof. Let be a finite -algebra. By Proposition 3.1, is a semigroup with and as left units. Let . By the associativity,
The converse of Theorem 3.3 also holds. Therefore, a finite BMI-algebra is precisely a finite idempotent semigroup with three specified left units.
Theorem 3.4. Let be an idempotent semigroup with left units B, M and I. Then is a -algebra.
Proof. The structure is a -algebra by Proposition 3.2. Moreover, for every , since is a left unit and is idempotent,
Hence M is an M-element.
Corollary 3.5. Every finite BMI-algebra has a Y-element.
Proof. Let be a finite -algebra. Then is an idempotent semigroup with and as its left units by Theorem 3.3. Now, let be any left unit of . For every , since is idempotent,
Hence Y is a Y-element.
This explains why it is not possible to prove the absence of a fixed-point combinator by finding a finite-valued invariant.
Corollary 3.6. There is no pair of a finite -algebra and a homomorphism such that for all cosed terms and variables .
TAKUMA IMAMURA
TABLE 1. A BM-algebra that is not a semigroup.
| * | 0 | 1 | 2 | B | M | I | Y |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | ✓ | ✓ | ||
| 1 | 0 | 0 | 1 | ✓ | |||
| 2 | 0 | 0 | 1 | ✓ |
4. FINITE BM-ALGEBRAS
In this section, we prove that every finite BM-algebra has a Y-element. Unlike in the case of BMI-algebras, BM-algebras have entirely different structures.
Proposition 4.1. There exists a finite BM-algebra that is neither idempotent nor associative.
Proof. Define the binary operation * on by Table 1 on page 8. The magma forms a BM-algebra, where and . However, is neither idempotent nor associative:
The results of the previous section rely on the fact that every finite BI-algebra is a semigroup with as its left unit (Proposition 3.1), which cannot be directly applied to BM-algebras. Instead, we reduce the problem to Proposition 3.1 by considering a certain idempotent left ideal of a finite B-algebra.
4.1. Left ideals of B-algebras. We consider the left ideal of a B-algebra. In the finite case, we show that this left ideal is idempotent and contains the eventual image of every left translation.
Definition 4.2 (cf. Statman [13], Ikebuchi and Nakano [5]). Let be a B-algebra. Define another binary operation by
Lemma 4.3. Let be a B-algebra. The set of left translations forms a semigroup with respect to composition. Moreover, the assignment gives a homomorphism from to .
Proof. For all , the B-identity gives
(†)
Hence is a sub-semigroup of the semigroup . Equation (†) also shows that is a semigroup homomorphism.
Definition 4.4. Let be a magma. For , define the subset of by
Put .
Lemma 4.5. Let be a B-algebra.
(1) For each , .
(2) For each , is a left ideal of .
(3) is a left ideal of A.
Proof. The property (3) follows from (1) and (2). Let us verify (1) and (2) by induction on . The case where is trivial. For , let and . Write as for . Then
By the induction hypothesis, we have
Since and were arbitrary, it follows that . Furthermore,
Corollary 4.6. Let be a finite -algebra. Then .
Proof. Since is finite, the sequence saturates, i.e., for all sufficiently large . Hence .
Definition 4.7 (Eventual images). Let be a magma. For each , define the eventual image of by
where is the i-fold composition of the left translation .
Lemma 4.8. Let be a magma.
(1) for all .
(2) If A is finite, for all sufficiently large .
(3) If A is finite, is bijective.
Proof. Since , we have for every . If is finite, this descending chain eventually stabilises, i.e. for all sufficiently large . Then . Thus is surjective, and therefore, bijective by .
Lemma 4.9. Let be a finite -algebra. Then .
Proof. Let . For , define by
By applying Lemma 4.3 repeatedly, we have
Since the map is a bijection on , the map is likewise a bijection on . So
TAKUMA IMAMURA
Now, we show that by induction on . The case where is trivial. For , since by the induction hypothesis,
4.2. Extensional equivalence. We introduce the extensional equivalence on relative to . For finite -algebras, the resulting relation is a congruence on , and every equivalence class has a representative in .
Definition 4.10 (Extensional equivalences). Let be a magma. For , define the equivalence relation on by
Equivalently, the relations can also be defined by induction on :
Definition 4.11 ( -map). Let be a -algebra. Define the map by
Lemma 4.12. Let be a finite -algebra. All of are equivalent to each other. Moreover, the map is a bijection on .
Proof. It suffices to show that , as the general case can be derived from this case by induction. Let . Since by Corollary 4.6, we have
Hence the map is injective, and therefore, bijective by . Hence
It follows that by .
For a finite B-algebra and , we omit the subscript of .
Lemma 4.13. Let be a finite -algebra. For every , there exists an such that .
Proof. By Lemma 4.9, we have . Since is finite, holds for some .
Let . Since is surjective by Lemma 4.12, there exist such that for all . Hence and .
Lemma 4.14. Let be a finite -algebra. The equivalence relation is a congruence on the subalgebra .
Proof. Let and suppose that . Since by Lemma 4.12,
Hence .
Next, let and suppose that . Since the map is surjective by Lemma 4.12, one can find an such that
Then, for every ,
Hence .
4.3. Quotient algebra . We show that the quotient is a semi-group with a left unit and that is the identity on this quotient. For finite BM-algebras, we use this structure to identify the eventual image of each left translation with its set of fixed points.
Definition 4.15. Let be a finite B-algebra. Denote the quotient magma of modulo by .
Theorem 4.16. Let be a finite B-algebra. The magma Q has B- and I-elements. Moreover, the map is an identity map on Q. Furthermore, if A has an M-element, then so does Q.
Proof. By Lemma 4.14, there exists a such that . Since ,
Hence is a -element of .
The left translation by coincides with on :
Hence is bijective by Lemma 4.12. Since is finite, there exists an such that . Let be any element obtained by inserting parentheses in an arbitrary way into
By Lemma 4.3, , i.e., is an -element of .
By Proposition 3.1, Q is a semigroup with as its left unit, i.e.,
Therefore, is an identity map on Q.
Now, suppose that has an -element. Choose an such that by Lemma 4.14. Then is an -element of .
TAKUMA IMAMURA
Corollary 4.17. Let be a finite -algebra. For every , the set is precisely the set of all fixed points of .
Proof. Clearly each fixed point of belongs to . It suffices to show that each point in is a fixed point of .
Now, let . By Lemma 4.9, . Since is a bijection on , there exists a such that
By Lemma 4.14, Choose an such that
Since Q is an idempotent semigroup by Theorem 3.3,
The map is an identity on Q, so
Using these equivalences, we obtain
Therefore, x is a fixed point of .
4.4. Non-standard fixed-point combinators. It is well-known that there exists a closed term that is not a fixed-point combinator but indistinguishable from fixed-point combinators using their Böhm trees.
Example 4.18 (cf. Statman [12]). Consider the following closed term:
For each , let
Then
and for every ,
Hence, by induction on n, we have
Definition 4.19. A closed term is called a non-standard fixed-point combinator if for every , there exists a term with variable such that .
The following notion is an algebraic analogue of nonstandard-fixed point combinators:
Definition 4.20. An element of is called a stabiliser if holds for all .
Theorem 4.21. Let be a BM-algebra and let T be a non-standard fixed-point combinator. Then the -interpretation is a stabiliser.
Proof. Let . For each , there exists a term with variable such that . Applying the substitution on both sides, we have
Thus
In the finite case, the eventual image coincides with the set of all fixed points. Thus we obtain the following result:
Theorem 4.22. Let be a finite BM-algebra and let T be a non-standard fixed-point combinator. Then the -interpretation is a Y-element.
Proof. Immediate from Theorem 4.21 and Corollary 4.17.
This gives an affirmative answer to Problem 0.7.
Corollary 4.23. Every finite BM-algebra has a Y-element.
Our proof also demonstrates that an infinite-valued invariant is required to distinguish non-standard fixed-point combinators from true fixed-point combinators.
Corollary 4.24. The variety of BM-algebras is not generated by the class of finite BM-algebras. Here, ‘generated’ means obtained by applying the operations of taking direct products, subalgebras, and homomorphic images.
Proof. Let . The equation
holds for all finite BM-algebras (Theorem 4.22), whereas it does not hold for certain infinite BM-algebras (Theorem 2.10). By Birkhoff's variety theorem (Birkhoff [3]), the class of BM-algebras is not generated by the class of finite BM-algebras. □
TAKUMA IMAMURA
5. RELATED OPEN PROBLEMS
We conclude the paper by presenting several open problems related to Problem 0.1 and Problem 0.3.
5.1. Permutative effects. Existing research on Smullyan's problem has focused on the role of permutative effects (McCune and Wos [8], Statman [13]). For a combinator X with a reduction rule
a ‘permutative effect’ refers to a case where, for some , an occurrence of precedes an occurrence of in the right-hand side . For example, the -combinator,
has a permutative effect on y and z, whereas B, M and I do not.
The absence of permutative effects in the reduction rules, however, does not imply the absence of a fixed-point combinator. To see this, consider the W-combinator, whose reduction rule is
Like B, M and I, the W-combinator has no permutative effect. Nevertheless, the BWI-fragment has a fixed-point combinator. Indeed, Curry's fixed-point combinator
can be represented in the BWI-fragment as follows:
The resulting performs as intended:
Note that this fixed-point combinator does not satisfy .
Thus, the BWI-fragment has a fixed-point combinator, whereas, as we have seen, the BMI-fragment does not. None of these fragments possesses permutative effects. Therefore, the absence of a permutative effect is not the root cause for the absence of a fixed-point combinator within the BMI-fragment. This comparison leads to the following question:
Problem 5.1. What properties of the reduction rules determine whether or not a fixed-point combinator exists?

(A) .

(B) .
FIGURE 1. Labelled binary trees for M and W.
More specifically, what differences between the reduction rules and account for the different answers in these two fragments? Consider a reduction rule of the form , where has no constant symbols. The term on the right-hand side can be viewed as a labelled binary tree with the natural numbers as its leaves (see Figure 1 on page 15 for and ). Is it possible to describe the root cause for the absence of a fixed-point combinator in terms of this tree? These questions are not yet properly formulated and should be understood as koans in the sense used by Barendregt [2].
5.2. Turing-type fixed-point combinators. Consider Turing's fixed-point combinator in lambda calculus:
This closed -term possesses the following stronger fixed-point property:
The -abstraction of this -term can be eliminated in full combinatory logic as follows:
The construction above uses the S-combinator, whose reduction rule
has a permutative effect on y and z. As previously mentioned, the BWI-fragment does not have such a permutative effect. We therefore ask whether this fragment admits a Turing-type fixed-point combinator.
Problem 5.2. Is there a closed term in the BWI-fragment such that for a fresh variable symbol ?
Note that the BMI-version of this problem has been answered negatively by McCune and Wos [8], Statman [12] prior to the solution to Problem 0.1.
The preceding discussion raises a more general question about the existence of Turing-type fixed-point combinators. As the BWI-fragment shows, the absence of permutative effects does not imply the absence of a fixed-point combinator. This observation, however, does not settle the corresponding question for the Turing-type fixed-point combinators.
TAKUMA IMAMURA
Problem 5.3. What properties of the reduction rules determine whether or not a Turing-type fixed-point combinator exists? In particular, does the absence of permutative effects imply the absence of such a combinator?
One can also consider the (partially ordered) algebraic version of Problem 5.2.
Definition 5.4. Let be a partially ordered magma, i.e. a magma with a partial order such that the map is monotonic. An element of is called
(1) a B-element if for all .
(2) an W-element if for all .
(3) an I-element if for all .
(4) a -element if ( ) for all .
A partially ordered magma equipped with , and -elements is called a partially ordered -algebra.
Problem 5.5 (An algebraic version of Problem 5.2). Does every partially ordered BWI-algebra have a -element?
REFERENCES
[1] Henk P. Barendregt. The Lambda Calculus, its Syntax and Semantics. College Publications, London, UK, 2012.
[2] Henk P. Barendregt. Gems of Corrado Böhm. Logical Methods in Computer Science, 16(3):15, 2020. doi: 10.23638/LMCS-16(3:15)2020.
[3] Garrett Birkhoff. On the structure of abstract algebras. Mathematical Proceedings of the Cambridge Philosophical Society, 31(4):433–454, 1935. doi:10.1017/S0305004100013463.
[4] Haskell B. Curry, J. Roger Hindley, and Jonathan P. Seldin. Combinatory Logic. North-Holland, Amsterdam and London, 1972.
[5] Mirai Ikebuchi and Keisuke Nakano. On properties of b-terms. Logical Methods in Computer Science, 16(2):8, 2020. doi: 10.23638/LMCS-16(2:8)2020.
[6] Takuma Imamura. Bluebirds and mockingbirds cannot produce a fixed-point combinator. arXiv, 2026. URL https://doi.org/10.48550/arXiv.2609.21765.
[7] Christoph Jabs. RustSAT: A Library for SAT Solving in Rust. In Jeremias Berg and Jakob Nordström, editors, 28th International Conference on Theory and Applications of Satisfiability Testing (SAT 2025), volume 341 of Leibniz International Proceedings in Informatics (LIPIcs), pages 15:1–15:13, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi: 10.4230/LIPIcs.SAT.2025.15.
[8] William McCune and Larry Wos. The absence and the presence of fixed point combinators. Theoretical Computer Science, 87(1):221–228, 1991. doi: 10.1016/0304-3975(91)90034-Y.
[9] Dominik Schreiber and Peter Sanders. MallobSat: Scalable SAT solving by clause sharing. Journal of Artificial Intelligence Research, 80:1437–1495, 2024. doi: 10.1613/jair.1.15827.
[10] Dominik Schreiber, Niccolò Rigi-Luperti, and Peter Sanders. Mallob: Scalable automated reasoning on demand. In Eva Darulova, Anthony W. Lin, and Philipp Rümmer, editors, Computer Aided Verification, pages 97–114, Cham, 2026. Springer Nature Switzerland. doi: 10.1007/978-3-032-32526-6_5.
[11] Raymond Smullyan. To Mock a Mockingbird: and Other Logic Puzzles. Oxford University Press, Oxford and New York, 2000. Reprint of Knopf 1985 edition.
[12] Richard Statman. Some examples of non-existent combinators. Theoretical Computer Science, 121(1):441–448, 1993. doi: https://doi.org/10.1016/0304-3975(93)90096-C.
[13] Richard Statman. To type a mockingbird, December 2011. URL https://tlca.di.unito.it/PAPER/TypeMock.pdf. Unpublished manuscript.
APPENDIX A. CODE AVAILABILITY
The source code for reproducing Observation 0.6 is available at https://github.com/hyperfinitism/magma-search (commit ID: 5c18b05).
magma-search is a command-line tool for searching for finite magmas that satisfy specified conditions. As a condition, one can specify whether or not there are elements that satisfy a given set of equations. This tool provides two search methods. One performs an exhaustive search to enumerate all isomorphism classes of magmas that satisfy the given conditions. The other uses a parallel SAT solver (MallobSat [9, 10] via RustSAT [7]) to determine whether such a magma exists and, if so, to output an example.
It should be noted that the results presented in this paper do not depend on any computational experiments. For example, Observation 0.6 is a special case of Corollary 4.23, which was proved independently of computational experiments.
INDEPENDENT RESEARCHER, KYOTO, JAPAN.
Email address: imamura.takuma.66s@kyoto-u.jp