1. Introduction
Computable algebra (or effective algebra) is a research area that explores the effective aspects of algebraic objects and algebraic constructions by methods of computability theory [
1,
2,
3], where computability theory is a branch of mathematical logic that uses tools and techniques to examine the computational complexity of problems for computable structures (e.g., [
4,
5]). For special structures like groups, a lot of fruitful work has been carried out; refer to [
6,
7,
8,
9,
10]. For instance, Downey and Montalbán proved in [
8] that the isomorphism problem for torsion-free abelian groups is
-complete; Riggs proved in [
10] that the index set of computable decomposable torsion-free abelian groups of infinite rank and of finite rank is
-complete and
-complete, respectively. For a survey of studying computable abelian groups, we refer to Melnikov [
11]. Compared with the research on computable abelian groups, computable rings, or even computable modules, are less studied in the literature. For the work on computable rings, Downey, Lempp, and Mileti constructed a computable commutative ring whose Jacobson radical is
-complete in [
12]; Conidis further investigated the complexity of radicals of rings and modules, constructing a computable noncommutative ring whose prime radical is
-complete in [
13] and a computable module over a computable ring whose radical is
-complete in [
14].
The method of computability theory has also been widely applied to study reverse mathematics [
15,
16], where reverse mathematics is a branch of mathematical logic that mainly examines the proof-theoretic strength of mathematical problems. We have already studied the complexity of radicals and socles of modules from the viewpoint of reverse mathematics in [
17]; for instance, the reverse mathematics result on the socles of modules implies the existence of a computable abelian group such that the socle of it is
-complete. Motivated by the work on effective aspects of problems on abelian groups and on rings, we are interested in studying the computational complexity of the algebraic properties of rings and modules. For instance, we further studied the complexity of socles of modules by methods of computability theory in [
18].
Definition 1. A ring with domain is computable if R is a computable set, , and are computable functions.
Similar to the study in computable abelian groups and in computable structure theory, we often study the complexity of computable rings possessing a specified property
by applying the index set method of computability theory. More specifically, we first encode the problem for computable rings satisfying
by a special subset of natural numbers, namely, the index set of computable rings satisfying
(to be defined in
Section 2), and then examine the computational complexity of the corresponding index set. More recently, in [
19], we conducted the study on the complexity of the decomposability problem of computable rings by the index set method; in particular, we proved that the index set of computable decomposable rings is
-complete within the index set of computable rings.
Semiperfect rings form a significant class of rings in noncommutative algebra, and the theory of such rings is closely connected with homological algebra. For an algebraic background on semiperfect rings, we refer to Chapter 8 of Lam’s book [
20]. In this paper, rather than dealing with general rings, we concentrate on the small class of semiperfect rings and investigate the computational complexity of typical subclasses of semiperfect rings, such as semisimple rings and local rings. More precisely, similar to the study of the decomposability problem of computable rings in [
19], our aim here is to determine the exact complexity of subclasses of computable semiperfect rings within the whole class of computable rings.
In the following, we only focus on countable rings with identity and mainly consider the index sets of three kinds of rings, namely, semisimple rings, local rings, and semiperfect rings.
1.1. Semisimple Rings
Semisimple rings can be defined in a ring-theoretic way as finite direct products of simple left artinian rings, where a ring R is simple if for any nonzero , the two-sided ideal of R generated by r equals R itself; R is left artinian if for any descending chain of left ideals of R, there is a number N such that for all . Since sequences of left ideals can be encoded by a set, this ring-theoretic definition quantifies over sets, and thus, it is analytic. On the other hand, semisimple rings can be defined in a module-theoretic way. A nonzero R-module S is simple if for any nonzero , S is generated by x, i.e., .
Definition 2. A ring R is semisimple if the left regular module is a finite direct sum of simple submodules.
Decomposing a semisimple ring
R as a finite direct sum of simple submodules is equivalent to expressing the identity as
with
pairwise orthogonal nonzero irreducible idempotents, where an idempotent
e is
irreducible if
is a simple
R-module. Then, computable semisimple rings can be described by
formulas, and the index set of computable semisimple rings is
within the index set of computable rings (to be proved in
Section 2).
The index set
of finite computably enumerable (c.e. for short) sets is
-complete. In
Section 3, we construct a uniformly computable sequence
of computable rings such that
if and only if
is a semisimple ring, obtaining the following lower bound on the complexity of semisimple rings:
Currently, we are unable to prove the following conjecture on the exact complexity of semisimple rings and leave the challenging question open.
Conjecture 1. The index set of computable semisimple rings is -complete within the index set of computable rings.
Since the index set of cofinite c.e. sets is a typical -complete set, to prove Conjecture 1, we need to construct a uniformly computable sequence of computable rings such that if and only if is semisimple for all e. Currently, we do not know how to strengthen the -completeness construction developed here to the more complicated -completeness construction. This is the main obstacle for us to prove the conjecture.
1.2. Local Rings
In algebra texts [
20,
21], commutative local rings often refer to rings possessing a unique maximal ideal, while noncommutative local rings often refer to rings possessing a unique maximal left ideal. Such definitions for local rings are analytic. However, using equivalent characterizations of local rings via properties of invertible elements, we can define local rings in an arithmetic way as follows.
Definition 3. A ring R not necessarily commutative is local if for any non-left invertible elements , the sum is not left invertible.
Fields are natural examples of commutative local rings, where a commutative ring
R is a
field if for any nonzero
, there is a
, such that
. In general, according to Definition 3, computable local rings can be described by
formulas, i.e., formulas of the form
with
containing only bounded number quantifiers (see Proposition 2 in
Section 2 for more details).
In
Section 4, we show that the
complexity for local rings is optimal by proving the following:
Since a domain (i.e., a commutative ring with no zero divisors) is semisimple if and only if it is a field, our proof of the result on local rings in
Section 4 also implies that
This reveals that the complexity of computable semisimple domains lies exactly in of the arithmetic hierarchy.
1.3. Semiperfect Rings
Similar to the study of semisimple rings and local rings above, we continue to study more generalized semiperfect rings. In algebra texts such as Lam’s book [
20], semiperfect rings are often defined based on semisimple rings and the Jacobson radicals of rings. That is, a ring
R is semiperfect if the quotient ring
is semisimple and idempotents of
can be lifted to
R, where
is the Jacobson radical of
R. On the other hand, based on an equivalent characterization of semiperfect rings in terms of local idempotents (see Theorem 23.6, [
20]), we can define semiperfect rings in a much simpler way as follows. An idempotent
is
local if
is a local ring with identity
e.
Definition 4. A ring R is semiperfect if the identity can be written as a sum of mutually orthogonal local idempotents.
Semisimple rings and local rings are natural examples of semiperfect rings. Based on the definition of local rings, semiperfect rings can be described by formulas, and the index set of computable semiperfect rings is . Furthermore, our proofs of the results for semisimple rings and local rings also imply corresponding results for semiperfect rings. That is, the index set of computable semiperfect rings is both -hard and -hard within the index set of computable rings. We leave the following conjecture on the exact complexity of semiperfect rings open.
Conjecture 2. The index set of computable semiperfect rings is -complete within the index set of computable rings.
Similar to the study of semisimple rings, to prove Conjecture 2, we may use the index set of cofinite c.e. sets and construct a uniformly computable sequence of computable rings such that if and only if is semiperfect for all e. Then, the -complete set is reducible to the index set of computable semiperfect rings, and then the latter set is -complete.
The remaining part is organized as follows. In
Section 2, we review necessary notions in computability theory and define the index set of subclasses of computable rings; in particular, we construct an enumeration of computably enumerable sets. In
Section 3, we study the complexity of semisimple rings and prove the main complexity result based on the particular enumeration of computably enumerable sets. In
Section 4, we prove the complexity result of computable local rings. Finally, we conclude this study of the complexity of subclasses of computable semiperfect rings in
Section 5.
2. Preliminaries
In this section, we review necessary notions in computability theory [
1,
2,
3].
A function with A a subset of is partial computable if there is a Turing program that returns for any input . Based on the listing of all Turing programs, partial computable functions are often listed as , where is the function computed by the e-th Turing program. Partial computable functions with domain are total computable (or simply, computable) functions. The characteristic function of a set is defined as if and 0 otherwise. A set A is computable if is a computable function.
A set is arithmetic if it can be defined by a formula with only number quantifiers. According to the appearance of number quantifiers in formulas, arithmetic sets can be divided into subclasses. Let .
- (1)
A is if it is defined by a formula with bounded number quantifies.
- (2)
For each , A is if it is defined by arithmetic formulas of the form , where is a formula, Q is ∃ if n is odd and ∀ if n is even.
- (3)
For each , A is if it is defined by arithmetic formulas of the form , where is a formula, Q is ∀ if n is odd and ∃ if n is even.
For example, formulas are formulas of the form with only containing bounded number quantifiers. The symbols , also stand for the class of , sets, respectively.
For two subsets of , the set A is many-one reducible (or m-reducible) to B if there is a computable function such that if and only if , denoted by . For a complexity class such as or , we view the following m-complete sets as the hardest sets in the class under m-reducibility.
Definition 5. For a complexity class Γ, a set B is called m-complete Γ (or simply Γ-complete) if , and A is m-reducible to B for any set .
Computably enumerable (c.e. for short) sets are domains of partial computable functions. They are often listed as with , the domain of the e-th partial computable function. We mention the following arithmetic complete sets.
- (1)
The index set is -complete.
- (2)
The index set is -complete.
- (3)
The index set is -complete.
- (4)
The index set is -complete.
Fix the language of rings, similar to the listing of all partial computable functions, all partial computable rings (i.e., partial computable -structures) can be listed as . This listing includes all computable rings, and we can define the index set of subclasses of computable rings as follows.
Definition 6. Let be a property of rings. The index set of computable rings satisfying is the set
Computable rings are partial computable rings with computable domains and computable operations such that the axioms of rings (e.g., ) are satisfied. Since being a total computable function is a property for a partial computable function, the index set of computable rings is . Furthermore, due to the -completeness of the index set of total computable functions, the index set of computable rings is indeed -complete.
As we are interested in the complexity of subclasses of computable rings, not the complexity of computable rings, it is more appropriate to use the notion of
m-reducibility within a given set proposed by Calvert and Knight; see Definition 3.6 [
5].
Definition 7 ([
5])
. Let Γ
be a complexity class (e.g., ). For two sets , A is m-complete Γ
within B (or simply Γ
-complete within B) if- (1)
A is Γ within B; that is, there is a set , such that ;
- (2)
For any set , S is m-reducible to A within B; that is, there is a computable function such that for all .
To measure the lower bound of the complexity of a mathematical problem, we can naturally extend the notion of -completeness within a given set to the following -hardness within a given set.
Definition 8. Let be two complexity classes (e.g., ). For two sets , A is m-hard within B (or simply -hard within B) if
- (1)
A is within B; that is, there is a set , such that ;
- (2)
For any set , S is m-reducible to A within B.
Let be the index set of computable rings. To measure the complexity of computable semisimple rings, we will study the complexity of their index set, i.e., , within . We first prove the following upper bound.
Proposition 1. The index set of computable semisimple rings is within .
Proof. For a computable ring
R and a nonzero
, the cyclic
R-module
is simple if the following
formula holds:
Now
R is semisimple if the following
formula holds:
Then, the index set of computable semisimple rings is
within
. □
We have the following upper bound for the complexity of computable local rings.
Proposition 2. The index set is within .
Proof. For a computable ring
R, it is local if for any non-left invertible elements
,
is not left invertible. This can be described by the
formula:
So the index set of computable local rings is
within
. □
Based on the property of computable local rings, we can further obtain an upper bound for the complexity of computable semiperfect rings.
Proposition 3. The index set is within .
Proof. Let
R be a computable ring. First, an idempotent
is local (i.e.,
is a local ring) if the
formula
is true. Second,
R is semiperfect if the following
formula holds:
So the index set of computable semiperfect rings is
within
. □
In the rest of this section, we prove a technical Lemma about the computable enumeration of c.e. sets, which will be used to prove our main theorem on the index set result of computable semisimple rings in
Section 3.
A sequence
of c.e. subsets of natural numbers is
uniformly computably enumerable if there is a computable function
f such that
for all
e (see Definition 2.5, [
2]). Furthermore, a sequence
of computable subsets of natural numbers is
uniformly computable if there is a computable function
such that for each
e, the characteristic function of
is
for all
n.
Definition 9 (Definition 2.8, [
2])
. A simultaneous computable enumeration (or simply, enumeration) of a uniformly computably enumerable sequence of c.e. sets is a computable sequence of finite sets satisfying:- (1)
;
- (2)
;
- (3)
.
The sequence of all c.e. sets has a standard enumeration , where is the empty set; for , there is at most one , such that at most one enumerates into . Set constructions in computability theory are often based on the standard enumeration of c.e. sets. Here, to construct proper computable rings, we need a particular enumeration of c.e. sets. We will frequently use the symbol , which stands for a fixed bijection from n-tuples of natural numbers to natural numbers.
Lemma 1. There is an enumeration of all c.e. sets such that for all , if is defined, where for , is the j-th stage at which a number goes into if it is defined.
Proof. Fix an effective bijection . We build the enumeration from by stages.
Construction
Stage 0. For all e, let , the empty set.
Stage . For all , if , let ; otherwise, , define as follows:
- (1)
If , set .
- (2)
If , there are two subcases.
- (2.1)
If , let be the least number in . Enumerate into , set .
- (2.2)
Otherwise, , let , where for , is the j-th number enumerating into . Let be the stage at which enumerates into .
- *
If and , let be the least number in . Enumerate into , set . In this case, .
- *
Otherwise, do nothing. Set .
This ends the construction.
For all , . For all , the desired property holds. Let . We show that . Since elements of are taken from , we have .
Suppose otherwise that ; then, there is a least number . Let u be the stage with . Then, for all , we have . Let be the least stage, such that all numbers of less than x (if any) have been enumerated into by stage . Then, for all , x is the least number in . After stage , there are infinitely many number of stages of the form , and we have to enumerate x into . This contradicts the assumption that . So, we have . □
3. Semisimple Rings
In this section, based on the enumeration of all c.e. sets with in Lemma 1 above, we prove the following main theorem.
Theorem 1. The index set of computable semisimple rings is -hard within the index set of computable rings.
Proof. To prove the theorem, we need to build an effective reduction from the
-complete set
to the index set of computable semisimple rings. Let
be the commutative polynomial ring with indeterminates from
.
S is computable under a fixed computable presentation, i.e., an effective coding of
S into natural numbers. Consider the quotient ring
of the
S modulo the ideal generated by polynomials
. For all
,
is an idempotent of the quotient ring
R. Furthermore, monomials of
R are of the form
with
and
. For each polynomial
, we can find a reduced form of it in
R. For instance, the reduced form of
equals
. Therefore,
R is a computable ring. As a
-vector space,
R can be written as
Using the -complete set , we build a uniformly computable sequence of computable ideals of R, such that the quotient ring meets the requirements:
- :
If , then is a semisimple ring.
- :
If , then is not a semisimple ring.
Let be the effective approximation of all c.e. sets with in Lemma 1.
Definition 10. Let . For any , say that requires attention at stage s if , i.e., some number goes into .
We build the sequence of ideals of R by stages, where is the ideal of R generated by polynomials enumerated into by stage s.
Construction
Stage 0. For all e, the -requirement does not require attention; add into .
Stage . For all , has not yet required attention; add into .
For each , add generators into depending on whether requires attention at stage s or not.
Case 1. If does not require attention at the current stage s, act as follows:
- (1)
If has not required attention before, add into .
- (2)
Otherwise, there are stages at which required attention, let be all such stages . For , is the j-th stage at which requires attention, then is also the j-th stage at which a number enumerates into . According to the choice of in Lemma 1, we have for all . Act as follows:
- (a)
add into if ;
- (b)
add if , i.e., required attention at stage ;
- (c)
do nothing if .
Case 2. If requires attention at stage s, act as follows:
- (1)
If s is the first stage at which requires attention, add into .
- (2)
Otherwise, let be all stages at which -requirement required attention before, then , the -th stage at which requires attention. Again, by the choice of the enumeration , we have . Add into .
This ends the construction.
An ideal I of a computable ring R is computable if there is an algorithm that determines the membership of I, that is, whether or not for an element .
Lemma 2. For all , is a computable ideal of R.
Proof. Fix
. To show that
is computable, we need to provide an algorithm to decide whether
or not for a polynomial
. First of all, each polynomial
can be written as
with
for
,
, and finite sets
,
.
If , is the ideal of R generated by . Given , calculate a polynomial by replacing each appearance of in f (if any) with . Then . So is computable.
If and has not yet required attention by the end of stage s, then is the ideal of R generated by . Given , calculate a polynomial by replacing each appearance of in f (if any) with . Then, , and is computable.
If and there are stages at which requires attention, let be all such stages.
Case 1.
with
.
is the ideal of
R generated by
Elements of
are of the form
with
. By replacing indeterminates of the form
in
f with
, we obtain
, where
is obtained from
h by the same actions. Now, elements of
are of the form
.
Let . Determine whether or not as follows.
- (1)
Substitute each by in f to obtain a polynomial .
- (2)
As
, we can assume that
, where
do not contain any
with
.That is,
are polynomials of the form
with
for
,
, and finite sets
and
.
Now, we have
for some
. Suppose that
.
- (i)
Take and ; we have .
- (ii)
Take and ; we have .
Furthermore, we can check that
In this case, with .
So, is a computable ideal of R.
Case 2.
with
.
is the ideal of
R generated by
Elements of
can be expressed as
with
for
,
. By replacing each
in
f with
and then replacing each
with
, we obtain
. Now, elements of
are of the form
with neither
nor
occurring in
. Similar to Case 1, one can determine whether a polynomial
is of the form
for some
. So,
is computable.
Case 3.
with
.
is the ideal of
R generated by
Similar to Case 2, one can reduce elements of
to polynomials of the form
such that
do not contain
or
. Then, by replacing
with
in
, we obtain a polynomial
with
the corresponding polynomial obtained from
.
Let . Determine whether or not as follows.
- (1)
In f, by substituting each with , and each with , we obtain ; then substituting each with in , we obtain .
- (2)
Since
, and
we have
. Together with
we have
and thus
. Then,
By a similar argument,
. We can further assume that
in (1) is of the form
where
do not contain any
for
. Now,
for some
. Suppose that
.
- (i)
Take and ; we have .
- (ii)
Take and ; we have .
- (iii)
Take and ; we have .
Then,
if and only if
In this case, we have
So, is a computable ideal of R.
In general, when
with
, as in Case 3 above, elements of
are finite
R-linear sums of generators added by stage
s of the construction. For any polynomial
, by reducing generators of
, we obtain a polynomial
with
satisfying:
for some
. Furthermore, we can prove by induction on
m with
that
for all
and
for all
(refer to (
), (
) in the proof of Lemma 3 below). Now, we can obtain a polynomial
with
such that
with
containing no
for
. Similar to Case 3 above, we see that
for
, in which case we have
Therefore,
is a computable ideal of
R.
This completes the proof of Lemma 2. □
Note that a sequence
of computable ideals of a computable ring
R is uniformly computable if and only if the coding set
is a computable subset of
. Based on Lemma 2, we explain that the sequence
of ideals of
R is uniformly computable. Let
with
for
,
, and finite sets
,
. Let
be the largest index
i such that
occurs in the expression of
f above. We can check that
. Indeed, suppose that
has required attention for exactly
m many times by stage
for some
. Let
be all stages at which
required attention. Then, the reduced form of
f at stage
is
with
for
. Then,
if and only if
for all
if and only if
if and only if
.
As an example, consider the simple case of
; that is,
has required attention exactly once by stage
. Let
be the first stage at which
required attention. We have
for
(if any). The reduced form of each
with
in
f is
, the reduced form of each
is
. Also, note that
, then the reduced form of
f at stage
is
for some
. Although
may be assigned new expressions by replacing
with
at next stage
at which
requires attention and then by replacing
with
at next stage
at which
requires attention, and so on, we see that
if and only if
if and only if
if and only if
.
For a number e and a given polynomial , we can first find the largest index such that occurs in the expression of f as a finite -linear sum of monomials of R, and then proceed as in Lemma 2 to see whether or not. This shows that the sequence of quotient rings of R is uniformly computable.
For any and , if , we write , meaning that in the quotient ring .
Lemma 3. For all e, is satisfied.
Proof. Assume that ; then, is finite and there are only finitely many stages at which requires attention. Let be all the consecutive stages at which requires attention.
If , . required no attention during the construction, so for all . is the field of rational numbers, which is also a semisimple ring.
If , then the following equalities hold in the quotient ring .
- (1)
.
- (2)
and .
- (3)
For all , .
In this case, can be decomposed as Furthermore, and are simple -modules. So is a semisimple ring.
If , then the following equalities hold in the quotient ring .
- (1)
.
- (2)
and .
- (3)
and
. Then, we have
. Indeed,
- (4)
For , and .
- (5)
For all , .
In , we have Furthermore, the following equalities hold:
- ()
for all , ;
- ()
for all , .
We provide the proof of and by induction on n with .
Basic Step. As
,
, we have
and
hold for
.
Inductive Step. Assume that
and
hold for
with
. We prove that the equalities hold for
n. For
. First of all, we have
By induction,
for all
, and thus, we have
. Then,
Now,
for all
. Then, we have
This shows that
holds for
n.
For
. By induction, we only need to show that
for all
. Indeed, we have already seen that
and
, together with
, we have
This shows that
holds for
n.
This ends the proof of .
The ring
can be decomposed as
We show that
and
are simple
-modules for
. Take a polynomial
where
for
,
with numbers
,
and finite sets
. In
,
f can be written as follows:
For any and , suppose that . As for and for , it suffices to prove the case that . Note that for and for . Also, note that each with is equal to some or some with . There are two cases in the expression of in .
- (1)
For each
,
is equal to some
with
. Without loss of generality, assume that
for some
. We first consider the expression of
with
.
Now, we have .
- (2)
There is at least one
such that
is equal to some
with
. Since we assume that
, there is exactly one such
in the expression of
. As
if
, assume that
for some
. Again, we first consider the expression of
with
.
Then, .
Now, we see that
f can be written as a
-linear sum of elements in
, and
which is a direct sum of simple
-modules. Furthermore,
as rings for
, and thus,
, which is the direct product of
copies of the field
of rational numbers. So,
is a semisimple ring. □
Lemma 4. For all e, is satisfied.
Proof. Assume that , then is infinite and requires attention infinitely often. Let be all the consecutive stages at which requires attention. To prove that is not semisimple, we only need to show that cannot be expressed as a sum of nonzero mutually orthogonal idempotents of the form with , such that each is simple as -modules for .
Let
be a nontrivial idempotent in
, i.e.,
and
. If
is as simple as
-modules, then
f is not a sum of two nonzero orthogonal idempotents of
because otherwise
is decomposed as a sum of two nonzero
-submodules. Since each
with
equals zero in
,
f is a polynomial in
R containing at least one
with
. Then, each
with
is equal to
or
in
for the unique number
with
. Assume that each
that occurs in
is of the form
or
. Let
M be the largest number
m, such that
or
occurs in
f. Then,
Since
f is not a sum of two nonzero orthogonal idempotents of
, either
or
for some
.
- (1)
If , then for some nonzero . As f is an idempotent in , we have and which is a sum of two nonzero orthogonal idempotents of . This case is impossible.
- (2)
If , then for some nonzero . Again, we have and .
This shows that a nontrivial idempotent f of is of the form if is a simple -module.
The identity of R can be expressed as in for any . If with is a sum of nonzero mutually orthogonal idempotents of , such that each is as simple as -modules for , then is of the form with ; however, this is impossible, because any such an expression does not contain one summand of the form . Therefore, is not a direct sum of simple -submodules and it is not a semisimple ring. □
We have constructed a uniformly computable sequence of computable rings such that if and only if is a computable semisimple ring. Then, is m-reducible to the index set of computable semisimple rings, and thus, the latter set is -hard within the index set of computable rings.
This completes the proof of Theorem 1. □
In the proof of Lemma 3 above, for
,
is a commutative ring that is isomorphic to the direct product of finitely many copies of the rational field
. In fact, due to the Wedderburn–Artin Theorem (see page 33, [
20]), a commutative semisimple ring is isomorphic to a finite direct product of fields.
Corollary 1. The index set of finite direct product of computable fields is -hard within the index set of computable rings.
The class of semisimple rings forms a subclass of semiperfect rings. The sequence of rings constructed in the proof of Theorem 1 also implies a corresponding result of semiperfect rings. Indeed, when , by Lemma 3, is semiperfect. Furthermore, when , suppose that is a sum of mutually orthogonal nontrivial idempotents of . For each , we see from the proof of Lemma 4 that there exists a large enough number , such that any occurring in satisfying . Then, and are not invertible in the ring with identity , but is the identity of the ring , and thus invertible. By definition, is not a local ring with identity for any , i.e., is not a local idempotent of . So, is not a semiperfect ring for . This implies the following.
Corollary 2. The index set of computable semiperfect rings is -hard within the index set of computable rings.
4. Local Rings
In this section, we prove the result on the complexity of computable local rings.
Theorem 2. The index set of computable local rings is -complete within the index set of computable rings.
Proof. Since the index set
of infinite computably enumerable sets is
-complete, we only need to construct a uniformly computable sequence of computable rings
such that for all
e,
if and only if
is local. Consider the polynomial ring
with infinitely many indeterminates
. Let
be the fraction field of
R with the following usual operations:
Here, for
with
, we identify
for the unique
with
, i.e.,
coprime. The rings
R and
F are computable with fixed codings into natural numbers.
Fix a standard enumeration of all c.e. sets with , and for all . That is, at each stage s, there is at most one number enumerating into .
We first enumerate a uniformly computably enumerable sequence of c.e. subrings
of the field
F by stages, such that for all
e,
To make sure that
is local for
, rather than using the
definition of local rings in terms of noninvertible elements, we use the fact that fields are natural examples of local rings. So, we enumerate the sequence of c.e. subrings
of
F such that
is exactly the whole field
F when
is infinite.
Fix an effective listing of the polynomial ring without repetitions as That is, . We view R as a subring of the fraction field F and identify an element with in F. For any , let denote the largest index i such that occurs in r if ; let if . For example, if , then .
Construction of .
Stage 0. For all e, let .
For , assume that we have obtained for all e. Stage proceeds as follows. There are three cases.
Stage . For all , let .
For all , check whether some number goes into at stage n.
- (1)
If the answer is yes, i.e.,
, then for all
with
and
, add
into
if it was not enumerated into
before. In this case,
- (2)
If the answer is no, i.e., , then continue to check whether there was a largest stage such that .
- (a)
If such a stage
m existed, then we have
Now for all
with
and
, add
into
if it was not enumerated into
before. That is,
- (b)
Otherwise, do nothing. Set .
Stage . For , enumerate into if ; in this case, For , let .
Stage . For
, for all
, add
into
if they are not in
. In this case,
For
, let
.
This ends the construction.
For all
e, let
. Clearly,
is a subring of
F that contains the polynomial ring
R in the sense that an element
is identified with
. A sequence
of c.e. subrings of a computable ring
R is uniformly computably enumerable if and only if the coding set
is a c.e. subset of
. To see that the sequence
is a uniformly computably enumerable sequence of c.e. subrings of the field
F, we only need to show that the coding set
is a c.e. subset of the computable set
. As in the construction, list
R as
,
. Let
with
. As
and
are coprime, we have
in which case
. Again,
is the largest index
k, such that
appears in
if
and
otherwise. Hence,
is a
property on
and
T is a c.e. subset of
. Note that a set is c.e. if and only if it is
. For more equivalent characterizations of c.e. sets, refer to Chapter II, [
2].
An infinite c.e. set is always the range of a one-to-one computable function. For the c.e. subset T of , let be a one-to-one computable function such that the range of is T, i.e., . Then, effectively induces a computable sequence of computable rings such that is isomorphic to .
Defining .
Step 1. For all e, let be the domain of .
Step 2. Define ring operations on
according to corresponding operations in
F. For any
, let
,
and
with
for
. Now, define the following operations:
Since F is a computable field and is a one-to-one computable function with range , is a computable ring isomorphic to , and the sequence of computable rings is uniformly computable.
Lemma 5. For all e, if and only if is a local ring.
Proof. For all
e,
is isomorphic to
, the constructed c.e. subring of the fraction field
F of the polynomial ring
. It suffices to prove that
if and only if
is local. Let
R be listed as
. Then,
with the usual operations on fractions of polynomials of
R. Each
is identified with
and
R is a subring of
F.
If
,
is infinite. Let
with
. As in the construction, if
, let
be the largest index
k, such that
occurs in
g; if
, let
. Since
is infinite, there is a least stage
such that some new number enumerates into
. Then,
has been added into
by stage
, i.e.,
. Note that
. Therefore, we have
In this case,
is a field, which is a local ring.
If , is finite. There are two cases.
- (1)
If , the empty set, no number enumerates into during the construction. Then, no fractions of the form with and coprime were enumerated into . In this case, equals the polynomial ring .
- (2)
Otherwise,
, let
be the largest stage at which some number enumerates into
. Then, no number goes into
at any stage
. During the construction, we only added fractions of the form
with
into
. That is,
equals the fraction ring
In both cases, is not a local ring.
This completes the proof of the lemma. □
We have obtained a uniformly computable sequence of computable rings such that if and only if is local. So, the index set of computable local rings is -complete. This finishes the proof of Theorem 2.
Finally, we remark that a domain (i.e., a commutative ring with no zero divisors) is semisimple if and only if it is a field, which is a property. Since the sequence of computable rings constructed in Theorem 2 also satisfies the condition that if and only if is a field, we have already obtained the exact complexity for semisimple domains.
Corollary 3. The index set of computable semisimple domains (= fields) is -complete within the index set of computable rings.
Theorem 2 also implies corresponding results for more general classes of rings, including fields such as semisimple rings and semiperfect rings.
Corollary 4. The index set of computable semisimple rings (resp., semiperfect rings) is -hard within the index set of computable rings.