There are multiple equivalent definitions of the (sub)ring generated by a subset. In this article, we state these definitions and prove their equivalence.
The first definition is intuitively “applying the operations repeatedly to the original subset.” This makes even more sense when 0,1 are represented as unary operators and not constants. The definition is:
Definition 1 (Ring Generated by Subset.) Let . The ring generated by
is the subring
of
formed by the elements of
, then 0 and 1, and then all sums, products, and negatives of any elements in
.
Another definition is:
Definition 2 (Ring Generated by Subset.) Equivalently, is the intersection of all subrings containing
. (This intersection is necessarily a ring.)
Let’s prove the equivalence of these now. First:
Lemma. The arbitrary intersection of any collection of subrings of is a subring of
.
Proof. Let the intersection be . Since each
is a subring of
,
, so
. We have:
Addition: If , then
for all
, hence
for all
and
.
The rest is similar. This is true of any operation on any algebra (in the universal algebraic sense): for any elements , if an operation
on the
exists in every set in a collection, then
exists in the intersection too (by definition of intersection.) Thus, we can state more generally that the intersection of subalgebras of an equational class (at least equational class, I think it would be true of any algebra of any signature too) is itself a subalgebra.
Now, let’s add some formalism to Definition 1, so that we can prove things using it.
The ring generated by is produced as follows:
; clearly,
, or equivalently,
If , then
for some
, so
and
; similarly we have closure on the other operations so
is a subring. We now show that
is equal to the intersection of all rings containing
.
Let be any subring containing
.
must include (by closure) each
, and therefore must include
. But this is true of any such
, so
is part of the intersection of all of them. Conversely, one such
is
itself, so the intersection is part of
. But that then implies what we want.
Written some time ago, when I was first studying ring theory.
