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 / V01. The language of Mathlib

Mathlib.Logic.Function.CompTypeclasses

11 declarations. Mathlib docs · Source

Propositional typeclasses on several maps

This file contains typeclasses that are 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.

  • CompTriple φ ψ χ, which expresses that ψ.comp φ = χ
  • CompTriple.IsId φ, which expresses that φ = id

TODO :

  • align with RingHomCompTriple

class CompTriple E1 #

{M : Type u_1} → {N : Type u_2} → {P : Type u_3} → (M → N) → (N → P) → outParam (M → P) → Prop

Class of composing triples

ctor CompTriple.mk E0 #

∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} {φ : M → N} {ψ : N → P} {χ : outParam (M → P)},
  ψ ∘ φ = χ → CompTriple φ ψ χ

theorem CompTriple.comp_eq E0 #

∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} {φ : M → N} {ψ : N → P} {χ : outParam (M → P)} [self : CompTriple φ ψ χ],
  ψ ∘ φ = χ

The maps form a commuting triangle

class CompTriple.IsId E1 #

{M : Type u_1} → (M → M) → Prop

Class of Id maps

ctor CompTriple.IsId.mk E0 #

∀ {M : Type u_1} {σ : M → M}, σ = id → CompTriple.IsId σ

instance CompTriple.instIsIdId E0 #

∀ {M : Type u_1}, CompTriple.IsId id

instance CompTriple.instComp_id E0 #

∀ {N : Type u_1} {P : Type u_2} {φ : N → N} [CompTriple.IsId φ] {ψ : N → P}, CompTriple φ ψ ψ

instance CompTriple.instId_comp E0 #

∀ {M : Type u_1} {N : Type u_2} {φ : M → N} {ψ : N → N} [CompTriple.IsId ψ], CompTriple φ ψ φ

theorem CompTriple.comp E1 #

∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} {φ : M → N} {ψ : N → P}, CompTriple φ ψ (ψ ∘ φ)

φ, ψ and ψ ∘ φ for a CompTriple.

theorem CompTriple.comp_inv E1 #

∀ {M : Type u_1} {N : Type u_2} {φ : M → N} {ψ : N → M},
  Function.RightInverse φ ψ → ∀ {χ : M → M} [CompTriple.IsId χ], CompTriple φ ψ χ

theorem CompTriple.comp_apply E0 #

∀ {M : Type u_1} {N : Type u_2} {P : Type u_3} {φ : M → N} {ψ : N → P} {χ : M → P},
  CompTriple φ ψ χ → ∀ (x : M), ψ (φ x) = χ x