More operations on WithOne
and WithZero
#
This file defines various bundled morphisms on WithOne
and WithZero
that were not available in Algebra/Group/WithOne/Defs
.
Main definitions #
Equations
Equations
WithOne.coe
as a bundled morphism
Equations
- WithOne.coeMulHom = { toFun := WithOne.coe, map_mul' := ⋯ }
Instances For
WithZero.coe
as a bundled morphism
Equations
- WithZero.coeAddHom = { toFun := WithZero.coe, map_add' := ⋯ }
Instances For
Lift a semigroup homomorphism f
to a bundled monoid homomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lift an add semigroup homomorphism f
to a bundled add monoid homomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
@[simp]
theorem
WithZero.lift_coe
{α : Type u}
{β : Type v}
[Add α]
[AddZeroClass β]
(f : α →ₙ+ β)
(x : α)
:
@[simp]
@[simp]
@[simp]
@[simp]
A version of Equiv.optionCongr
for WithOne
.
Equations
- e.withOneCongr = { toFun := ⇑(WithOne.map e.toMulHom), invFun := ⇑(WithOne.map e.symm.toMulHom), left_inv := ⋯, right_inv := ⋯, map_mul' := ⋯ }
Instances For
A version of Equiv.optionCongr
for WithZero
.
Equations
- e.withZeroCongr = { toFun := ⇑(WithZero.map e.toAddHom), invFun := ⇑(WithZero.map e.symm.toAddHom), left_inv := ⋯, right_inv := ⋯, map_add' := ⋯ }
Instances For
@[simp]
@[simp]