betaFeedback

WorksMathematics

Strong nonfinite basability of the three-element flat semiring S7S_7

Abstract

We prove that the three-element flat semiring S7S_7 is strongly nonfinitely based within the class of additively idempotent semirings. More generally, let N\mathcal N be the subvariety of \Var(S_7) defined by x2y≈x2x^2y\approx x^2. For every finite ai-semiring AA, each variety W\mathcal W satisfying \mathcal N\subseteq\mathcal W\subseteq\Var(A) has infinite axiomatic rank.

Introduction

An additively idempotent semiring, or ai-semiring, is an algebra (S,+,⋅)(S,+,\cdot) in which (S,+)(S,+) is a semilattice, (S,⋅)(S,\cdot) is a semigroup, and multiplication distributes over addition on both sides. Until Section 10, all varieties considered have the binary signature {+,⋅}\{+,\cdot\}. No additive identity or multiplicative identity is required, and no constant symbols are included. We write V(A)\mathsf{V}(A) for the variety generated by an algebra AA.

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 S7S_7, with operations

++11aa00⋅\cdot11aa00
111100001111aa00
aa00aa00aaaa0000
0000000000000000

Table 1.

Here 11 is a multiplicative identity and a2=0a^2=0. The element 00 absorbs both operations; in particular, it is the greatest element of the additive semilattice, rather than an additive identity. The symbols 11 and 00 name elements of this algebra, not symbols in the signature. Its addition is flat: any two distinct elements have sum 00.

2020 Mathematics Subject Classification. 16Y60, 03C05, 08B15.

Key words and phrases. Additively idempotent semiring, strongly nonfinitely based, axiomatic rank, flat semiring, hypergraph.

The semiring S7S_7 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 S7S_7 in [17], shows that S7S_7 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 B0B_0 and B2B_2 have finite bases [27, 28].

A finite ai-semiring BB is strongly nonfinitely based if every finite ai-semiring AA for which B∈V(A)B \in\mathsf{V}(A) is nonfinitely based. The question whether S7S_7 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 S7S_7 gives a nonfinitely based semiring S70S_7^0. Further results on this adjunction appear in [40]. Gao, Ren and Zhao [12] studied intervals above V(S7)\mathsf{V}(S_7), including the continuum of varieties between V(S7)\mathsf{V}(S_7) and V(S70)\mathsf{V}(S_7^0). We prove that S7S_7 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 V(S70)\mathsf{V}(S_7^0). 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

N=V(S7)∩Mod⁡(x2y≈x2),(1)\mathcal{N}=\mathsf{V}(S_7)\cap\operatorname{Mod}(x^2y\approx x^2), \tag*{(1)}

where Mod⁡(Σ)\operatorname{Mod}(\Sigma) denotes the class of ai-semirings satisfying the identities in Σ\Sigma. This is the nil subvariety studied in [10]. It is a proper subvariety of V(S7)\mathsf{V}(S_7), since its defining identity fails in S7S_7 at x=1x=1 and y=ay=a. It is also important to distinguish N\mathcal{N} from V(Sc(abc))\mathsf{V}(S_c(abc)). For a word a1⋯aka_1\cdots a_k with distinct letters, Sc(a1⋯ak)S_c(a_1\cdots a_k) is the flat semiring of its nonempty commutative divisors, together with an absorbing element 00; a product is 00 when it is no longer a divisor. One has

V(Sc(abc))⊊N⊊V(S7).\mathsf{V}(S_c(abc))\subsetneq\mathcal{N}\subsetneq\mathsf{V}(S_7).

Indeed, all the semirings Sc(a1⋯ak)S_c(a_1\cdots a_k) belong to N\mathcal{N} by [10]; the identity xyz≈x2xyz\approx x^2 holds in Sc(abc)S_c(abc) and fails in Sc(abcd)S_c(abcd). 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 nn, its identities involving at most nn 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 AA be a finite ai-semiring and let W\mathcal{W} be an ai-semiring variety such that

N⊆W⊆V(A).\mathcal{N}\subseteq\mathcal{W}\subseteq\mathsf{V}(A).

For every positive integer nn, there is a finite commutative flat semiring BnB_n, with nilpotent multiplicative reduct and satisfying x2≈y2x^2 \approx y^2, such that

(1) every subsemiring of BnB_n generated by at most nn elements belongs to N\mathcal{N};

(2) Bn∉V(A)B_n \notin\mathsf{V}(A).

Thus BnB_n satisfies every identity of W\mathcal{W} in at most nn variables but does not belong to W\mathcal{W}. In particular, W\mathcal{W} has infinite axiomatic rank.

Corollary 1.2. Let AA be a finite ai-semiring. If S7∈V(A)S_7 \in\mathsf{V}(A), then V(A)\mathsf{V}(A) has infinite axiomatic rank. Consequently, S7S_7 is strongly nonfinitely based.

Proof. The hypothesis gives N⊆V(S7)⊆V(A)\mathcal{N} \subseteq\mathsf{V}(S_7) \subseteq\mathsf{V}(A). Apply Theorem 1.1 with W=V(A)\mathcal{W} = \mathsf{V}(A). 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 [V(Sc(abc)),V(S70)][\mathsf{V}(S_c(abc)), \mathsf{V}(S_7^0)] is nonfinitely based. Its lower endpoint is smaller than N\mathcal{N}. Theorem 1.1 permits an arbitrary finite ai-semiring at the upper endpoint, subject to containment of N\mathcal{N}. In particular, it implies infinite axiomatic rank for every variety between V(S7)\mathsf{V}(S_7) and any ai-semiring variety generated by a finite algebra and containing S7S_7. The known results for S70S_7^0 therefore follow at the level of nonfinite basability. Their descriptions of explicit bases and subvariety lattices remain separate results.

The proof constructs, for each nn, a finite semiring that belongs locally to N\mathcal{N} but fails an identity of AA. The construction starts from a uniform hypergraph. Bounded intersections of distinct edges allow us to control subsemirings generated by at most nn elements using the transversal description of the identities of S7S_7 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 AA 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 S7S_7. § 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 W\mathcal{W}, write Id⁡n(W)\operatorname{Id}_n(\mathcal{W}) for the identities of W\mathcal{W} using at most nn distinct variables.

We shall use the following criterion for infinite axiomatic rank.

Lemma 2.1. Let U⊆WU \subseteq W be varieties of ai-semirings. Suppose that for each positive integer nn there is an ai-semiring BnB_n outside WW such that every subsemiring of BnB_n generated by at most nn elements belongs to UU. Then BnB_n satisfies Id⁡n(W)\operatorname{Id}_n(W), and WW has infinite axiomatic rank.

Proof. Let u≈vu \approx v belong to Id⁡n(W)\operatorname{Id}_n(W), and assign its variables arbitrarily to elements of BnB_n. These values generate a subsemiring CC belonging to U⊆WU \subseteq W. Since u≈vu \approx v holds in CC, it holds under the given assignment. Thus BnB_n satisfies every identity in Id⁡n(W)\operatorname{Id}_n(W). If these identities implied all identities of WW, Birkhoff’s theorem would give Bn∈WB_n \in W, a contradiction. This applies to every positive integer nn.

Power semirings

For a semigroup MM, let P+(M)\mathcal{P}^{+}(M) be the algebra of its nonempty subsets, with union as addition and setwise multiplication

XY={xy:x∈X, y∈Y}.XY = \{xy : x \in X,\ y \in Y\}.

Associativity of the product follows from associativity in MM; the distributive laws follow directly from the definition. Thus P+(M)\mathcal{P}^{+}(M) is an ai-semiring. The full power semiring P(M)\mathcal{P}(M) 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 AA be a finite ai-semiring with multiplicative reduct MM. The map

π:P+(M)⟶A,π(X)=∑x∈Xx,\pi:\mathcal{P}^{+}(M)\longrightarrow A,\qquad\pi(X)=\sum_{x\in X}x,

is an onto homomorphism. In particular, every identity of P+(M)\mathcal{P}^{+}(M) holds in AA.

Proof. The sum defining π\pi is independent of the order of its summands. Additive idempotence gives π(X∪Y)=π(X)+π(Y)\pi(X\cup Y)=\pi(X)+\pi(Y). By the two distributive laws,

π(XY)=∑x∈X, y∈Yxy=(∑x∈Xx)(∑y∈Yy)=π(X)π(Y).\pi(XY)=\sum_{\substack{x\in X,\ y\in Y}}xy=\left(\sum_{x\in X}x\right)\left(\sum_{y\in Y}y\right)=\pi(X)\pi(Y).

If different pairs give the same product, repeated copies of that product are removed by additive idempotence. Finally, π({a})=a\pi(\{a\})=a for each a∈Aa\in A, so π\pi is onto.

Identities of S7S_7

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 uu, let c(u)c(u) be the set of variables occurring in uu, and put

δ(u)={Z⊆c(u): every word in u has exactly one occurrence of a variable from Z}.\delta(u)=\left\{Z\subseteq c(u):\text{ every word in }u\text{ has exactly one occurrence of a variable from }Z\right\}.

We refer to the members of δ(u)\delta(u) as transversals of uu. 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 c(u)c(u) or δ(u)\delta(u).

The next characterization is due to Jackson, Ren and Zhao [17, Proposition 5.5].

Proposition 2.3. For semiring polynomials uu and vv,

S7⊨u≈v⟺c(u)=c(v)andδ(u)=δ(v).S_7 \models u\approx v \quad\Longleftrightarrow\quad c(u)=c(v)\quad\text{and}\quad\delta(u)=\delta(v).

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 d≥1d \ge1 and k≥2k \ge2 be integers such that

k>2(d−1).(2)k > 2(d-1). \tag*{(2)}

Let H=(V,E)\mathcal{H}=(V,\mathcal{E}) be a finite, nonempty kk-uniform hypergraph, with V=⋃EV=\bigcup\mathcal{E}, and suppose that

∣E∩F∣<d(E,F∈E, E≠F).(3)\lvert E \cap F\rvert< d \qquad(E,F \in\mathcal{E},\ E \ne F). \tag*{(3)}

We call the members of E\mathcal{E} blocks.

The nonzero elements of a semigroup F(H)F(\mathcal{H}) 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 00. The element 00 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 RR contained in a block with ∣R∣≤d−1\lvert R\rvert\le d-1, identify all the sets E∖RE\setminus R with E⊇RE \supseteq R. The resulting nonzero elements are denoted by

aU,∅≠U⊆E∈E,∣U∣≤k−d,bR,∅≠R⊆E∈E,∣R∣≤d−1,p,the common class of the blocks.\begin{aligned} a_U,\quad&\varnothing\ne U \subseteq E \in\mathcal{E},\quad\lvert U\rvert\le k-d,\\ b_R,\quad&\varnothing\ne R \subseteq E \in\mathcal{E},\quad\lvert R\rvert\le d-1,\\ p,\quad&\text{the common class of the blocks.} \end{aligned}

Assign these elements degrees ∣U∣\lvert U\rvert, k−∣R∣k-\lvert R\rvert, and kk, respectively, and write b∅=pb_{\varnothing}=p where convenient. The degree ranges of the first two types are disjoint. In particular, when d=1d=1, the blocks are pairwise disjoint and there are no elements bRb_R with R≠∅R\ne\varnothing. After taking this multiplicative quotient, define addition by

x+x=x,x+y=0(x≠y).(4)x+x=x,\qquad x+y=0\quad(x\ne y). \tag*{(4)}

We denote the resulting algebra by B(H)B(\mathcal{H}).

Recall that a semigroup with zero is 0-cancellative if xy=xz≠0xy=xz\ne0 implies y=zy=z, and yx=zx≠0yx=zx\ne0 implies y=zy=z.

Lemma 3.1. The stated identifications form a semigroup congruence. The quotient is 0-cancellative, and B(H)B(\mathcal{H}) is a finite commutative ai-semiring.

Proof. Any set of size at least k−d+1k-d+1 that is contained in a block is contained in exactly one block, since k−d+1>d−1k-d+1>d-1. 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 kk and the ordinary singleton classes have degree at most k−dk-d, so these are disjoint from the complement classes as well. The zero class is the singleton {0}\{0\}. If a product (E∖R)U(E \setminus R)U is nonzero in F(H)F(\mathcal{H}), its containing block must be EE. Hence U⊆RU \subseteq R, and its class is bR∖Ub_{R \setminus U}. Conversely, this product is nonzero whenever U⊆RU \subseteq R. The output class is therefore independent of the representative E∖RE \setminus R. Full blocks annihilate every nonempty factor. These observations prove compatibility with multiplication by an arbitrary element of F(H)F(\mathcal{H}) on either side, and hence prove that the stated classes form a semigroup congruence. In particular, a product of ordinary representatives is zero in F(H)F(\mathcal{H}) 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 aUaWa_Ua_W is zero unless UU, WW are disjoint and L=U∪WL=U\cup W lies in a block. Otherwise it is aLa_L if ∣L∣≤k−d|L|\leq k-d, bE∖Lb_{E\setminus L} if k−d<∣L∣<kk-d<|L|<k, and pp if ∣L∣=k|L|=k. In the middle case, EE is unique. Moreover,

bRaU={bR∖U,U⊆R,0,U⊈R.(5)b_Ra_U= \begin{cases} b_{R\setminus U}, & U\subseteq R,\\ 0, & U\not\subseteq R. \end{cases} \tag*{(5)}

Two elements of type bRb_R multiply to zero, because their degrees sum to more than kk, and pp annihilates every element. Degrees add whenever a product is nonzero.

To prove 00-cancellation, fix a left factor and a nonzero output. We show that there is at most one right factor.

If the left factor is aUa_U with ∣U∣≥d|U|\geq d, its containing block EE is unique. The right factor must be ordinary, since a factor bRb_R would make the total degree exceed kk. Outputs aLa_L, bRb_R, and pp respectively determine the right supports

L∖U,E∖(R∪U),E∖U.L\setminus U,\qquad E\setminus(R\cup U),\qquad E\setminus U.

This proves uniqueness whenever such a product exists.

Suppose 1≤∣U∣≤d−11\leq|U|\leq d-1. An output aLa_L determines aL∖Ua_{L\setminus U}, and output pp determines bUb_U. For output bRb_R, one must have U∩R=∅U\cap R=\varnothing. If ∣U∪R∣≥d|U\cup R|\geq d, there is at most one block containing U∪RU\cup R, and it determines the right factor aE∖(U∪R)a_{E\setminus(U\cup R)}. If ∣U∪R∣<d|U\cup R|<d, the right factor is necessarily bU∪Rb_{U\cup R}. Indeed, all possible representing complements have this label, whereas an ordinary right factor would have degree k−∣U∪R∣>k−dk-|U\cup R|>k-d.

Finally, a left factor bRb_R and output bQb_Q determine aR∖Qa_{R\setminus Q}; output pp determines aRa_R. There are no nonzero products with left factor pp. Empty or inadmissible supports in these formulas simply give no product. We have proved xy=xz≠0⇒y=zxy=xz\ne0\Rightarrow y=z.

Flat addition is associative, commutative, and idempotent. If y≠zy\ne z, then xyxy, xzxz cannot be equal and nonzero, so xy+xz=0=x(y+z)xy+xz=0=x(y+z). If y=zy=z, distributivity follows from idempotence. Commutativity of multiplication gives the other distributive law. □\square

Every element of B(H)B(\mathcal{H}) has square zero. Also, any product of nonzero elements whose degrees sum to more than kk is zero.

Quotients determined by divisibility

For r≠0r\ne0, an element xx divides rr if xy=rxy=r for some y∈B(H)1y\in B(\mathcal{H})^1, where the superscript allows an identity to be adjoined for this definition. The nondivisors form a multiplicative ideal: if xzxz divides rr, then xx divides rr. They contain 00 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 r=bRr=b_R, with 1≤s=∣R∣≤d−11\le s=|R|\le d-1. The Rees quotient obtained by collapsing its nondivisors is isomorphic to B(HR)B(\mathcal{H}_R), where

HR={E∖R:E∈E, R⊆E}.\mathcal{H}_R=\{E\setminus R:E\in\mathcal{E},\ R\subseteq E\}.

The vertex set is the union of these blocks, the parameters are k′=k−sk'=k-s and d′=d−sd'=d-s, and bRb_R corresponds to the common block product.

Proof. An ordinary element aUa_U divides bRb_R precisely when U∩RU\cap R is empty and U∪RU\cup R lies in a block. Necessity follows from the product formulas above. For sufficiency, choose a block E⊇U∪RE\supseteq U\cup R and multiply aUa_U by the class of E∖(U∪R)E\setminus(U\cup R). This complement is nonempty, since ∣U∣+∣R∣≤k−1|U|+|R|\le k-1. These divisors are exactly the ordinary elements of B(HR)B(\mathcal{H}_R), because k′−d′=k−dk'-d'=k-d.

The element bQb_Q divides bRb_R precisely when R⊆QR\subseteq Q. For Q≠RQ\ne R it corresponds to the link element bQ∖Rb_{Q\setminus R}; the element bRb_R itself corresponds to the common block product. The element pp does not divide bRb_R. This gives a bijection between the nonzero elements of the two algebras.

Formula (5) is preserved by this bijection: for a retained bQb_Q and an ordinary divisor aUa_U, the product bQaU=bQ∖Ub_Qa_U=b_{Q\setminus U} survives precisely when U⊆QU\subseteq Q and R⊆Q∖UR\subseteq Q\setminus U. Since U∩R=∅U\cap R=\varnothing, this is equivalent to U⊆Q∖RU\subseteq Q\setminus R, the corresponding condition in the link.

Consider next two retained ordinary elements aU,aWa_U,a_W. If their supports overlap, their product is zero in both constructions. Suppose that the supports are disjoint and put L=U∪WL=U\cup W. When ∣L∣≤k−d|L|\le k-d, their product survives precisely when LL is a divisor support, that is, when L∩R=∅L\cap R=\varnothing and L∪RL\cup R lies in a block. When ∣L∣>k−d|L|>k-d, a nonzero original product has a unique containing block EE and is labelled by E∖LE\setminus L, with the empty label allowed for pp. It survives precisely when R⊆E∖LR\subseteq E\setminus L. This is again equivalent to saying that LL is disjoint from RR and is contained in a block containing RR. In the surviving case its link label is (E∖L)∖R=(E∖R)∖L(E\setminus L)\setminus R=(E\setminus R)\setminus L, as required; the label is empty precisely when L=E∖RL=E\setminus R. These are exactly the nonzero-product conditions and outputs in B(HR)B(\mathcal{H}_R). 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 d−sd-s points. Finally,

k′−2(d′−1)=k−2(d−1)+s>0.k'-2(d'-1)=k-2(d-1)+s>0.

Here d′≥1d'\ge1 and k′≥k−d+1≥d≥2k'\ge k-d+1\ge d\ge2, so the construction applies, including the case d′=1d'=1.

Finitely generated subsemirings

Theorem 4.1. Let n≥1n\ge1. Under the assumptions of the preceding section, if

k>n(d−1),(6)k>n(d-1), \tag*{(6)}

then every subsemiring of B(H)B(\mathcal{H}) generated by at most nn elements belongs to N\mathcal{N}.

We first consider polynomials all of whose monomials have value pp.

Lemma 4.2. Assign distinct variables to at most nn distinct nonzero elements of B(H)B(\mathcal{H}), under the hypotheses of Theorem 4.1. Suppose every monomial of uu has value pp. Let ww be a word using only variables from c(u)c(u). If every Z∈δ(u)Z\in\delta(u) meets ww in exactly one occurrence, then ww has value pp.

Proof. Retain only generators whose variables occur in uu.

Step 1. The possible monomials and their transversals. Call an ordinary generator aUa_U small if ∣U∣≤d−1|U| \le d-1; otherwise ∣U∣≥d|U| \ge d, and it has a unique containing block E(U)E(U). Let D0D_0 be the union of the small supports. Then ∣D0∣≤n(d−1)<k|D_0| \le n(d-1) < k.

For a word consisting of ordinary factors, take their actual supports as representatives in F(H)F(\mathcal{H}). 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 F(H)F(\mathcal{H}). Since the preimage of pp consists exactly of the full blocks, such a word has value pp precisely when its supports are pairwise disjoint and their union is a block. A nonzero word involving bRb_R has only ordinary remaining factors, and (5) shows that their supports must partition RR in order to give pp. A word involving the factor pp has value pp only if it has no other factor. We have therefore obtained exactly three possibilities: pp alone, a factor bRb_R followed by small factors whose supports partition RR, or ordinary factors whose supports partition a block EE. In the second case R⊆D0R \subseteq D_0. In the third case at least one factor is not small, since E⊈D0E \not\subseteq D_0. Call the blocks occurring in the third case active. Every nonsmall ordinary generator occurring in uu belongs to a unique active block.

Choose independently cE∈E∖D0c_E \in E \setminus D_0 for each active block. Select the variables corresponding to pp and all bRb_R, select no small variable, and select a nonsmall ordinary variable aUa_U exactly when cE(U)∈Uc_{E(U)} \in U. Each monomial of uu has exactly one selected occurrence: in the first two forms it is the distinguished factor; in the third it is the unique part containing cEc_E. Thus these selections belong to δ(u)\delta(u).

There is a second selection for each x∈D0x \in D_0. Select pp, select bRb_R when x∉Rx \notin R, and select a small aUa_U when x∈Ux \in U. For each active block containing xx, set cE=xc_E=x; for every other active block choose cE∈E∖D0c_E \in E \setminus D_0. Select the nonsmall ordinary variables by membership of cEc_E in their support. For a word involving bRb_R, either that factor is selected or exactly one part of its partition of RR is selected. For an ordinary block partition, exactly one part contains cEc_E; if x∉Ex \notin E, none of its small parts is selected. Hence these selections also lie in δ(u)\delta(u).

Step 2. Two counting equations. Let mgm_g be the number of occurrences in ww of the variable naming generator gg; write mp=0m_p=0 if pp is absent. All sums over RR below range over complement generators occurring in uu, and all sums over EE range over active blocks. For an active block EE, put

fE(x)=∑g=aU, ∣U∣≥dE(U)=E, x∈Umg.f_E(x)=\sum_{\substack{g=a_U,\ |U|\ge d\\ E(U)=E,\ x\in U}} m_g.

The first selections give

mp+∑RmbR+∑EfE(cE)=1.m_p+\sum_R m_{b_R}+\sum_E f_E(c_E)=1.

Fix an active block EE and hold the choices for all other active blocks fixed. Each point of E∖D0E \setminus D_0 can be used as cEc_E, and each resulting selection is a transversal of uu. Comparing the displayed equality for two such choices shows that fEf_E takes the same value at those points. Thus fEf_E is constant on E∖D0E \setminus D_0. Denote its constant value by dE∈N0d_E \in\mathbb{N}_0. The argument applies to every active block separately, giving

mp+∑RmbR+∑EdE=1.(7)m_p+\sum_R m_{b_R}+\sum_E d_E=1. \tag*{(7)}

For x∈D0x \in D_0, let

Cw(x)=∑g=aUx∈Umg.C_w(x)=\sum_{\substack{g=a_U\\x\in U}}m_g.

The second selection at xx gives

mp+∑R∌xmbR+Cw(x)+∑E∌xdE=1.m_p+\sum_{R\not\ni x}m_{b_R}+C_w(x)+\sum_{E\not\ni x}d_E=1.

Indeed, all ordinary factors whose supports contain xx are selected; each active block missing xx contributes its constant dEd_E instead. Subtracting (7) yields

Cw(x)=∑R∌xmbR+∑E∌xdE(x∈D0).(8)C_w(x)=\sum_{R\not\ni x}m_{b_R}+\sum_{E\not\ni x}d_E \qquad(x\in D_0). \tag*{(8)}

Step 3. Determine the value of ww. The nonnegative integers in (7) sum to one, so exactly one of the following cases occurs.

If mp=1m_p=1, all mbRm_{b_R} and dEd_E vanish. Every nonsmall ordinary support occurring in ww must lie in D0D_0, since its block contributes zero outside D0D_0. But (8) gives Cw(x)=0C_w(x)=0 throughout D0D_0, excluding all ordinary factors. Thus w=pw=p.

If mbR=1m_{b_R}=1 for some RR, all other terms in (7) vanish. Again every ordinary support occurring in ww lies in D0D_0, and (8) now gives Cw(x)=1R(x)C_w(x)=1_R(x) there. Therefore the ordinary supports, counted with multiplicity, partition RR. They are all small because ∣R∣≤d−1|R|\le d-1. Together with bRb_R they give value pp.

Finally, suppose dE0=1d_{E_0}=1 for an active block E0E_0. There are no pp or bRb_R factors. If a nonsmall factor belongs to another block FF, the equation dF=0d_F=0 confines its support to D0D_0, while (8) confines it to E0E_0. Its support would then have size at most ∣E0∩F∣<d|E_0\cap F|<d, a contradiction. Thus all nonsmall factors belong to E0E_0. Their supports cover each point of E0∖D0E_0\setminus D_0 exactly once, since fE0=1f_{E_0}=1 there. Equation (8) says that all ordinary supports cover precisely E0∩D0E_0\cap D_0 once inside D0D_0. Hence the supports partition E0E_0, and ww again has value pp.

All counts include repeated occurrences of variables. The argument also applies when D0D_0 is empty: then the second family of equations is empty, and the same three cases give the conclusion. □

Proof of Theorem 4.1. Let CC be generated by a set of at most nn distinct elements, and consider an identity of S7S_7 under an assignment into CC. Express each assigned element as a polynomial in distinct symbols naming the generators. Substitution gives an identity u≈vu\approx v of S7S_7, and Proposition 2.3 gives

c(u)=c(v),δ(u)=δ(v).c(u)=c(v),\qquad\delta(u)=\delta(v).

If both evaluations are zero, they agree. Otherwise interchange the sides if necessary, and let uu have nonzero value rr. By flatness, every monomial of uu has value rr. Every generator occurring in uu is therefore nonzero; discard the other generators, which also do not occur in vv. Each monomial ww of vv uses only c(u)c(u) and is met exactly once by every member of δ(u)\delta(u).

If r=pr=p, Lemma 4.2 gives w=pw=p. If r=aWr=a_W, all occurring generators are ordinary, and every monomial of uu partitions WW by their supports. For each x∈Wx\in W, the generator symbols whose supports contain xx form a transversal of uu. Therefore the supports in ww cover every point of WW exactly once. They are all contained in WW, so they partition WW and w=aWw=a_W. Suppose r=bRr=b_R, and put s=∣R∣s=|R|. Every occurring generator divides rr, since it is a factor of a monomial with value rr. Pass to the Rees quotient of Lemma 3.2. These generators remain distinct and nonzero, and rr becomes the common block product. The new parameters satisfy

(k−s)−2(d−s−1)=k−2(d−1)+s>0,(k−s)−n(d−s−1)=k−n(d−1)+(n−1)s>0.\begin{aligned} (k-s)-2(d-s-1)&=k-2(d-1)+s>0,\\ (k-s)-n(d-s-1)&=k-n(d-1)+(n-1)s>0. \end{aligned}

Lemma 4.2 applies there and gives w=bRw=b_R in the quotient. Since a retained nonzero element has a singleton preimage, w=bRw=b_R in B(H)B(\mathcal{H}) as well.

In all cases every monomial of vv has value rr, so u=vu=v. Consequently CC satisfies every identity of S7S_7 and belongs to V(S7)\mathsf{V}(S_7) by Birkhoff’s theorem. Every element of B(H)B(\mathcal{H}) has square 00, and 00 absorbs multiplication. Thus CC also satisfies x2y≈x2x^2y\approx x^2, and hence C∈NC\in\mathcal{N}. Notice that 00 belongs to every nonempty subsemiring CC, since it is the square of any element of CC. The generators considered throughout the proof were arbitrary elements of B(H)B(\mathcal{H}); no assumption that they are vertex elements has been made. □\square

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 m,Dm,D be positive integers, let ε>0\varepsilon>0, and put d=2D+4d=2D+4. For every fixed integer k>dk>d and every sufficiently large integer NN, there is a kk-uniform hypergraph H=(V,E)\mathcal{H}=(V,\mathcal{E}) with ∣V∣=N|V|=N having the following properties.

  1. If E,F∈EE,F\in\mathcal{E} are distinct, then ∣E∩F∣<d|E\cap F|<d.

  2. Let κ:V→{1,…,m}\kappa:V\to\{1,\ldots,m\} be any colouring, let R⊆VR\subseteq V with ∣R∣≤D|R|\leq D, and let q∈N0mq\in\mathbb{N}_0^m satisfy ∥q∥1=k−∣R∣\|q\|_1=k-|R|. If [qi>0⟹∣κ−1(i)∖R∣≥εN,[ q_i>0\Longrightarrow|\kappa^{-1}(i)\setminus R|\geq\varepsilon N,] then there is an E∈EE\in\mathcal{E} containing RR such that

    ∣(E∖R)∩κ−1(i)∣=qi(1≤i≤m).|(E\setminus R)\cap\kappa^{-1}(i)|=q_i\qquad(1\leq i\leq m).

In particular, NN may be chosen sufficiently large in any prescribed residue class modulo a fixed positive integer.

Proof. Fix a set VV of size NN and select each of its kk-element subsets independently with probability

ρ=N−k+D+3.\rho=N^{-k+D+3}.

Since k>2D+4k>2D+4, we have 0<ρ≤10<\rho\leq1 for N≥1N\geq1.

Call a triple (κ,R,q)(\kappa,R,q) eligible if it satisfies the hypotheses in (2), and put r=∣R∣r=|R|. The number of kk-element subsets that would provide the required extension is

T(κ,R,q)=∏i=1m(∣κ−1(i)∖R∣qi).T(\kappa,R,q)=\prod_{i=1}^{m}\binom{|\kappa^{-1}(i)\setminus R|}{q_i}.

There is a constant c>0c>0, depending only on the fixed parameters m,D,k,εm,D,k,\varepsilon, such that

T(κ,R,q)≥cNk−rT(\kappa,R,q)\geq cN^{k-r}

for every eligible triple and all sufficiently large NN. Indeed, if qi>0q_i>0 and N≥2k/εN \ge2k/\varepsilon, then

(∣κ−1(i)∖R∣qi)≥(εN/2)qiqi!\binom{\lvert\kappa^{-1}(i)\setminus R\rvert}{q_i}\ge\frac{(\varepsilon N/2)^{q_i}}{q_i!}

There are only finitely many possible vectors qq with ∥q∥1≤k\lVert q\rVert_1\le k, so the constants in the resulting product have a common positive lower bound. The same cc therefore works for every eligible colouring, every core RR of size at most DD, and every permitted vector qq. All parameters mm, DD, kk, ε\varepsilon are fixed before NN tends to infinity.

Let XX be the number of selected extensions of a fixed eligible triple. It is binomial, with mean

μ=T(κ,R,q)ρ≥cND+3−r≥cN3.\mu=T(\kappa,R,q)\rho\ge cN^{D+3-r}\ge cN^3.

We use the following elementary Chernoff bound [3]:

Pr⁡(X≤μ/2)≤e−μ/8.\Pr(X\le\mu/2)\le e^{-\mu/8}.

For completeness, it follows by applying Markov’s inequality to 2−X2^{-X}:

Pr⁡(X≤μ/2)≤2μ/2E(2−X)=2μ/2(1−ρ/2)T(κ,R,q)≤exp⁡((log⁡2−1)μ/2)≤e−μ/8.\Pr(X\le\mu/2)\le2^{\mu/2}\mathbb{E}(2^{-X})=2^{\mu/2}(1-\rho/2)^{T(\kappa,R,q)}\le\exp((\log2-1)\mu/2)\le e^{-\mu/8}.

Consequently, the probability that this triple has fewer than (c/2)N3(c/2)N^3 selected extensions is at most e−cN3/8e^{-cN^3/8}. There are at most

mN(∑r=0D(Nr))(k+1)mm^N\left(\sum_{r=0}^{D}\binom{N}{r}\right)(k+1)^m

triples. Multiplying this bound by e−cN3/8e^{-cN^3/8} gives a quantity tending to zero. Thus, with probability tending to one, every eligible triple has at least (c/2)N3(c/2)N^3 selected extensions.

It remains to control intersections. Let YY count ordered pairs of distinct selected blocks with intersection of size at least dd. Then

EY≤(Nk)∑j=dk−1(kj)(N−kk−j)ρ2=O(N2k−dρ2)=O(N2D+6−d)=O(N2).\begin{aligned} \mathbb{E}Y\le\binom{N}{k}\sum_{j=d}^{k-1}\binom{k}{j}\binom{N-k}{k-j}\rho^2 \\ &=O(N^{2k-d}\rho^2)=O(N^{2D+6-d})=O(N^2). \end{aligned}

The constants here depend only on kk and DD. Hence Pr⁡(Y>N5/2)=O(N−1/2)\Pr(Y>N^{5/2})=O(N^{-1/2}) by Markov’s inequality. For sufficiently large NN, choose a realization in which every eligible triple has at least (c/2)N3(c/2)N^3 extensions and Y≤N5/2Y\le N^{5/2}. Delete every block belonging to a pair counted by YY. This removes at most 2N5/22N^{5/2} blocks. Since

(c/2)N3>2N5/2(c/2)N^3>2N^{5/2}

for all sufficiently large NN, 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 NN, which also proves the final assertion. □

Multiplicity vectors of words in a finite semigroup

For an alphabet of mm letters, the multiplicity vector of a word is the vector in Nm\mathbb{N}^m whose iith coordinate counts the occurrences of the iith 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 N0m\mathbb{N}_0^m is linear if it has the form

b+N0P={b+∑h∈Pλhh:λh∈N0},b+\mathbb{N}_0P=\left\{b+\sum_{h\in P}\lambda_hh:\lambda_h\in\mathbb{N}_0\right\},

where b∈N0mb\in\mathbb{N}_0^m and P⊆N0mP\subseteq\mathbb{N}_0^m 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

(b+N0P)+(c+N0Q)=(b+c)+N0(P∪Q).(b+\mathbb{N}_0P)+(c+\mathbb{N}_0Q)=(b+c)+\mathbb{N}_0(P\cup Q).

They are also closed under forming the additive submonoid generated by a set. To see this, write U=⋃i=1r(bi+N0Pi)U=\bigcup_{i=1}^r(b_i+\mathbb{N}_0P_i) and let U⊕∗U^{\oplus*} be the set of all finite sums of elements of UU, including the empty sum. Then

U⊕∗={0} ∪ ⋃∅≠I⊆{1,…,r}(∑i∈Ibi+N0({bi:i∈I}∪⋃i∈IPi)).(9)U^{\oplus*}=\{0\}\ \cup\ \bigcup_{\varnothing\ne I\subseteq\{1,\ldots,r\}}\left(\sum_{i\in I}b_i+\mathbb{N}_0\left(\{b_i:i\in I\}\cup\bigcup_{i\in I}P_i\right)\right). \tag*{(9)}

For the forward inclusion, choose a linear component for each summand and let II consist of the components used. One copy of each bib_i, i∈Ii\in I, 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 UU: use one summand from each component in II, 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 1,…,t1,\ldots,t, and let Rij(r)R_{ij}^{(r)} describe paths from ii to jj whose internal states lie in {1,…,r}\{1,\ldots,r\}. The expressions Rij(0)R_{ij}^{(0)} consist of the labels of direct edges, together with the empty word when i=ji=j. Successively use

Rij(r)=Rij(r−1)∪Rir(r−1)(Rrr(r−1))∗Rrj(r−1).R_{ij}^{(r)}=R_{ij}^{(r-1)}\cup R_{ir}^{(r-1)}(R_{rr}^{(r-1)})^*R_{rj}^{(r-1)}.

After the last state, take the union over the initial and accepting states. Thus every regular language has the required semilinear image. □\square

Lemma 6.2. Let MM be a finite semigroup, regarded as an alphabet of size mm. For s∈Ms\in M, let LsL_s consist of all nonempty words whose ordered product in MM is ss. There are integers D,L≥1D,L\ge1 and a real number ε>0\varepsilon>0, depending only on MM, with the following property. For every sufficiently long word w∈Lsw\in L_s, write zz for its multiplicity vector and NN for its length. There are vectors c,h∈N0mc,h\in\mathbb{N}_0^m, with h≠0h\ne0, such that

(1) c≤zc\le z coordinatewise, ∥c∥1≤D\lVert c\rVert_1\le D, and ∥c∥1≡N(modL)\lVert c\rVert_1\equiv N\pmod L;

(2) ∥h∥1\lVert h\rVert_1 divides LL, and c+μhc+\mu h is the multiplicity vector of a word in LsL_s for every μ∈N0\mu\in\mathbb{N}_0;

(3) hi>0h_i>0 implies zi≥2εNz_i\ge2\varepsilon N.

The length threshold is independent of ss. It may also be chosen so that, whenever hi>0h_i>0, one has zi−ci≥εNz_i-c_i\ge\varepsilon N.

Proof. Each language LsL_s is regular. An automaton recognizing it has the states of MM and a new initial state. Reading a letter aa in the initial state leads to aa; reading aa in state x∈Mx \in M leads to xaxa. The only accepting state is ss, and the initial state is not accepting.

By Lemma 6.1, fix a semilinear representation for the multiplicity vectors of each LsL_s. 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 LsL_s is M+M^+ and has words of arbitrarily large length. Let LL be the least common multiple of the lengths of all the nonzero period vectors. Put

D=max⁡{1,max⁡(b,P)(∥b∥1+(L−1)∑h∈P∥h∥1)}.D = \max\left\{1,\max_{(b,P)}\left(\lVert b\rVert_1+(L-1)\sum_{h\in P}\lVert h\rVert_1\right)\right\}.

where (b,P)(b,P) ranges over all the chosen components. Let B0B_0 be the largest base length, let J≥1J \ge1 be the largest number of periods in a component, and let C≥1C \ge1 be the largest period length. Set

ε=14JC.\varepsilon= \frac{1}{4JC}.

Take w∈Lsw \in L_s of length N>2B0N > 2B_0 and choose a component containing its multiplicity vector. Write

z=b+∑i=1jλivi.z=b+\sum_{i=1}^{j}\lambda_i v_i.

Since N>2B0N > 2B_0, this component has at least one period. Moreover,

∑i=1jλi∥vi∥1=N−∥b∥1≥N/2.\sum_{i=1}^{j}\lambda_i\lVert v_i\rVert_1=N-\lVert b\rVert_1\ge N/2.

As j≤Jj \le J and ∥vi∥1≤C\lVert v_i\rVert_1 \le C, some index aa satisfies

λa≥N2JC=2εN.\lambda_a \ge\frac{N}{2JC}=2\varepsilon N.

Set h=vah=v_a and

c=b+∑i=1j(λi mod L)vi,c=b+\sum_{i=1}^{j}(\lambda_i\bmod L)v_i,

where each remainder belongs to {0,…,L−1}\{0,\ldots,L-1\}. Then c≤zc\le z and ∥c∥1≤D\lVert c\rVert_1\le D. Every coordinate of z−cz-c is divisible by LL, so ∥c∥1≡N(modL)\lVert c\rVert_1\equiv N\pmod L. Also ∥h∥1\lVert h\rVert_1 divides LL by the choice of LL. Adding any nonnegative multiple of hh to cc keeps the vector in the same linear component, proving (2). If hi>0h_i>0, its iith coordinate contributes at least λa\lambda_a to ziz_i, which proves (3). Finally, ci≤Dc_i\le D gives

zi−ci≥2εN−D≥εNz_i-c_i\ge2\varepsilon N-D\ge\varepsilon N

when N≥D/εN\ge D/\varepsilon. All constants were chosen using all s∈Ms\in M at once, so a common length threshold suffices.

An identity separating the hypergraph semiring

For a hypergraph H=(V,E)\mathcal{H}=(V,\mathcal{E}), associate a variable xvx_v with each vertex. Choose an ordering of VV and define

qH=∏v∈Vxvq_{\mathcal{H}}=\prod_{v\in V}x_v

in the chosen order, (10)

tH=∑E∈E∑(v1,…,vk)∈Ord⁡(E)xv1⋯xvk,(10)t_{\mathcal{H}}=\sum_{E\in\mathcal{E}}\sum_{(v_1,\ldots,v_k)\in\operatorname{Ord}(E)}x_{v_1}\cdots x_{v_k}, \tag*{(10)}

where Ord⁡(E)\operatorname{Ord}(E) denotes all orderings of the vertices of EE. The term tHt_{\mathcal{H}} includes all these orderings because the semigroup to which the identity will be applied need not be commutative.

Proposition 7.1. Let MM be a finite semigroup and let n≥1n\geq1. There exist integers dd, kk, NN and a hypergraph H\mathcal{H} satisfying all the hypotheses of Theorem 4.1, with ∣V∣=N>k|V|=N>k, for which

P+(M)⊨tH≈tH+qH,B(H)⊭tH≈tH+qH.(11)\mathcal{P}^{+}(M)\models t_{\mathcal{H}}\approx t_{\mathcal{H}}+q_{\mathcal{H}},\qquad B(\mathcal{H})\not\models t_{\mathcal{H}}\approx t_{\mathcal{H}}+q_{\mathcal{H}}. \tag*{(11)}

Here P+(M)\mathcal{P}^{+}(M) is the aiai-semiring of nonempty subsets of MM, with union as addition and setwise multiplication.

Proof. Choose DD, LL, ε\varepsilon for MM as in Lemma 6.2 and put d=2D+4d=2D+4. Choose an integer

k>max⁡{d,2(d−1),n(d−1),D}.k>\max\{d,2(d-1),n(d-1),D\}.

With these parameters fixed, choose N>kN>k sufficiently large for Lemmas 5.1 and 6.2 to apply and such that N≡k(modL)N\equiv k\pmod L. Lemma 5.1, with m=∣M∣m=|M|, provides a hypergraph H\mathcal{H} on NN vertices satisfying the stated intersection and extension properties. It has no isolated vertices. Indeed, given v∈Vv\in V, take R={v}R=\{v\}, colour every vertex with one colour, and request k−1k-1 further vertices of that colour. This request is eligible for large NN, since D≥1D\geq1 and ε≤1/4\varepsilon\leq1/4, and so a block containing vv exists. The choices of dd, kk also give

k>2(d−1),k>n(d−1),k>2(d-1),\qquad k>n(d-1),

as required for Theorem 4.1.

We prove the first assertion of (12). Assign an arbitrary nonempty subset Xv⊆MX_v\subseteq M to each variable xvx_v, and take s∈qH(Xv:v∈V)s\in q_{\mathcal{H}}(X_v:v\in V). By the definition of setwise multiplication, there are elements αv∈Xv\alpha_v\in X_v whose product in the chosen order of VV is ss. Regard these elements, in that order, as a word w∈Lsw\in L_s, and let zz be its multiplicity vector. Apply Lemma 6.2 to obtain cc, hh.

Colour vertex vv by the element αv∈M\alpha_v\in M. Since c≤zc\leq z, we can select a set R⊆VR\subseteq V containing exactly cic_i vertices of each colour ii. Thus ∣R∣=∥c∥1≤D|R|=\lVert c\rVert_1\leq D, and

∣R∣≡N≡k(modL).|R|\equiv N\equiv k\pmod L.

Because ∥h∥1\lVert h\rVert_1 divides LL and k>D≥∣R∣k>D\geq|R|, the number

μ=k−∣R∣∥h∥1\mu=\frac{k-|R|}{\lVert h\rVert_1}

is a positive integer. The vector μh\mu h has coordinate sum k−∣R∣k-|R|. Every colour used by it still occurs at least εN\varepsilon N times outside RR, by Lemma 6.2. The extension property therefore gives a block E⊇RE\supseteq R whose vertices outside RR have multiplicity vector μh\mu h. The colours on the whole block have multiplicity vector c+μhc+\mu h. By Lemma 6.2(2), there is a word in LsL_s with precisely this vector. For each letter ii, the number of its occurrences in that word equals the number of vertices of EE coloured ii. 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 EE exactly once. This yields an ordering (v1,…,vk)(v_1,\ldots,v_k) of EE for which

αv1⋯αvk=s.\alpha_{v_1}\cdots\alpha_{v_k}=s.

The ordered product here is the product of the chosen word in LsL_s; no commutation of factors in MM is involved. The corresponding monomial is a summand of tHt_{\mathcal H}, and each αvi\alpha_{v_i} belongs to XviX_{v_i}. Hence s∈tH(Xv:v∈V)s\in t_{\mathcal H}(X_v:v\in V). This proves

qH(Xv:v∈V)⊆tH(Xv:v∈V)q_{\mathcal H}(X_v:v\in V)\subseteq t_{\mathcal H}(X_v:v\in V)

for every assignment, which is exactly the asserted identity in P+(M)\mathcal P^+(M). For the second assertion, evaluate xvx_v as a{v}a_{\{v\}} in B(H)B(\mathcal H). The product over each block, in any order, is pp, so tHt_{\mathcal H} has value pp. The word qHq_{\mathcal H} is a product of N>kN>k degree-one elements and therefore has value 00. Its addition to pp gives 00, whereas p≠0p\ne0. Thus the identity fails in B(H)B(\mathcal H). □

Proof of the main theorem

Proof of Theorem 1.1. Let AA be a finite ai-semiring and suppose that N⊆W⊆V(A)\mathcal N\subseteq\mathcal W\subseteq\mathsf V(A). Fix a positive integer nn, and let MM be the multiplicative reduct of AA. Apply Proposition 7.1 to MM and nn, and write Bn=B(H)B_n=B(\mathcal H) for the resulting finite semiring. The identity

tH≈tH+qHt_{\mathcal H}\approx t_{\mathcal H}+q_{\mathcal H}

holds in P+(M)\mathcal P^+(M) and hence, by Proposition 2.2, in AA. It therefore holds throughout W\mathcal W. Since it fails in BnB_n, we have Bn∉V(A)B_n\notin\mathsf V(A) and therefore Bn∉WB_n\notin\mathcal W.

Now let u≈vu\approx v be any identity of W\mathcal W involving at most nn variables. Under an arbitrary assignment of these variables in BnB_n, their values generate a subsemiring CC. Theorem 4.1 gives C∈N⊆WC\in\mathcal N\subseteq\mathcal W. Consequently the identity holds under the assignment. Thus BnB_n satisfies every identity of W\mathcal W in at most nn variables. Since Bn∉WB_n\notin\mathcal W, these identities cannot form a basis for W\mathcal W. This holds for every nn, proving infinite axiomatic rank. The finite, commutative, flat and nilpotent properties of BnB_n, and the equality of all its squares to its absorbing top, follow from its construction.

Finally, if S7∈V(A)S_7\in\mathsf V(A), then N⊆V(S7)⊆V(A)\mathcal N\subseteq\mathsf V(S_7)\subseteq\mathsf V(A). Taking W=V(A)\mathcal W=\mathsf V(A) shows that AA is nonfinitely based. Since AA was arbitrary, S7S_7 is strongly nonfinitely based, as asserted in Corollary 1.2. □

Further consequences

Equational definitions on finite nilpotent semirings

Let Fnil\mathcal F_{\mathrm{nil}} 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 AA is finite and N⊆W⊆V(A)\mathcal N\subseteq\mathcal W\subseteq\mathsf V(A). There is no set Σ\Sigma of identities with a fixed finite bound on the number of variables such that, for every B∈FnilB\in\mathcal F_{\mathrm{nil}},

B⊨Σ⟺B∈W.B\models\Sigma\quad\Longleftrightarrow\quad B\in\mathcal W.

In particular, no finite set of identities defines membership in W\mathcal{W} within Fnil\mathcal{F}_{\mathrm{nil}}.

Proof. Suppose that Σ\Sigma has the stated property, and choose n≥1n \ge1 bounding the number of variables in its identities. Take the finite semiring Bn=B(H)B_n = B(\mathcal{H}) from the proof of Theorem 1.1. It belongs to Fnil\mathcal{F}_{\mathrm{nil}} but not to W\mathcal{W}.

Every subsemiring CC of BnB_n generated by at most nn elements belongs to N⊆W\mathcal{N} \subseteq\mathcal{W}. It also belongs to Fnil\mathcal{F}_{\mathrm{nil}}. 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 BnB_n, and the same bound on lengths of nonzero products applies in CC. The assumed equivalence gives C⊨ΣC \models\Sigma. Each assignment of the variables in an identity of Σ\Sigma to BnB_n takes its values in such a subsemiring CC. Therefore Bn⊨ΣB_n \models\Sigma. The equivalence would now imply Bn∈WB_n \in\mathcal{W}, a contradiction. □

Simultaneous obstructions for semirings of bounded order

For r≥1r \ge1, let Kr\mathcal{K}_r contain one representative of every isomorphism type of ai-semiring of cardinality at most rr, and put Ur=V(Kr)\mathcal{U}_r = \mathsf{V}(\mathcal{K}_r). There are finitely many possible operation tables, so Kr\mathcal{K}_r is finite and Ur\mathcal{U}_r is generated by their finite direct product.

Theorem 9.2. For every pair of positive integers n,rn,r there exist positive integers d,L,k0d,L,k_0 with the following property. For every k≥k0k \ge k_0 and every sufficiently large NN satisfying N≡k(modL)N \equiv k \pmod L, there are a finite commutative flat semiring BB and an identity σ\sigma such that:

(1) every subsemiring of BB generated by at most nn elements belongs to N\mathcal{N};

(2) every element of BB has square zero, and its multiplicative reduct has nilpotency index exactly k+1k+1;

(3) every ai-semiring of cardinality at most rr satisfies σ\sigma, whereas BB does not;

(4) the cardinality of BB satisfies

N+2≤∣B∣≤2+(2k−2)(Nd)(kd).N+2 \le|B| \le2 + (2^k-2)\frac{\binom{N}{d}}{\binom{k}{d}}.

Here the threshold for NN may depend on kk. In particular, B∉UrB \notin\mathcal{U}_r, and for each fixed k≥k0k \ge k_0 such semirings have arbitrarily large cardinality.

Proof. Let ArA_r be the direct product of the members of Kr\mathcal{K}_r, and let MrM_r be its multiplicative reduct. Apply Lemma 6.2 to MrM_r, obtaining D,L,εD,L,\varepsilon, and put d=2D+4d=2D+4. Choose k0k_0 greater than

max⁡{d,2(d−1),n(d−1),D}.\max\{d,2(d-1),n(d-1),D\}.

Fix k≥k0k \ge k_0. The proof of Proposition 7.1 applies to every sufficiently large NN with N≡k(modL)N \equiv k \pmod L. Let H=(V,E)\mathcal{H}=(V,\mathcal{E}) be its kk-uniform hypergraph on NN vertices, and set

B=B(H),σ: tH≈tH+qH.B=B(\mathcal{H}), \qquad\sigma:\ t_{\mathcal{H}}\approx t_{\mathcal{H}}+q_{\mathcal{H}}.

Theorem 4.1 proves (1).

All nonzero elements of BB have positive degree, and degrees add in a nonzero product. No degree exceeds kk, so every product of k+1k+1 elements is zero. The product of the kk vertex elements of any block is p≠0p \ne0. Hence the nilpotency index is exactly k+1k+1. Every square is zero by the construction of BB.

The identity σ\sigma holds in P+(Mr)\mathcal{P}^{+}(M_r) and hence in ArA_r by Proposition 2.2. Each member of Kr\mathcal{K}_r is an image of ArA_r under a coordinate projection, so it satisfies σ\sigma. Its failure in BB proves (3).

For the upper cardinality estimate, every dd-element subset of VV belongs to at most one block, because distinct blocks have intersection of size less than dd. Counting pairs consisting of a block and one of its dd-element subsets gives

∣E∣(kd)≤(Nd).|\mathcal{E}|\binom{k}{d}\le\binom{N}{d}.

Before the identifications defining BB, each block contributes at most 2k−22^k-2 nonempty proper subsets. Identifying full blocks gives one element pp, and the absorbing element contributes one more. Consequently

∣B∣≤2+(2k−2)∣E∣≤2+(2k−2)(Nd)(kd).|B|\le2+(2^k-2)|\mathcal{E}|\le2+(2^k-2)\frac{\binom{N}{d}}{\binom{k}{d}}.

For the lower estimate, all NN singleton subsets are distinct ordinary elements: k>dk>d ensures that their degrees lie in the ordinary range. They are distinct from both pp and the absorbing element, giving ∣B∣≥N+2|B|\ge N+2. Finally, there are arbitrarily large integers in the required residue class, so the cardinalities are unbounded even with kk fixed. □

The bounded-order comparison in this theorem differs from [10 Proposition 4.15]. There the upper finite semirings are required to belong to N\mathcal{N}; 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 r≥3r\ge3, the variety Ur\mathcal{U}_r generated by all ai-semirings of cardinality at most rr has infinite axiomatic rank.

Proof. The finite semiring ArA_r generates Ur\mathcal{U}_r, and S7∈UrS_7\in\mathcal{U}_r for r≥3r\ge3. Hence N⊆Ur=V(Ar)\mathcal{N}\subseteq\mathcal{U}_r=\mathsf{V}(A_r), and Theorem 1.1 applies. □

Corollary 9.4. Let Tr\mathcal{T}_r be the variety generated by all ai-semirings of cardinality exactly rr. Then Tr=Ur\mathcal{T}_r=\mathcal{U}_r for every r≥1r\ge1. This variety is finitely based if and only if r≤2r\le2; for every r≥3r\ge3 it has infinite axiomatic rank.

Proof. Given an ai-semiring CC, adjoin a fresh element ⊥\bot and prescribe

c+⊥=⊥+c=c,c⊥=⊥c=⊥(c∈C∪{⊥}).c+\bot=\bot+c=c,\qquad c\bot=\bot c=\bot\quad(c\in C\cup\{\bot\}).

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 ⊥\bot, both sides are ⊥\bot; if a summand is ⊥\bot, its zero product disappears from the sum on the other side. All other cases are the original distributive laws in CC. Thus the extension is an ai-semiring of cardinality ∣C∣+1|C|+1 containing CC as a binary subsemiring. Repeating the construction embeds every ai-semiring of cardinality at most rr into one of cardinality exactly rr. Consequently Ur⊆Tr\mathcal{U}_r\subseteq\mathcal{T}_r; the reverse inclusion follows from the definitions.

For r≥3r\ge3, Corollary 9.3 gives infinite axiomatic rank. For r=1r=1, the variety is trivial and is defined by x≈yx\approx y. For r=2r=2, 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 r=3r = 3 recovers the ai-semiring part of Wang, Ju and Wang [31]. Corollary 9.4 extends this conclusion to every order r≥3r \ge3 within the class of ai-semirings.

Finite relatively free semirings

For an ai-semiring variety L\mathcal{L}, let FL(r)F_{\mathcal{L}}(r) denote its relatively free algebra on rr generators.

Corollary 9.5. Let L\mathcal{L} be a locally finite ai-semiring variety containing S7S_7. For every r≥2r \ge2, the finite semiring FL(r)F_{\mathcal{L}}(r) is strongly nonfinitely based, and its generated variety has infinite axiomatic rank.

Proof. The algebra FL(r)F_{\mathcal{L}}(r) is finite by local finiteness. The elements 1,a1, a generate S7S_7, because a2=0a^2 = 0. By the universal property, mapping the first two free generators to 1,a1, a and all remaining generators to 11 gives an onto homomorphism FL(r)→S7F_{\mathcal{L}}(r) \to S_7. Thus S7∈V(FL(r))S_7 \in V(F_{\mathcal{L}}(r)). Since N⊆V(S7)\mathcal{N} \subseteq V(S_7), Theorem 1.1 gives infinite axiomatic rank for V(FL(r))V(F_{\mathcal{L}}(r)).

If AA is any finite ai-semiring with FL(r)∈V(A)F_{\mathcal{L}}(r) \in V(A), then S7∈V(FL(r))⊆V(A)S_7 \in V(F_{\mathcal{L}}(r)) \subseteq V(A). Again Corollary 1.2 shows that AA 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 S7S_7 and gives an explicit ambient variety for the preceding corollary.

Proposition 9.6. Let L\mathcal{L} be defined by the ai-semiring axioms together with

xy≈yx,x2≈x3.xy \approx yx,\qquad x^2 \approx x^3.

Then L\mathcal{L} is finitely based and locally finite and contains S7S_7. Every FL(r)F_{\mathcal{L}}(r) with r≥2r \ge2 is a finite strongly nonfinitely based semiring. Moreover, L\mathcal{L} is not generated by a finite semiring.

Proof. The displayed description is a finite identity basis. To prove local finiteness, fix r≥1r \ge1 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 x2≈x3x^2 \approx x^3 reduces every exponent greater than two to two. Thus there are at most 3r−13^r - 1 possible nonempty words, corresponding to exponent vectors in {0,1,2}r∖{(0,…,0)}\{0,1,2\}^r \setminus\{(0,\ldots,0)\}. Commutativity and idempotence of addition reduce a polynomial to the sum of a nonempty subset of these words. It follows that

∣FL(r)∣≤23r−1−1.|F_{\mathcal{L}}(r)| \le2^{3^r-1} - 1.

Every rr-generated member is an image of FL(r)F_{\mathcal{L}}(r), so L\mathcal{L} is locally finite. The tables of S7S_7 show that its multiplication is commutative and that x2=x3x^2 = x^3 for each of its three elements. Hence S7∈LS_7 \in\mathcal{L}. Corollary 9.5 applies to all r≥2r \ge2.

If L=V(A)\mathcal{L} = V(A) for a finite semiring AA, then Corollary 1.2 would make L\mathcal{L} nonfinitely based, contrary to its defining finite basis.

In particular, S7S_7 is strongly nonfinitely based but is not inherently nonfinitely based.

Naming neutral elements

Write V1V_1 for generated varieties of unital ai-semirings in {+,⋅,1}\{+,\cdot,1\}, V0V_0 for generated varieties in {+,⋅,0}\{+,\cdot,0\} satisfying

x+0≈x,x0≈0x≈0x+0\approx x,\qquad x0\approx0x\approx0

and V0,1V_{0,1} for generated varieties in {+,⋅,0,1}\{+,\cdot,0,1\} satisfying both sets of neutral-element laws.

For an ai-semiring CC, recall that C⊥C^\perp is obtained by adjoining a new element ⊥\perp, with

c+⊥=⊥+c=c,c⊥=⊥c=⊥(c∈C⊥).c+\perp=\perp+c=c,\qquad c\perp=\perp c=\perp\quad(c\in C^\perp).

The symbol 00 is interpreted by ⊥\perp. Thus S7⊥S_7^\perp is the usual four-element extension S70S_7^0. Its named additive zero is different from the absorbing top of its three-element subsemiring S7S_7. 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 CC has an absorbing top zz with z2=zz^2=z, then C⊥C^\perp has the two distinct multiplicative idempotents z,⊥z,\perp. Its multiplicative reduct is therefore not nilpotent, even when that of CC 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 C∈V(S7)C\in\mathop{\mathrm{V}}(S_7), then C⊥∈V0(S7⊥)C^\perp\in\mathop{\mathrm{V}}_0(S_7^\perp). If instead C∈V1(S7)C\in\mathop{\mathrm{V}}_1(S_7), then C⊥∈V0,1(S7⊥)C^\perp\in\mathop{\mathrm{V}}_{0,1}(S_7^\perp).

Proof. In the first case, Birkhoff’s theorem provides a subalgebra D≤S7ID\leq S_7^I and an onto homomorphism h:D→Ch:D\to C. We may take II nonempty, using the representation of a relatively free algebra by term functions if necessary. Inside (S7⊥)I(S_7^\perp)^I, the algebra D∪{⊥I}D\cup\{\perp^I\} is isomorphic to D⊥D^\perp: its new tuple is an additive identity and multiplicative zero. The map hh extends to an onto homomorphism to C⊥C^\perp 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 CC is flat with absorbing top zz and every element has square zz, its flat unit adjunction, when it is an ai-semiring, is denoted by C1C^1. It is obtained by adjoining a new multiplicative identity 11 and stipulating 1+c=z1+c=z for c∈Cc\in C.

Lemma 10.2. Suppose that CC is a flat member of V(S7)\mathop{\mathrm{V}}(S_7) and every square in CC equals its absorbing top zz. Then C1C^1 is an ai-semiring and C1∈V1(S7)C^1\in\mathop{\mathrm{V}}_1(S_7).

Proof. If C={z}C=\{z\}, then C1C^1 is isomorphic to the unital subalgebra {1,0}\{1,0\} of S7S_7. Assume that CC is nontrivial. Choose an onto homomorphism h:D→Ch:D\to C with D≤S7ID\leq S_7^I and I≠∅I\neq\varnothing, and let ee be the constant tuple 11. If e∈De\in D, then h(e)h(e) is a multiplicative identity of CC and is idempotent. The square condition forces h(e)=zh(e)=z, and then every c∈Cc\in C satisfies c=h(e)c=zc=zc=h(e)c=zc=z, a contradiction. Thus e∉De\notin D. The identity 1+x=x21+x=x^{2} holds in S7S_{7} when its unit is named. It follows that e+d=d2∈De+d=d^{2}\in D for d∈Dd\in D, while ed=de=ded=de=d. Hence D∪{e}D\cup\{e\} is a unital subalgebra of S71S_{7}^{1}. Extend hh by sending ee to the new element 11 of C1C^{1}. For d∈Dd\in D the image of e+d=d2e+d=d^{2} is h(d)2=z=1+h(d)h(d)^{2}=z=1+h(d), so mixed sums are preserved. Mixed products are preserved because both added elements are units, and the operations on DD are preserved by hh. The extension is onto the prescribed algebra C1C^{1}, proving that C1C^{1} is an ai-semiring and belongs to V1(S7)\mathrm{V}_{1}(S_{7}). □

Lemma 10.3. The flat unit adjunction B(H)1B(\mathcal{H})^{1} is an ai-semiring. If every at most nn-generated subsemiring of B(H)B(\mathcal{H}) belongs to V(S7)\mathrm{V}(S_{7}), then every at most nn-generated unital subalgebra of B(H)1B(\mathcal{H})^{1} belongs to V1(S7)\mathrm{V}_{1}(S_{7}).

Proof. The multiplicative semigroup of B(H)B(\mathcal{H}) is 0-cancellative. After adjoining a unit, the only possible new cancellation failure with a nonzero common value would give xb=xxb=x with nonzero x,b∈B(H)x,b\in B(\mathcal{H}). However, a nonzero product satisfies deg⁡(xb)=deg⁡(x)+deg⁡(b)>deg⁡(x)\deg(xb)=\deg(x)+\deg(b)>\deg(x). 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 nn generators of B(H)1B(\mathcal{H})^{1}. If they all equal 11, the generated unital subalgebra is {1}\{1\}. Otherwise let CC be the binary subsemiring generated by those lying in B(H)B(\mathcal{H}). It contains the absorbing top, since it contains a square. Multiplication by 11 gives no new element, and addition to 11 gives that top. Thus the unital subalgebra in question is C1C^{1}. The hypothesis gives C∈V(S7)C\in\mathrm{V}(S_{7}), and Lemma 10.2 gives C1∈V1(S7)C^{1}\in\mathrm{V}_{1}(S_{7}). □

Theorem 10.4. The unital semiring S7S_{7} is strongly nonfinitely based in {+,⋅,1}\{+,\cdot,1\}. The semiring S71S_{7}^{1} is strongly nonfinitely based in each of {+,⋅,0}\{+,\cdot,0\} and {+,⋅,0,1}\{+,\cdot,0,1\}, with the indicated neutral elements named. In each case, if KK denotes this small algebra and AA is a finite ai-semiring with the indicated neutral elements and with K∈V(A)K\in\mathrm{V}(A), every variety between V(K)\mathrm{V}(K) and V(A)\mathrm{V}(A) has infinite axiomatic rank. Here all generated varieties and inclusions are taken in the corresponding signature with constants.

Proof. Fix n≥1n\geq1 and a finite ai-semiring AA with the indicated neutral elements in one of the three signatures. Apply Proposition 7.1 to its multiplicative reduct MM, and put

B=B(H),σ=(tH≈tH+qH).B=B(\mathcal{H}),\qquad\sigma=(t_{\mathcal{H}}\approx t_{\mathcal{H}}+q_{\mathcal{H}}).

First consider {+,⋅,1}\{+,\cdot,1\}. Equip P+(M)\mathcal{P}^{+}(M) with the named identity {1A}\{1_{A}\}. The map X↦∑XX\mapsto\sum X is an onto unital homomorphism to AA, so A⊨σA\models\sigma. Use B1B^{1} as the finite algebra violating σ\sigma. The same assignment of vertex elements as in BB gives this violation, because BB is a binary subsemiring of B1B^{1} and σ\sigma has no constants. By Lemma 10.3, every at most nn-generated unital subalgebra belongs to V1(S7)\mathrm{V}_{1}(S_{7}).

Next consider {+,⋅,0}\{+,\cdot,0\}. Use the full power semiring P(M)\mathcal{P}(M) with named zero ∅\varnothing. The identity σ\sigma holds there. When all variable values are nonempty, this is Proposition 7.1; if a variable has value ∅\varnothing, then qHq_{\mathcal{H}} has value ∅\varnothing, since it contains every variable, so the identity is automatic. The map X↦∑XX\mapsto\sum X, with the empty sum interpreted as 0A0_{A}, is an onto homomorphism preserving the named zero. Consequently A⊨σA\models\sigma. The finite algebra B⊥B^{\perp} still violates σ\sigma under the vertex assignment. A subalgebra generated by at most nn elements is either {⊥}\{\perp\} or C⊥C^{\perp}, where CC is the binary subsemiring of BB generated by its non-⊥\perp generators. This description follows from the neutral and absorbing laws for ⊥\perp. Since C∈V(S7)C \in\mathsf{V}(S_{7}), Lemma 10.1 gives C⊥∈V0(S7⊥)C^{\perp} \in\mathsf{V}_{0}(S_{7}^{\perp}).

Finally, consider {+,⋅,0,1}\{+, \cdot, 0, 1\}. Name both ∅\varnothing and {1A}\{1_A\} in P(M)\mathcal{P}(M). The same homomorphism preserves both constants, so A⊨σA \models\sigma. Use (B1)⊥(B^{1})^{\perp} as the finite algebra violating σ\sigma. An at most nn-generated subalgebra is obtained by taking the unital subalgebra of B1B^{1} generated by the non-⊥\perp generators and adjoining ⊥\perp. If there are no such generators, the unital subalgebra is {1}\{1\}. Lemmas 10.3 and 10.1 show that the resulting subalgebra belongs to V0,1(S7⊥)\mathsf{V}_{0,1}(S_{7}^{\perp}).

In each case, let KK be the small algebra in the statement and let V(K)⊆W⊆V(A)\mathsf{V}(K) \subseteq\mathcal{W} \subseteq\mathsf{V}(A) in the relevant signature. The constructed finite algebra satisfies all identities of W\mathcal{W} in at most nn variables: the values in any assignment generate a subalgebra in V(K)⊆W\mathsf{V}(K) \subseteq\mathcal{W}. It does not belong to W\mathcal{W}, because it fails σ\sigma, which holds in AA. As nn is arbitrary, W\mathcal{W} has infinite axiomatic rank. Taking W=V(A)\mathcal{W}=\mathsf{V}(A) proves strong nonfinite basability in each of the three signatures. □\square

Appendix A. Finite bases and the number of variables

For finite algebras in the signature {+,⋅}\{+, \cdot\}, finite axiomatic rank is equivalent to finite basability. We include the proof of this standard fact.

Proposition A.1. Let AA be a finite ai-semiring. If all identities of AA follow from its identities in at most nn variables, for some positive integer nn, then AA has a finite identity basis. Conversely, a finite identity basis gives such a bound on the number of variables.

Proof. Let FnF_n be the set of nn-ary term functions of AA. This set is finite, since its elements are maps An→AA^n \to A. For each f∈Fnf \in F_n, choose a representing term tf(x1,…,xn)t_f(x_1,\ldots,x_n). Let πi\pi_i denote the iith projection. Consider the finite set Σn\Sigma_n consisting of

xi≈tπi(1≤i≤n)x_i \approx t_{\pi_i} \qquad(1 \leq i \leq n)

and

tf∘tg≈tf∘g(f,g∈Fn,∘∈{+,⋅}),t_f \circ t_g \approx t_{f\circ g} \qquad(f,g \in F_n,\quad\circ\in\{+,\cdot\}),

where f∘gf \circ g is the pointwise operation on term functions. All these identities hold in AA.

Induction on the formation of a term tt proves Σn⊢t≈t^\Sigma_n \vdash t \approx\hat{t}, where t^\hat{t} is the term function induced by tt. Thus, if u≈vu \approx v is an identity of AA in the variables x1,…,xnx_1,\ldots,x_n, then u^=v^\hat{u}=\hat{v} and Σn⊢u≈v\Sigma_n \vdash u \approx v. Renaming variables shows that Σn\Sigma_n implies every identity of AA in at most nn variables. Under the hypothesis, it is therefore a finite basis for Id⁡(A)\operatorname{Id}(A).

Conversely, the maximum number of variables occurring in a finite basis gives the required bound. □\square

Since the ai-semiring axioms form a finite set, finite basability relative to ai-semirings and finite basability in the signature {+,⋅}\{+, \cdot\} 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. [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. [2]S. Burris and H. P. Sankappanavar, A Course in Universal Algebra, Graduate Texts in Mathematics, vol. 78, Springer-Verlag, New York, 1981.
  3. [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. [4]I. Dolinka, A nonfinitely based finite semiring, Internat. J. Algebra Comput. 17 (2007), 1537–1551.DOI
  5. [5]I. Dolinka, A class of inherently nonfinitely based semirings, Algebra Universalis 60 (2009), 19–35.DOI
  6. [6]I. Dolinka, A remark on nonfinitely based semirings, Semigroup Forum 78 (2009), 368–373.DOI
  7. [7]I. Dolinka, The finite basis problem for endomorphism semirings of finite semilattices with zero, Algebra Universalis 61 (2009), 441–448.DOI
  8. [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. [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. [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. [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. [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. [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. [14]L. Ham and M. Jackson, Axiomatisability and hardness for universal Horn classes of hypergraphs, Algebra Universalis 79 (2018), article 30.DOI
  15. [15]M. Jackson, Flat algebras and the translation of universal Horn logic to equational logic, J. Symbolic Logic 73 (2008), 90–128.DOI
  16. [16]M. Jackson, Low growth equational complexity, Proc. Edinb. Math. Soc. 62 (2019), 197–210.DOI
  17. [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. [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. [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. [20]R. McKenzie, Tarski’s finite basis problem is undecidable, Internat. J. Algebra Comput. 6 (1996), 49–104.DOI
  21. [21]R. J. Parikh, On context-free languages, J. ACM 13 (1966), 570–581.DOI
  22. [22]P. Perkins, Bases for equational theories of semigroups, J. Algebra 11 (1969), 298–314.DOI
  23. [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. [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. [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. [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. [27]V. Yu. Shaprynskiĭ, Semiring identities of the semigroup B_0, Semigroup Forum 109 (2024), 693–705.DOI
  28. [28]V. Yu. Shaprynskiĭ, Semiring identities in the semigroup B_2, preprint, arXiv:2604.01706 (2026). https://arxiv.org/abs/2604.01706.
  29. [29]A. W. To, Parikh images of regular languages: complexity and applications, preprint, arXiv:1002.1464 (2010). https://arxiv.org/abs/1002.1464.
  30. [30]M. V. Volkov, Semiring identities of the Brandt monoid, Algebra Universalis 82 (2021), article 42.arxiv.org/abs/2103.06077
  31. [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. [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. [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. [34]M. Y. Yue, The finite basis problem for all subvarieties of the variety V(S⁰₇), unpublished manuscript, 22 pp.
  35. [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. [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. [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. [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. [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. [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

Paper details

vlnc:W_t2n4augm
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents