Prod instances for additive and multiplicative actions #
This file defines instances for binary product of additive and multiplicative actions and provides
scalar multiplication as a homomorphism from α × β
to β
.
Main declarations #
smulMulHom
/smulMonoidHom
: Scalar multiplication bundled as a multiplicative/monoid homomorphism.
See also #
Mathlib.Algebra.Group.Action.Option
Mathlib.Algebra.Group.Action.Pi
Mathlib.Algebra.Group.Action.Sigma
Mathlib.Algebra.Group.Action.Sum
Porting notes #
The to_additive
attribute can be used to generate both the smul
and vadd
lemmas
from the corresponding pow
lemmas, as explained on zulip here:
https://leanprover.zulipchat.com/#narrow/near/316087838
This was not done as part of the port in order to stay as close as possible to the mathlib3 code.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Scalar multiplication as a homomorphism #
Scalar multiplication as a multiplicative homomorphism.
Instances For
Scalar multiplication as a monoid homomorphism.
Equations
- smulMonoidHom = { toFun := smulMulHom.toFun, map_one' := ⋯, map_mul' := ⋯ }
Instances For
Construct a MulAction
by a product monoid from MulAction
s by the factors.
This is not an instance to avoid diamonds for example when α := M × N
.
Equations
- MulAction.prodOfSMulCommClass M N α = MulAction.mk ⋯ ⋯
Instances For
Construct an AddAction
by a product monoid from AddAction
s by the factors.
This is not an instance to avoid diamonds for example when α := M × N
.
Equations
- AddAction.prodOfVAddCommClass M N α = AddAction.mk ⋯ ⋯