The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.Algebra.GroupWithZero.Action.Opposite

6 declarations. Mathlib docs · Source

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 NSMul.nsmul and ZSMul.zsmul fields.

Notation

With open scoped RightActions, this provides:

  • r •> m as an alias for r • m
  • m <• r as an alias for MulOpposite.op r • m
  • v +ᵥ> p as an alias for v +ᵥ p
  • p <+ᵥ v as an alias for AddOpposite.op v +ᵥ p

Actions on the opposite type

Actions on the opposite type just act on the underlying type.

Actions by the opposite type (right actions)

In Mul.toSMul in another file, we define the left action a₁ • a₂ = a₁ * a₂. For the multiplicative opposite, we define MulOpposite.op a₁ • a₂ = a₂ * a₁, with the multiplication reversed.

instance MulOpposite.instSMulZeroClass E0 #

{M : Type u_1} → {α : Type u_2} → [inst : AddMonoid α] → [SMulZeroClass M α] → SMulZeroClass M αᵐᵒᵖ

instance MulOpposite.instSMulWithZero E0 #

{M : Type u_1} →
  {α : Type u_2} → [inst : MonoidWithZero M] → [inst_1 : AddMonoid α] → [SMulWithZero M α] → SMulWithZero M αᵐᵒᵖ

instance MulOpposite.instMulActionWithZero E0 #

{M : Type u_1} →
  {α : Type u_2} →
    [inst : MonoidWithZero M] → [inst_1 : AddMonoid α] → [MulActionWithZero M α] → MulActionWithZero M αᵐᵒᵖ

instance MulOpposite.instDistribMulAction E0 #

{M : Type u_1} →
  {α : Type u_2} → [inst : Monoid M] → [inst_1 : AddMonoid α] → [DistribMulAction M α] → DistribMulAction M αᵐᵒᵖ

instance MulOpposite.instMulDistribMulAction E0 #

{M : Type u_1} →
  {α : Type u_2} → [inst : Monoid M] → [inst_1 : Monoid α] → [MulDistribMulAction M α] → MulDistribMulAction M αᵐᵒᵖ

instance IsLeftCancelMulZero.toFaithfulSMul_opposite E0 #

∀ {α : Type u_2} [inst : MonoidWithZero α] [IsLeftCancelMulZero α], FaithfulSMul αᵐᵒᵖ α

Monoid.toOppositeMulAction is faithful on nontrivial cancellative monoids with zero.