Mathlib.Algebra.Group.Action.Units
36 declarations and 1 deprecated aliases. Mathlib docs · Source
Group actions on and by Mˣ
This file provides the action of a unit on a type α, SMul Mˣ α, in the presence of
SMul M α, with the obvious definition stated in Units.smul_def. This definition preserves
MulAction and DistribMulAction structures too.
Additionally, a MulAction G M for some group G satisfying some additional properties admits a
MulAction G Mˣ structure, again with the obvious definition stated in Units.coe_smul.
These instances use a primed name.
The results are repeated for AddUnits and VAdd where relevant.
Action of a group G on units of M
instance Units.instSMul E0 #
{M : Type u_3} → {α : Type u_5} → [inst : Monoid M] → [SMul M α] → SMul Mˣ α
instance AddUnits.instVAdd E0 #
{M : Type u_3} → {α : Type u_5} → [inst : AddMonoid M] → [VAdd M α] → VAdd (AddUnits M) α
theorem AddUnits.vadd_def E0 #
∀ {M : Type u_3} {α : Type u_5} [inst : AddMonoid M] [inst_1 : VAdd M α] (m : AddUnits M) (a : α), m +ᵥ a = ↑m +ᵥ a
theorem Units.smul_def E0 #
∀ {M : Type u_3} {α : Type u_5} [inst : Monoid M] [inst_1 : SMul M α] (m : Mˣ) (a : α), m • a = ↑m • a
theorem Units.smul_mk_apply E0 #
∀ {M : Type u_6} {α : Type u_7} [inst : Monoid M] [inst_1 : SMul M α] (m n : M) (h₁ : m * n = 1) (h₂ : n * m = 1)
(a : α), { val := m, inv := n, val_inv := h₁, inv_val := h₂ } • a = m • a
theorem AddUnits.vadd_mk_apply E0 #
∀ {M : Type u_6} {α : Type u_7} [inst : AddMonoid M] [inst_1 : VAdd M α] (m n : M) (h₁ : m + n = 0) (h₂ : n + m = 0)
(a : α), { val := m, neg := n, val_neg := h₁, neg_val := h₂ } +ᵥ a = m +ᵥ a
theorem Units.smul_isUnit E0 #
∀ {M : Type u_3} {α : Type u_5} [inst : Monoid M] [inst_1 : SMul M α] {m : M} (hm : IsUnit m) (a : α),
hm.unit • a = m • a
theorem IsUnit.inv_smul E1 #
∀ {α : Type u_5} [inst : Monoid α] {a : α} (h : IsUnit a), h.unit⁻¹ • a = 1
theorem IsAddUnit.neg_vadd E1 #
∀ {α : Type u_5} [inst : AddMonoid α] {a : α} (h : IsAddUnit a), -h.addUnit +ᵥ a = 0
instance AddUnits.instFaithfulVAdd E0 #
∀ {M : Type u_3} {α : Type u_5} [inst : AddMonoid M] [inst_1 : VAdd M α] [FaithfulVAdd M α], FaithfulVAdd (AddUnits M) α
instance Units.instFaithfulSMul E0 #
∀ {M : Type u_3} {α : Type u_5} [inst : Monoid M] [inst_1 : SMul M α] [FaithfulSMul M α], FaithfulSMul Mˣ α
instance Units.instMulAction E0 #
{M : Type u_3} → {α : Type u_5} → [inst : Monoid M] → [MulAction M α] → MulAction Mˣ α
instance AddUnits.instAddAction E0 #
{M : Type u_3} → {α : Type u_5} → [inst : AddMonoid M] → [AddAction M α] → AddAction (AddUnits M) α
instance Units.smulCommClass_left E0 #
∀ {M : Type u_3} {N : Type u_4} {α : Type u_5} [inst : Monoid M] [inst_1 : SMul M α] [inst_2 : SMul N α]
[SMulCommClass M N α], SMulCommClass Mˣ N α
instance AddUnits.vaddCommClass_left E0 #
∀ {M : Type u_3} {N : Type u_4} {α : Type u_5} [inst : AddMonoid M] [inst_1 : VAdd M α] [inst_2 : VAdd N α]
[VAddCommClass M N α], VAddCommClass (AddUnits M) N α
instance Units.smulCommClass_right E0 #
∀ {M : Type u_3} {N : Type u_4} {α : Type u_5} [inst : Monoid N] [inst_1 : SMul M α] [inst_2 : SMul N α]
[SMulCommClass M N α], SMulCommClass M Nˣ α
instance AddUnits.vaddCommClass_right E0 #
∀ {M : Type u_3} {N : Type u_4} {α : Type u_5} [inst : AddMonoid N] [inst_1 : VAdd M α] [inst_2 : VAdd N α]
[VAddCommClass M N α], VAddCommClass M (AddUnits N) α
instance Units.instIsScalarTower E0 #
∀ {M : Type u_3} {N : Type u_4} {α : Type u_5} [inst : Monoid M] [inst_1 : SMul M N] [inst_2 : SMul M α]
[inst_3 : SMul N α] [IsScalarTower M N α], IsScalarTower Mˣ N α
instance AddUnits.instVAddAssocClass E0 #
∀ {M : Type u_3} {N : Type u_4} {α : Type u_5} [inst : AddMonoid M] [inst_1 : VAdd M N] [inst_2 : VAdd M α]
[inst_3 : VAdd N α] [VAddAssocClass M N α], VAddAssocClass (AddUnits M) N α
instance Units.mulAction' E0 #
{G : Type u_1} →
{M : Type u_3} →
[inst : Group G] →
[inst_1 : Monoid M] → [inst_2 : MulAction G M] → [SMulCommClass G M M] → [IsScalarTower G M M] → MulAction G Mˣ
If an action G associates and commutes with multiplication on M, then it lifts to an
action on Mˣ. Notably, this provides MulAction Mˣ Nˣ under suitable conditions.
instance AddUnits.addAction' E0 #
{G : Type u_1} →
{M : Type u_3} →
[inst : AddGroup G] →
[inst_1 : AddMonoid M] →
[inst_2 : AddAction G M] → [VAddCommClass G M M] → [VAddAssocClass G M M] → AddAction G (AddUnits M)
theorem AddUnits.val_vadd E0 #
∀ {G : Type u_1} {M : Type u_3} [inst : AddGroup G] [inst_1 : AddMonoid M] [inst_2 : AddAction G M]
[inst_3 : VAddCommClass G M M] [inst_4 : VAddAssocClass G M M] (g : G) (m : AddUnits M), ↑(g +ᵥ m) = g +ᵥ ↑m
theorem Units.val_smul E0 #
∀ {G : Type u_1} {M : Type u_3} [inst : Group G] [inst_1 : Monoid M] [inst_2 : MulAction G M]
[inst_3 : SMulCommClass G M M] [inst_4 : IsScalarTower G M M] (g : G) (m : Mˣ), ↑(g • m) = g • ↑m
theorem Units.smul_inv E0 #
∀ {G : Type u_1} {M : Type u_3} [inst : Group G] [inst_1 : Monoid M] [inst_2 : MulAction G M]
[inst_3 : SMulCommClass G M M] [inst_4 : IsScalarTower G M M] (g : G) (m : Mˣ), (g • m)⁻¹ = g⁻¹ • m⁻¹
Note that this lemma exists more generally as the global smul_inv
theorem AddUnits.vadd_neg E0 #
∀ {G : Type u_1} {M : Type u_3} [inst : AddGroup G] [inst_1 : AddMonoid M] [inst_2 : AddAction G M]
[inst_3 : VAddCommClass G M M] [inst_4 : VAddAssocClass G M M] (g : G) (m : AddUnits M), -(g +ᵥ m) = -g +ᵥ -m
instance Units.smulCommClass' E0 #
∀ {G : Type u_1} {H : Type u_2} {M : Type u_3} [inst : Group G] [inst_1 : Group H] [inst_2 : Monoid M]
[inst_3 : MulAction G M] [inst_4 : SMulCommClass G M M] [inst_5 : MulAction H M] [inst_6 : SMulCommClass H M M]
[inst_7 : IsScalarTower G M M] [inst_8 : IsScalarTower H M M] [SMulCommClass G H M], SMulCommClass G H Mˣ
Transfer SMulCommClass G H M to SMulCommClass G H Mˣ.
instance AddUnits.vaddCommClass' E0 #
∀ {G : Type u_1} {H : Type u_2} {M : Type u_3} [inst : AddGroup G] [inst_1 : AddGroup H] [inst_2 : AddMonoid M]
[inst_3 : AddAction G M] [inst_4 : VAddCommClass G M M] [inst_5 : AddAction H M] [inst_6 : VAddCommClass H M M]
[inst_7 : VAddAssocClass G M M] [inst_8 : VAddAssocClass H M M] [VAddCommClass G H M], VAddCommClass G H (AddUnits M)
Transfer VAddCommClass G H M to VAddCommClass G H (AddUnits M).
instance Units.isScalarTower' E0 #
∀ {G : Type u_1} {H : Type u_2} {M : Type u_3} [inst : SMul G H] [inst_1 : Group G] [inst_2 : Group H]
[inst_3 : Monoid M] [inst_4 : MulAction G M] [inst_5 : SMulCommClass G M M] [inst_6 : MulAction H M]
[inst_7 : SMulCommClass H M M] [inst_8 : IsScalarTower G M M] [inst_9 : IsScalarTower H M M] [IsScalarTower G H M],
IsScalarTower G H Mˣ
Transfer IsScalarTower G H M to IsScalarTower G H Mˣ.
instance AddUnits.vaddAssocClass' E0 #
∀ {G : Type u_1} {H : Type u_2} {M : Type u_3} [inst : VAdd G H] [inst_1 : AddGroup G] [inst_2 : AddGroup H]
[inst_3 : AddMonoid M] [inst_4 : AddAction G M] [inst_5 : VAddCommClass G M M] [inst_6 : AddAction H M]
[inst_7 : VAddCommClass H M M] [inst_8 : VAddAssocClass G M M] [inst_9 : VAddAssocClass H M M] [VAddAssocClass G H M],
VAddAssocClass G H (AddUnits M)
Transfer VAddAssocClass G H M to VAddAssocClass G H (AddUnits M).
instance Units.isScalarTower'_left E0 #
∀ {G : Type u_1} {M : Type u_3} {α : Type u_5} [inst : Group G] [inst_1 : Monoid M] [inst_2 : MulAction G M]
[inst_3 : SMul M α] [inst_4 : SMul G α] [inst_5 : SMulCommClass G M M] [inst_6 : IsScalarTower G M M]
[IsScalarTower G M α], IsScalarTower G Mˣ α
Transfer IsScalarTower G M α to IsScalarTower G Mˣ α.
instance AddUnits.vaddAssocClass'_left E0 #
∀ {G : Type u_1} {M : Type u_3} {α : Type u_5} [inst : AddGroup G] [inst_1 : AddMonoid M] [inst_2 : AddAction G M]
[inst_3 : VAdd M α] [inst_4 : VAdd G α] [inst_5 : VAddCommClass G M M] [inst_6 : VAddAssocClass G M M]
[VAddAssocClass G M α], VAddAssocClass G (AddUnits M) α
Transfer VAddAssocClass G M α to VAddAssocClass G (AddUnits M) α.
abbrev Units.mulDistribMulActionRight E1 #
{M : Type u_6} →
{N : Type u_7} → [inst : Monoid M] → [inst_1 : Monoid N] → [MulDistribMulAction M N] → MulDistribMulAction M Nˣ
Note this has different defeqs than Units.mulAction', but doesn't create a diamond
with it in non-degenerate situations. Indeed, to get a diamond on MulDistribMulAction G Mˣ,
we would need both instances to fire. But Units.mulAction' assumes SMulCommClass G M M,
i.e. ∀ (g : G) (m₁ m₂ : M), g • (m₁ * m₂) = m₁ * g • m₂, while
Units.instMulDistribMulActionRight assumes MulDistribMulAction G M,
i.e. ∀ (g : G) (m₁ m₂ : M), g • (m₁ * m₂) = g • m₁ * g • m₂.
In particular, if M is cancellative, then we obtain ∀ (g : G) (m : M), g • m = m,
i.e. the action is trivial!
This however does create a (propeq) diamond for MulDistribMulAction (ConjAct Mˣ) Mˣ with
ConjAct.unitsMulDistribMulAction and ConjAct.instMulDistribMulAction. Indeed, if we go down
one way then u • v := ⟨ofConjAct u * v * ofConjAct u⁻¹, ofConjAct u * v⁻¹ * ofConjAct u⁻¹, _, _⟩,
while the other way is
u • v := ⟨ofConjAct u * v * ofConjAct u⁻¹, ofConjAct u * (v⁻¹ * ofConjAct u⁻¹), _, _⟩.
theorem Units.coe_smul E0 #
∀ {M : Type u_6} {N : Type u_7} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : MulDistribMulAction M N] (m : M)
(u : Nˣ), ↑(m • u) = m • ↑u
theorem Units.coe_inv_smul E0 #
∀ {M : Type u_6} {N : Type u_7} [inst : Monoid M] [inst_1 : Monoid N] [inst_2 : MulDistribMulAction M N] (m : M)
(u : Nˣ), ↑(m • u)⁻¹ = m • ↑u⁻¹
theorem IsAddUnit.vadd E1 #
∀ {G : Type u_1} {M : Type u_3} [inst : AddGroup G] [inst_1 : AddMonoid M] [inst_2 : AddAction G M]
[VAddCommClass G M M] [VAddAssocClass G M M] {m : M} (g : G), IsAddUnit m → IsAddUnit (g +ᵥ m)
theorem IsUnit.smul E1 #
∀ {G : Type u_1} {M : Type u_3} [inst : Group G] [inst_1 : Monoid M] [inst_2 : MulAction G M] [SMulCommClass G M M]
[IsScalarTower G M M] {m : M} (g : G), IsUnit m → IsUnit (g • m)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Units.smul_eq_mul | smul_eq_mul | 2026-10-06 |