Type tags for right action on the domain of a function #
By default, M acts on α → β if it acts on β, and the action is given by
(c • f) a = c • (f a).
In some cases, it is useful to consider another action: if M acts on α on the left, then it acts
on α → β on the right so that (c • f) a = f (c • a). E.g., this action is used to reformulate
the Mean Ergodic Theorem in terms of an operator on L².
Main definitions #
DomMulAct M(notation:Mᵈᵐᵃ): type synonym forMᵐᵒᵖ; ifMmultiplicatively acts onα, thenMᵈᵐᵃacts onα → βfor any typeβ;DomAddAct M(notation:Mᵈᵃᵃ): the additive version.
We also define actions of Mᵈᵐᵃ on:
α → βprovided thatMacts onα;A →* Bprovided thatMacts onAby aMulDistribMulAction;A →+ Bprovided thatMacts onAby aDistribMulAction.
Implementation notes #
Motivation #
Right action can be represented in mathlib as an action of the opposite group Mᵐᵒᵖ. However,
this "domain shift" action cannot be an instance because this would create a "diamond"
(a.k.a. ambiguous notation): if M is a monoid, then how does Mᵐᵒᵖ act on M → M? On the one
hand, Mᵐᵒᵖ acts on M by c • a = a * c.unop, thus we have an action
(c • f) a = f a * c.unop. On the other hand, M acts on itself by multiplication on the left, so
with this new instance we would have (c • f) a = f (c.unop * a). Clearly, these are two different
actions, so both of them cannot be instances in the library.
To overcome this difficulty, we introduce a type synonym DomMulAct M := Mᵐᵒᵖ (notation:
Mᵈᵐᵃ). This new type carries the same algebraic structures as Mᵐᵒᵖ but acts on α → β by this
new action. So, e.g., Mᵈᵐᵃ acts on (M → M) → M by DomMulAct.mk c • F f = F (fun a ↦ c • f a)
while (Mᵈᵐᵃ)ᵈᵐᵃ (which is isomorphic to M) acts on (M → M) → M by
DomMulAct.mk (DomMulAct.mk c) • F f = F (fun a ↦ f (c • a)).
Action on bundled homomorphisms #
If the action of M on A preserves some structure, then Mᵈᵐᵃ acts on bundled homomorphisms from
A to any type B that preserve the same structure. Examples (some of them are not yet in the
library) include:
- a
MulDistribMulActiongenerates an action onA →* B; - a
DistribMulActiongenerates an action onA →+ B; - an action on
αthat commutes with action of some other monoidNgenerates an action onα →[N] β; - a
DistribMulActionon anR-module that commutes with scalar multiplications byc : Rgenerates an action onR-linear maps from this module; - a continuous action on
Xgenerates an action onC(X, Y); - a measurable action on
Xgenerates an action on{ f : X → Y // Measurable f }; - a quasi-measure-preserving action on
Xgenerates an action onX →ₘ[μ] Y; - a measure-preserving action generates an isometric action on
MeasureTheory.Lp _ _ _.
Left action vs right action #
It is common in the literature to consider the left action given by (c • f) a = f (c⁻¹ • a)
instead of the action defined in this file. However, this left action is defined only if c belongs
to a group, not to a monoid, so we decided to go with the right action.
The left action can be written in terms of DomMulAct as (DomMulAct.mk c)⁻¹ • f. As for higher
level dynamics objects (orbits, invariant functions etc), they coincide for the left and for the
right action, so lemmas can be formulated in terms of DomMulAct.
Tags #
group action, function, domain
If M multiplicatively acts on α, then DomMulAct M acts on α → β as well as some
bundled maps from α. This is a type synonym for MulOpposite M, so this corresponds to a right
action of M.
Equations
- «term_ᵈᵐᵃ» = Lean.ParserDescr.trailingNode `«term_ᵈᵐᵃ» 1024 1024 (Lean.ParserDescr.symbol "ᵈᵐᵃ")
Instances For
If M additively acts on α, then DomAddAct M acts on α → β as
well as some bundled maps from α. This is a type synonym for AddOpposite M, so this corresponds
to a right action of M.
Equations
- «term_ᵈᵃᵃ» = Lean.ParserDescr.trailingNode `«term_ᵈᵃᵃ» 1024 1024 (Lean.ParserDescr.symbol "ᵈᵃᵃ")
Instances For
Equivalence between M and Mᵈᵐᵃ.
Equations
Instances For
Equivalence between M and Mᵈᵐᵃ.
Equations
Instances For
Copy instances from Mᵐᵒᵖ #
Equations
- DomAddAct.instAddCommSemigroup = { toAddSemigroup := DomAddAct.instAddSemigroup, add_comm := ⋯ }
Equations
- DomMulAct.instCommSemigroup = { toSemigroup := DomMulAct.instSemigroup, mul_comm := ⋯ }
Equations
- One or more equations did not get rendered due to their size.
Equations
- DomAddAct.instNeg = { neg := DomAddAct.instNeg._aux_1 }
Equations
- DomMulAct.instMulOneClass = { toOne := DomMulAct.instOne, toMul := DomMulAct.instMul, one_mul := ⋯, mul_one := ⋯ }
Equations
- DomMulAct.instDivisionMonoid = { toDivInvMonoid := DomMulAct.instDivInvMonoid, inv_inv := ⋯, mul_inv_rev := ⋯, inv_eq_of_mul := ⋯ }
Equations
- DomMulAct.instCancelMonoid = { toMonoid := DomMulAct.instMonoid, toIsLeftCancelMul := ⋯, toIsRightCancelMul := ⋯ }
Equations
- DomAddAct.instAddCancelMonoid = { toAddMonoid := DomAddAct.instAddMonoid, toIsLeftCancelAdd := ⋯, toIsRightCancelAdd := ⋯ }
Equations
- DomAddAct.instAddCommGroup = { toAddGroup := DomAddAct.instAddGroup, add_comm := ⋯ }
Equations
- DomMulAct.instCommMonoid = { toMonoid := DomMulAct.instMonoid, mul_comm := ⋯ }
Equations
- DomMulAct.instMul = { mul := DomMulAct.instMul._aux_1 }
Equations
- DomMulAct.instInv = { inv := DomMulAct.instInv._aux_1 }
Equations
- DomMulAct.instGroup = { toDivInvMonoid := DomMulAct.instDivInvMonoid, inv_mul_cancel := ⋯ }
Equations
- DomMulAct.instOne = { one := DomMulAct.instOne._aux_1 }
Equations
- DomMulAct.instCancelCommMonoid = { toCommMonoid := DomMulAct.instCommMonoid, toIsLeftCancelMul := ⋯ }
Equations
- DomMulAct.instInvolutiveInv = { toInv := DomMulAct.instInv, inv_inv := ⋯ }
Equations
- DomMulAct.instDivisionCommMonoid = { toDivisionMonoid := DomMulAct.instDivisionMonoid, mul_comm := ⋯ }
Equations
- DomMulAct.instCommGroup = { toGroup := DomMulAct.instGroup, mul_comm := ⋯ }
Equations
- DomAddAct.instZero = { zero := DomAddAct.instZero._aux_1 }
Equations
- DomAddAct.instAdd = { add := DomAddAct.instAdd._aux_1 }
Equations
- DomAddAct.instAddZeroClass = { toZero := DomAddAct.instZero, toAdd := DomAddAct.instAdd, zero_add := ⋯, add_zero := ⋯ }
Equations
- DomAddAct.instAddGroup = { toSubNegMonoid := DomAddAct.instSubNegAddMonoid, neg_add_cancel := ⋯ }
Equations
- One or more equations did not get rendered due to their size.
Equations
- DomAddAct.instAddCommMonoid = { toAddMonoid := DomAddAct.instAddMonoid, add_comm := ⋯ }
Equations
- DomAddAct.instDivisionAddCommMonoid = { toSubtractionMonoid := DomAddAct.instSubtractionMonoid, add_comm := ⋯ }
Equations
- DomAddAct.instSubtractionMonoid = { toSubNegMonoid := DomAddAct.instSubNegAddMonoid, neg_neg := ⋯, neg_add_rev := ⋯, neg_eq_of_add := ⋯ }
Equations
- DomAddAct.instInvolutiveNeg = { toNeg := DomAddAct.instNeg, neg_neg := ⋯ }
Equations
- DomAddAct.instAddSemigroup = { toAdd := DomAddAct.instAdd, add_assoc := ⋯ }
Equations
- DomAddAct.instAddCancelCommMonoid = { toAddCommMonoid := DomAddAct.instAddCommMonoid, toIsLeftCancelAdd := ⋯ }
Equations
- DomMulAct.instSemigroup = { toMul := DomMulAct.instMul, mul_assoc := ⋯ }
Equations
- DomMulAct.instSMulZeroClassForallOfSMul = { toSMul := DomMulAct.instSMulForall, smul_zero := ⋯ }
Equations
- DomMulAct.instDistribSMulForallOfSMul = { toSMulZeroClass := DomMulAct.instSMulZeroClassForallOfSMul, smul_add := ⋯ }
Equations
- DomMulAct.instMulActionForall = { toSMul := DomMulAct.instSMulForall, mul_smul := ⋯, one_smul := ⋯ }
Equations
- DomAddAct.instAddActionForall = { toVAdd := DomAddAct.instVAddForall, add_vadd := ⋯, zero_vadd := ⋯ }
Equations
- DomMulAct.instDistribMulActionForallOfMulAction = { toMulAction := DomMulAct.instMulActionForall, smul_zero := ⋯, smul_add := ⋯ }
Equations
- DomMulAct.instMulDistribMulActionForallOfMulAction = { toMulAction := DomMulAct.instMulActionForall, smul_one := ⋯, smul_mul := ⋯ }
Equations
- DomMulAct.instSMulMonoidHom = { smul := fun (c : Mᵈᵐᵃ) (f : A →* B) => f.comp (MulDistribMulAction.toMonoidHom A (DomMulAct.mk.symm c)) }
Equations
- DomMulAct.instSMulAddMonoidHom = { smul := fun (c : Mᵈᵐᵃ) (f : A →+ B) => f.comp (DistribSMul.toAddMonoidHom A (DomMulAct.mk.symm c)) }