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 to represent a
ring homomorphism.
Main Definitions #
IsSemiringHom (deprecated), IsRingHom (deprecated)
Tags #
IsSemiringHom, IsRingHom
Predicate for semiring homomorphisms (deprecated -- use the bundled RingHom version).
- map_zero : f 0 = 0
The proposition that
fpreserves the additive identity. - map_one : f 1 = 1
The proposition that
fpreserves the multiplicative identity. The proposition that
fpreserves addition.The proposition that
fpreserves multiplication.
Instances For
The identity map is a semiring homomorphism.
The composition of two semiring homomorphisms is a semiring homomorphism.
A semiring homomorphism is an additive monoid homomorphism.
A semiring homomorphism is a monoid homomorphism.
A map of rings that is a semiring homomorphism is also a ring homomorphism.
The identity map is a ring homomorphism.
Interpret f : α → β with IsSemiringHom f as a ring homomorphism.
Equations
- RingHom.of hf = let __src := MonoidHom.of ⋯; let __src := AddMonoidHom.of ⋯; { toMonoidHom := { toOneHom := { toFun := f, map_one' := ⋯ }, map_mul' := ⋯ }, map_zero' := ⋯, map_add' := ⋯ }