Scalar actions on and by Mᵐᵒᵖ #
This file defines the actions on the opposite type SMul R Mᵐᵒᵖ, and actions by the opposite
type, SMul Rᵐᵒᵖ M.
Note that MulOpposite.smul is provided in an earlier file as it is needed to
provide the AddMonoid.nsmul and AddCommGroup.zsmul fields.
Notation #
With open scoped RightActions, this provides:
r •> mas an alias forr • mm <• ras an alias forMulOpposite.op r • mv +ᵥ> pas an alias forv +ᵥ pp <+ᵥ vas an alias forAddOpposite.op v +ᵥ p
Actions on the opposite type #
Actions on the opposite type just act on the underlying type.
Equations
- MulOpposite.instMulAction = { toSMul := MulOpposite.instSMul, one_smul := ⋯, mul_smul := ⋯ }
Equations
- AddOpposite.instAddAction = { toVAdd := AddOpposite.instVAdd, zero_vadd := ⋯, add_vadd := ⋯ }
Right actions #
In this section we establish SMul αᵐᵒᵖ β as the canonical spelling of right scalar multiplication
of β by α, and provide convenient notations.
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
With open scoped RightActions, an alternative symbol for left actions, r • m.
In lemma names this is still called smul.
Equations
- RightActions.«term_•>_» = Lean.ParserDescr.trailingNode `RightActions.«term_•>_» 74 75 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " •> ") (Lean.ParserDescr.cat `term 74))
Instances For
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
With open scoped RightActions, a shorthand for right actions, op r • m.
In lemma names this is still called op_smul.
Equations
- RightActions.«term_<•_» = Lean.ParserDescr.trailingNode `RightActions.«term_<•_» 73 73 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " <• ") (Lean.ParserDescr.cat `term 74))
Instances For
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
With open scoped RightActions, an alternative symbol for left actions, r • m.
In lemma names this is still called vadd.
Equations
- RightActions.«term_+ᵥ>_» = Lean.ParserDescr.trailingNode `RightActions.«term_+ᵥ>_» 74 75 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " +ᵥ> ") (Lean.ParserDescr.cat `term 74))
Instances For
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
With open scoped RightActions, a shorthand for right actions, op r +ᵥ m.
In lemma names this is still called op_vadd.
Equations
- RightActions.«term_<+ᵥ_» = Lean.ParserDescr.trailingNode `RightActions.«term_<+ᵥ_» 73 73 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " <+ᵥ ") (Lean.ParserDescr.cat `term 74))
Instances For
Actions by the opposite type (right actions) #
Like Monoid.toMulAction, but multiplies on the right.
Like AddMonoid.toAddAction, but adds on the right.