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.Limits.Shapes.PiProd

4 declarations. Mathlib docs · Source

def CategoryTheory.Limits.Pi.binaryFanOfProp E1 #

{C : Type u_1} →
  {I : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      (X : I → C) →
        (P : I → Prop) →
          [CategoryTheory.Limits.HasProduct X] →
            [inst_2 : CategoryTheory.Limits.HasProduct fun i ↦ X ↑i] →
              [inst_3 : CategoryTheory.Limits.HasProduct fun i ↦ X ↑i] →
                CategoryTheory.Limits.BinaryFan (∏ᶜ fun i ↦ X ↑i) (∏ᶜ fun i ↦ X ↑i)

The projection maps of a product to the products indexed by a subset and its complement, as a binary fan.

def CategoryTheory.Limits.Pi.binaryFanOfPropIsLimit E1 #

{C : Type u_1} →
  {I : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      (X : I → C) →
        (P : I → Prop) →
          [inst_1 : CategoryTheory.Limits.HasProduct X] →
            [inst_2 : CategoryTheory.Limits.HasProduct fun i ↦ X ↑i] →
              [inst_3 : CategoryTheory.Limits.HasProduct fun i ↦ X ↑i] →
                [(i : I) → Decidable (P i)] →
                  CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Pi.binaryFanOfProp X P)

A product indexed by I is a binary product of the products indexed by a subset of I and its complement.

theorem CategoryTheory.Limits.hasBinaryProduct_of_products E1 #

∀ {C : Type u_1} {I : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : I → C} (P : I → Prop)
  [CategoryTheory.Limits.HasProduct X] [inst_2 : CategoryTheory.Limits.HasProduct fun i ↦ X ↑i]
  [inst_3 : CategoryTheory.Limits.HasProduct fun i ↦ X ↑i],
  CategoryTheory.Limits.HasBinaryProduct (∏ᶜ fun i ↦ X ↑i) (∏ᶜ fun i ↦ X ↑i)

theorem CategoryTheory.Limits.Pi.map_eq_prod_map E0 #

∀ {C : Type u_1} {I : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y : I → C} (f : (i : I) → X i ⟶ Y i)
  (P : I → Prop) [inst_1 : CategoryTheory.Limits.HasProduct X] [inst_2 : CategoryTheory.Limits.HasProduct Y]
  [inst_3 : CategoryTheory.Limits.HasProduct fun i ↦ X ↑i] [inst_4 : CategoryTheory.Limits.HasProduct fun i ↦ X ↑i]
  [inst_5 : CategoryTheory.Limits.HasProduct fun i ↦ Y ↑i] [inst_6 : CategoryTheory.Limits.HasProduct fun i ↦ Y ↑i]
  [inst_7 : (i : I) → Decidable (P i)],
  CategoryTheory.Limits.Pi.map f =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Limits.Pi.binaryFanOfPropIsLimit X P).conePointUniqueUpToIso
          (CategoryTheory.Limits.prodIsProd (∏ᶜ fun i ↦ X ↑i) (∏ᶜ fun i ↦ X ↑i))).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.prod.map (CategoryTheory.Limits.Pi.map fun i ↦ f ↑i)
          (CategoryTheory.Limits.Pi.map fun i ↦ f ↑i))
        ((CategoryTheory.Limits.Pi.binaryFanOfPropIsLimit Y P).conePointUniqueUpToIso
            (CategoryTheory.Limits.prodIsProd (∏ᶜ fun i ↦ Y ↑i) (∏ᶜ fun i ↦ Y ↑i))).inv)