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 / V24. Category theory

Mathlib.CategoryTheory.PEmpty

9 declarations. Mathlib docs · Source

The empty category

Defines a category structure on PEmpty, and the unique functor PEmpty ⥤ C for any category C.

instance CategoryTheory.instIsEmptyDiscrete E0 #

∀ (α : Type u_1) [IsEmpty α], IsEmpty (CategoryTheory.Discrete α)

def CategoryTheory.functorOfIsEmpty E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    (D : Type u') → [inst_1 : CategoryTheory.Category.{v', u'} D] → [IsEmpty C] → CategoryTheory.Functor C D

The (unique) functor from an empty category.

def CategoryTheory.Functor.isEmptyExt E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} D] → [IsEmpty C] → (F G : CategoryTheory.Functor C D) → F ≅ G

Any two functors out of an empty category are isomorphic.

def CategoryTheory.equivalenceOfIsEmpty E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    (D : Type u') → [inst_1 : CategoryTheory.Category.{v', u'} D] → [IsEmpty C] → [IsEmpty D] → C ≌ D

The equivalence between two empty categories.

def CategoryTheory.emptyEquivalence E1 #

CategoryTheory.Discrete PEmpty.{w + 1} ≌ CategoryTheory.Discrete PEmpty.{v + 1}

Equivalence between two empty categories.

def CategoryTheory.Functor.empty E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.Functor (CategoryTheory.Discrete PEmpty.{w + 1}) C

The canonical functor out of the empty category.

def CategoryTheory.Functor.emptyExt E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor (CategoryTheory.Discrete PEmpty.{w + 1}) C) → F ≅ G

Any two functors out of the empty category are isomorphic.

def CategoryTheory.Functor.uniqueFromEmpty E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor (CategoryTheory.Discrete PEmpty.{w + 1}) C) → F ≅ CategoryTheory.Functor.empty C

Any functor out of the empty category is isomorphic to the canonical functor from the empty category.

theorem CategoryTheory.Functor.empty_ext' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F G : CategoryTheory.Functor (CategoryTheory.Discrete PEmpty.{w + 1}) C), F = G

Any two functors out of the empty category are equal. You probably want to use emptyExt instead of this.