The areas / V24. Category theory
Mathlib.CategoryTheory.WithTerminal.FinCategory
6 declarations. Mathlib docs · Source
def CategoryTheory.WithTerminal.optionEquiv E1 #
(C : Type u) → Option C ≃ CategoryTheory.WithTerminal C
The equivalence between Option C and WithTerminal C (they are both the
type C plus an extra object none or star).
instance CategoryTheory.WithTerminal.instFintype E0 #
(C : Type u) → [Fintype C] → Fintype (CategoryTheory.WithTerminal C)
instance CategoryTheory.WithTerminal.instFinCategory E0 #
(C : Type u) →
[inst : CategoryTheory.SmallCategory C] →
[CategoryTheory.FinCategory C] → CategoryTheory.FinCategory (CategoryTheory.WithTerminal C)
def CategoryTheory.WithInitial.optionEquiv E1 #
(C : Type u) → Option C ≃ CategoryTheory.WithInitial C
The equivalence between Option C and WithInitial C (they are both the
type C plus an extra object none or star).
instance CategoryTheory.WithInitial.instFintype E0 #
(C : Type u) → [Fintype C] → Fintype (CategoryTheory.WithInitial C)
instance CategoryTheory.WithInitial.instFinCategory E0 #
(C : Type u) →
[inst : CategoryTheory.SmallCategory C] →
[CategoryTheory.FinCategory C] → CategoryTheory.FinCategory (CategoryTheory.WithInitial C)