Subrings #
We prove that subrings are a complete lattice, and that you can map
(pushforward) and
comap
(pull back) them along ring homomorphisms.
We define the closure
construction from Set R
to Subring R
, sending a subset of R
to the subring it generates, and prove that it is a Galois insertion.
Main definitions #
Notation used here:
(R : Type u) [Ring R] (S : Type u) [Ring S] (f g : R →+* S)
(A : Subring R) (B : Subring S) (s : Set R)
instance : CompleteLattice (Subring R)
: the complete lattice structure on the subrings.Subring.center
: the center of a ringR
.Subring.closure
: subring closure of a set, i.e., the smallest subring that includes the set.Subring.gi
:closure : Set M → Subring M
and coercion(↑) : Subring M → et M
form aGaloisInsertion
.comap f B : Subring A
: the preimage of a subringB
along the ring homomorphismf
map f A : Subring B
: the image of a subringA
along the ring homomorphismf
.eqLocus f g : Subring R
: given ring homomorphismsf g : R →+* S
, the subring ofR
wheref x = g x
Implementation notes #
A subring is implemented as a subsemiring which is also an additive subgroup. The initial PR was as a submonoid which is also an additive subgroup.
Lattice inclusion (e.g. ≤
and ⊓
) is used rather than set notation (⊆
and ∩
), although
∈
is defined as membership of a subring's underlying set.
Tags #
subring, subrings
top #
comap #
map #
range #
The range of a ring homomorphism is a fintype, if the domain is a fintype.
Note: this instance can form a diamond with Subtype.fintype
in the
presence of Fintype S
.
Equations
bot #
inf #
Subrings of a ring form a complete lattice.
Equations
Center of a ring #
The center of a ring R
is the set of elements that commute with everything in R
Equations
Instances For
Equations
subring closure of a subset #
Alias of Subring.notMem_of_notMem_closure
.
An induction principle for closure membership. If p
holds for 0
, 1
, and all elements
of s
, and is preserved under addition, negation, and multiplication, then p
holds for all
elements of the closure of s
.
An induction principle for closure membership, for predicates with two arguments.
The underlying set of a non-empty directed sSup of subrings is just a union of the subrings. Note that this fails without the directedness assumption (the union of two subrings is typically not a subring)
Restriction of a ring homomorphism to its range interpreted as a subsemiring.
This is the bundled version of Set.rangeFactorization
.
Equations
Instances For
Restrict a ring homomorphism with a left inverse to a ring isomorphism to its
RingHom.range
.
Equations
Instances For
Given an equivalence e : R ≃+* S
of rings and a subring s
of R
,
subringMap e s
is the induced equivalence between s
and s.map e
Equations
Instances For
Actions by Subring
s #
These are just copies of the definitions about Subsemiring
starting from
Subsemiring.MulAction
.
When R
is commutative, Algebra.ofSubring
provides a stronger result than those found in
this file, which uses the same scalar action.
Note that this provides IsScalarTower S R R
which is needed by smul_mul_assoc
.
The action by a subring is the action by the underlying ring.
Equations
The action by a subring is the action by the underlying ring.
Equations
The action by a subring is the action by the underlying ring.
Equations
The action by a subring is the action by the underlying ring.
Equations
The action by a subring is the action by the underlying ring.
Equations
The action by a subsemiring is the action by the underlying ring.
Equations
The center of a semiring acts commutatively on that semiring.
The center of a semiring acts commutatively on that semiring.