The areas / V24. Category theory
Mathlib.CategoryTheory.FinCategory.AsType
16 declarations. Mathlib docs · Source
abbrev CategoryTheory.FinCategory.ObjAsType E1 #
(α : Type u_1) → [Fintype α] → Type
A FinCategory α is equivalent to a category with objects in Type.
instance CategoryTheory.FinCategory.instFintypeHomObjAsType E0 #
(α : Type u_1) →
[inst : Fintype α] →
[inst_1 : CategoryTheory.SmallCategory α] →
[CategoryTheory.FinCategory α] → {i j : CategoryTheory.FinCategory.ObjAsType α} → Fintype (i ⟶ j)
def CategoryTheory.FinCategory.objAsTypeEquiv E1 #
(α : Type u_1) →
[inst : Fintype α] → [inst_1 : CategoryTheory.SmallCategory α] → CategoryTheory.FinCategory.ObjAsType α ≌ α
The constructed category is indeed equivalent to α.
abbrev CategoryTheory.FinCategory.AsType E1 #
(α : Type u_1) → [Fintype α] → Type
A FinCategory α is equivalent to a FinCategory in Type.
instance CategoryTheory.FinCategory.categoryAsType E0 #
(α : Type u_1) →
[inst : Fintype α] →
[inst_1 : CategoryTheory.SmallCategory α] →
[CategoryTheory.FinCategory α] → CategoryTheory.SmallCategory (CategoryTheory.FinCategory.AsType α)
theorem CategoryTheory.FinCategory.categoryAsType_comp E1 #
∀ (α : Type u_1) [inst : Fintype α] [inst_1 : CategoryTheory.SmallCategory α] [inst_2 : CategoryTheory.FinCategory α]
{X Y Z : CategoryTheory.FinCategory.AsType α} (f : Fin (Fintype.card (X ⟶ Y))) (g : Fin (Fintype.card (Y ⟶ Z))),
CategoryTheory.CategoryStruct.comp f g =
(Fintype.equivFin (X ⟶ Z))
(CategoryTheory.CategoryStruct.comp ((Fintype.equivFin (X ⟶ Y)).symm f) ((Fintype.equivFin (Y ⟶ Z)).symm g))
theorem CategoryTheory.FinCategory.categoryAsType_id E1 #
∀ (α : Type u_1) [inst : Fintype α] [inst_1 : CategoryTheory.SmallCategory α] [inst_2 : CategoryTheory.FinCategory α]
(x : CategoryTheory.FinCategory.AsType α),
CategoryTheory.CategoryStruct.id x = (Fintype.equivFin (x ⟶ x)) (CategoryTheory.CategoryStruct.id x)
def CategoryTheory.FinCategory.asTypeToObjAsType E1 #
(α : Type u_1) →
[inst : Fintype α] →
[inst_1 : CategoryTheory.SmallCategory α] →
[inst_2 : CategoryTheory.FinCategory α] →
CategoryTheory.Functor (CategoryTheory.FinCategory.AsType α) (CategoryTheory.FinCategory.ObjAsType α)
The "identity" functor from AsType α to ObjAsType α.
theorem CategoryTheory.FinCategory.asTypeToObjAsType_map E0 #
∀ (α : Type u_1) [inst : Fintype α] [inst_1 : CategoryTheory.SmallCategory α] [inst_2 : CategoryTheory.FinCategory α]
{x x_1 : CategoryTheory.FinCategory.AsType α} (a : Fin (Fintype.card (x ⟶ x_1))),
(CategoryTheory.FinCategory.asTypeToObjAsType α).map a = (Fintype.equivFin (x ⟶ x_1)).symm a
theorem CategoryTheory.FinCategory.asTypeToObjAsType_obj E0 #
∀ (α : Type u_1) [inst : Fintype α] [inst_1 : CategoryTheory.SmallCategory α] [inst_2 : CategoryTheory.FinCategory α]
(a : CategoryTheory.FinCategory.AsType α), (CategoryTheory.FinCategory.asTypeToObjAsType α).obj a = id a
def CategoryTheory.FinCategory.objAsTypeToAsType E1 #
(α : Type u_1) →
[inst : Fintype α] →
[inst_1 : CategoryTheory.SmallCategory α] →
[inst_2 : CategoryTheory.FinCategory α] →
CategoryTheory.Functor (CategoryTheory.FinCategory.ObjAsType α) (CategoryTheory.FinCategory.AsType α)
The "identity" functor from ObjAsType α to AsType α.
theorem CategoryTheory.FinCategory.objAsTypeToAsType_map E0 #
∀ (α : Type u_1) [inst : Fintype α] [inst_1 : CategoryTheory.SmallCategory α] [inst_2 : CategoryTheory.FinCategory α]
{x x_1 : CategoryTheory.FinCategory.ObjAsType α} (a : x ⟶ x_1),
(CategoryTheory.FinCategory.objAsTypeToAsType α).map a = (Fintype.equivFin (x ⟶ x_1)) a
theorem CategoryTheory.FinCategory.objAsTypeToAsType_obj E0 #
∀ (α : Type u_1) [inst : Fintype α] [inst_1 : CategoryTheory.SmallCategory α] [inst_2 : CategoryTheory.FinCategory α]
(a : CategoryTheory.FinCategory.ObjAsType α), (CategoryTheory.FinCategory.objAsTypeToAsType α).obj a = id a
def CategoryTheory.FinCategory.asTypeEquivObjAsType E1 #
(α : Type u_1) →
[inst : Fintype α] →
[inst_1 : CategoryTheory.SmallCategory α] →
[inst_2 : CategoryTheory.FinCategory α] →
CategoryTheory.FinCategory.AsType α ≌ CategoryTheory.FinCategory.ObjAsType α
The constructed category (AsType α) is equivalent to ObjAsType α.
instance CategoryTheory.FinCategory.asTypeFinCategory E0 #
(α : Type u_1) →
[inst : Fintype α] →
[inst_1 : CategoryTheory.SmallCategory α] →
[inst_2 : CategoryTheory.FinCategory α] → CategoryTheory.FinCategory (CategoryTheory.FinCategory.AsType α)
def CategoryTheory.FinCategory.equivAsType E1 #
(α : Type u_1) →
[inst : Fintype α] →
[inst_1 : CategoryTheory.SmallCategory α] →
[inst_2 : CategoryTheory.FinCategory α] → CategoryTheory.FinCategory.AsType α ≌ α
The constructed category (AsType α) is indeed equivalent to α.