Documentation

Mathlib.Algebra.Group.Hom.CompTypeclasses

Propositional typeclasses on several monoid homs #

This file contains typeclasses used in the definition of equivariant maps, in the spirit what was initially developed by Frédéric Dupuis and Heather Macbeth for linear maps. However, we do not expect that all maps should be guessed automatically, as it happens for linear maps.

If φ, ψ… are monoid homs and M, N… are monoids, we add two instances:

Some basic lemmas are proved:

TODO :

class MonoidHom.CompTriple {M : Type u_1} {N : Type u_2} {P : Type u_3} [Monoid M] [Monoid N] [Monoid P] (φ : M →* N) (ψ : N →* P) (χ : outParam (M →* P)) :

Class of composing triples

Instances
    class MonoidHom.CompTriple.IsId {M : Type u_2} [Monoid M] (σ : M →* M) :

    Class of Id maps

    Instances
      Equations
      • =
      instance MonoidHom.CompTriple.instComp_id {N : Type u_5} {P : Type u_6} [Monoid N] [Monoid P] {φ : N →* N} [MonoidHom.CompTriple.IsId φ] {ψ : N →* P} :
      Equations
      • =
      instance MonoidHom.CompTriple.instId_comp {M : Type u_5} {N : Type u_6} [Monoid M] [Monoid N] {φ : M →* N} {ψ : N →* N} [MonoidHom.CompTriple.IsId ψ] :
      Equations
      • =
      theorem MonoidHom.CompTriple.comp_inv {M : Type u_2} {N : Type u_3} [Monoid M] [Monoid N] {φ : M →* N} {ψ : N →* M} (h : Function.RightInverse φ ψ) {χ : M →* M} [MonoidHom.CompTriple.IsId χ] :
      instance MonoidHom.CompTriple.instRootCompTriple {M : Type u_2} {N : Type u_3} {P : Type u_4} [Monoid M] [Monoid N] [Monoid P] {φ : M →* N} {ψ : N →* P} {χ : M →* P} [κ : MonoidHom.CompTriple φ ψ χ] :
      CompTriple φ ψ χ
      Equations
      • =
      theorem MonoidHom.CompTriple.comp {M : Type u_2} {N : Type u_3} {P : Type u_4} [Monoid M] [Monoid N] [Monoid P] {φ : M →* N} {ψ : N →* P} :

      φ, ψ and ψ.comp φ form a MonoidHom.CompTriple

      (to be used with care, because no simplification is done)

      theorem MonoidHom.CompTriple.comp_apply {M : Type u_2} {N : Type u_3} {P : Type u_4} [Monoid M] [Monoid N] [Monoid P] {φ : M →* N} {ψ : N →* P} {χ : M →* P} (h : MonoidHom.CompTriple φ ψ χ) (x : M) :
      ψ (φ x) = χ x
      @[simp]
      theorem MonoidHom.CompTriple.comp_assoc {M : Type u_2} {N : Type u_3} {P : Type u_4} [Monoid M] [Monoid N] [Monoid P] {Q : Type u_5} [Monoid Q] {φ₁ : M →* N} {φ₂ : N →* P} {φ₁₂ : M →* P} (κ : MonoidHom.CompTriple φ₁ φ₂ φ₁₂) {φ₃ : P →* Q} {φ₂₃ : N →* Q} (κ' : MonoidHom.CompTriple φ₂ φ₃ φ₂₃) {φ₁₂₃ : M →* Q} :
      MonoidHom.CompTriple φ₁ φ₂₃ φ₁₂₃ MonoidHom.CompTriple φ₁₂ φ₃ φ₁₂₃