Definitions of group actions #
This file defines a hierarchy of group action type-classes on top of the previously defined
notation classes SMul
and its additive version VAdd
:
SMulZeroClass
is a typeclass for an action that preserves zeroDistribSMul M A
is a typeclass for an action on an additive monoid (AddZeroClass
) that preserves addition and zeroDistribMulAction M A
is a typeclass for an action of a multiplicative monoid on an additive monoid such thata • (b + c) = a • b + a • c
anda • 0 = 0
.
The hierarchy is extended further by Module
, defined elsewhere.
Notation #
a • b
is used as notation forSMul.smul a b
.
Implementation details #
This file should avoid depending on other parts of GroupTheory
, to avoid import cycles.
More sophisticated lemmas belong in GroupTheory.GroupAction
.
Tags #
group action
Pullback a zero-preserving scalar multiplication along an injective zero-preserving map. See note [reducible non-instances].
Equations
- Function.Injective.smulZeroClass f hf smul = SMulZeroClass.mk ⋯
Instances For
Pushforward a zero-preserving scalar multiplication along a zero-preserving map. See note [reducible non-instances].
Equations
- f.smulZeroClass smul = SMulZeroClass.mk ⋯
Instances For
Push forward the multiplication of R
on M
along a compatible surjective map f : R → S
.
See also Function.Surjective.distribMulActionLeft
.
Equations
- Function.Surjective.smulZeroClassLeft f hf hsmul = SMulZeroClass.mk ⋯
Instances For
Compose a SMulZeroClass
with a function, with scalar multiplication f r' • m
.
See note [reducible non-instances].
Equations
Instances For
Each element of the scalars defines a zero-preserving map.
Equations
- SMulZeroClass.toZeroHom A x = { toFun := fun (x_1 : A) => x • x_1, map_zero' := ⋯ }
Instances For
SMulWithZero
is a class consisting of a Type M₀
with 0 ∈ M₀
and a scalar multiplication
of M₀
on a Type A
with 0
, such that the equality r • m = 0
holds if at least one among r
or m
equals 0
.
- smul : M₀ → A → A
Scalar multiplication by the scalar
0
is0
.
Instances
Equations
Like MulZeroClass.toSMulWithZero
, but multiplies on the right.
Equations
Pullback a SMulWithZero
structure along an injective zero-preserving homomorphism.
Equations
- Function.Injective.smulWithZero f hf smul = SMulWithZero.mk ⋯
Instances For
Pushforward a SMulWithZero
structure along a surjective zero-preserving homomorphism.
Equations
- Function.Surjective.smulWithZero f hf smul = SMulWithZero.mk ⋯
Instances For
Compose a SMulWithZero
with a ZeroHom
, with action f r' • m
Equations
Instances For
Equations
Equations
An action of a monoid with zero M₀
on a Type A
, also with 0
, extends MulAction
and
is compatible with 0
(both in M₀
and in A
), with 1 ∈ M₀
, and with associativity of
multiplication on the monoid A
.
- smul : M₀ → A → A
Scalar multiplication by any element send
0
to0
.Scalar multiplication by the scalar
0
is0
.
Instances
Equations
See also Semiring.toModule
Equations
Like MonoidWithZero.toMulActionWithZero
, but multiplies on the right. See also
Semiring.toOppositeModule
Equations
Pullback a MulActionWithZero
structure along an injective zero-preserving homomorphism.
Equations
- Function.Injective.mulActionWithZero f hf smul = MulActionWithZero.mk ⋯ ⋯
Instances For
Pushforward a MulActionWithZero
structure along a surjective zero-preserving homomorphism.
Equations
- Function.Surjective.mulActionWithZero f hf smul = MulActionWithZero.mk ⋯ ⋯
Instances For
Compose a MulActionWithZero
with a MonoidWithZeroHom
, with action f r' • m
Equations
Instances For
Typeclass for scalar multiplication that preserves 0
and +
on the right.
This is exactly DistribMulAction
without the MulAction
part.
- smul : M → A → A
Scalar multiplication distributes across addition
Instances
Equations
Pullback a distributive scalar multiplication along an injective additive monoid homomorphism. See note [reducible non-instances].
Equations
- Function.Injective.distribSMul f hf smul = DistribSMul.mk ⋯
Instances For
Pushforward a distributive scalar multiplication along a surjective additive monoid homomorphism. See note [reducible non-instances].
Equations
- Function.Surjective.distribSMul f hf smul = DistribSMul.mk ⋯
Instances For
Push forward the multiplication of R
on M
along a compatible surjective map f : R → S
.
See also Function.Surjective.distribMulActionLeft
.
Equations
- Function.Surjective.distribSMulLeft f hf hsmul = DistribSMul.mk ⋯
Instances For
Compose a DistribSMul
with a function, with scalar multiplication f r' • m
.
See note [reducible non-instances].
Equations
Instances For
Each element of the scalars defines an additive monoid homomorphism.
Equations
- DistribSMul.toAddMonoidHom A x = { toFun := fun (x_1 : A) => x • x_1, map_zero' := ⋯, map_add' := ⋯ }
Instances For
Typeclass for multiplicative actions on additive structures. This generalizes group modules.
- smul : M → A → A
Multiplying
0
by a scalar gives0
Scalar multiplication distributes across addition
Instances
Equations
Since Lean 3 does not have definitional eta for structures, we have to make sure
that the definition of DistribMulAction.toDistribSMul
was done correctly,
and the two paths from DistribMulAction
to SMul
are indeed definitionally equal.
Pullback a distributive multiplicative action along an injective additive monoid homomorphism. See note [reducible non-instances].
Equations
- Function.Injective.distribMulAction f hf smul = DistribMulAction.mk ⋯ ⋯
Instances For
Pushforward a distributive multiplicative action along a surjective additive monoid homomorphism. See note [reducible non-instances].
Equations
- Function.Surjective.distribMulAction f hf smul = DistribMulAction.mk ⋯ ⋯
Instances For
Each element of the monoid defines an additive monoid homomorphism.
Equations
Instances For
Each element of the monoid defines an additive monoid homomorphism.
Equations
- DistribMulAction.toAddMonoidEnd M A = { toFun := DistribMulAction.toAddMonoidHom A, map_one' := ⋯, map_mul' := ⋯ }