The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Ring.Subring.Basic

194 declarations and 1 deprecated aliases. Mathlib docs · Source

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 ring R.

  • 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 a GaloisInsertion.

  • comap f B : Subring A : the preimage of a subring B along the ring homomorphism f

  • map f A : Subring B : the image of a subring A along the ring homomorphism f.

  • prod A B : Subring (R × S) : the product of subrings

  • f.range : Subring B : the range of the ring homomorphism f.

  • eqLocus f g : Subring R : given ring homomorphisms f g : R →+* S, the subring of R where f 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

bot

inf

Center of a ring

subring closure of a subset

Actions by Subrings

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.

theorem AddSubmonoid.mk.congr_simp E1 #

∀ {M : Type u_3} [inst : AddZeroClass M] (toAddSubsemigroup toAddSubsemigroup_1 : AddSubsemigroup M)
  (e_toAddSubsemigroup : toAddSubsemigroup = toAddSubsemigroup_1) (zero_mem' : 0 ∈ toAddSubsemigroup.carrier),
  { toAddSubsemigroup := toAddSubsemigroup, zero_mem' := zero_mem' } =
    { toAddSubsemigroup := toAddSubsemigroup_1, zero_mem' := ⋯ }

theorem Subring.mk'.congr_simp E1 #

∀ {R : Type u} [inst : NonAssocRing R] (s s_1 : Set R) (e_s : s = s_1) (sm sm_1 : Submonoid R) (e_sm : sm = sm_1)
  (sa sa_1 : AddSubgroup R) (e_sa : sa = sa_1) (hm : ↑sm = s) (ha : ↑sa = s),
  Subring.mk' s sm sa hm ha = Subring.mk' s_1 sm_1 sa_1 ⋯ ⋯

theorem RingHom.codRestrict.congr_simp E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocSemiring R] [inst_1 : NonAssocSemiring S] {σS : Type u_2}
  [inst_2 : SetLike σS S] [inst_3 : SubsemiringClass σS S] (f f_1 : R →+* S) (e_f : f = f_1) (s : σS)
  (h : ∀ (x : R), f x ∈ s), f.codRestrict s h = f_1.codRestrict s ⋯

theorem RingHom.restrict.congr_simp E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocSemiring R] [inst_1 : NonAssocSemiring S] {σR : Type u_1} {σS : Type u_2}
  [inst_2 : SetLike σR R] [inst_3 : SetLike σS S] [inst_4 : SubsemiringClass σR R] [inst_5 : SubsemiringClass σS S]
  (f f_1 : R →+* S) (e_f : f = f_1) (s' : σR) (s : σS) (h : ∀ x ∈ s', f x ∈ s), f.restrict s' s h = f_1.restrict s' s ⋯

theorem Subring.toSubsemiring_strictMono E1 #

∀ {R : Type u} [inst : NonAssocRing R], StrictMono Subring.toSubsemiring

theorem Subring.toSubsemiring_mono E1 #

∀ {R : Type u} [inst : NonAssocRing R], Monotone Subring.toSubsemiring

theorem Subring.toAddSubgroup_strictMono E1 #

∀ {R : Type u} [inst : NonAssocRing R], StrictMono Subring.toAddSubgroup

theorem Subring.toAddSubgroup_mono E1 #

∀ {R : Type u} [inst : NonAssocRing R], Monotone Subring.toAddSubgroup

theorem Subring.toSubmonoid_strictMono E1 #

∀ {R : Type u} [inst : NonAssocRing R], StrictMono fun s ↦ s.toSubmonoid

theorem Subring.toSubmonoid_mono E1 #

∀ {R : Type u} [inst : NonAssocRing R], Monotone fun s ↦ s.toSubmonoid

theorem Subring.list_prod_mem E1 #

∀ {R : Type u_1} [inst : Ring R] (s : Subring R) {l : List R}, (∀ x ∈ l, x ∈ s) → l.prod ∈ s

Product of a list of elements in a subring is in the subring.

theorem Subring.list_sum_mem E1 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Subring R) {l : List R}, (∀ x ∈ l, x ∈ s) → l.sum ∈ s

Sum of a list of elements in a subring is in the subring.

theorem Subring.multiset_prod_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] (s : Subring R) (m : Multiset R), (∀ a ∈ m, a ∈ s) → m.prod ∈ s

Product of a multiset of elements in a subring of a CommRing is in the subring.

theorem Subring.multiset_sum_mem E1 #

∀ {R : Type u_1} [inst : Ring R] (s : Subring R) (m : Multiset R), (∀ a ∈ m, a ∈ s) → m.sum ∈ s

Sum of a multiset of elements in a Subring of a Ring is in the Subring.

theorem Subring.prod_mem E1 #

∀ {R : Type u_1} [inst : CommRing R] (s : Subring R) {ι : Type u_2} {t : Finset ι} {f : ι → R},
  (∀ c ∈ t, f c ∈ s) → ∏ i ∈ t, f i ∈ s

Product of elements of a subring of a CommRing indexed by a Finset is in the subring.

theorem Subring.sum_mem E1 #

∀ {R : Type u_1} [inst : Ring R] (s : Subring R) {ι : Type u_2} {t : Finset ι} {f : ι → R},
  (∀ c ∈ t, f c ∈ s) → ∑ i ∈ t, f i ∈ s

Sum of elements in a Subring of a Ring indexed by a Finset is in the Subring.

instance Subring.instTop E0 #

{R : Type u} → [inst : NonAssocRing R] → Top (Subring R)

The subring R of the ring R.

theorem Subring.mem_top E0 #

∀ {R : Type u} [inst : NonAssocRing R] (x : R), x ∈ ⊤

theorem Subring.coe_top E0 #

∀ {R : Type u} [inst : NonAssocRing R], ↑⊤ = Set.univ

theorem Subring.toSubsemiring_top E0 #

∀ {R : Type u} [inst : NonAssocRing R], ⊤.toSubsemiring = ⊤

theorem Subring.toAddSubgroup_top E0 #

∀ {R : Type u} [inst : NonAssocRing R], ⊤.toAddSubgroup = ⊤

theorem Subring.toSubsemiring_eq_top E0 #

∀ {R : Type u} [inst : NonAssocRing R] {S : Subring R}, S.toSubsemiring = ⊤ ↔ S = ⊤

theorem Subring.toAddSubgroup_eq_top E0 #

∀ {R : Type u} [inst : NonAssocRing R] {S : Subring R}, S.toAddSubgroup = ⊤ ↔ S = ⊤

def Subring.topEquiv E1 #

{R : Type u} → [inst : NonAssocRing R] → ↥⊤ ≃+* R

The ring equiv between the top element of Subring R and R.

theorem Subring.topEquiv_apply E0 #

∀ {R : Type u} [inst : NonAssocRing R] (r : ↥⊤), Subring.topEquiv r = ↑r

theorem Subring.topEquiv_symm_apply_coe E0 #

∀ {R : Type u} [inst : NonAssocRing R] (r : R), ↑(Subring.topEquiv.symm r) = r

instance Subring.instFintypeSubtypeMemTop E0 #

{R : Type u_1} → [inst : NonAssocRing R] → [Fintype R] → Fintype ↥⊤

theorem Subring.card_top E1 #

∀ (R : Type u_1) [inst : NonAssocRing R] [inst_1 : Fintype R], Fintype.card ↥⊤ = Fintype.card R

def Subring.comap E1 #

{R : Type u} → {S : Type v} → [inst : NonAssocRing R] → [inst_1 : NonAssocRing S] → (R →+* S) → Subring S → Subring R

The preimage of a subring along a ring homomorphism is a subring.

theorem Subring.coe_comap E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s : Subring S) (f : R →+* S),
  ↑(Subring.comap f s) = ⇑f ⁻¹' ↑s

theorem Subring.mem_comap E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {s : Subring S} {f : R →+* S} {x : R},
  x ∈ Subring.comap f s ↔ f x ∈ s

theorem Subring.comap_comap E1 #

∀ {R : Type u} {S : Type v} {T : Type w} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] [inst_2 : NonAssocRing T]
  (s : Subring T) (g : S →+* T) (f : R →+* S), Subring.comap f (Subring.comap g s) = Subring.comap (g.comp f) s

def Subring.map E1 #

{R : Type u} → {S : Type v} → [inst : NonAssocRing R] → [inst_1 : NonAssocRing S] → (R →+* S) → Subring R → Subring S

The image of a subring along a ring homomorphism is a subring.

theorem Subring.coe_map E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S) (s : Subring R),
  ↑(Subring.map f s) = ⇑f '' ↑s

theorem Subring.mem_map E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R →+* S} {s : Subring R} {y : S},
  y ∈ Subring.map f s ↔ ∃ x ∈ s, f x = y

theorem Subring.map_id E0 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Subring R), Subring.map (RingHom.id R) s = s

theorem Subring.map_map E0 #

∀ {R : Type u} {S : Type v} {T : Type w} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] [inst_2 : NonAssocRing T]
  (s : Subring R) (g : S →+* T) (f : R →+* S), Subring.map g (Subring.map f s) = Subring.map (g.comp f) s

theorem Subring.map_le_iff_le_comap E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R →+* S} {s : Subring R}
  {t : Subring S}, Subring.map f s ≤ t ↔ s ≤ Subring.comap f t

theorem Subring.gc_map_comap E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S),
  GaloisConnection (Subring.map f) (Subring.comap f)

def Subring.equivMapOfInjective E1 #

{R : Type u} →
  {S : Type v} →
    [inst : NonAssocRing R] →
      [inst_1 : NonAssocRing S] → (s : Subring R) → (f : R →+* S) → Function.Injective ⇑f → ↥s ≃+* ↥(Subring.map f s)

A subring is isomorphic to its image under an injective function

theorem Subring.coe_equivMapOfInjective_apply E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s : Subring R) (f : R →+* S)
  (hf : Function.Injective ⇑f) (x : ↥s), ↑((s.equivMapOfInjective f hf) x) = f ↑x

def RingHom.range E3 #

{R : Type u} → {S : Type v} → [inst : NonAssocRing R] → [inst_1 : NonAssocRing S] → (R →+* S) → Subring S

The range of a ring homomorphism, as a subring of the target. See Note [range copy pattern].

theorem RingHom.coe_range E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S), ↑f.range = Set.range ⇑f

theorem RingHom.mem_range E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R →+* S} {y : S},
  y ∈ f.range ↔ ∃ x, f x = y

theorem RingHom.range_eq_map E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S), f.range = Subring.map f ⊤

theorem RingHom.mem_range_self E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S) (x : R), f x ∈ f.range

theorem RingHom.map_range E0 #

∀ {R : Type u} {S : Type v} {T : Type w} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] [inst_2 : NonAssocRing T]
  (g : S →+* T) (f : R →+* S), Subring.map g f.range = (g.comp f).range

instance RingHom.fintypeRange E0 #

{R : Type u} →
  {S : Type v} →
    [inst : NonAssocRing R] →
      [inst_1 : NonAssocRing S] → [Fintype R] → [DecidableEq S] → (f : R →+* S) → Fintype ↥f.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.

instance Subring.instBot E0 #

{R : Type u} → [inst : NonAssocRing R] → Bot (Subring R)

instance Subring.instInhabited E0 #

{R : Type u} → [inst : NonAssocRing R] → Inhabited (Subring R)

theorem Subring.coe_bot E0 #

∀ {R : Type u} [inst : NonAssocRing R], ↑⊥ = Set.range Int.cast

theorem Subring.mem_bot E0 #

∀ {R : Type u} [inst : NonAssocRing R] {x : R}, x ∈ ⊥ ↔ ∃ n, ↑n = x

instance Subring.instMin E0 #

{R : Type u} → [inst : NonAssocRing R] → Min (Subring R)

The inf of two subrings is their intersection.

theorem Subring.coe_inf E0 #

∀ {R : Type u} [inst : NonAssocRing R] (p p' : Subring R), ↑(p ⊓ p') = ↑p ∩ ↑p'

theorem Subring.mem_inf E0 #

∀ {R : Type u} [inst : NonAssocRing R] {p p' : Subring R} {x : R}, x ∈ p ⊓ p' ↔ x ∈ p ∧ x ∈ p'

instance Subring.instInfSet E0 #

{R : Type u} → [inst : NonAssocRing R] → InfSet (Subring R)

theorem Subring.coe_sInf E0 #

∀ {R : Type u} [inst : NonAssocRing R] (S : Set (Subring R)), ↑(sInf S) = ⋂ s ∈ S, ↑s

theorem Subring.mem_sInf E0 #

∀ {R : Type u} [inst : NonAssocRing R] {S : Set (Subring R)} {x : R}, x ∈ sInf S ↔ ∀ p ∈ S, x ∈ p

theorem Subring.coe_iInf E0 #

∀ {R : Type u} [inst : NonAssocRing R] {ι : Sort u_1} {S : ι → Subring R}, ↑(⨅ i, S i) = ⋂ i, ↑(S i)

theorem Subring.mem_iInf E0 #

∀ {R : Type u} [inst : NonAssocRing R] {ι : Sort u_1} {S : ι → Subring R} {x : R}, x ∈ ⨅ i, S i ↔ ∀ (i : ι), x ∈ S i

theorem Subring.sInf_toSubmonoid E0 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Set (Subring R)), (sInf s).toSubmonoid = ⨅ t ∈ s, t.toSubmonoid

theorem Subring.sInf_toAddSubgroup E0 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Set (Subring R)), (sInf s).toAddSubgroup = ⨅ t ∈ s, t.toAddSubgroup

instance Subring.instCompleteLattice E0 #

{R : Type u} → [inst : NonAssocRing R] → CompleteLattice (Subring R)

Subrings of a ring form a complete lattice.

def Subring.center E3 #

(R : Type u) → [inst : NonAssocRing R] → Subring R

The center of a ring R is the set of elements that commute with everything in R

theorem Subring.coe_center E0 #

∀ (R : Type u) [inst : NonAssocRing R], ↑(Subring.center R) = Set.center R

theorem Subring.center_toSubsemiring E0 #

∀ (R : Type u) [inst : NonAssocRing R], (Subring.center R).toSubsemiring = Subsemiring.center R

theorem Subring.mem_center_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {z : R}, z ∈ Subring.center R ↔ ∀ (g : R), g * z = z * g

instance Subring.decidableMemCenter E0 #

{R : Type u_1} → [inst : Ring R] → [DecidableEq R] → [Fintype R] → DecidablePred fun x ↦ x ∈ Subring.center R

theorem Subring.map_center_le_center E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {F : Type u_1} [inst_2 : FunLike F R S]
  [inst_3 : RingHomClass F R S] {f : F}, Function.Surjective ⇑f → Subring.map (↑f) (Subring.center R) ≤ Subring.center S

theorem Subring.comap_center_le_center E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {F : Type u_1} [inst_2 : FunLike F R S]
  [inst_3 : RingHomClass F R S] {f : F},
  Function.Injective ⇑f → Subring.comap (↑f) (Subring.center S) ≤ Subring.center R

theorem Subring.map_center_eq E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {F : Type u_1} [inst_2 : EquivLike F R S]
  [inst_3 : RingEquivClass F R S] (f : F), Subring.map (↑f) (Subring.center R) = Subring.center S

theorem Subring.center_eq_top E0 #

∀ (R : Type u_1) [inst : CommRing R], Subring.center R = ⊤

instance Subring.instCommRingSubtypeMemCenter E0 #

{R : Type u_1} → [inst : Ring R] → CommRing ↥(Subring.center R)

The center is commutative.

def Subring.centerCongr E1 #

{R : Type u} →
  {S : Type v} →
    [inst : NonAssocRing R] → [inst_1 : NonAssocRing S] → R ≃+* S → ↥(Subring.center R) ≃+* ↥(Subring.center S)

The center of isomorphic (not necessarily associative) rings are isomorphic.

theorem Subring.centerCongr_apply_coe E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (e : R ≃+* S)
  (r : ↥(Subsemigroup.center R)), ↑((Subring.centerCongr e) r) = e ↑r

theorem Subring.centerCongr_symm_apply_coe E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (e : R ≃+* S)
  (s : ↥(Subsemigroup.center S)), ↑((Subring.centerCongr e).symm s) = e.symm ↑s

def Subring.centerToMulOpposite E1 #

{R : Type u} → [inst : NonAssocRing R] → ↥(Subring.center R) ≃+* ↥(Subring.center Rᵐᵒᵖ)

The center of a (not necessarily associative) ring is isomorphic to the center of its opposite.

theorem Subring.centerToMulOpposite_symm_apply_coe E0 #

∀ {R : Type u} [inst : NonAssocRing R] (r : ↥(Subsemigroup.center Rᵐᵒᵖ)),
  ↑(Subring.centerToMulOpposite.symm r) = MulOpposite.unop ↑r

theorem Subring.centerToMulOpposite_apply_coe E0 #

∀ {R : Type u} [inst : NonAssocRing R] (r : ↥(Subsemigroup.center R)),
  ↑(Subring.centerToMulOpposite r) = MulOpposite.op ↑r

instance Subring.instField E0 #

{K : Type u} → [inst : DivisionRing K] → Field ↥(Subring.center K)

theorem Subring.center.coe_inv E0 #

∀ {K : Type u} [inst : DivisionRing K] (a : ↥(Subring.center K)), ↑a⁻¹ = (↑a)⁻¹

theorem Subring.center.coe_div E0 #

∀ {K : Type u} [inst : DivisionRing K] (a b : ↥(Subring.center K)), ↑(a / b) = ↑a / ↑b

def Subring.centralizer E1 #

{R : Type u_1} → [inst : Ring R] → Set R → Subring R

The centralizer of a set inside a ring as a Subring.

theorem Subring.coe_centralizer E0 #

∀ {R : Type u_1} [inst : Ring R] (s : Set R), ↑(Subring.centralizer s) = s.centralizer

theorem Subring.centralizer_toSubmonoid E1 #

∀ {R : Type u_1} [inst : Ring R] (s : Set R), (Subring.centralizer s).toSubmonoid = Submonoid.centralizer s

theorem Subring.centralizer_toSubsemiring E1 #

∀ {R : Type u_1} [inst : Ring R] (s : Set R), (Subring.centralizer s).toSubsemiring = Subsemiring.centralizer s

theorem Subring.centralizer_toNonUnitalSubring E1 #

∀ {R : Type u_1} [inst : Ring R] (s : Set R),
  (Subring.centralizer s).toNonUnitalSubring = NonUnitalSubring.centralizer s

theorem Subring.mem_centralizer_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {s : Set R} {z : R}, z ∈ Subring.centralizer s ↔ ∀ g ∈ s, g * z = z * g

theorem Subring.center_le_centralizer E1 #

∀ {R : Type u_1} [inst : Ring R] (s : Set R), Subring.center R ≤ Subring.centralizer s

theorem Subring.centralizer_le E1 #

∀ {R : Type u_1} [inst : Ring R] (s t : Set R), s ⊆ t → Subring.centralizer t ≤ Subring.centralizer s

theorem Subring.centralizer_eq_top_iff_subset E0 #

∀ {R : Type u_1} [inst : Ring R] {s : Set R}, Subring.centralizer s = ⊤ ↔ s ⊆ ↑(Subring.center R)

theorem Subring.centralizer_univ E0 #

∀ {R : Type u_1} [inst : Ring R], Subring.centralizer Set.univ = Subring.center R

def Subring.closure E3 #

{R : Type u} → [inst : NonAssocRing R] → Set R → Subring R

The Subring generated by a set.

theorem Subring.mem_closure E0 #

∀ {R : Type u} [inst : NonAssocRing R] {x : R} {s : Set R}, x ∈ Subring.closure s ↔ ∀ (S : Subring R), s ⊆ ↑S → x ∈ S

theorem Subring.subset_closure E0 #

∀ {R : Type u} [inst : NonAssocRing R] {s : Set R}, s ⊆ ↑(Subring.closure s)

The subring generated by a set includes the set.

theorem Subring.mem_closure_of_mem E0 #

∀ {R : Type u} [inst : NonAssocRing R] {s : Set R} {x : R}, x ∈ s → x ∈ Subring.closure s

theorem Subring.notMem_of_notMem_closure E1 #

∀ {R : Type u} [inst : NonAssocRing R] {s : Set R} {P : R}, P ∉ Subring.closure s → P ∉ s

theorem Subring.closure_le E0 #

∀ {R : Type u} [inst : NonAssocRing R] {s : Set R} {t : Subring R}, Subring.closure s ≤ t ↔ s ⊆ ↑t

A subring t includes closure s if and only if it includes s.

theorem Subring.closure_mono E1 #

∀ {R : Type u} [inst : NonAssocRing R] ⦃s t : Set R⦄, s ⊆ t → Subring.closure s ≤ Subring.closure t

Subring closure of a set is monotone in its argument: if s ⊆ t, then closure s ≤ closure t.

theorem Subring.closure_eq_of_le E1 #

∀ {R : Type u} [inst : NonAssocRing R] {s : Set R} {t : Subring R},
  s ⊆ ↑t → t ≤ Subring.closure s → Subring.closure s = t

theorem Subring.closure_induction E1 #

∀ {R : Type u} [inst : NonAssocRing R] {s : Set R} {p : (x : R) → x ∈ Subring.closure s → Prop},
  (∀ (x : R) (hx : x ∈ s), p x ⋯) →
    p 0 ⋯ →
      p 1 ⋯ →
        (∀ (x y : R) (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s), p x hx → p y hy → p (x + y) ⋯) →
          (∀ (x : R) (hx : x ∈ Subring.closure s), p x hx → p (-x) ⋯) →
            (∀ (x y : R) (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s), p x hx → p y hy → p (x * y) ⋯) →
              ∀ {x : R} (hx : x ∈ Subring.closure s), p x hx

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.

theorem Subring.closure_induction₂ E1 #

∀ {R : Type u} [inst : NonAssocRing R] {s : Set R}
  {p : (x y : R) → x ∈ Subring.closure s → y ∈ Subring.closure s → Prop},
  (∀ (x y : R) (hx : x ∈ s) (hy : y ∈ s), p x y ⋯ ⋯) →
    (∀ (x : R) (hx : x ∈ Subring.closure s), p 0 x ⋯ hx) →
      (∀ (x : R) (hx : x ∈ Subring.closure s), p x 0 hx ⋯) →
        (∀ (x : R) (hx : x ∈ Subring.closure s), p 1 x ⋯ hx) →
          (∀ (x : R) (hx : x ∈ Subring.closure s), p x 1 hx ⋯) →
            (∀ (x y : R) (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s), p x y hx hy → p (-x) y ⋯ hy) →
              (∀ (x y : R) (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s), p x y hx hy → p x (-y) hx ⋯) →
                (∀ (x y z : R) (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s) (hz : z ∈ Subring.closure s),
                    p x z hx hz → p y z hy hz → p (x + y) z ⋯ hz) →
                  (∀ (x y z : R) (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s) (hz : z ∈ Subring.closure s),
                      p x y hx hy → p x z hx hz → p x (y + z) hx ⋯) →
                    (∀ (x y z : R) (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s)
                        (hz : z ∈ Subring.closure s), p x z hx hz → p y z hy hz → p (x * y) z ⋯ hz) →
                      (∀ (x y z : R) (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s)
                          (hz : z ∈ Subring.closure s), p x y hx hy → p x z hx hz → p x (y * z) hx ⋯) →
                        ∀ {x y : R} (hx : x ∈ Subring.closure s) (hy : y ∈ Subring.closure s), p x y hx hy

An induction principle for closure membership, for predicates with two arguments.

theorem Subring.mem_closure_iff E0 #

∀ {R : Type u} [inst : NonAssocRing R] {s : Set R} {x : R},
  x ∈ Subring.closure s ↔ x ∈ AddSubgroup.closure ↑(Submonoid.closure s)

theorem Subring.closure_le_centralizer_centralizer E1 #

∀ {R : Type u_1} [inst : Ring R] (s : Set R), Subring.closure s ≤ Subring.centralizer ↑(Subring.centralizer s)

theorem Subring.isMulCommutative_closure E1 #

∀ {R : Type u_1} [inst : Ring R] {s : Set R}, s.Pairwise Commute → IsMulCommutative ↥(Subring.closure s)

If all elements of s : Set R commute pairwise, then closure s is a commutative ring.

instance Subring.instIsMulCommutative_closure E0 #

∀ {S : Type u_1} {R : Type u_2} [inst : Ring R] [inst_1 : SetLike S R] [inst_2 : MulMemClass S R] (s : S)
  [IsMulCommutative ↥s], IsMulCommutative ↥(Subring.closure ↑s)

theorem Subring.exists_list_of_mem_closure E1 #

∀ {R : Type u_1} [inst : Ring R] {s : Set R} {x : R},
  x ∈ Subring.closure s → ∃ L, (∀ t ∈ L, ∀ y ∈ t, y ∈ s ∨ y = -1) ∧ (List.map List.prod L).sum = x

def Subring.gi E3 #

(R : Type u) → [inst : NonAssocRing R] → GaloisInsertion Subring.closure SetLike.coe

closure forms a Galois insertion with the coercion to set.

theorem Subring.closure_eq E0 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Subring R), Subring.closure ↑s = s

Closure of a subring S equals S.

theorem Subring.closure_empty E0 #

∀ {R : Type u} [inst : NonAssocRing R], Subring.closure ∅ = ⊥

theorem Subring.closure_univ E0 #

∀ {R : Type u} [inst : NonAssocRing R], Subring.closure Set.univ = ⊤

theorem Subring.closure_union E1 #

∀ {R : Type u} [inst : NonAssocRing R] (s t : Set R), Subring.closure (s ∪ t) = Subring.closure s ⊔ Subring.closure t

theorem Subring.closure_iUnion E1 #

∀ {R : Type u} [inst : NonAssocRing R] {ι : Sort u_1} (s : ι → Set R),
  Subring.closure (⋃ i, s i) = ⨆ i, Subring.closure (s i)

theorem Subring.closure_sUnion E1 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Set (Set R)), Subring.closure (⋃₀ s) = ⨆ t ∈ s, Subring.closure t

theorem Subring.closure_singleton_intCast E0 #

∀ {R : Type u} [inst : NonAssocRing R] (n : ℤ), Subring.closure {↑n} = ⊥

theorem Subring.closure_singleton_natCast E0 #

∀ {R : Type u} [inst : NonAssocRing R] (n : ℕ), Subring.closure {↑n} = ⊥

theorem Subring.closure_singleton_zero E0 #

∀ {R : Type u} [inst : NonAssocRing R], Subring.closure {0} = ⊥

theorem Subring.closure_singleton_one E0 #

∀ {R : Type u} [inst : NonAssocRing R], Subring.closure {1} = ⊥

theorem Subring.closure_insert_intCast E0 #

∀ {R : Type u} [inst : NonAssocRing R] (n : ℤ) (s : Set R), Subring.closure (insert (↑n) s) = Subring.closure s

theorem Subring.closure_insert_natCast E0 #

∀ {R : Type u} [inst : NonAssocRing R] (n : ℕ) (s : Set R), Subring.closure (insert (↑n) s) = Subring.closure s

theorem Subring.closure_insert_zero E0 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Set R), Subring.closure (insert 0 s) = Subring.closure s

theorem Subring.closure_insert_one E0 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Set R), Subring.closure (insert 1 s) = Subring.closure s

theorem Subring.map_sup E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s t : Subring R) (f : R →+* S),
  Subring.map f (s ⊔ t) = Subring.map f s ⊔ Subring.map f t

theorem Subring.map_iSup E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {ι : Sort u_1} (f : R →+* S)
  (s : ι → Subring R), Subring.map f (iSup s) = ⨆ i, Subring.map f (s i)

theorem Subring.map_inf E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s t : Subring R) (f : R →+* S),
  Function.Injective ⇑f → Subring.map f (s ⊓ t) = Subring.map f s ⊓ Subring.map f t

theorem Subring.map_iInf E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {ι : Sort u_1} [Nonempty ι] (f : R →+* S),
  Function.Injective ⇑f → ∀ (s : ι → Subring R), Subring.map f (iInf s) = ⨅ i, Subring.map f (s i)

theorem Subring.comap_inf E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s t : Subring S) (f : R →+* S),
  Subring.comap f (s ⊓ t) = Subring.comap f s ⊓ Subring.comap f t

theorem Subring.comap_iInf E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {ι : Sort u_1} (f : R →+* S)
  (s : ι → Subring S), Subring.comap f (iInf s) = ⨅ i, Subring.comap f (s i)

theorem Subring.map_bot E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S), Subring.map f ⊥ = ⊥

theorem Subring.comap_top E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S), Subring.comap f ⊤ = ⊤

def Subring.prod E1 #

{R : Type u} →
  {S : Type v} → [inst : NonAssocRing R] → [inst_1 : NonAssocRing S] → Subring R → Subring S → Subring (R × S)

Given Subrings s, t of rings R, S respectively, s.prod t is s ×̂ t as a subring of R × S.

theorem Subring.coe_prod E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s : Subring R) (t : Subring S),
  ↑(s.prod t) = ↑s ×ˢ ↑t

theorem Subring.mem_prod E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {s : Subring R} {t : Subring S}
  {p : R × S}, p ∈ s.prod t ↔ p.1 ∈ s ∧ p.2 ∈ t

theorem Subring.prod_mono E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] ⦃s₁ s₂ : Subring R⦄,
  s₁ ≤ s₂ → ∀ ⦃t₁ t₂ : Subring S⦄, t₁ ≤ t₂ → s₁.prod t₁ ≤ s₂.prod t₂

theorem Subring.prod_mono_right E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s : Subring R), Monotone fun t ↦ s.prod t

theorem Subring.prod_mono_left E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (t : Subring S), Monotone fun s ↦ s.prod t

theorem Subring.prod_top E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s : Subring R),
  s.prod ⊤ = Subring.comap (RingHom.fst R S) s

theorem Subring.top_prod E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s : Subring S),
  ⊤.prod s = Subring.comap (RingHom.snd R S) s

theorem Subring.top_prod_top E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S], ⊤.prod ⊤ = ⊤

theorem Subring.center_prod E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S],
  Subring.center (R × S) = (Subring.center R).prod (Subring.center S)

def Subring.prodEquiv E1 #

{R : Type u} →
  {S : Type v} →
    [inst : NonAssocRing R] → [inst_1 : NonAssocRing S] → (s : Subring R) → (t : Subring S) → ↥(s.prod t) ≃+* ↥s × ↥t

Product of subrings is isomorphic to their product as rings.

theorem Subring.mem_iSup_of_directed E0 #

∀ {R : Type u} [inst : NonAssocRing R] {ι : Sort u_1} [hι : Nonempty ι] {S : ι → Subring R},
  Directed (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : R}, x ∈ ⨆ i, S i ↔ ∃ i, x ∈ S i

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)

theorem Subring.coe_iSup_of_directed E0 #

∀ {R : Type u} [inst : NonAssocRing R] {ι : Sort u_1} [hι : Nonempty ι] {S : ι → Subring R},
  Directed (fun x1 x2 ↦ x1 ≤ x2) S → ↑(⨆ i, S i) = ⋃ i, ↑(S i)

theorem Subring.mem_sSup_of_directedOn E0 #

∀ {R : Type u} [inst : NonAssocRing R] {S : Set (Subring R)},
  S.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : R}, x ∈ sSup S ↔ ∃ s ∈ S, x ∈ s

theorem Subring.coe_sSup_of_directedOn E0 #

∀ {R : Type u} [inst : NonAssocRing R] {S : Set (Subring R)},
  S.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) S → ↑(sSup S) = ⋃ s ∈ S, ↑s

theorem Subring.isMulCommutative_iSup E1 #

∀ {R : Type u} [inst : NonAssocRing R] {ι : Sort u_1} [Nonempty ι] {S : ι → Subring R}
  [hS : ∀ (i : ι), IsMulCommutative ↥(S i)], Directed (fun x1 x2 ↦ x1 ≤ x2) S → IsMulCommutative ↥(⨆ i, S i)

instance Subring.instIsMulCommutative_iSup E0 #

∀ {R : Type u} [inst : NonAssocRing R] {ι : Type u_1} [Nonempty ι] [inst_2 : Preorder ι] [IsDirectedOrder ι]
  {S : ι →o Subring R} [hS : ∀ (i : ι), IsMulCommutative ↥(S i)], IsMulCommutative ↥(⨆ i, S i)

theorem Subring.mem_map_equiv E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R ≃+* S} {K : Subring R} {x : S},
  x ∈ Subring.map (↑f) K ↔ f.symm x ∈ K

theorem Subring.map_equiv_eq_comap_symm E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R ≃+* S) (K : Subring R),
  Subring.map (↑f) K = Subring.comap (↑f.symm) K

theorem Subring.comap_equiv_eq_map_symm E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R ≃+* S) (K : Subring S),
  Subring.comap (↑f) K = Subring.map (↑f.symm) K

def RingHom.rangeRestrict E1 #

{R : Type u} → {S : Type v} → [inst : NonAssocRing R] → [inst_1 : NonAssocRing S] → (f : R →+* S) → R →+* ↥f.range

Restriction of a ring homomorphism to its range interpreted as a subsemiring.

This is the bundled version of Set.rangeFactorization.

theorem RingHom.coe_rangeRestrict E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S) (x : R),
  ↑(f.rangeRestrict x) = f x

theorem RingHom.rangeRestrict_surjective E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S),
  Function.Surjective ⇑f.rangeRestrict

theorem RingHom.range_eq_top E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R →+* S},
  f.range = ⊤ ↔ Function.Surjective ⇑f

theorem RingHom.range_eq_top_of_surjective E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S),
  Function.Surjective ⇑f → f.range = ⊤

The range of a surjective ring homomorphism is the whole of the codomain.

theorem RingHom.domRestrict_comp_rangeRestrict E0 #

∀ {R : Type u} {S : Type v} {T : Type w} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] [inst_2 : NonAssocRing T]
  (g : S →+* T) (f : R →+* S), (g.domRestrict f.range).comp f.rangeRestrict = g.comp f

theorem RingHom.range_prodMap E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {R' : Type u_1} {S' : Type u_2}
  [inst_2 : Ring R'] [inst_3 : Ring S'] (f : R →+* S) (g : R' →+* S'), (f.prodMap g).range = f.range.prod g.range

def RingHom.eqLocus E1 #

{R : Type u} → [inst : NonAssocRing R] → {S : Type v} → [inst_1 : Semiring S] → (R →+* S) → (R →+* S) → Subring R

The subring of elements x : R such that f x = g x, i.e., the equalizer of f and g as a subring of R

theorem RingHom.mem_eqLocus E0 #

∀ {R : Type u} [inst : NonAssocRing R] {S : Type v} [inst_1 : Semiring S] {f g : R →+* S} {x : R},
  x ∈ f.eqLocus g ↔ f x = g x

theorem RingHom.eqLocus_same E0 #

∀ {R : Type u} [inst : NonAssocRing R] {S : Type v} [inst_1 : Semiring S] (f : R →+* S), f.eqLocus f = ⊤

theorem RingHom.eqOn_set_closure E1 #

∀ {R : Type u} [inst : NonAssocRing R] {S : Type v} [inst_1 : Semiring S] {f g : R →+* S} {s : Set R},
  Set.EqOn (⇑f) (⇑g) s → Set.EqOn ⇑f ⇑g ↑(Subring.closure s)

If two ring homomorphisms are equal on a set, then they are equal on its subring closure.

theorem RingHom.closure_preimage_le E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S) (s : Set S),
  Subring.closure (⇑f ⁻¹' s) ≤ Subring.comap f (Subring.closure s)

theorem RingHom.map_closure E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S) (s : Set R),
  Subring.map f (Subring.closure s) = Subring.closure (⇑f '' s)

The image under a ring homomorphism of the subring generated by a set equals the subring generated by the image of the set.

theorem Subring.mem_closure_image_of E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S) {s : Set R} {x : R},
  x ∈ Subring.closure s → f x ∈ Subring.closure (⇑f '' s)

def Subring.inclusion E1 #

{R : Type u} → [inst : NonAssocRing R] → {S T : Subring R} → S ≤ T → ↥S →+* ↥T

The ring homomorphism associated to an inclusion of subrings.

theorem Subring.coe_inclusion E0 #

∀ {R : Type u} [inst : NonAssocRing R] {S T : Subring R} (h : S ≤ T) (x : ↥S), ↑((Subring.inclusion h) x) = ↑x

theorem Subring.inclusion_injective E1 #

∀ {R : Type u} [inst : NonAssocRing R] {S T : Subring R} (h : S ≤ T), Function.Injective ⇑(Subring.inclusion h)

theorem Subring.range_subtype E0 #

∀ {R : Type u} [inst : NonAssocRing R] (s : Subring R), s.subtype.range = s

theorem Subring.range_fst E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S], (RingHom.fst R S).rangeS = ⊤

theorem Subring.range_snd E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S], (RingHom.snd R S).rangeS = ⊤

theorem Subring.prod_bot_sup_bot_prod E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (s : Subring R) (t : Subring S),
  s.prod ⊥ ⊔ ⊥.prod t = s.prod t

def RingEquiv.subringCongr E1 #

{R : Type u} → [inst : NonAssocRing R] → {s t : Subring R} → s = t → ↥s ≃+* ↥t

Makes the identity isomorphism from a proof two subrings of a multiplicative monoid are equal.

theorem RingEquiv.subringCongr_symm E0 #

∀ {R : Type u} [inst : NonAssocRing R] {s t : Subring R} (h : s = t),
  (RingEquiv.subringCongr h).symm = RingEquiv.subringCongr ⋯

theorem RingEquiv.coe_subringCongr_apply E0 #

∀ {R : Type u} [inst : NonAssocRing R] {s t : Subring R} (h : s = t) (x : ↥s), ↑((RingEquiv.subringCongr h) x) = ↑x

def RingEquiv.ofLeftInverse E1 #

{R : Type u} →
  {S : Type v} →
    [inst : NonAssocRing R] →
      [inst_1 : NonAssocRing S] → {g : S → R} → {f : R →+* S} → Function.LeftInverse g ⇑f → R ≃+* ↥f.range

Restrict a ring homomorphism with a left inverse to a ring isomorphism to its RingHom.range.

theorem RingEquiv.ofLeftInverse_apply E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {g : S → R} {f : R →+* S}
  (h : Function.LeftInverse g ⇑f) (x : R), ↑((RingEquiv.ofLeftInverse h) x) = f x

theorem RingEquiv.ofLeftInverse_symm_apply E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {g : S → R} {f : R →+* S}
  (h : Function.LeftInverse g ⇑f) (x : ↥f.range), (RingEquiv.ofLeftInverse h).symm x = g ↑x

def RingEquiv.subringMap E1 #

{R : Type u} →
  {S : Type v} →
    [inst : NonAssocRing R] →
      [inst_1 : NonAssocRing S] → {s : Subring R} → (e : R ≃+* S) → ↥s ≃+* ↥(Subring.map e.toRingHom s)

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

def RingEquiv.restrict E1 #

{R : Type u} →
  {S : Type v} →
    [inst : NonAssocSemiring R] →
      [inst_1 : NonAssocSemiring S] →
        {σR : Type u_1} →
          {σS : Type u_2} →
            [inst_2 : SetLike σR R] →
              [inst_3 : SetLike σS S] →
                [inst_4 : SubsemiringClass σR R] →
                  [inst_5 : SubsemiringClass σS S] →
                    (e : R ≃+* S) → (s' : σR) → (s : σS) → (∀ (x : R), x ∈ s' ↔ e x ∈ s) → ↥s' ≃+* ↥s

A ring isomorphism e : R ≃+* S descends to subrings s' ≃+* s provided x ∈ s' ↔ e x ∈ s.

theorem RingEquiv.restrict_symm_apply_coe E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocSemiring R] [inst_1 : NonAssocSemiring S] {σR : Type u_1} {σS : Type u_2}
  [inst_2 : SetLike σR R] [inst_3 : SetLike σS S] [inst_4 : SubsemiringClass σR R] [inst_5 : SubsemiringClass σS S]
  (e : R ≃+* S) (s' : σR) (s : σS) (h : ∀ (x : R), x ∈ s' ↔ e x ∈ s) (a : ↥s), ↑((e.restrict s' s h).symm a) = e.symm ↑a

theorem RingEquiv.restrict_apply_coe E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocSemiring R] [inst_1 : NonAssocSemiring S] {σR : Type u_1} {σS : Type u_2}
  [inst_2 : SetLike σR R] [inst_3 : SetLike σS S] [inst_4 : SubsemiringClass σR R] [inst_5 : SubsemiringClass σS S]
  (e : R ≃+* S) (s' : σR) (s : σS) (h : ∀ (x : R), x ∈ s' ↔ e x ∈ s) (a : ↥s'), ↑((e.restrict s' s h) a) = e ↑a

theorem Subring.InClosure.recOn E1 #

∀ {R : Type u_1} [inst : Ring R] {s : Set R} {C : R → Prop} {x : R},
  x ∈ Subring.closure s →
    C 1 → C (-1) → (∀ z ∈ s, ∀ (n : R), C n → C (z * n)) → (∀ {x y : R}, C x → C y → C (x + y)) → C x

theorem Subring.smul_def E0 #

∀ {R : Type u} [inst : NonAssocRing R] {α : Type u_1} [inst_1 : SMul R α] {S : Subring R} (g : ↥S) (m : α),
  g • m = ↑g • m

instance Subring.center.smulCommClass_left E0 #

∀ {R : Type u_3} [inst : Ring R], SMulCommClass (↥(Subring.center R)) R R

The center of a semiring acts commutatively on that semiring.

instance Subring.center.smulCommClass_right E0 #

∀ {R : Type u_3} [inst : Ring R], SMulCommClass R (↥(Subring.center R)) R

The center of a semiring acts commutatively on that semiring.

instance Subring.instSMulCommClassSubtypeMemCenter E0 #

∀ {R : Type u_3} {M : Type u_4} [inst : Ring R] [inst_1 : MulAction R M], SMulCommClass R (↥(Subring.center R)) M

The center of a semiring acts commutatively on any R-module

instance Subring.instSMulCommClassSubtypeMemCenter_1 E0 #

∀ {R : Type u_3} {M : Type u_4} [inst : Ring R] [inst_1 : MulAction R M], SMulCommClass (↥(Subring.center R)) R M

The center of a semiring acts commutatively on any R-module

theorem Subring.map_comap_eq E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S) (t : Subring S),
  Subring.map f (Subring.comap f t) = t ⊓ f.range

theorem Subring.map_comap_eq_self E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R →+* S} {t : Subring S},
  t ≤ f.range → Subring.map f (Subring.comap f t) = t

theorem Subring.map_comap_eq_self_of_surjective E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R →+* S},
  Function.Surjective ⇑f → ∀ (t : Subring S), Subring.map f (Subring.comap f t) = t

theorem Subring.comap_map_eq E0 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] (f : R →+* S) (s : Subring R),
  Subring.comap f (Subring.map f s) = s ⊔ Subring.closure (⇑f ⁻¹' {0})

theorem Subring.comap_map_eq_self E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R →+* S} {s : Subring R},
  ⇑f ⁻¹' {0} ⊆ ↑s → Subring.comap f (Subring.map f s) = s

theorem Subring.comap_map_eq_self_of_injective E1 #

∀ {R : Type u} {S : Type v} [inst : NonAssocRing R] [inst_1 : NonAssocRing S] {f : R →+* S},
  Function.Injective ⇑f → ∀ (s : Subring R), Subring.comap f (Subring.map f s) = s

theorem AddSubgroup.int_mul_mem E1 #

∀ {R : Type u} [inst : NonAssocRing R] {G : AddSubgroup R} (k : ℤ) {g : R}, g ∈ G → ↑k * g ∈ G

Deprecated aliases

NameNew nameSince
Subring.closure_preimage_leRingHom.closure_preimage_le2026-09-10