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.Coequalizer

8 declarations. Mathlib docs · Source

inductive Function.Coequalizer.Rel E1 #

{α : Type u_1} → {β : Type u_2} → (α → β) → (α → β) → β → β → Prop

The relation generating the equivalence relation used for defining Function.coequalizer.

ctor Function.Coequalizer.Rel.intro E0 #

∀ {α : Type u_1} {β : Type u_2} {f g : α → β} (x : α), Function.Coequalizer.Rel f g (f x) (g x)

def Function.Coequalizer E1 #

{α : Type u_1} → {β : Type v} → (α → β) → (α → β) → Type v

The coequalizer of two functions f g : α → β is the pair (μ, p : β → μ) that satisfies the following universal property: Every function u : β → γ with u ∘ f = u ∘ g factors uniquely via p.

def Function.Coequalizer.mk E1 #

{α : Type u_1} → {β : Type u_2} → (f g : α → β) → β → Function.Coequalizer f g

The canonical projection to the coequalizer.

theorem Function.Coequalizer.condition E1 #

∀ {α : Type u_1} {β : Type u_2} (f g : α → β) (x : α),
  Function.Coequalizer.mk f g (f x) = Function.Coequalizer.mk f g (g x)

theorem Function.Coequalizer.mk_surjective E1 #

∀ {α : Type u_1} {β : Type u_2} (f g : α → β), Function.Surjective (Function.Coequalizer.mk f g)

def Function.Coequalizer.desc E1 #

{α : Type u_1} →
  {β : Type u_2} → (f g : α → β) → {γ : Type u_3} → (u : β → γ) → u ∘ f = u ∘ g → Function.Coequalizer f g → γ

Any map u : β → γ with u ∘ f = u ∘ g factors via Function.Coequalizer.mk.

theorem Function.Coequalizer.desc_mk E0 #

∀ {α : Type u_1} {β : Type u_2} (f g : α → β) {γ : Type u_3} (u : β → γ) (hu : u ∘ f = u ∘ g) (x : β),
  Function.Coequalizer.desc f g u hu (Function.Coequalizer.mk f g x) = u x