Homomorphisms for products of groups with zero #
This file defines homomorphisms for products of groups with zero,
which is identified with the WithZero
of the product of the units of the groups.
The product of groups with zero WithZero (αˣ × βˣ)
is a
group with zero itself with natural inclusions.
TODO: Give GrpWithZero
instances of HasBinaryProducts
and HasBinaryCoproducts
,
as well as a terminal object.
The trivial group-with-zero hom is absorbing for composition.
The trivial group-with-zero hom is absorbing for composition.
Given groups with zero G₀
, H₀
, the natural inclusion ordered homomorphism from
G₀
to WithZero (G₀ˣ × H₀ˣ)
, which is the group with zero that can be identified
as their product.
Equations
- MonoidWithZeroHom.inl G₀ H₀ = (WithZero.map' (MonoidHom.inl G₀ˣ H₀ˣ)).comp ↑WithZero.withZeroUnitsEquiv.symm
Instances For
Given groups with zero G₀
, H₀
, the natural inclusion ordered homomorphism from
H₀
to WithZero (G₀ˣ × H₀ˣ)
, which is the group with zero that can be identified
as their product.
Equations
- MonoidWithZeroHom.inr G₀ H₀ = (WithZero.map' (MonoidHom.inr G₀ˣ H₀ˣ)).comp ↑WithZero.withZeroUnitsEquiv.symm
Instances For
Given groups with zero G₀
, H₀
, the natural projection homomorphism from
WithZero (G₀ˣ × H₀ˣ)
to G₀
, which is the group with zero that can be identified
as their product.
Equations
- MonoidWithZeroHom.fst G₀ H₀ = WithZero.lift' ((Units.coeHom G₀).comp (MonoidHom.fst G₀ˣ H₀ˣ))
Instances For
Given groups with zero G₀
, H₀
, the natural projection homomorphism from
WithZero (G₀ˣ × H₀ˣ)
to H₀
, which is the group with zero that can be identified
as their product.
Equations
- MonoidWithZeroHom.snd G₀ H₀ = WithZero.lift' ((Units.coeHom H₀).comp (MonoidHom.snd G₀ˣ H₀ˣ))