1. Introduction
As a natural generalization of modules over rings, the semimodules over semirings have been extensively investigated in the literature. The study of their structures has fundamental significance for understanding linear systems over semirings, matrix theory, and the design of corresponding algorithms (see, e.g., [1]-[5]). In semimodule theory, the study of bases has always been a core problem. A semimodule is said to be free if every element of the semimodule can be uniquely linearly represented by a generating set, which is called a free basis. In 2014, Shu [6], Tan [7] proved that for free semimodules over a commutative semiring
, all free bases share the same cardinality, which equals the minimum cardinality of any generating set; moreover, every basis with the minimum cardinality is a free basis. In 2016, Tan [8] showed that
cannot be generated by fewer than
elements. However, this conclusion does not necessarily hold for noncommutative semirings. In 2025, Shu [9] discussed the cardinality of free semimodules over noncommutative semirings. In the same year, Shu [10] also explored the properties of semirings with invariant basis number (IBN). So interesting problems appear: over what class of semirings do there exist free semimodules admitting free bases of varying cardinalities? And is a basis of minimum cardinality necessarily not a free basis?
This paper focuses on semimodules with a free basis of cardinality 2. The main problem addressed is: over which semirings can such semimodules have a basis of cardinality 1? To answer this question, we characterize the conditions that a semiring must satisfy when a semimodule with a free basis of cardinality 2 admits a basis of cardinality 1. Furthermore, we construct explicit examples of such semirings via congruences, which confirms that such semirings are structurally existent rather than purely vacuous abstract assumptions. In addition, we examine the freeness of bases of cardinality 1 in this class of semimodules. We prove that
is a free basis of
if and only if
. This result provides an algebraic criterion for the transition from free bases of cardinality 2 to those of cardinality 1, and reveals the intrinsic connection between the corresponding combinatorial invertibility conditions in semirings and the properties of free bases.
The paper is organized as follows. Section 2 presents some basic concepts and preliminaries used throughout the paper. Section 3 investigates the form of semirings in which a semimodule with a free basis of cardinality 2 admits a basis of cardinality 1, provides the corresponding congruence construction, and further discusses the freeness of the basis of cardinality 1.
2. Definition
We present some necessary definitions definitions in this section. For more details, we refer the reader to Refs. [8] [11] [12] and references therein. For notational convenience, we denote by
the set of all positive integers, and by
the set
for
in
.
Definition 2.1 [9] [11] A semiring is a nonempty set
on which equipped with two binary operations of addition and multiplication, satisfying the following axioms:
1)
is a commutative monoid;
2)
is a monoid;
3) The equalities
and
hold for all
;
4)
holds for all
;
5)
.
A semiring S is called commutative if
for all
.
Example 2.2 [11] Consider the set of all binary relations on a fixed set
,
on which two operations have been defined. The addition is given by the union of relations:
. The multiplication is given by the composition of relations:
. Define the special elements: Additive identity
which is the empty relation; Multiplicative identity
which is the identity relation on
.
It is easy to verify that
satisfies the definition of a semiring. This semiring is called the relation semiring, which is also referred to as the semiring of relation algebras. Taking
, we obtain the infinite‑element relation semiring
.
Definition 2.3 [11] Let
and
be semirings. A map
is called a semiring homomorphism if and only if for all
, the following hold:
The kernel of a semiring homomorphism
is defined as
Definition 2.4 [10] A commutative monoid
together with a scalar multiplication
from
to
is a left semimodule over a semiring
(a left
-semimodule) if and only if the following identities hold for all
in
and
in
:
1)
;
2)
;
3)
;
4)
;
5)
.
Similarly, we have the definition of a right
-semimodule. Semimodules are also called semilinear spaces in some literatures, see, e.g., [6] [12].
In what follows, unless otherwise stated,
-semimodules always mean left semimodules.
Definition 2.5 [8] Let A be a nonempty subset of an S-semimodule M. If every element of M can be expressed as a linear combination of elements from A, then A is called a generating set of M. If for each
,
cannot be expressed as a linear combination of the remaining elements of A, then A is called a basis of M. If every element of M has a unique representation as a linear combination of elements of A, then A is called a free basis of M. A generating set consisting of a single element is still called a basis of M.
Example 2.6 [9] Let S be a semiring. For each
, let
where
denotes the transpose of
. Define
for all
,
and all
. Then
is an S-semimodule, where the zero element
.
When
,
is an S-semimodule, and
is a free basis of
.
3. Main Results
In what follows, we discuss whether there exists a semiring S such that the S-semimodule M has a free basis of cardinality 2 and also admits a basis of cardinality 1.
Lemma 3.1 [9] Let
and
be two free S-semimodules. Then
if and only if there exist free bases with the same cardinality in
and
, separately.
By Lemma 3.1, we know that for an S-semimodule M, if M has a free basis of cardinality n, then M is isomorphic to the semimodule
. Therefore, the semimodule
considered below is of general significance.
Theorem 3.2 In the S-semimodule
, the singleton
is a basis of
if and only if there exist
satisfying
and
.
Proof. In the semimodule
, there exist
such that
and
if and only if
This holds if and only if the vectors
and
can be expressed as linear combinations of
, which is equivalent to that
is a basis of
.
Theorem 3.3 Let
be a finite set equipped with binary operations of addition and multiplication, where 0 is the additive zero element and 1 is the multiplicative identity element. If exist
satisfy
then S cannot form a semiring.
Proof. Define a set theoretic map
, by
. For any
, we have
so
is surjective. Since
is a finite set, every surjective map is injective.
Direct computation gives
By the injectivity of
, we obtain
. Combining with the condition
, we deduce that
.
Substituting into
, we get
which contradicts
.
In what follows, we first construct an infinite semiring by means of the universal property, and then impose a congruence relation on the quotient set satisfies the equalities
,
. In this way we obtain the desired quotient semiring.
Start with the set
. Define the multiplication for the generated semiring by concatenation of strings over this set, and adjoin the empty string 1 representing the multiplicative identity. For example,
. In this manner, the set
generates a multiplicative monoid G.
Take all finite formal sums of elements in the monoid G, and denote the enlarged set by
. That is, every
can be written as
The addition and multiplication on
are defined as follows:
Addition: Formal addition, which is commutative and associative. The additive zero element 0 is the empty sum.
Multiplication: Expand by the distributive law, and perform string concatenation from the monoid for each term:
The set E equipped with such addition and multiplication is exactly the semiring generated by the generating set
.
Remark 3.4 In the semiring E, only equalities derivable from the definition of a semiring hold. Two formal sums whose equality cannot be derived from the definition are regarded as distinct elements in E. For example, we do not have
,
, and so on. Therefore, if
, we have
and
. In the semiring E at this stage,
is merely a monomial obtained by concatenation and is not equal to 1; similarly,
is not equal to 0.
To satisfy the requirements of Proposition 3.2, we now introduce a semiring congruence relation to enforce the desired equalities, and construct the quotient semiring via this congruence relation.
Within
, we first set
We construct the set R as follows. First, we require
. Next, R is closed under addition and multiplication: for all
and
, we have
,
,
,
. Finally, for every
, we add
to R; for every
, we add
to R; and for any
, we add
to R.
Proposition 3.5 The relation R constructed by the above procedure is the smallest semiring congruence containing
.
Proof. First, the construction of R guarantees that R is an equivalence relation. Let
,
. Then we have
and
. By transitivity,
. Similarly, we obtain
. Hence R satisfies the conditions for a semiring congruence: it is an equivalence relation compatible with addition and multiplication. Therefore, R is a semiring congruence on E.
Let
Take arbitrary
, i.e.,
is a semiring congruence on
with
. Clearly, for all
and all
, we have
This shows that every semiring congruence containing
must contain R. Consequently, R is the smallest semiring congruence containing
.
Denote the equivalence classes by
and let
be the multiplicative identity and
be the additive zero element of the quotient semiring.
Verify the conditions under the operations on the quotient semiring:
Since the semiring E is generated by
, the quotient semiring S is naturally generated by
. Thus the quotient semiring
is a semiring satisfying all the required conditions.
Now arises a critical question: whether the quotient semiring forces the equality
? To answer this question, we have the following proposition.
Theorem 3.6 Let E be the semiring generated by the elements
as described above. Denote the natural projection by
. For any semiring
, if
is a semiring homomorphism satisfying
then there exists a unique semiring homomorphism
such that the diagram commutes:
(see Figure 1).
Figure 1. Commutative diagram.
Proof. By the definition of the natural projection, for each
, there exists some
with
. Define the map
For the homomorphism
, we have the base relation pairs:
Clearly,
holds for all
. Since R is the smallest semiring congruence containing
, and
is a semiring congruence containing
, we obtain
. Consequently,
for every
. Therefore, for any
, if
satisfy
, then
, which yields
. This shows that there exists a unique element
such that
, so the map
is well-defined.
We now verify that
is a semiring homomorphism and that the diagram commutes.
Take arbitrary
and set
. Then
Let
. There exist
such that
,
. Since
preserves addition and
is a semiring homomorphism,
Moreover,
Hence
is a semiring homomorphism that makes the diagram commute.
Now suppose there is another semiring homomorphism
satisfying
. For any
, there exists
such that
. Then
Since s is arbitrary,
. That is, the homomorphism
making the diagram commute is unique.
Thus the universal property holds.
By Proposition 3.6, suppose that
holds in the semiring S. Then
This contradicts the fact that F is a semiring. Therefore, as long as we can find a semiring F satisfying the given equalities, we must have
in
.
Example 3.7 Let
be the semiring of binary relations on
. Clearly,
. Take the following elements in F:
Recall that the relational multiplication is defined as
For every
, set
and
. Then
.
Similarly,
. When computing
(or
), for any
there exists no
such that
and
(or
and
). Consequently,
and
.
Define the homomorphism
by
We obtain
Thus F satisfies the required conditions. From the commutative-diagram argument, we conclude that
holds in
.
In fact, every binary relation is isomorphic to a Boolean matrix. Consider the set U of infinite-dimensional Boolean matrices whose entries are either 0 or 1, with at most finitely many ones in each row and each column. Matrix addition on U is given by
, and matrix multiplication
is defined by
. That is, addition corresponds to logical OR and multiplication corresponds to logical AND. The zero element is the zero matrix O, and the multiplicative identity is the identity matrix I, where
and all other entries are 0. One can verify that U is a semiring, called the infinite-dimensional Boolean matrix semiring.
Take four matrices in U:
We have
This shows that the infinite-dimensional Boolean matrix semiring U is also a semiring satisfying the conditions.
The quotient semiring we constructed is an abstract construction based on the existence provided by the universal property. It is an infinite semiring, so we cannot write down an exhaustive list of its elements. In contrast to finite semirings, for the infinite quotient semiring S, the map
is surjective but not injective. There may exist two distinct elements d and bc such that
. This does not force
.
By Proposition 3.2, the vector
is a basis of
. But is
a free basis of
?
Theorem 3.8 Let S be a semiring, and suppose that there exist elements
in S such that
and
. In the semimodule
, if
such that
, then
is a free basis of
.
Proof. Suppose
satisfy
, i.e.
Multiply both sides of (1) on the right by
to obtain
. Multiply both sides of (2) on the right by
to obtain
. Add the two equalities and then multiply both sides on the right by
:
Hence
, so
is a free basis.
Theorem 3.9 Let S be a semiring, and suppose that there exist elements
in S such that
and
. In the semimodule
,
is a free basis of
if and only if
.
Proof. Consider
. We compute:
When
, the condition of Proposition 3.8 is satisfied, so
is a free basis of
.
When
, there exist distinct elements
and 1 such that
. That is,
admits at least two distinct representations. Therefore
is not a free basis of
.
It should be noted that if
, then there do not exist
satisfying
; otherwise we would get a contradiction to the fact that
is not a free basis.
In our constructed quotient semiring
, one cannot deduce
from the given hypotheses. Thus in general
in
is a non-free basis of cardinality one. Nevertheless, the following example shows that semirings with
also exist.
Example 3.10 In the relation semiring
from Example 3.7, we have
Here ca is the identity relation on even numbers and db is the identity relation on odd numbers. Hence
, so
is a free basis of
.
Now within
, set
One can easily verify that
and
. Consequently, for every
, we have
. Moreover,
Thus
(since
is not contained in
). Therefore
is not a free basis of
.
This illustrates that the semimodule
over the relation semiring F possesses both free bases of cardinality one and non-free bases of cardinality one.
4. Conclusions
This paper investigates when the semimodule
admits a singleton basis. We characterize necessary-and-sufficient conditions on S and prove that such semirings must be infinite. Constructing a congruence over the free semiring generated by
yields an infinite quotient semiring, whose non-triviality is confirmed via the relation semiring
. We also obtain the criterion that
is a free basis of
if and only if
. Our examples show that
over a fixed semiring may possess both free and non-free singleton bases.
For commutative semirings, free semimodules have free bases of fixed cardinality, and every minimal generating set is a free basis. These properties fail in the non-commutative setting: one semimodule can simultaneously carry a cardinality-2 free basis and a cardinality-1 basis, so ordinary singleton bases must be distinguished from free ones. This reveals essential distinctions among ring-module theory, commutative-semiring semimodule theory and non-commutative-semiring semimodule theory, and our results enrich the basis theory for non-commutative semimodules. Future work may consider free semimodules whose free basis has cardinality
, and explore conditions for the existence of bases with different cardinalities in higher-dimensional cases.
Acknowledgements
Sincere thanks to the members of JAMP for their professional performance, and special thanks to managing editor Emily Lee for a rare attitude of high quality.
Author Contributions
Conceptualization, Li J. and Zhang X.J.; methodology, Li J.; validation, Li J. and Zhang X.J.; formal analysis, Li J.; investigation, Li J.; writing—original draft preparation, Li J.; writing—review and editing, Li J. and Zhang X.J.; visualization, Li J.; supervision, Li J.; project administration, Li J. and Zhang X.J. All authors have read and agreed to the published version of the manuscript.
Funding
Sponsored by the Mathematics and Finance Research Center, Key Research Base of the Social Science Federation of Dazhou City (Grant Nos. SCMF202308, SCMF202310).