The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Ring.Hom.Defs
137 declarations and 12 deprecated aliases. Mathlib docs · Source
Homomorphisms of semirings and rings
This file defines bundled homomorphisms of (non-unital) semirings and rings. As with monoid and
groups, we use the same structure RingHom a β, a.k.a. α →+* β, for both types of homomorphisms.
Main definitions
NonUnitalRingHom: Non-unital (semi)ring homomorphisms. Additive monoid homomorphism which preserve multiplication.RingHom: (Semi)ring homomorphisms. Monoid homomorphisms which are also additive monoid homomorphism.
Notation
→ₙ+*: Non-unital (semi)ring homs→+*: (Semi)ring homs
Implementation notes
-
There's a coercion from bundled homs to fun, and the canonical notation is to use the bundled hom as a function via this coercion.
-
There is no
SemiringHom-- the idea is thatRingHomis used. The constructor for aRingHombetween semirings needs a proof ofmap_zero,map_oneandmap_addas well asmap_mul; a separate constructorRingHom.mk'will construct ring homs between rings from monoid homs given only a proof that addition is preserved.
Tags
RingHom, SemiringHom
Throughout this section, some Semiring arguments are specified with {} instead of [].
See note [implicit instance arguments].
theorem RingHom.mk.injEq E0 #
∀ {α : Type u_5} {β : Type u_6} [inst : NonAssocSemiring α] [inst_1 : NonAssocSemiring β] (toMonoidHom : α →* β)
(map_zero' : (↑toMonoidHom).toFun 0 = 0)
(map_add' : ∀ (x y : α), (↑toMonoidHom).toFun (x + y) = (↑toMonoidHom).toFun x + (↑toMonoidHom).toFun y)
(toMonoidHom_1 : α →* β) (map_zero'_1 : (↑toMonoidHom_1).toFun 0 = 0)
(map_add'_1 : ∀ (x y : α), (↑toMonoidHom_1).toFun (x + y) = (↑toMonoidHom_1).toFun x + (↑toMonoidHom_1).toFun y),
({ toMonoidHom := toMonoidHom, map_zero' := map_zero', map_add' := map_add' } =
{ toMonoidHom := toMonoidHom_1, map_zero' := map_zero'_1, map_add' := map_add'_1 }) =
(toMonoidHom = toMonoidHom_1)
def RingHom.ctorIdx E1 #
{α : Type u_5} → {β : Type u_6} → {inst : NonAssocSemiring α} → {inst_1 : NonAssocSemiring β} → (α →+* β) → ℕ
def NonUnitalRingHom.ctorIdx E1 #
{α : Type u_5} →
{β : Type u_6} → {inst : NonUnitalNonAssocSemiring α} → {inst_1 : NonUnitalNonAssocSemiring β} → (α →ₙ+* β) → ℕ
theorem RingHom.mk.inj E1 #
∀ {α : Type u_5} {β : Type u_6} {inst : NonAssocSemiring α} {inst_1 : NonAssocSemiring β} {toMonoidHom : α →* β}
{map_zero' : (↑toMonoidHom).toFun 0 = 0}
{map_add' : ∀ (x y : α), (↑toMonoidHom).toFun (x + y) = (↑toMonoidHom).toFun x + (↑toMonoidHom).toFun y}
{toMonoidHom_1 : α →* β} {map_zero'_1 : (↑toMonoidHom_1).toFun 0 = 0}
{map_add'_1 : ∀ (x y : α), (↑toMonoidHom_1).toFun (x + y) = (↑toMonoidHom_1).toFun x + (↑toMonoidHom_1).toFun y},
{ toMonoidHom := toMonoidHom, map_zero' := map_zero', map_add' := map_add' } =
{ toMonoidHom := toMonoidHom_1, map_zero' := map_zero'_1, map_add' := map_add'_1 } →
toMonoidHom = toMonoidHom_1
theorem NonUnitalRingHom.mk.inj E1 #
∀ {α : Type u_5} {β : Type u_6} {inst : NonUnitalNonAssocSemiring α} {inst_1 : NonUnitalNonAssocSemiring β}
{toMulHom : α →ₙ* β} {map_zero' : toMulHom.toFun 0 = 0}
{map_add' : ∀ (x y : α), toMulHom.toFun (x + y) = toMulHom.toFun x + toMulHom.toFun y} {toMulHom_1 : α →ₙ* β}
{map_zero'_1 : toMulHom_1.toFun 0 = 0}
{map_add'_1 : ∀ (x y : α), toMulHom_1.toFun (x + y) = toMulHom_1.toFun x + toMulHom_1.toFun y},
{ toMulHom := toMulHom, map_zero' := map_zero', map_add' := map_add' } =
{ toMulHom := toMulHom_1, map_zero' := map_zero'_1, map_add' := map_add'_1 } →
toMulHom = toMulHom_1
theorem NonUnitalRingHom.mk.injEq E0 #
∀ {α : Type u_5} {β : Type u_6} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(toMulHom : α →ₙ* β) (map_zero' : toMulHom.toFun 0 = 0)
(map_add' : ∀ (x y : α), toMulHom.toFun (x + y) = toMulHom.toFun x + toMulHom.toFun y) (toMulHom_1 : α →ₙ* β)
(map_zero'_1 : toMulHom_1.toFun 0 = 0)
(map_add'_1 : ∀ (x y : α), toMulHom_1.toFun (x + y) = toMulHom_1.toFun x + toMulHom_1.toFun y),
({ toMulHom := toMulHom, map_zero' := map_zero', map_add' := map_add' } =
{ toMulHom := toMulHom_1, map_zero' := map_zero'_1, map_add' := map_add'_1 }) =
(toMulHom = toMulHom_1)
structure NonUnitalRingHom E3 #
(α : Type u_5) → (β : Type u_6) → [NonUnitalNonAssocSemiring α] → [NonUnitalNonAssocSemiring β] → Type (max u_5 u_6)
Bundled non-unital semiring homomorphisms α →ₙ+* β; use this for bundled non-unital ring
homomorphisms too.
When possible, instead of parametrizing results over (f : α →ₙ+* β),
you should parametrize over (F : Type*) [NonUnitalRingHomClass F α β] (f : F).
When you extend this structure, make sure to extend NonUnitalRingHomClass.
abbrev NonUnitalRingHom.toAddMonoidHom E1 #
{α : Type u_5} →
{β : Type u_6} → [inst : NonUnitalNonAssocSemiring α] → [inst_1 : NonUnitalNonAssocSemiring β] → (α →ₙ+* β) → α →+ β
Reinterpret a non-unital ring homomorphism f : α →ₙ+* β as an additive
monoid homomorphism α →+ β. The simp-normal form is (f : α →+ β).
abbrev NonUnitalRingHom.toMulHom E1 #
{α : Type u_5} →
{β : Type u_6} → [inst : NonUnitalNonAssocSemiring α] → [inst_1 : NonUnitalNonAssocSemiring β] → (α →ₙ+* β) → α →ₙ* β
Reinterpret a non-unital ring homomorphism f : α →ₙ+* β as a semigroup
homomorphism α →ₙ* β. The simp-normal form is (f : α →ₙ* β).
ctor NonUnitalRingHom.mk E0 #
{α : Type u_5} →
{β : Type u_6} →
[inst : NonUnitalNonAssocSemiring α] →
[inst_1 : NonUnitalNonAssocSemiring β] →
(toMulHom : α →ₙ* β) →
toMulHom.toFun 0 = 0 → (∀ (x y : α), toMulHom.toFun (x + y) = toMulHom.toFun x + toMulHom.toFun y) → α →ₙ+* β
theorem NonUnitalRingHom.map_zero' E0 #
∀ {α : Type u_5} {β : Type u_6} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(self : α →ₙ+* β), self.toFun 0 = 0
The proposition that the function preserves 0
theorem NonUnitalRingHom.map_add' E0 #
∀ {α : Type u_5} {β : Type u_6} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(self : α →ₙ+* β) (x y : α), self.toFun (x + y) = self.toFun x + self.toFun y
The proposition that the function preserves addition
def «term_→ₙ+*_» E1 #
Lean.TrailingParserDescr
α →ₙ+* β denotes the type of non-unital ring homomorphisms from α to β.
class NonUnitalRingHomClass E1 #
(F : Type u_5) →
(α : outParam (Type u_6)) →
(β : outParam (Type u_7)) → [NonUnitalNonAssocSemiring α] → [NonUnitalNonAssocSemiring β] → [FunLike F α β] → Prop
NonUnitalRingHomClass F α β states that F is a type of non-unital (semi)ring
homomorphisms. You should extend this class when you extend NonUnitalRingHom.
ctor NonUnitalRingHomClass.mk E0 #
∀ {F : Type u_5} {α : outParam (Type u_6)} {β : outParam (Type u_7)} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : FunLike F α β] [toMulHomClass : MulHomClass F α β]
[toAddMonoidHomClass : AddMonoidHomClass F α β], NonUnitalRingHomClass F α β
instance NonUnitalRingHomClass.toAddMonoidHomClass E0 #
∀ {F : Type u_5} {α : outParam (Type u_6)} {β : outParam (Type u_7)} {inst : NonUnitalNonAssocSemiring α}
{inst_1 : NonUnitalNonAssocSemiring β} {inst_2 : FunLike F α β} [self : NonUnitalRingHomClass F α β],
AddMonoidHomClass F α β
instance NonUnitalRingHomClass.toMulHomClass E0 #
∀ {F : Type u_5} {α : outParam (Type u_6)} {β : outParam (Type u_7)} {inst : NonUnitalNonAssocSemiring α}
{inst_1 : NonUnitalNonAssocSemiring β} {inst_2 : FunLike F α β} [self : NonUnitalRingHomClass F α β],
MulHomClass F α β
def NonUnitalRingHomClass.toNonUnitalRingHom E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : NonUnitalNonAssocSemiring α] →
[inst_1 : NonUnitalNonAssocSemiring β] → [inst_2 : FunLike F α β] → [NonUnitalRingHomClass F α β] → F → α →ₙ+* β
Turn an element of a type F satisfying NonUnitalRingHomClass F α β into an actual
NonUnitalRingHom. This is declared as the default coercion from F to α →ₙ+* β.
instance instCoeTCNonUnitalRingHom E0 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : NonUnitalNonAssocSemiring α] →
[inst_1 : NonUnitalNonAssocSemiring β] →
[inst_2 : FunLike F α β] → [NonUnitalRingHomClass F α β] → CoeTC F (α →ₙ+* β)
Any type satisfying NonUnitalRingHomClass can be cast into NonUnitalRingHom via
NonUnitalRingHomClass.toNonUnitalRingHom.
instance NonUnitalRingHom.instFunLike E0 #
{α : Type u_2} →
{β : Type u_3} →
[inst : NonUnitalNonAssocSemiring α] → [inst_1 : NonUnitalNonAssocSemiring β] → FunLike (α →ₙ+* β) α β
instance NonUnitalRingHom.instNonUnitalRingHomClass E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β],
NonUnitalRingHomClass (α →ₙ+* β) α β
theorem NonUnitalRingHom.coe_toMulHom E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(f : α →ₙ+* β), ⇑f.toMulHom = ⇑f
theorem NonUnitalRingHom.coe_mulHom_mk E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β] (f : α → β)
(h₁ : ∀ (x y : α), f (x * y) = f x * f y) (h₂ : { toFun := f, map_mul' := h₁ }.toFun 0 = 0)
(h₃ :
∀ (x y : α),
{ toFun := f, map_mul' := h₁ }.toFun (x + y) =
{ toFun := f, map_mul' := h₁ }.toFun x + { toFun := f, map_mul' := h₁ }.toFun y),
↑{ toFun := f, map_mul' := h₁, map_zero' := h₂, map_add' := h₃ } = { toFun := f, map_mul' := h₁ }
theorem NonUnitalRingHom.coe_toAddMonoidHom E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(f : α →ₙ+* β), ⇑f.toAddMonoidHom = ⇑f
theorem NonUnitalRingHom.toAddMonoidHom_mk E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β] (f : α → β)
(h₁ : ∀ (x y : α), f (x * y) = f x * f y) (h₂ : { toFun := f, map_mul' := h₁ }.toFun 0 = 0)
(h₃ :
∀ (x y : α),
{ toFun := f, map_mul' := h₁ }.toFun (x + y) =
{ toFun := f, map_mul' := h₁ }.toFun x + { toFun := f, map_mul' := h₁ }.toFun y),
↑{ toFun := f, map_mul' := h₁, map_zero' := h₂, map_add' := h₃ } = { toFun := f, map_zero' := h₂, map_add' := h₃ }
def NonUnitalRingHom.copy E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : NonUnitalNonAssocSemiring α] →
[inst_1 : NonUnitalNonAssocSemiring β] → (f : α →ₙ+* β) → (f' : α → β) → f' = ⇑f → α →ₙ+* β
Copy of a RingHom with a new toFun equal to the old one. Useful to fix definitional
equalities.
theorem NonUnitalRingHom.coe_copy E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(f : α →ₙ+* β) (f' : α → β) (h : f' = ⇑f), ⇑(f.copy f' h) = f'
theorem NonUnitalRingHom.copy_eq E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(f : α →ₙ+* β) (f' : α → β) (h : f' = ⇑f), f.copy f' h = f
theorem NonUnitalRingHom.ext E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
⦃f g : α →ₙ+* β⦄, (∀ (x : α), f x = g x) → f = g
theorem NonUnitalRingHom.ext_iff E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
{f g : α →ₙ+* β}, f = g ↔ ∀ (x : α), f x = g x
theorem NonUnitalRingHom.mk_coe E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(f : α →ₙ+* β) (h₁ : ∀ (x y : α), f (x * y) = f x * f y) (h₂ : { toFun := ⇑f, map_mul' := h₁ }.toFun 0 = 0)
(h₃ :
∀ (x y : α),
{ toFun := ⇑f, map_mul' := h₁ }.toFun (x + y) =
{ toFun := ⇑f, map_mul' := h₁ }.toFun x + { toFun := ⇑f, map_mul' := h₁ }.toFun y),
{ toFun := ⇑f, map_mul' := h₁, map_zero' := h₂, map_add' := h₃ } = f
theorem NonUnitalRingHom.toAddMonoidHom_injective E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β],
Function.Injective fun f ↦ ↑f
theorem NonUnitalRingHom.coe_mulHom_injective E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β],
Function.Injective fun f ↦ ↑f
def NonUnitalRingHom.id E1 #
(α : Type u_5) → [inst : NonUnitalNonAssocSemiring α] → α →ₙ+* α
The identity non-unital ring homomorphism from a non-unital semiring to itself.
instance NonUnitalRingHom.instZero E0 #
{α : Type u_2} →
{β : Type u_3} → [inst : NonUnitalNonAssocSemiring α] → [inst_1 : NonUnitalNonAssocSemiring β] → Zero (α →ₙ+* β)
instance NonUnitalRingHom.instInhabited E0 #
{α : Type u_2} →
{β : Type u_3} → [inst : NonUnitalNonAssocSemiring α] → [inst_1 : NonUnitalNonAssocSemiring β] → Inhabited (α →ₙ+* β)
theorem NonUnitalRingHom.coe_zero E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β], ⇑0 = 0
theorem NonUnitalRingHom.zero_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β] (x : α),
0 x = 0
theorem NonUnitalRingHom.id_apply E0 #
∀ {α : Type u_2} [inst : NonUnitalNonAssocSemiring α] (x : α), (NonUnitalRingHom.id α) x = x
theorem NonUnitalRingHom.toAddMonoidHom_id E0 #
∀ {α : Type u_2} [inst : NonUnitalNonAssocSemiring α], ↑(NonUnitalRingHom.id α) = AddMonoidHom.id α
theorem NonUnitalRingHom.coe_mulHom_id E0 #
∀ {α : Type u_2} [inst : NonUnitalNonAssocSemiring α], ↑(NonUnitalRingHom.id α) = MulHom.id α
def NonUnitalRingHom.comp E1 #
{α : Type u_2} →
{β : Type u_3} →
{γ : Type u_4} →
[inst : NonUnitalNonAssocSemiring α] →
[inst_1 : NonUnitalNonAssocSemiring β] →
[inst_2 : NonUnitalNonAssocSemiring γ] → (β →ₙ+* γ) → (α →ₙ+* β) → α →ₙ+* γ
Composition of non-unital ring homomorphisms is a non-unital ring homomorphism.
theorem NonUnitalRingHom.comp_assoc E1 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] {δ : Type u_5}
{x : NonUnitalNonAssocSemiring δ} (f : α →ₙ+* β) (g : β →ₙ+* γ) (h : γ →ₙ+* δ), (h.comp g).comp f = h.comp (g.comp f)
Composition of non-unital ring homomorphisms is associative.
theorem NonUnitalRingHom.coe_comp E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] (g : β →ₙ+* γ) (f : α →ₙ+* β),
⇑(g.comp f) = ⇑g ∘ ⇑f
theorem NonUnitalRingHom.comp_apply E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] (g : β →ₙ+* γ) (f : α →ₙ+* β) (x : α),
(g.comp f) x = g (f x)
theorem NonUnitalRingHom.toAddMonoidHom_comp E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] (g : β →ₙ+* γ) (f : α →ₙ+* β),
{ toFun := ⇑g ∘ ⇑f, map_zero' := ⋯, map_add' := ⋯ } = (↑g).comp ↑f
theorem NonUnitalRingHom.coe_comp_mulHom E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] (g : β →ₙ+* γ) (f : α →ₙ+* β),
{ toFun := ⇑g ∘ ⇑f, map_mul' := ⋯ } = (↑g).comp ↑f
theorem NonUnitalRingHom.comp_zero E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] (g : β →ₙ+* γ), g.comp 0 = 0
theorem NonUnitalRingHom.zero_comp E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] (f : α →ₙ+* β),
NonUnitalRingHom.comp 0 f = 0
theorem NonUnitalRingHom.comp_id E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(f : α →ₙ+* β), f.comp (NonUnitalRingHom.id α) = f
theorem NonUnitalRingHom.id_comp E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonUnitalNonAssocSemiring α] [inst_1 : NonUnitalNonAssocSemiring β]
(f : α →ₙ+* β), (NonUnitalRingHom.id β).comp f = f
instance NonUnitalRingHom.instMonoidWithZero E0 #
{α : Type u_2} → [inst : NonUnitalNonAssocSemiring α] → MonoidWithZero (α →ₙ+* α)
theorem NonUnitalRingHom.one_def E0 #
∀ {α : Type u_2} [inst : NonUnitalNonAssocSemiring α], 1 = NonUnitalRingHom.id α
theorem NonUnitalRingHom.coe_one E0 #
∀ {α : Type u_2} [inst : NonUnitalNonAssocSemiring α], ⇑1 = id
theorem NonUnitalRingHom.mul_def E0 #
∀ {α : Type u_2} [inst : NonUnitalNonAssocSemiring α] (f g : α →ₙ+* α), f * g = f.comp g
theorem NonUnitalRingHom.coe_mul E0 #
∀ {α : Type u_2} [inst : NonUnitalNonAssocSemiring α] (f g : α →ₙ+* α), ⇑(f * g) = ⇑f ∘ ⇑g
theorem NonUnitalRingHom.cancel_right E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] {g₁ g₂ : β →ₙ+* γ} {f : α →ₙ+* β},
Function.Surjective ⇑f → (g₁.comp f = g₂.comp f ↔ g₁ = g₂)
theorem NonUnitalRingHom.cancel_left E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : NonUnitalNonAssocSemiring β] [inst_2 : NonUnitalNonAssocSemiring γ] {g : β →ₙ+* γ} {f₁ f₂ : α →ₙ+* β},
Function.Injective ⇑g → (g.comp f₁ = g.comp f₂ ↔ f₁ = f₂)
structure RingHom E3 #
(α : Type u_5) → (β : Type u_6) → [NonAssocSemiring α] → [NonAssocSemiring β] → Type (max u_5 u_6)
Bundled semiring homomorphisms; use this for bundled ring homomorphisms too.
This extends from both MonoidHom and MonoidWithZeroHom in order to put the fields in a
sensible order, even though MonoidWithZeroHom already extends MonoidHom.
ctor RingHom.mk E0 #
{α : Type u_5} →
{β : Type u_6} →
[inst : NonAssocSemiring α] →
[inst_1 : NonAssocSemiring β] →
(toMonoidHom : α →* β) →
(↑toMonoidHom).toFun 0 = 0 →
(∀ (x y : α), (↑toMonoidHom).toFun (x + y) = (↑toMonoidHom).toFun x + (↑toMonoidHom).toFun y) → α →+* β
abbrev RingHom.toMonoidWithZeroHom E1 #
{α : Type u_5} → {β : Type u_6} → [inst : NonAssocSemiring α] → [inst_1 : NonAssocSemiring β] → (α →+* β) → α →*₀ β
Reinterpret a ring homomorphism f : α →+* β as a monoid with zero homomorphism α →*₀ β.
The simp-normal form is (f : α →*₀ β).
abbrev RingHom.toAddMonoidHom E1 #
{α : Type u_5} → {β : Type u_6} → [inst : NonAssocSemiring α] → [inst_1 : NonAssocSemiring β] → (α →+* β) → α →+ β
Reinterpret a ring homomorphism f : α →+* β as an additive monoid homomorphism α →+ β.
The simp-normal form is (f : α →+ β).
abbrev RingHom.toMonoidHom E1 #
{α : Type u_5} → {β : Type u_6} → [inst : NonAssocSemiring α] → [inst_1 : NonAssocSemiring β] → (α →+* β) → α →* β
Reinterpret a ring homomorphism f : α →+* β as a monoid homomorphism α →* β.
The simp-normal form is (f : α →* β).
abbrev RingHom.toNonUnitalRingHom E1 #
{α : Type u_5} → {β : Type u_6} → [inst : NonAssocSemiring α] → [inst_1 : NonAssocSemiring β] → (α →+* β) → α →ₙ+* β
Reinterpret a ring homomorphism f : α →+* β as a non-unital ring homomorphism α →ₙ+* β. The
simp-normal form is (f : α →ₙ+* β).
theorem RingHom.map_add' E0 #
∀ {α : Type u_5} {β : Type u_6} [inst : NonAssocSemiring α] [inst_1 : NonAssocSemiring β] (self : α →+* β) (x y : α),
(↑↑self).toFun (x + y) = (↑↑self).toFun x + (↑↑self).toFun y
The proposition that the function preserves addition
theorem RingHom.map_zero' E0 #
∀ {α : Type u_5} {β : Type u_6} [inst : NonAssocSemiring α] [inst_1 : NonAssocSemiring β] (self : α →+* β),
(↑↑self).toFun 0 = 0
The proposition that the function preserves 0
def «term_→+*_» E1 #
Lean.TrailingParserDescr
α →+* β denotes the type of ring homomorphisms from α to β.
class RingHomClass E1 #
(F : Type u_5) →
(α : outParam (Type u_6)) →
(β : outParam (Type u_7)) → [NonAssocSemiring α] → [NonAssocSemiring β] → [FunLike F α β] → Prop
RingHomClass F α β states that F is a type of (semi)ring homomorphisms.
You should extend this class when you extend RingHom.
This extends from both MonoidHomClass and MonoidWithZeroHomClass in
order to put the fields in a sensible order, even though
MonoidWithZeroHomClass already extends MonoidHomClass.
instance RingHomClass.toAddMonoidHomClass E0 #
∀ {F : Type u_5} {α : outParam (Type u_6)} {β : outParam (Type u_7)} {inst : NonAssocSemiring α}
{inst_1 : NonAssocSemiring β} {inst_2 : FunLike F α β} [self : RingHomClass F α β], AddMonoidHomClass F α β
instance RingHomClass.toMonoidWithZeroHomClass E0 #
∀ {F : Type u_5} {α : outParam (Type u_6)} {β : outParam (Type u_7)} [inst : NonAssocSemiring α]
[inst_1 : NonAssocSemiring β] [inst_2 : FunLike F α β] [self : RingHomClass F α β], MonoidWithZeroHomClass F α β
ctor RingHomClass.mk E0 #
∀ {F : Type u_5} {α : outParam (Type u_6)} {β : outParam (Type u_7)} [inst : NonAssocSemiring α]
[inst_1 : NonAssocSemiring β] [inst_2 : FunLike F α β] [toMonoidHomClass : MonoidHomClass F α β]
[toAddMonoidHomClass : AddMonoidHomClass F α β], RingHomClass F α β
theorem RingHomClass.toMonoidHomClass E1 #
∀ {F : Type u_5} {α : outParam (Type u_6)} {β : outParam (Type u_7)} {inst : NonAssocSemiring α}
{inst_1 : NonAssocSemiring β} {inst_2 : FunLike F α β} [self : RingHomClass F α β], MonoidHomClass F α β
def RingHomClass.toRingHom E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : FunLike F α β] →
{x : NonAssocSemiring α} → {x_1 : NonAssocSemiring β} → [RingHomClass F α β] → F → α →+* β
Turn an element of a type F satisfying RingHomClass F α β into an actual
RingHom. This is declared as the default coercion from F to α →+* β.
instance instCoeTCRingHom E0 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : FunLike F α β] →
{x : NonAssocSemiring α} → {x_1 : NonAssocSemiring β} → [RingHomClass F α β] → CoeTC F (α →+* β)
Any type satisfying RingHomClass can be cast into RingHom via RingHomClass.toRingHom.
instance RingHomClass.toNonUnitalRingHomClass E0 #
∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] {x : NonAssocSemiring α}
{x_1 : NonAssocSemiring β} [RingHomClass F α β], NonUnitalRingHomClass F α β
instance RingHom.instFunLike E0 #
{α : Type u_2} → {β : Type u_3} → {x : NonAssocSemiring α} → {x_1 : NonAssocSemiring β} → FunLike (α →+* β) α β
instance RingHom.instRingHomClass E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}, RingHomClass (α →+* β) α β
theorem RingHom.toFun_eq_coe E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β), (↑↑f).toFun = ⇑f
theorem RingHom.coe_mk E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →* β) (h₁ : (↑f).toFun 0 = 0)
(h₂ : ∀ (x_2 y : α), (↑f).toFun (x_2 + y) = (↑f).toFun x_2 + (↑f).toFun y),
⇑{ toMonoidHom := f, map_zero' := h₁, map_add' := h₂ } = ⇑f
theorem RingHom.coe_coe E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} {F : Type u_5}
[inst : FunLike F α β] [inst_1 : RingHomClass F α β] (f : F), ⇑↑f = ⇑f
instance RingHom.instCoeMonoidWithZeroHom E0 #
{α : Type u_2} → {β : Type u_3} → {x : NonAssocSemiring α} → {x_1 : NonAssocSemiring β} → Coe (α →+* β) (α →*₀ β)
theorem RingHom.coe_toMonoidWithZeroHom E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β), ⇑↑f = ⇑f
instance RingHom.coeToMonoidHom E0 #
{α : Type u_2} → {β : Type u_3} → {x : NonAssocSemiring α} → {x_1 : NonAssocSemiring β} → Coe (α →+* β) (α →* β)
theorem RingHom.toMonoidHom_eq_coe E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β), ↑f = ↑f
theorem RingHom.toMonoidHom_mk E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →* β) (h₁ : (↑f).toFun 0 = 0)
(h₂ : ∀ (x_2 y : α), (↑f).toFun (x_2 + y) = (↑f).toFun x_2 + (↑f).toFun y),
↑{ toMonoidHom := f, map_zero' := h₁, map_add' := h₂ } = f
theorem RingHom.toAddMonoidHom_eq_coe E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β), f.toAddMonoidHom = ↑f
theorem RingHom.toAddMonoidHom_mk E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α → β) (h₁ : f 1 = 1)
(h₂ :
∀ (x_2 y : α),
{ toFun := f, map_one' := h₁ }.toFun (x_2 * y) =
{ toFun := f, map_one' := h₁ }.toFun x_2 * { toFun := f, map_one' := h₁ }.toFun y)
(h₃ : (↑{ toFun := f, map_one' := h₁, map_mul' := h₂ }).toFun 0 = 0)
(h₄ :
∀ (x_2 y : α),
(↑{ toFun := f, map_one' := h₁, map_mul' := h₂ }).toFun (x_2 + y) =
(↑{ toFun := f, map_one' := h₁, map_mul' := h₂ }).toFun x_2 +
(↑{ toFun := f, map_one' := h₁, map_mul' := h₂ }).toFun y),
↑{ toFun := f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄ } =
{ toFun := f, map_zero' := h₃, map_add' := h₄ }
def RingHom.copy E1 #
{α : Type u_2} →
{β : Type u_3} →
{x : NonAssocSemiring α} → {x_1 : NonAssocSemiring β} → (f : α →+* β) → (f' : α → β) → f' = ⇑f → α →+* β
Copy of a RingHom with a new toFun equal to the old one. Useful to fix definitional
equalities.
theorem RingHom.coe_copy E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) (f' : α → β)
(h : f' = ⇑f), ⇑(f.copy f' h) = f'
theorem RingHom.copy_eq E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) (f' : α → β)
(h : f' = ⇑f), f.copy f' h = f
theorem RingHom.congr_fun E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} {f g : α →+* β},
f = g → ∀ (x_2 : α), f x_2 = g x_2
theorem RingHom.congr_arg E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) {x_2 y : α},
x_2 = y → f x_2 = f y
theorem RingHom.coe_inj E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} ⦃f g : α →+* β⦄, ⇑f = ⇑g → f = g
theorem RingHom.ext_iff E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} {f g : α →+* β},
f = g ↔ ∀ (x_2 : α), f x_2 = g x_2
theorem RingHom.ext E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} ⦃f g : α →+* β⦄,
(∀ (x_2 : α), f x_2 = g x_2) → f = g
theorem RingHom.mk_coe E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) (h₁ : f 1 = 1)
(h₂ :
∀ (x_2 y : α),
{ toFun := ⇑f, map_one' := h₁ }.toFun (x_2 * y) =
{ toFun := ⇑f, map_one' := h₁ }.toFun x_2 * { toFun := ⇑f, map_one' := h₁ }.toFun y)
(h₃ : (↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂ }).toFun 0 = 0)
(h₄ :
∀ (x_2 y : α),
(↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂ }).toFun (x_2 + y) =
(↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂ }).toFun x_2 +
(↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂ }).toFun y),
{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄ } = f
theorem RingHom.toMonoidWithZeroHom_injective E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}, Function.Injective fun f ↦ ↑f
theorem RingHom.toAddMonoidHom_injective E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}, Function.Injective fun f ↦ ↑f
theorem RingHom.toMonoidHom_injective E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}, Function.Injective fun f ↦ ↑f
theorem RingHom.map_zero E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β), f 0 = 0
Ring homomorphisms map zero to zero.
theorem RingHom.map_one E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β), f 1 = 1
Ring homomorphisms map one to one.
theorem RingHom.map_add E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) (a b : α),
f (a + b) = f a + f b
Ring homomorphisms preserve addition.
theorem RingHom.map_mul E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) (a b : α),
f (a * b) = f a * f b
Ring homomorphisms preserve multiplication.
theorem RingHom.codomain_trivial_iff_map_one_eq_zero E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β), 0 = 1 ↔ f 1 = 0
f : α →+* β has a trivial codomain iff f 1 = 0.
theorem RingHom.codomain_trivial_iff_range_trivial E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β),
0 = 1 ↔ ∀ (x_2 : α), f x_2 = 0
f : α →+* β has a trivial codomain iff it has a trivial range.
theorem RingHom.map_one_ne_zero E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) [Nontrivial β],
f 1 ≠ 0
f : α →+* β doesn't map 1 to 0 if β is nontrivial
theorem RingHom.domain_nontrivial E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) [Nontrivial β],
Nontrivial α
If there is a homomorphism f : α →+* β and β is nontrivial, then α is nontrivial.
theorem RingHom.codomain_trivial E1 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β) [h : Subsingleton α],
Subsingleton β
theorem RingHom.map_neg E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonAssocRing α] [inst_1 : NonAssocRing β] (f : α →+* β) (x : α), f (-x) = -f x
Ring homomorphisms preserve additive inverse.
theorem RingHom.map_sub E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : NonAssocRing α] [inst_1 : NonAssocRing β] (f : α →+* β) (x y : α),
f (x - y) = f x - f y
Ring homomorphisms preserve subtraction.
def RingHom.mk' E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : NonAssocSemiring α] →
[inst_1 : NonAssocRing β] → (f : α →* β) → (∀ (a b : α), f (a + b) = f a + f b) → α →+* β
Makes a ring homomorphism from a monoid homomorphism of rings which preserves addition.
def RingHom.id E1 #
(α : Type u_5) → [inst : NonAssocSemiring α] → α →+* α
The identity ring homomorphism from a semiring to itself.
instance RingHom.instInhabited E0 #
{α : Type u_2} → {x : NonAssocSemiring α} → Inhabited (α →+* α)
theorem RingHom.coe_id E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α}, ⇑(RingHom.id α) = id
theorem RingHom.id_apply E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α} (x_1 : α), (RingHom.id α) x_1 = x_1
theorem RingHom.toAddMonoidHom_id E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α}, ↑(RingHom.id α) = AddMonoidHom.id α
theorem RingHom.toMonoidHom_id E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α}, ↑(RingHom.id α) = MonoidHom.id α
def RingHom.comp E1 #
{α : Type u_2} →
{β : Type u_3} →
{γ : Type u_4} →
{x : NonAssocSemiring α} →
{x_1 : NonAssocSemiring β} → {x_2 : NonAssocSemiring γ} → (β →+* γ) → (α →+* β) → α →+* γ
Composition of ring homomorphisms is a ring homomorphism.
theorem RingHom.comp_assoc E1 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}
{x_2 : NonAssocSemiring γ} {δ : Type u_5} {x_3 : NonAssocSemiring δ} (f : α →+* β) (g : β →+* γ) (h : γ →+* δ),
(h.comp g).comp f = h.comp (g.comp f)
Composition of semiring homomorphisms is associative.
theorem RingHom.coe_comp E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}
{x_2 : NonAssocSemiring γ} (hnp : β →+* γ) (hmn : α →+* β), ⇑(hnp.comp hmn) = ⇑hnp ∘ ⇑hmn
theorem RingHom.comp_apply E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}
{x_2 : NonAssocSemiring γ} (hnp : β →+* γ) (hmn : α →+* β) (x_3 : α), (hnp.comp hmn) x_3 = hnp (hmn x_3)
theorem RingHom.comp_id E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β),
f.comp (RingHom.id α) = f
theorem RingHom.id_comp E0 #
∀ {α : Type u_2} {β : Type u_3} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β} (f : α →+* β),
(RingHom.id β).comp f = f
instance RingHom.instOne E0 #
{α : Type u_2} → {x : NonAssocSemiring α} → One (α →+* α)
instance RingHom.instMul E0 #
{α : Type u_2} → {x : NonAssocSemiring α} → Mul (α →+* α)
theorem RingHom.one_def E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α}, 1 = RingHom.id α
theorem RingHom.mul_def E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α} (f g : α →+* α), f * g = f.comp g
theorem RingHom.coe_one E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α}, ⇑1 = id
theorem RingHom.coe_mul E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α} (f g : α →+* α), ⇑(f * g) = ⇑f ∘ ⇑g
instance RingHom.instMonoid E0 #
{α : Type u_2} → {x : NonAssocSemiring α} → Monoid (α →+* α)
theorem RingHom.coe_pow E0 #
∀ {α : Type u_2} {x : NonAssocSemiring α} (f : α →+* α) (n : ℕ), ⇑(f ^ n) = (⇑f)^[n]
theorem RingHom.cancel_right E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}
{x_2 : NonAssocSemiring γ} {g₁ g₂ : β →+* γ} {f : α →+* β}, Function.Surjective ⇑f → (g₁.comp f = g₂.comp f ↔ g₁ = g₂)
theorem RingHom.cancel_left E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {x : NonAssocSemiring α} {x_1 : NonAssocSemiring β}
{x_2 : NonAssocSemiring γ} {g : β →+* γ} {f₁ f₂ : α →+* β}, Function.Injective ⇑g → (g.comp f₁ = g.comp f₂ ↔ f₁ = f₂)
theorem RingHom.map_pow E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Semiring α] [inst_1 : Semiring β] (f : α →+* β) (a : α) (n : ℕ),
f (a ^ n) = f a ^ n
def AddMonoidHom.mkRingHomOfMulSelfOfTwoNeZero E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : CommRing α] →
[IsDomain α] →
[inst_2 : CommRing β] → (f : β →+ α) → (∀ (x : β), f (x * x) = f x * f x) → 2 ≠ 0 → f 1 = 1 → β →+* α
Make a ring homomorphism from an additive group homomorphism from a commutative ring to an
integral domain that commutes with self multiplication, assumes that two is nonzero and 1 is sent
to 1.
theorem AddMonoidHom.coe_fn_mkRingHomOfMulSelfOfTwoNeZero E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : CommRing α] [inst_1 : IsDomain α] [inst_2 : CommRing β] (f : β →+ α)
(h : ∀ (x : β), f (x * x) = f x * f x) (h_two : 2 ≠ 0) (h_one : f 1 = 1),
⇑(f.mkRingHomOfMulSelfOfTwoNeZero h h_two h_one) = ⇑f
theorem AddMonoidHom.toAddMonoidHom_mkRingHomOfMulSelfOfTwoNeZero E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : CommRing α] [inst_1 : IsDomain α] [inst_2 : CommRing β] (f : β →+ α)
(h : ∀ (x : β), f (x * x) = f x * f x) (h_two : 2 ≠ 0) (h_one : f 1 = 1),
↑(f.mkRingHomOfMulSelfOfTwoNeZero h h_two h_one) = f
Deprecated aliases
| Name | New name | Since |
|---|---|---|
AddMonoidHom.coe_addMonoidHom_mkRingHomOfMulSelfOfTwoNeZero | AddMonoidHom.toAddMonoidHom_mkRingHomOfMulSelfOfTwoNeZero | 2026-09-15 |
NonUnitalRingHom.coe_addMonoidHom_id | NonUnitalRingHom.toAddMonoidHom_id | 2026-09-15 |
NonUnitalRingHom.coe_addMonoidHom_injective | NonUnitalRingHom.toAddMonoidHom_injective | 2026-09-15 |
NonUnitalRingHom.coe_addMonoidHom_mk | NonUnitalRingHom.toAddMonoidHom_mk | 2026-09-15 |
NonUnitalRingHom.coe_comp_addMonoidHom | NonUnitalRingHom.toAddMonoidHom_comp | 2026-09-15 |
RingHom.coe_addMonoidHom_id | RingHom.toAddMonoidHom_id | 2026-09-15 |
RingHom.coe_addMonoidHom_injective | RingHom.toAddMonoidHom_injective | 2026-09-15 |
RingHom.coe_addMonoidHom_mk | RingHom.toAddMonoidHom_mk | 2026-09-15 |
RingHom.coe_monoidHom_id | RingHom.toMonoidHom_id | 2026-09-15 |
RingHom.coe_monoidHom_injective | RingHom.toMonoidHom_injective | 2026-09-15 |
RingHom.coe_monoidHom_mk | RingHom.toMonoidHom_mk | 2026-09-15 |
RingHom.toMonoidWithZeroHom_eq_coe | RingHom.coe_toMonoidWithZeroHom | 2026-09-15 |