Categories of indexed families of objects. #
We define the pointwise category structure on indexed families of objects in a category (and also the dependent generalization).
pi C
gives the cartesian product of an indexed family of categories.
Equations
- CategoryTheory.pi C = CategoryTheory.Category.mk
This provides some assistance to typeclass search in a common situation,
which otherwise fails. (Without this CategoryTheory.Pi.has_limit_of_has_limit_comp_eval
fails.)
Equations
The evaluation functor at i : I
, sending an I
-indexed family of objects to the object over i
.
Equations
- CategoryTheory.Pi.eval C i = CategoryTheory.Functor.mk { obj := fun (f : (i : I) → C i) => f i, map := fun {X Y : (i : I) → C i} (α : X ⟶ Y) => α i }
Instances For
Equations
- CategoryTheory.Pi.instForAllCategoryCompType C f = id inferInstance
Pull back an I
-indexed family of objects to a J
-indexed family, along a function J → I
.
Equations
- CategoryTheory.Pi.comap C h = CategoryTheory.Functor.mk { obj := fun (f : (i : I) → C i) (i : J) => f (h i), map := fun {X Y : (i : I) → C i} (α : X ⟶ Y) (i : J) => α (h i) }
Instances For
The natural isomorphism between pulling back a grading along the identity function, and the identity functor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The natural isomorphism comparing between pulling back along two successive functions, and pulling back along their composition
Equations
- One or more equations did not get rendered due to their size.
Instances For
The natural isomorphism between pulling back then evaluating, and just evaluating.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bifunctor combining an I
-indexed family of objects with a J
-indexed family of objects
to obtain an I ⊕ J
-indexed family of objects.
Equations
- One or more equations did not get rendered due to their size.
Instances For
An isomorphism between I
-indexed objects gives an isomorphism between each
pair of corresponding components.
Equations
- CategoryTheory.Pi.isoApp f i = CategoryTheory.Iso.mk (f.hom i) (f.inv i)
Instances For
Assemble an I
-indexed family of functors into a functor between the pi types.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Similar to pi
, but all functors come from the same category A
Equations
- One or more equations did not get rendered due to their size.
Instances For
The projections of Functor.pi' F
are isomorphic to the functors of the family F
Equations
Instances For
Two functors to a product category are equal iff they agree on every coordinate.
Assemble an I
-indexed family of natural transformations into a single natural transformation.
Equations
- CategoryTheory.NatTrans.pi α = CategoryTheory.NatTrans.mk fun (f : (i : I) → C i) (i : I) => (α i).app (f i)
Instances For
Assemble an I
-indexed family of natural transformations into a single natural transformation.
Equations
- CategoryTheory.NatTrans.pi' τ = CategoryTheory.NatTrans.mk fun (X : E) (i : I) => (τ i).app X
Instances For
Assemble an I
-indexed family of natural isomorphisms into a single natural isomorphism.
Equations
- CategoryTheory.NatIso.pi e = CategoryTheory.Iso.mk (CategoryTheory.NatTrans.pi fun (i : I) => (e i).hom) (CategoryTheory.NatTrans.pi fun (i : I) => (e i).inv)
Instances For
Assemble an I
-indexed family of natural isomorphisms into a single natural isomorphism.
Equations
- CategoryTheory.NatIso.pi' e = CategoryTheory.Iso.mk (CategoryTheory.NatTrans.pi' fun (i : I) => (e i).hom) (CategoryTheory.NatTrans.pi' fun (i : I) => (e i).inv)
Instances For
For a family of categories C i
indexed by I
, an equality i = j
in I
induces
an equivalence C i ≌ C j
.
Equations
- CategoryTheory.Pi.eqToEquivalence C h = h ▸ CategoryTheory.Equivalence.refl
Instances For
When i = j
, projections Pi.eval C i
and Pi.eval C j
are related by the equivalence
Pi.eqToEquivalence C h : C i ≌ C j
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The equivalences given by Pi.eqToEquivalence
are compatible with reindexing.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reindexing a family of categories gives equivalent Pi
categories.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A product of categories indexed by Option J
identifies to a binary product.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Assemble an I
-indexed family of equivalences of categories
into a single equivalence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.