Unbundled semiring and ring homomorphisms (deprecated) #
This file defines structures for unbundled semiring and ring homomorphisms. Though bundled morphisms are now preferred, the unbundled structures are still occasionally used in mathlib, and probably will not go away before Lean 4 because Lean 3 often fails to coerce a bundled homomorphism to a function.
Main Definitions #
is_semiring_hom
(deprecated), is_ring_hom
(deprecated)
Tags #
is_semiring_hom, is_ring_hom
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.
Ring homomorphisms map zero to zero.
Ring homomorphisms preserve additive inverses.
Ring homomorphisms preserve subtraction.
The identity map is a ring homomorphism.
The composition of two ring homomorphisms is a ring homomorphism.
A ring homomorphism is also a semiring homomorphism.
Interpret f : α → β
with is_semiring_hom f
as a ring homomorphism.