Documentation

Mathlib.Deprecated.Ring

Unbundled semiring and ring homomorphisms (deprecated) #

This file is deprecated, and is no longer imported by anything in mathlib other than other deprecated files, and test files. You should not need to import it.

This file defines predicates for unbundled semiring and ring homomorphisms. Instead of using this file, please use RingHom, defined in Algebra.Hom.Ring, with notation →+*→+*, for morphisms between semirings or rings. For example use φ : A →+* B→+* B to represent a ring homomorphism.

Main Definitions #

IsSemiringHom (deprecated), IsRingHom (deprecated)

Tags #

IsSemiringHom, IsRingHom

structure IsSemiringHom {α : Type u} {β : Type v} [inst : ] [inst : ] (f : αβ) :
• The proposition that f preserves the additive identity.

map_zero : f 0 = 0
• The proposition that f preserves the multiplicative identity.

map_one : f 1 = 1
• The proposition that f preserves addition.

map_add : ∀ (x y : α), f (x + y) = f x + f y
• The proposition that f preserves multiplication.

map_mul : ∀ (x y : α), f (x * y) = f x * f y

Predicate for semiring homomorphisms (deprecated -- use the bundled RingHom version).

Instances For
theorem IsSemiringHom.id {α : Type u} [inst : ] :

The identity map is a semiring homomorphism.

theorem IsSemiringHom.comp {α : Type u} {β : Type v} [inst : ] [inst : ] {f : αβ} (hf : ) {γ : Type u_1} [inst : ] {g : βγ} (hg : ) :

The composition of two semiring homomorphisms is a semiring homomorphism.

theorem IsSemiringHom.to_isAddMonoidHom {α : Type u} {β : Type v} [inst : ] [inst : ] {f : αβ} (hf : ) :

A semiring homomorphism is an additive monoid homomorphism.

theorem IsSemiringHom.to_isMonoidHom {α : Type u} {β : Type v} [inst : ] [inst : ] {f : αβ} (hf : ) :

A semiring homomorphism is a monoid homomorphism.

structure IsRingHom {α : Type u} {β : Type v} [inst : Ring α] [inst : Ring β] (f : αβ) :
• The proposition that f preserves the multiplicative identity.

map_one : f 1 = 1
• The proposition that f preserves multiplication.

map_mul : ∀ (x y : α), f (x * y) = f x * f y
• The proposition that f preserves addition.

map_add : ∀ (x y : α), f (x + y) = f x + f y

Predicate for ring homomorphisms (deprecated -- use the bundled RingHom version).

Instances For
theorem IsRingHom.of_semiring {α : Type u} {β : Type v} [inst : Ring α] [inst : Ring β] {f : αβ} (H : ) :

A map of rings that is a semiring homomorphism is also a ring homomorphism.

theorem IsRingHom.map_zero {α : Type u} {β : Type v} [inst : Ring α] [inst : Ring β] {f : αβ} (hf : ) :
f 0 = 0

Ring homomorphisms map zero to zero.

theorem IsRingHom.map_neg {α : Type u} {β : Type v} [inst : Ring α] [inst : Ring β] {f : αβ} {x : α} (hf : ) :
f (-x) = -f x

theorem IsRingHom.map_sub {α : Type u} {β : Type v} [inst : Ring α] [inst : Ring β] {f : αβ} {x : α} {y : α} (hf : ) :
f (x - y) = f x - f y

Ring homomorphisms preserve subtraction.

theorem IsRingHom.id {α : Type u} [inst : Ring α] :

The identity map is a ring homomorphism.

theorem IsRingHom.comp {α : Type u} {β : Type v} [inst : Ring α] [inst : Ring β] {f : αβ} (hf : ) {γ : Type u_1} [inst : Ring γ] {g : βγ} (hg : ) :

The composition of two ring homomorphisms is a ring homomorphism.

theorem IsRingHom.to_isSemiringHom {α : Type u} {β : Type v} [inst : Ring α] [inst : Ring β] {f : αβ} (hf : ) :

A ring homomorphism is also a semiring homomorphism.

theorem IsRingHom.to_isAddGroupHom {α : Type u} {β : Type v} [inst : Ring α] [inst : Ring β] {f : αβ} (hf : ) :
def RingHom.of {α : Type u} {β : Type v} {rα : } {rβ : } {f : αβ} (hf : ) :
α →+* β

Interpret f : α → β→ β with IsSemiringHom f as a ring homomorphism.

Equations
• One or more equations did not get rendered due to their size.
@[simp]
theorem RingHom.coe_of {α : Type u} {β : Type v} {rα : } {rβ : } {f : αβ} (hf : ) :
↑() = f
theorem RingHom.to_isSemiringHom {α : Type u} {β : Type v} {rα : } {rβ : } (f : α →+* β) :
theorem RingHom.to_isRingHom {α : Type u_1} {γ : Type u_2} [inst : Ring α] [inst : Ring γ] (g : α →+* γ) :