WorksMathematics
Strong nonfinite basability of the three-element flat semiring
Abstract
We prove that the three-element flat semiring is strongly nonfinitely based within the class of additively idempotent semirings. More generally, let be the subvariety of \Var(S_7) defined by . For every finite ai-semiring , each variety satisfying \mathcal N\subseteq\mathcal W\subseteq\Var(A) has infinite axiomatic rank.
Introduction
An additively idempotent semiring, or ai-semiring, is an algebra in which is a semilattice, is a semigroup, and multiplication distributes over addition on both sides. Until Section 10, all varieties considered have the binary signature . No additive identity or multiplicative identity is required, and no constant symbols are included. We write for the variety generated by an algebra .
An algebra is finitely based if all its identities follow from a finite set of identities. The finite basis problem asks which algebras have this property. For finite semigroups, Perkins [22] gave some of the first nonfinitely based examples. In the broader setting of finite algebras, McKenzie [20] proved that the finite basis problem is undecidable. For semirings, early results include the absence of a finite basis for the max-plus algebra of the natural numbers [1] and finite nonfinitely based semirings constructed by Dolinka [4, 5, 6].
The distinction between the identities of a semiring and those of its multiplicative reduct is central to the present paper. Jackson, Ren and Zhao [17] constructed finite nonfinitely based ai-semirings whose multiplicative reducts are finitely based. Among them is the three-element commutative semiring , with operations
Table 1.
Here is a multiplicative identity and . The element absorbs both operations; in particular, it is the greatest element of the additive semilattice, rather than an additive identity. The symbols and name elements of this algebra, not symbols in the signature. Its addition is flat: any two distinct elements have sum .
2020 Mathematics Subject Classification. 16Y60, 03C05, 08B15.
Key words and phrases. Additively idempotent semiring, strongly nonfinitely based, axiomatic rank, flat semiring, hypergraph.
The semiring is the smallest possible example of this behaviour. The variety generated by all two-element ai-semirings is hereditarily finitely based [26]. The analysis of three-element ai-semirings in [39], together with the proof for in [17], shows that is the unique nonfinitely based three-element ai-semiring up to isomorphism. The order-four problem has led to classifications for several additive semilattice types [24, 25, 38] and to further individual nonfinitely based examples [35, 36].
The finite basis problem has also been studied for endomorphism semirings of finite semilattices with zero [7], finite chains, and arbitrary finite semilattices [8, 13]. For naturally ordered Brandt semigroups, the ai-semiring based on the Brandt monoid is nonfinitely based [30], whereas the related semirings based on and have finite bases [27, 28].
A finite ai-semiring is strongly nonfinitely based if every finite ai-semiring for which is nonfinitely based. The question whether has this property is stated explicitly as Problem 1.1 in Gao, Ren and Zhao [12] and as Problem 1.2 in Yue, Ren and Gao [37]. Several special cases are known. Wu, Ren and Zhao [32] proved that adjoining an additive identity to gives a nonfinitely based semiring . Further results on this adjunction appear in [40]. Gao, Ren and Zhao [12] studied intervals above , including the continuum of varieties between and . We prove that is strongly nonfinitely based in Corollary 1.2.
Flat extensions of groups and limit varieties were studied in [23]. Here a limit variety is a nonfinitely based variety all of whose proper subvarieties are finitely based. A further limit variety generated by a six-element ai-semiring was obtained in [19]. In an unpublished manuscript, Yue [34] classifies the finitely based subvarieties and the limit subvarieties of . These questions concern subvarieties of a fixed variety. The main theorem applies to intervals with a fixed lower endpoint and an upper endpoint generated by any finite ai-semiring.
Put
where denotes the class of ai-semirings satisfying the identities in . This is the nil subvariety studied in [10]. It is a proper subvariety of , since its defining identity fails in at and . It is also important to distinguish from . For a word with distinct letters, is the flat semiring of its nonempty commutative divisors, together with an absorbing element ; a product is when it is no longer a divisor. One has
Indeed, all the semirings belong to by [10]; the identity holds in and fails in . Related finite basis results for flat nil-semirings and flat semirings with nilpotent multiplicative reducts appear in [11, 33].
A variety has finite axiomatic rank if, for every positive integer , its identities involving at most variables do not form a basis for all its identities. This implies that the variety is nonfinitely based. For varieties generated by finite algebras in a finite signature, finite axiomatic rank is equivalent to finite basability; see Appendix A.
Theorem 1.1. Let be a finite ai-semiring and let be an ai-semiring variety such that
For every positive integer , there is a finite commutative flat semiring , with nilpotent multiplicative reduct and satisfying , such that
(1) every subsemiring of generated by at most elements belongs to ;
(2) .
Thus satisfies every identity of in at most variables but does not belong to . In particular, has infinite axiomatic rank.
Corollary 1.2. Let be a finite ai-semiring. If , then has infinite axiomatic rank. Consequently, is strongly nonfinitely based.
Proof. The hypothesis gives . Apply Theorem 1.1 with . Every finite identity basis uses only finitely many variables, so infinite axiomatic rank excludes such a basis. □
For comparison, Gao, Jackson, Ren and Zhao [10] proved that every variety in the interval is nonfinitely based. Its lower endpoint is smaller than . Theorem 1.1 permits an arbitrary finite ai-semiring at the upper endpoint, subject to containment of . In particular, it implies infinite axiomatic rank for every variety between and any ai-semiring variety generated by a finite algebra and containing . The known results for therefore follow at the level of nonfinite basability. Their descriptions of explicit bases and subvariety lattices remain separate results.
The proof constructs, for each , a finite semiring that belongs locally to but fails an identity of . The construction starts from a uniform hypergraph. Bounded intersections of distinct edges allow us to control subsemirings generated by at most elements using the transversal description of the identities of from [17 Proposition 5.5]. A probabilistic construction then supplies the required extensions of prescribed vertex sets and colour multiplicities. To obtain the separating identity, we regard words with a specified product in the finite multiplicative reduct of as a regular language. Semilinearity of the corresponding multiplicity vectors gives bounds independent of the length of the words. The separating polynomial includes every ordering of each hyperedge, which allows this step to apply to noncommutative reducts.
§ 2 recalls the identity criterion for . § 3 and § 4 construct the hypergraph semirings and prove the local membership result. § 5 establishes the required hypergraph extension lemma. § 6 proves the regular language statements used in § 7 to obtain the separating identities. Theorem 1.1 is then proved in § 8. § 9 gives uniform consequences for finite ai-semirings of bounded order and for nilpotency indices, and explains the distinction from inherent nonfinite basability. § 10 treats signatures with distinguished constants.
Preliminaries
We use the standard correspondence between varieties and identities, and Birkhoff’s characterization of the variety generated by an algebra; see Burris and Sankappanavar [2]. All algebras and subalgebras are nonempty. Unless a signature with constants is explicitly specified, a generated subsemiring is formed using the two binary operations only. For a variety , write for the identities of using at most distinct variables.
We shall use the following criterion for infinite axiomatic rank.
Lemma 2.1. Let be varieties of ai-semirings. Suppose that for each positive integer there is an ai-semiring outside such that every subsemiring of generated by at most elements belongs to . Then satisfies , and has infinite axiomatic rank.
Proof. Let belong to , and assign its variables arbitrarily to elements of . These values generate a subsemiring belonging to . Since holds in , it holds under the given assignment. Thus satisfies every identity in . If these identities implied all identities of , Birkhoff’s theorem would give , a contradiction. This applies to every positive integer .
Power semirings
For a semigroup , let be the algebra of its nonempty subsets, with union as addition and setwise multiplication
Associativity of the product follows from associativity in ; the distributive laws follow directly from the definition. Thus is an ai-semiring. The full power semiring also includes the empty set, which is an additive identity and a multiplicative zero. We will use both constructions in Section 10.
Proposition 2.2. Let be a finite ai-semiring with multiplicative reduct . The map
is an onto homomorphism. In particular, every identity of holds in .
Proof. The sum defining is independent of the order of its summands. Additive idempotence gives . By the two distributive laws,
If different pairs give the same product, repeated copies of that product are removed by additive idempotence. Finally, for each , so is onto.
Identities of
By distributivity, every semiring term can be written as a finite nonempty sum of nonempty words. We call such an expression a polynomial. For a polynomial , let be the set of variables occurring in , and put
We refer to the members of as transversals of . Occurrences are counted with multiplicity: if a variable occurs twice in a word, a transversal containing that variable cannot meet that word exactly once. The order of letters in a word does not affect either or .
The next characterization is due to Jackson, Ren and Zhao [17, Proposition 5.5].
Proposition 2.3. For semiring polynomials and ,
Hypergraph semirings
Flat algebras provide a way to relate universal Horn theories to equational theories; see Jackson [15]. Hypergraphs have been used to study both the membership problem and axiomatisability for classes of finite algebras; see Kun and Vértési [18], Ham and Jackson [14], and, for ai-semirings, Jackson, Ren and Zhao [17]. In the construction below, both the size of an edge and the permitted size of an intersection are parameters. Their relation will allow us to control subsemirings generated by a prescribed number of elements.
Let and be integers such that
Let be a finite, nonempty -uniform hypergraph, with , and suppose that
We call the members of blocks.
The nonzero elements of a semigroup are the nonempty subsets of blocks. Their product is their union if they are disjoint and their union lies in a block; otherwise it is . The element is absorbing. This operation is associative: a product of several nonzero factors is their union precisely when the factors are pairwise disjoint and their union lies in a block. If either condition fails for a partial product, it also fails after further factors are adjoined.
In this semigroup, identify all full blocks. Also, for each nonempty contained in a block with , identify all the sets with . The resulting nonzero elements are denoted by
Assign these elements degrees , , and , respectively, and write where convenient. The degree ranges of the first two types are disjoint. In particular, when , the blocks are pairwise disjoint and there are no elements with . After taking this multiplicative quotient, define addition by
We denote the resulting algebra by .
Recall that a semigroup with zero is 0-cancellative if implies , and implies .
Lemma 3.1. The stated identifications form a semigroup congruence. The quotient is 0-cancellative, and is a finite commutative ai-semiring.
Proof. Any set of size at least that is contained in a block is contained in exactly one block, since . Thus a subset in one of the prescribed complement classes has a unique host block and a unique complement label. In particular, two such classes cannot overlap unless their labels agree. The full-block class has degree and the ordinary singleton classes have degree at most , so these are disjoint from the complement classes as well. The zero class is the singleton . If a product is nonzero in , its containing block must be . Hence , and its class is . Conversely, this product is nonzero whenever . The output class is therefore independent of the representative . Full blocks annihilate every nonempty factor. These observations prove compatibility with multiplication by an arbitrary element of on either side, and hence prove that the stated classes form a semigroup congruence. In particular, a product of ordinary representatives is zero in if and only if its image is zero in the quotient. We have formed a quotient of the multiplicative semigroup; flat addition is imposed on that quotient afterwards.
For reference, the quotient multiplication is as follows. The product is zero unless , are disjoint and lies in a block. Otherwise it is if , if , and if . In the middle case, is unique. Moreover,
Two elements of type multiply to zero, because their degrees sum to more than , and annihilates every element. Degrees add whenever a product is nonzero.
To prove -cancellation, fix a left factor and a nonzero output. We show that there is at most one right factor.
If the left factor is with , its containing block is unique. The right factor must be ordinary, since a factor would make the total degree exceed . Outputs , , and respectively determine the right supports
This proves uniqueness whenever such a product exists.
Suppose . An output determines , and output determines . For output , one must have . If , there is at most one block containing , and it determines the right factor . If , the right factor is necessarily . Indeed, all possible representing complements have this label, whereas an ordinary right factor would have degree .
Finally, a left factor and output determine ; output determines . There are no nonzero products with left factor . Empty or inadmissible supports in these formulas simply give no product. We have proved .
Flat addition is associative, commutative, and idempotent. If , then , cannot be equal and nonzero, so . If , distributivity follows from idempotence. Commutativity of multiplication gives the other distributive law.
Every element of has square zero. Also, any product of nonzero elements whose degrees sum to more than is zero.
Quotients determined by divisibility
For , an element divides if for some , where the superscript allows an identity to be adjoined for this definition. The nondivisors form a multiplicative ideal: if divides , then divides . They contain and are closed under addition with any element, by flatness. Consequently they may be collapsed to zero to give a semiring Rees quotient. Every retained nonzero element has a singleton preimage.
Lemma 3.2. Let , with . The Rees quotient obtained by collapsing its nondivisors is isomorphic to , where
The vertex set is the union of these blocks, the parameters are and , and corresponds to the common block product.
Proof. An ordinary element divides precisely when is empty and lies in a block. Necessity follows from the product formulas above. For sufficiency, choose a block and multiply by the class of . This complement is nonempty, since . These divisors are exactly the ordinary elements of , because .
The element divides precisely when . For it corresponds to the link element ; the element itself corresponds to the common block product. The element does not divide . This gives a bijection between the nonzero elements of the two algebras.
Formula (5) is preserved by this bijection: for a retained and an ordinary divisor , the product survives precisely when and . Since , this is equivalent to , the corresponding condition in the link.
Consider next two retained ordinary elements . If their supports overlap, their product is zero in both constructions. Suppose that the supports are disjoint and put . When , their product survives precisely when is a divisor support, that is, when and lies in a block. When , a nonzero original product has a unique containing block and is labelled by , with the empty label allowed for . It survives precisely when . This is again equivalent to saying that is disjoint from and is contained in a block containing . In the surviving case its link label is , as required; the label is empty precisely when . These are exactly the nonzero-product conditions and outputs in . Products of two large elements are zero in both algebras. The bijection therefore preserves multiplication. It preserves flat addition as well.
Distinct link blocks intersect in fewer than points. Finally,
Here and , so the construction applies, including the case .
Finitely generated subsemirings
Theorem 4.1. Let . Under the assumptions of the preceding section, if
then every subsemiring of generated by at most elements belongs to .
We first consider polynomials all of whose monomials have value .
Lemma 4.2. Assign distinct variables to at most distinct nonzero elements of , under the hypotheses of Theorem 4.1. Suppose every monomial of has value . Let be a word using only variables from . If every meets in exactly one occurrence, then has value .
Proof. Retain only generators whose variables occur in .
Step 1. The possible monomials and their transversals. Call an ordinary generator small if ; otherwise , and it has a unique containing block . Let be the union of the small supports. Then .
For a word consisting of ordinary factors, take their actual supports as representatives in . The quotient map is a semigroup homomorphism and its zero class is a singleton. The ordinary word therefore has nonzero value in the quotient precisely when its representatives have nonzero product in . Since the preimage of consists exactly of the full blocks, such a word has value precisely when its supports are pairwise disjoint and their union is a block. A nonzero word involving has only ordinary remaining factors, and (5) shows that their supports must partition in order to give . A word involving the factor has value only if it has no other factor. We have therefore obtained exactly three possibilities: alone, a factor followed by small factors whose supports partition , or ordinary factors whose supports partition a block . In the second case . In the third case at least one factor is not small, since . Call the blocks occurring in the third case active. Every nonsmall ordinary generator occurring in belongs to a unique active block.
Choose independently for each active block. Select the variables corresponding to and all , select no small variable, and select a nonsmall ordinary variable exactly when . Each monomial of has exactly one selected occurrence: in the first two forms it is the distinguished factor; in the third it is the unique part containing . Thus these selections belong to .
There is a second selection for each . Select , select when , and select a small when . For each active block containing , set ; for every other active block choose . Select the nonsmall ordinary variables by membership of in their support. For a word involving , either that factor is selected or exactly one part of its partition of is selected. For an ordinary block partition, exactly one part contains ; if , none of its small parts is selected. Hence these selections also lie in .
Step 2. Two counting equations. Let be the number of occurrences in of the variable naming generator ; write if is absent. All sums over below range over complement generators occurring in , and all sums over range over active blocks. For an active block , put
The first selections give
Fix an active block and hold the choices for all other active blocks fixed. Each point of can be used as , and each resulting selection is a transversal of . Comparing the displayed equality for two such choices shows that takes the same value at those points. Thus is constant on . Denote its constant value by . The argument applies to every active block separately, giving
For , let
The second selection at gives
Indeed, all ordinary factors whose supports contain are selected; each active block missing contributes its constant instead. Subtracting (7) yields
Step 3. Determine the value of . The nonnegative integers in (7) sum to one, so exactly one of the following cases occurs.
If , all and vanish. Every nonsmall ordinary support occurring in must lie in , since its block contributes zero outside . But (8) gives throughout , excluding all ordinary factors. Thus .
If for some , all other terms in (7) vanish. Again every ordinary support occurring in lies in , and (8) now gives there. Therefore the ordinary supports, counted with multiplicity, partition . They are all small because . Together with they give value .
Finally, suppose for an active block . There are no or factors. If a nonsmall factor belongs to another block , the equation confines its support to , while (8) confines it to . Its support would then have size at most , a contradiction. Thus all nonsmall factors belong to . Their supports cover each point of exactly once, since there. Equation (8) says that all ordinary supports cover precisely once inside . Hence the supports partition , and again has value .
All counts include repeated occurrences of variables. The argument also applies when is empty: then the second family of equations is empty, and the same three cases give the conclusion. □
Proof of Theorem 4.1. Let be generated by a set of at most distinct elements, and consider an identity of under an assignment into . Express each assigned element as a polynomial in distinct symbols naming the generators. Substitution gives an identity of , and Proposition 2.3 gives
If both evaluations are zero, they agree. Otherwise interchange the sides if necessary, and let have nonzero value . By flatness, every monomial of has value . Every generator occurring in is therefore nonzero; discard the other generators, which also do not occur in . Each monomial of uses only and is met exactly once by every member of .
If , Lemma 4.2 gives . If , all occurring generators are ordinary, and every monomial of partitions by their supports. For each , the generator symbols whose supports contain form a transversal of . Therefore the supports in cover every point of exactly once. They are all contained in , so they partition and . Suppose , and put . Every occurring generator divides , since it is a factor of a monomial with value . Pass to the Rees quotient of Lemma 3.2. These generators remain distinct and nonzero, and becomes the common block product. The new parameters satisfy
Lemma 4.2 applies there and gives in the quotient. Since a retained nonzero element has a singleton preimage, in as well.
In all cases every monomial of has value , so . Consequently satisfies every identity of and belongs to by Birkhoff’s theorem. Every element of has square , and absorbs multiplication. Thus also satisfies , and hence . Notice that belongs to every nonempty subsemiring , since it is the square of any element of . The generators considered throughout the proof were arbitrary elements of ; no assumption that they are vertex elements has been made.
Hypergraphs with prescribed extensions
The use of sparse hypergraphs with prescribed global properties goes back to the constructions of Erdős and Hajnal [9]. For the present argument we need an extension property that holds simultaneously for every colouring and every set of bounded size. The following probabilistic construction supplies this property while retaining a bound on intersections.
Lemma 5.1. Let be positive integers, let , and put . For every fixed integer and every sufficiently large integer , there is a -uniform hypergraph with having the following properties.
If are distinct, then .
Let be any colouring, let with , and let satisfy . If ] then there is an containing such that
In particular, may be chosen sufficiently large in any prescribed residue class modulo a fixed positive integer.
Proof. Fix a set of size and select each of its -element subsets independently with probability
Since , we have for .
Call a triple eligible if it satisfies the hypotheses in (2), and put . The number of -element subsets that would provide the required extension is
There is a constant , depending only on the fixed parameters , such that
for every eligible triple and all sufficiently large . Indeed, if and , then
There are only finitely many possible vectors with , so the constants in the resulting product have a common positive lower bound. The same therefore works for every eligible colouring, every core of size at most , and every permitted vector . All parameters , , , are fixed before tends to infinity.
Let be the number of selected extensions of a fixed eligible triple. It is binomial, with mean
We use the following elementary Chernoff bound [3]:
For completeness, it follows by applying Markov’s inequality to :
Consequently, the probability that this triple has fewer than selected extensions is at most . There are at most
triples. Multiplying this bound by gives a quantity tending to zero. Thus, with probability tending to one, every eligible triple has at least selected extensions.
It remains to control intersections. Let count ordered pairs of distinct selected blocks with intersection of size at least . Then
The constants here depend only on and . Hence by Markov’s inequality. For sufficiently large , choose a realization in which every eligible triple has at least extensions and . Delete every block belonging to a pair counted by . This removes at most blocks. Since
for all sufficiently large , at least one extension of every eligible triple remains. The surviving blocks satisfy both (1) and (2). The argument applies to every sufficiently large integer , which also proves the final assertion. □
Multiplicity vectors of words in a finite semigroup
For an alphabet of letters, the multiplicity vector of a word is the vector in whose th coordinate counts the occurrences of the th letter. Its coordinate sum is the length of the word. Such vectors are usually called Parikh vectors. Parikh’s theorem establishes semilinearity for context-free languages [21]; the regular-language case and its quantitative aspects are discussed by To [29]. We need only the regular-language case, for which we give a direct proof below. A subset of is linear if it has the form
where and is finite. It is semilinear if it is a finite union of linear sets. Empty unions and empty sets of periods are allowed.
Lemma 6.1. The set of multiplicity vectors of a regular language is semilinear.
Proof. Semilinear sets are closed under finite unions and Minkowski sums, since
They are also closed under forming the additive submonoid generated by a set. To see this, write and let be the set of all finite sums of elements of , including the empty sum. Then
For the forward inclusion, choose a linear component for each summand and let consist of the components used. One copy of each , , contributes the displayed base; further copies of bases and all periods contribute to the generated monoid. Conversely, an element on the right is a sum of elements of : use one summand from each component in , place all of that component’s period contributions in this summand, and add the required further copies of its base.
Multiplicity vectors take language union to set union, concatenation to Minkowski sum, and Kleene star to additive star. Single letters, the empty word, and the empty language have semilinear sets of multiplicity vectors. It follows by induction that every regular expression does too. For completeness, a finite automaton gives such an expression as follows. Number its states , and let describe paths from to whose internal states lie in . The expressions consist of the labels of direct edges, together with the empty word when . Successively use
After the last state, take the union over the initial and accepting states. Thus every regular language has the required semilinear image.
Lemma 6.2. Let be a finite semigroup, regarded as an alphabet of size . For , let consist of all nonempty words whose ordered product in is . There are integers and a real number , depending only on , with the following property. For every sufficiently long word , write for its multiplicity vector and for its length. There are vectors , with , such that
(1) coordinatewise, , and ;
(2) divides , and is the multiplicity vector of a word in for every ;
(3) implies .
The length threshold is independent of . It may also be chosen so that, whenever , one has .
Proof. Each language is regular. An automaton recognizing it has the states of and a new initial state. Reading a letter in the initial state leads to ; reading in state leads to . The only accepting state is , and the initial state is not accepting.
By Lemma 6.1, fix a semilinear representation for the multiplicity vectors of each . There are finitely many linear components in these representations altogether. Delete zero period vectors. At least one nonzero period remains, since the union of the languages is and has words of arbitrarily large length. Let be the least common multiple of the lengths of all the nonzero period vectors. Put
where ranges over all the chosen components. Let be the largest base length, let be the largest number of periods in a component, and let be the largest period length. Set
Take of length and choose a component containing its multiplicity vector. Write
Since , this component has at least one period. Moreover,
As and , some index satisfies
Set and
where each remainder belongs to . Then and . Every coordinate of is divisible by , so . Also divides by the choice of . Adding any nonnegative multiple of to keeps the vector in the same linear component, proving (2). If , its th coordinate contributes at least to , which proves (3). Finally, gives
when . All constants were chosen using all at once, so a common length threshold suffices.
An identity separating the hypergraph semiring
For a hypergraph , associate a variable with each vertex. Choose an ordering of and define
in the chosen order, (10)
where denotes all orderings of the vertices of . The term includes all these orderings because the semigroup to which the identity will be applied need not be commutative.
Proposition 7.1. Let be a finite semigroup and let . There exist integers , , and a hypergraph satisfying all the hypotheses of Theorem 4.1, with , for which
Here is the -semiring of nonempty subsets of , with union as addition and setwise multiplication.
Proof. Choose , , for as in Lemma 6.2 and put . Choose an integer
With these parameters fixed, choose sufficiently large for Lemmas 5.1 and 6.2 to apply and such that . Lemma 5.1, with , provides a hypergraph on vertices satisfying the stated intersection and extension properties. It has no isolated vertices. Indeed, given , take , colour every vertex with one colour, and request further vertices of that colour. This request is eligible for large , since and , and so a block containing exists. The choices of , also give
as required for Theorem 4.1.
We prove the first assertion of (12). Assign an arbitrary nonempty subset to each variable , and take . By the definition of setwise multiplication, there are elements whose product in the chosen order of is . Regard these elements, in that order, as a word , and let be its multiplicity vector. Apply Lemma 6.2 to obtain , .
Colour vertex by the element . Since , we can select a set containing exactly vertices of each colour . Thus , and
Because divides and , the number
is a positive integer. The vector has coordinate sum . Every colour used by it still occurs at least times outside , by Lemma 6.2. The extension property therefore gives a block whose vertices outside have multiplicity vector . The colours on the whole block have multiplicity vector . By Lemma 6.2(2), there is a word in with precisely this vector. For each letter , the number of its occurrences in that word equals the number of vertices of coloured . Choose a bijection between those occurrences and those vertices, independently for each colour. Reading the matched vertices in the order of the word lists each vertex of exactly once. This yields an ordering of for which
The ordered product here is the product of the chosen word in ; no commutation of factors in is involved. The corresponding monomial is a summand of , and each belongs to . Hence . This proves
for every assignment, which is exactly the asserted identity in . For the second assertion, evaluate as in . The product over each block, in any order, is , so has value . The word is a product of degree-one elements and therefore has value . Its addition to gives , whereas . Thus the identity fails in . □
Proof of the main theorem
Proof of Theorem 1.1. Let be a finite ai-semiring and suppose that . Fix a positive integer , and let be the multiplicative reduct of . Apply Proposition 7.1 to and , and write for the resulting finite semiring. The identity
holds in and hence, by Proposition 2.2, in . It therefore holds throughout . Since it fails in , we have and therefore .
Now let be any identity of involving at most variables. Under an arbitrary assignment of these variables in , their values generate a subsemiring . Theorem 4.1 gives . Consequently the identity holds under the assignment. Thus satisfies every identity of in at most variables. Since , these identities cannot form a basis for . This holds for every , proving infinite axiomatic rank. The finite, commutative, flat and nilpotent properties of , and the equality of all its squares to its absorbing top, follow from its construction.
Finally, if , then . Taking shows that is nonfinitely based. Since was arbitrary, is strongly nonfinitely based, as asserted in Corollary 1.2. □
Further consequences
Equational definitions on finite nilpotent semirings
Let denote the class of finite commutative flat semirings whose multiplicative reducts are nilpotent and in which all elements have square equal to the absorbing top. The next consequence concerns identities valid only on the specified finite members of a variety.
Corollary 9.1. Suppose that is finite and . There is no set of identities with a fixed finite bound on the number of variables such that, for every ,
In particular, no finite set of identities defines membership in within .
Proof. Suppose that has the stated property, and choose bounding the number of variables in its identities. Take the finite semiring from the proof of Theorem 1.1. It belongs to but not to .
Every subsemiring of generated by at most elements belongs to . It also belongs to . Indeed, it is finite and commutative, it contains the absorbing top because it contains the square of each generator, its addition is the restriction of the flat addition of , and the same bound on lengths of nonzero products applies in . The assumed equivalence gives . Each assignment of the variables in an identity of to takes its values in such a subsemiring . Therefore . The equivalence would now imply , a contradiction. □
Simultaneous obstructions for semirings of bounded order
For , let contain one representative of every isomorphism type of ai-semiring of cardinality at most , and put . There are finitely many possible operation tables, so is finite and is generated by their finite direct product.
Theorem 9.2. For every pair of positive integers there exist positive integers with the following property. For every and every sufficiently large satisfying , there are a finite commutative flat semiring and an identity such that:
(1) every subsemiring of generated by at most elements belongs to ;
(2) every element of has square zero, and its multiplicative reduct has nilpotency index exactly ;
(3) every ai-semiring of cardinality at most satisfies , whereas does not;
(4) the cardinality of satisfies
Here the threshold for may depend on . In particular, , and for each fixed such semirings have arbitrarily large cardinality.
Proof. Let be the direct product of the members of , and let be its multiplicative reduct. Apply Lemma 6.2 to , obtaining , and put . Choose greater than
Fix . The proof of Proposition 7.1 applies to every sufficiently large with . Let be its -uniform hypergraph on vertices, and set
Theorem 4.1 proves (1).
All nonzero elements of have positive degree, and degrees add in a nonzero product. No degree exceeds , so every product of elements is zero. The product of the vertex elements of any block is . Hence the nilpotency index is exactly . Every square is zero by the construction of .
The identity holds in and hence in by Proposition 2.2. Each member of is an image of under a coordinate projection, so it satisfies . Its failure in proves (3).
For the upper cardinality estimate, every -element subset of belongs to at most one block, because distinct blocks have intersection of size less than . Counting pairs consisting of a block and one of its -element subsets gives
Before the identifications defining , each block contributes at most nonempty proper subsets. Identifying full blocks gives one element , and the absorbing element contributes one more. Consequently
For the lower estimate, all singleton subsets are distinct ordinary elements: ensures that their degrees lie in the ordinary range. They are distinct from both and the absorbing element, giving . Finally, there are arbitrarily large integers in the required residue class, so the cardinalities are unbounded even with fixed. □
The bounded-order comparison in this theorem differs from [10 Proposition 4.15]. There the upper finite semirings are required to belong to ; here they range over all finite ai-semirings of the given cardinality bound. The present construction also imposes the local condition in part (1).
The displayed estimate bounds the cardinalities of the constructed algebras. Relating it to the equational complexity functions studied in [16] would additionally require quantitative control of the separating identities and of the parameter choices in Lemmas 6.2 and 5.1.
Corollary 9.3. For every , the variety generated by all ai-semirings of cardinality at most has infinite axiomatic rank.
Proof. The finite semiring generates , and for . Hence , and Theorem 1.1 applies. □
Corollary 9.4. Let be the variety generated by all ai-semirings of cardinality exactly . Then for every . This variety is finitely based if and only if ; for every it has infinite axiomatic rank.
Proof. Given an ai-semiring , adjoin a fresh element and prescribe
The enlarged addition is a semilattice operation with new identity, and the enlarged multiplication is associative with new zero. For distributivity, if the outside factor is , both sides are ; if a summand is , its zero product disappears from the sum on the other side. All other cases are the original distributive laws in . Thus the extension is an ai-semiring of cardinality containing as a binary subsemiring. Repeating the construction embeds every ai-semiring of cardinality at most into one of cardinality exactly . Consequently ; the reverse inclusion follows from the definitions.
For , Corollary 9.3 gives infinite axiomatic rank. For , the variety is trivial and is defined by . For , finite basability is a result of Shao and Ren [26], who proved that every subvariety of the variety generated by all two-element ai-semirings has a finite basis. □
The infinite axiomatic rank assertion for recovers the ai-semiring part of Wang, Ju and Wang [31]. Corollary 9.4 extends this conclusion to every order within the class of ai-semirings.
Finite relatively free semirings
For an ai-semiring variety , let denote its relatively free algebra on generators.
Corollary 9.5. Let be a locally finite ai-semiring variety containing . For every , the finite semiring is strongly nonfinitely based, and its generated variety has infinite axiomatic rank.
Proof. The algebra is finite by local finiteness. The elements generate , because . By the universal property, mapping the first two free generators to and all remaining generators to gives an onto homomorphism . Thus . Since , Theorem 1.1 gives infinite axiomatic rank for .
If is any finite ai-semiring with , then . Again Corollary 1.2 shows that is nonfinitely based. This is precisely the asserted strong nonfinite basability.
An algebra is inherently nonfinitely based if every locally finite variety containing it is nonfinitely based. The following example distinguishes this property from strong nonfinite basability for and gives an explicit ambient variety for the preceding corollary.
Proposition 9.6. Let be defined by the ai-semiring axioms together with
Then is finitely based and locally finite and contains . Every with is a finite strongly nonfinitely based semiring. Moreover, is not generated by a finite semiring.
Proof. The displayed description is a finite identity basis. To prove local finiteness, fix variables. By distributivity, every term is a nonempty sum of nonempty words. Commutativity allows each word to be written as a product of powers of the variables, and reduces every exponent greater than two to two. Thus there are at most possible nonempty words, corresponding to exponent vectors in . Commutativity and idempotence of addition reduce a polynomial to the sum of a nonempty subset of these words. It follows that
Every -generated member is an image of , so is locally finite. The tables of show that its multiplication is commutative and that for each of its three elements. Hence . Corollary 9.5 applies to all .
If for a finite semiring , then Corollary 1.2 would make nonfinitely based, contrary to its defining finite basis.
In particular, is strongly nonfinitely based but is not inherently nonfinitely based.
Naming neutral elements
Write for generated varieties of unital ai-semirings in , for generated varieties in satisfying
and for generated varieties in satisfying both sets of neutral-element laws.
For an ai-semiring , recall that is obtained by adjoining a new element , with
The symbol is interpreted by . Thus is the usual four-element extension . Its named additive zero is different from the absorbing top of its three-element subsemiring . The ordinary nonfinite basis problem for this extension, and more general zero adjunctions of commutative flat semirings, was considered in [32, 40]. Here the conclusions concern arbitrary finite upper algebras and the specified signatures with constants.
The adjunctions below are changes of algebra, not changes of notation. For example, if has an absorbing top with , then has the two distinct multiplicative idempotents . Its multiplicative reduct is therefore not nilpotent, even when that of is nilpotent.
Preservation of variety membership under this adjunction in the binary signature was established in [12 Corollary 2.2]. We give the corresponding direct argument with the named constants retained.
Lemma 10.1. If , then . If instead , then .
Proof. In the first case, Birkhoff’s theorem provides a subalgebra and an onto homomorphism . We may take nonempty, using the representation of a relatively free algebra by term functions if necessary. Inside , the algebra is isomorphic to : its new tuple is an additive identity and multiplicative zero. The map extends to an onto homomorphism to by mapping the new tuple to the new element, preserving the named zero. This proves the first assertion. For the second assertion, apply the same argument to a representation in the unital signature; the subalgebra and the extended homomorphism then preserve the named multiplicative identities as well. □
If is flat with absorbing top and every element has square , its flat unit adjunction, when it is an ai-semiring, is denoted by . It is obtained by adjoining a new multiplicative identity and stipulating for .
Lemma 10.2. Suppose that is a flat member of and every square in equals its absorbing top . Then is an ai-semiring and .
Proof. If , then is isomorphic to the unital subalgebra of . Assume that is nontrivial. Choose an onto homomorphism with and , and let be the constant tuple . If , then is a multiplicative identity of and is idempotent. The square condition forces , and then every satisfies , a contradiction. Thus . The identity holds in when its unit is named. It follows that for , while . Hence is a unital subalgebra of . Extend by sending to the new element of . For the image of is , so mixed sums are preserved. Mixed products are preserved because both added elements are units, and the operations on are preserved by . The extension is onto the prescribed algebra , proving that is an ai-semiring and belongs to . □
Lemma 10.3. The flat unit adjunction is an ai-semiring. If every at most -generated subsemiring of belongs to , then every at most -generated unital subalgebra of belongs to .
Proof. The multiplicative semigroup of is 0-cancellative. After adjoining a unit, the only possible new cancellation failure with a nonzero common value would give with nonzero . However, a nonzero product satisfies . Thus no such equality is possible. A unit as the fixed left factor plainly causes no failure; the right cancellation argument is the same. The enlarged semigroup is therefore 0-cancellative. As in Lemma 3.1, flat addition then distributes over multiplication.
Take at most generators of . If they all equal , the generated unital subalgebra is . Otherwise let be the binary subsemiring generated by those lying in . It contains the absorbing top, since it contains a square. Multiplication by gives no new element, and addition to gives that top. Thus the unital subalgebra in question is . The hypothesis gives , and Lemma 10.2 gives . □
Theorem 10.4. The unital semiring is strongly nonfinitely based in . The semiring is strongly nonfinitely based in each of and , with the indicated neutral elements named. In each case, if denotes this small algebra and is a finite ai-semiring with the indicated neutral elements and with , every variety between and has infinite axiomatic rank. Here all generated varieties and inclusions are taken in the corresponding signature with constants.
Proof. Fix and a finite ai-semiring with the indicated neutral elements in one of the three signatures. Apply Proposition 7.1 to its multiplicative reduct , and put
First consider . Equip with the named identity . The map is an onto unital homomorphism to , so . Use as the finite algebra violating . The same assignment of vertex elements as in gives this violation, because is a binary subsemiring of and has no constants. By Lemma 10.3, every at most -generated unital subalgebra belongs to .
Next consider . Use the full power semiring with named zero . The identity holds there. When all variable values are nonempty, this is Proposition 7.1; if a variable has value , then has value , since it contains every variable, so the identity is automatic. The map , with the empty sum interpreted as , is an onto homomorphism preserving the named zero. Consequently . The finite algebra still violates under the vertex assignment. A subalgebra generated by at most elements is either or , where is the binary subsemiring of generated by its non- generators. This description follows from the neutral and absorbing laws for . Since , Lemma 10.1 gives .
Finally, consider . Name both and in . The same homomorphism preserves both constants, so . Use as the finite algebra violating . An at most -generated subalgebra is obtained by taking the unital subalgebra of generated by the non- generators and adjoining . If there are no such generators, the unital subalgebra is . Lemmas 10.3 and 10.1 show that the resulting subalgebra belongs to .
In each case, let be the small algebra in the statement and let in the relevant signature. The constructed finite algebra satisfies all identities of in at most variables: the values in any assignment generate a subalgebra in . It does not belong to , because it fails , which holds in . As is arbitrary, has infinite axiomatic rank. Taking proves strong nonfinite basability in each of the three signatures.
Appendix A. Finite bases and the number of variables
For finite algebras in the signature , finite axiomatic rank is equivalent to finite basability. We include the proof of this standard fact.
Proposition A.1. Let be a finite ai-semiring. If all identities of follow from its identities in at most variables, for some positive integer , then has a finite identity basis. Conversely, a finite identity basis gives such a bound on the number of variables.
Proof. Let be the set of -ary term functions of . This set is finite, since its elements are maps . For each , choose a representing term . Let denote the th projection. Consider the finite set consisting of
and
where is the pointwise operation on term functions. All these identities hold in .
Induction on the formation of a term proves , where is the term function induced by . Thus, if is an identity of in the variables , then and . Renaming variables shows that implies every identity of in at most variables. Under the hypothesis, it is therefore a finite basis for .
Conversely, the maximum number of variables occurring in a finite basis gives the required bound.
Since the ai-semiring axioms form a finite set, finite basability relative to ai-semirings and finite basability in the signature are equivalent.
References
School of Mathematics, Northwest University, Xi’an, 710127, Shaanxi, P.R. China
Email address: [email protected]
School of Mathematics, Northwest University, Xi’an, 710127, Shaanxi, P.R. China
Email address: [email protected]
References
- [1]L. Aceto, Z. Ésik and A. Ingólfdsóttir, The max-plus algebra of the natural numbers has no finite equational basis, Theoret. Comput. Sci. 293 (2003), 169–188.
- [2]S. Burris and H. P. Sankappanavar, A Course in Universal Algebra, Graduate Texts in Mathematics, vol. 78, Springer-Verlag, New York, 1981.
- [3]H. Chernoff, A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations, Ann. Math. Statist. 23 (1952), 493–507.DOI
- [4]I. Dolinka, A nonfinitely based finite semiring, Internat. J. Algebra Comput. 17 (2007), 1537–1551.DOI
- [5]I. Dolinka, A class of inherently nonfinitely based semirings, Algebra Universalis 60 (2009), 19–35.DOI
- [6]I. Dolinka, A remark on nonfinitely based semirings, Semigroup Forum 78 (2009), 368–373.DOI
- [7]I. Dolinka, The finite basis problem for endomorphism semirings of finite semilattices with zero, Algebra Universalis 61 (2009), 441–448.DOI
- [8]I. Dolinka, S. V. Gusev and M. V. Volkov, The finite basis problem for the endomorphism semirings of finite semilattices, Bull. Belg. Math. Soc. Simon Stevin 32 (2025), 657–674.DOI
- [9]P. Erdős and A. Hajnal, On chromatic number of graphs and set-systems, Acta Math. Acad. Sci. Hungar. 17 (1966), 61–99.
- [10]Z. D. Gao, M. Jackson, M. M. Ren and X. Z. Zhao, The finite basis problem for additively idempotent semirings that relate to S_7, preprint, arXiv:2501.19049 (2025). https://arxiv.org/abs/2501.19049.
- [11]Z. D. Gao and M. M. Ren, The flat semirings with nilpotent multiplicative reducts, Comm. Algebra (2026), published online.arxiv.org/abs/2506.23047
- [12]Z. D. Gao, M. M. Ren and X. Z. Zhao, A continuum in the lattice of semiring varieties: the interval [V(S), V(S^0)], preprint, arXiv:2609.24514 (2026). https://arxiv.org/abs/2609.24514.
- [13]S. V. Gusev and M. V. Volkov, The finite basis problem for endomorphism semirings of finite chains, Internat. J. Algebra Comput. (2026), published online. arXiv:2312.01770.DOI
- [14]L. Ham and M. Jackson, Axiomatisability and hardness for universal Horn classes of hypergraphs, Algebra Universalis 79 (2018), article 30.DOI
- [15]M. Jackson, Flat algebras and the translation of universal Horn logic to equational logic, J. Symbolic Logic 73 (2008), 90–128.DOI
- [16]M. Jackson, Low growth equational complexity, Proc. Edinb. Math. Soc. 62 (2019), 197–210.DOI
- [17]M. Jackson, M. M. Ren and X. Z. Zhao, Nonfinitely based ai-semirings with finitely based semigroup reducts, J. Algebra 611 (2022), 211–245.arxiv.org/abs/2112.13918
- [18]G. Kun and V. Vértesi, The membership problem in finite flat hypergraph algebras, Internat. J. Algebra Comput. 17 (2007), 449–459.DOI
- [19]S. M. Lyu, M. M. Ren and M. Y. Yue, A new limit variety of additively idempotent semirings, preprint, arXiv:2604.18588 (2026). https://arxiv.org/abs/2604.18588.
- [20]R. McKenzie, Tarski’s finite basis problem is undecidable, Internat. J. Algebra Comput. 6 (1996), 49–104.DOI
- [21]R. J. Parikh, On context-free languages, J. ACM 13 (1966), 570–581.DOI
- [22]P. Perkins, Bases for equational theories of semigroups, J. Algebra 11 (1969), 298–314.DOI
- [23]M. M. Ren, M. Jackson, X. Z. Zhao and D. L. Lei, Flat extensions of groups and limit varieties of additively idempotent semirings, J. Algebra 623 (2023), 64–85.DOI
- [24]M. M. Ren, J. Y. Liu, L. L. Zeng and M. L. Chen, The finite basis problem for additively idempotent semirings of order four, I, Semigroup Forum 110 (2025), 422–457.arxiv.org/abs/2407.15342
- [25]M. M. Ren, Z. X. Liu, M. Y. Yue and Y. Z. Chen, The finite basis problem for additively idempotent semirings of order four, III, Semigroup Forum 112 (2026), 541–573.
- [26]Y. Shao and M. M. Ren, On the varieties generated by ai-semirings of order two, Semigroup Forum 91 (2015), 171–184.DOI
- [27]V. Yu. Shaprynskiĭ, Semiring identities of the semigroup B_0, Semigroup Forum 109 (2024), 693–705.DOI
- [28]V. Yu. Shaprynskiĭ, Semiring identities in the semigroup B_2, preprint, arXiv:2604.01706 (2026). https://arxiv.org/abs/2604.01706.
- [29]A. W. To, Parikh images of regular languages: complexity and applications, preprint, arXiv:1002.1464 (2010). https://arxiv.org/abs/1002.1464.
- [30]M. V. Volkov, Semiring identities of the Brandt monoid, Algebra Universalis 82 (2021), article 42.arxiv.org/abs/2103.06077
- [31]A. F. Wang, W. H. Ju and L. L. Wang, The variety generated by all semirings of order three is nonfinitely based, preprint, arXiv:2609.15703 (2026). https://arxiv.org/abs/2609.15703.
- [32]Y. N. Wu, M. M. Ren and X. Z. Zhao, The additively idempotent semiring S⁰₇ is nonfinitely based, Semigroup Forum 108 (2024), 479–487.
- [33]Y. N. Wu, X. Z. Zhao and M. M. Ren, On varieties of flat nil-semirings, Semigroup Forum 106 (2023), 271–284.DOI
- [34]M. Y. Yue, The finite basis problem for all subvarieties of the variety V(S⁰₇), unpublished manuscript, 22 pp.
- [35]M. Y. Yue and M. M. Ren, A nonfinitely based additively idempotent semiring of order four, preprint, arXiv:2605.15493 (2026). https://arxiv.org/abs/2605.15493.
- [36]M. Y. Yue, M. M. Ren and Z. D. Gao, Two nonfinitely based additively idempotent semirings of order four, preprint, arXiv:2603.00015 (2026). https://arxiv.org/abs/2603.00015.
- [37]M. Y. Yue, M. M. Ren and Z. D. Gao, Explicit equational bases for the power semirings of S₇, preprint, arXiv:2609.19957 (2026). https://arxiv.org/abs/2609.19957.
- [38]M. Y. Yue, M. M. Ren, R. L. Zeng and Y. Shao, The finite basis problem for additively idempotent semirings of order four, II, Algebra Universalis 86 (2025), article 33.arxiv.org/abs/2501.03263
- [39]X. Z. Zhao, M. M. Ren, S. Crvenković, Y. Shao and P. Dapić, The variety generated by an ai-semiring of order three, Ural Math. J. 6 (2020), no. 2, 117–132.DOI
- [40]X. Z. Zhao and Y. N. Wu, The finite basis problem for ai-semirings obtained from a commutative flat semiring by adjoining a zero, Comm. Algebra 53 (2025), 3721–3732.DOI