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.Category.Cat.Terminal

5 declarations. Mathlib docs · Source

def CategoryTheory.Cat.isTerminalOfUniqueOfIsDiscrete E1 #

{T : Type u} →
  [inst : CategoryTheory.Category.{v, u} T] →
    [Unique T] → [CategoryTheory.IsDiscrete T] → CategoryTheory.Limits.IsTerminal ↧T

A discrete category with a unique object is terminal.

instance CategoryTheory.Cat.instHasTerminal E0 #

CategoryTheory.Limits.HasTerminal CategoryTheory.Cat

def CategoryTheory.Cat.terminalIsoOfUniqueOfIsDiscrete E1 #

{T : Type u} →
  [inst : CategoryTheory.Category.{v, u} T] → [Unique T] → [CategoryTheory.IsDiscrete T] → ⊤_ CategoryTheory.Cat ≅ ↧T

Any T : Cat.{u, u} with a unique object and discrete homs is isomorphic to ⊤_ Cat.{u, u}.

def CategoryTheory.Cat.isTerminalDiscretePUnit E1 #

CategoryTheory.Limits.IsTerminal ↧(CategoryTheory.Discrete PUnit.{u_1 + 1})

The discrete category on PUnit is terminal.

def CategoryTheory.Cat.isoDiscretePUnitOfIsTerminal E1 #

{T : Type u} →
  [inst : CategoryTheory.Category.{u, u} T] →
    CategoryTheory.Limits.IsTerminal ↧T → (↧T ≅ ↧(CategoryTheory.Discrete PUnit.{u + 1}))

Any terminal object T : Cat.{u, u} is isomorphic to Cat.of (Discrete PUnit).