The areas / V24. Category theory
Mathlib.CategoryTheory.Yoneda
249 declarations. Mathlib docs · Source
The Yoneda embedding
Let C : Type u₁ be a category (with Category.{v₁} C). We define
the Yoneda embedding as a fully faithful functor yoneda : C ⥤ Cᵒᵖ ⥤ Type v₁,
In addition to yoneda, we also define uliftYoneda : C ⥤ Cᵒᵖ ⥤ Type (max w v₁)
with the additional universe parameter w. When C is locally w-small,
one may also use shrinkYoneda.{w} : C ⥤ Cᵒᵖ ⥤ Type w from the file
Mathlib/CategoryTheory/ShrinkYoneda.lean.
The naturality of the bijection yonedaEquiv involved in the
Yoneda lemma is also expressed as a natural isomorphism
yonedaLemma : yonedaPairing C ≅ yonedaEvaluation C.
References
theorem CategoryTheory.Functor.RepresentableBy.mk.inj E1 #
∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
{homEquiv : {X : C} → (X ⟶ Y) ≃ F.obj (Opposite.op X)}
{homEquiv_comp :
autoParam
(∀ {X X' : C} (f : X ⟶ X') (g : X' ⟶ Y),
homEquiv (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map f.op)) (homEquiv g))
CategoryTheory.Functor.RepresentableBy.homEquiv_comp._autoParam}
{homEquiv_1 : {X : C} → (X ⟶ Y) ≃ F.obj (Opposite.op X)}
{homEquiv_comp_1 :
autoParam
(∀ {X X' : C} (f : X ⟶ X') (g : X' ⟶ Y),
homEquiv_1 (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map f.op)) (homEquiv_1 g))
CategoryTheory.Functor.RepresentableBy.homEquiv_comp._autoParam},
{ homEquiv := homEquiv, homEquiv_comp := homEquiv_comp } =
{ homEquiv := homEquiv_1, homEquiv_comp := homEquiv_comp_1 } →
homEquiv = homEquiv_1
theorem CategoryTheory.Functor.CorepresentableBy.mk.injEq E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
(homEquiv : {Y : C} → (X ⟶ Y) ≃ F.obj Y)
(homEquiv_comp :
autoParam
(∀ {Y Y' : C} (g : Y ⟶ Y') (f : X ⟶ Y),
homEquiv (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map g)) (homEquiv f))
CategoryTheory.Functor.CorepresentableBy.homEquiv_comp._autoParam)
(homEquiv_1 : {Y : C} → (X ⟶ Y) ≃ F.obj Y)
(homEquiv_comp_1 :
autoParam
(∀ {Y Y' : C} (g : Y ⟶ Y') (f : X ⟶ Y),
homEquiv_1 (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map g)) (homEquiv_1 f))
CategoryTheory.Functor.CorepresentableBy.homEquiv_comp._autoParam),
({ homEquiv := homEquiv, homEquiv_comp := homEquiv_comp } =
{ homEquiv := homEquiv_1, homEquiv_comp := homEquiv_comp_1 }) =
(homEquiv = homEquiv_1)
theorem CategoryTheory.Functor.RepresentableBy.mk.injEq E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
(homEquiv : {X : C} → (X ⟶ Y) ≃ F.obj (Opposite.op X))
(homEquiv_comp :
autoParam
(∀ {X X' : C} (f : X ⟶ X') (g : X' ⟶ Y),
homEquiv (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map f.op)) (homEquiv g))
CategoryTheory.Functor.RepresentableBy.homEquiv_comp._autoParam)
(homEquiv_1 : {X : C} → (X ⟶ Y) ≃ F.obj (Opposite.op X))
(homEquiv_comp_1 :
autoParam
(∀ {X X' : C} (f : X ⟶ X') (g : X' ⟶ Y),
homEquiv_1 (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map f.op)) (homEquiv_1 g))
CategoryTheory.Functor.RepresentableBy.homEquiv_comp._autoParam),
({ homEquiv := homEquiv, homEquiv_comp := homEquiv_comp } =
{ homEquiv := homEquiv_1, homEquiv_comp := homEquiv_comp_1 }) =
(homEquiv = homEquiv_1)
def CategoryTheory.Functor.RepresentableBy.ctorIdx E1 #
{C : Type u₁} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{F : CategoryTheory.Functor Cᵒᵖ (Type v)} → {Y : C} → F.RepresentableBy Y → ℕ
def CategoryTheory.Functor.CorepresentableBy.ctorIdx E1 #
{C : Type u₁} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{F : CategoryTheory.Functor C (Type v)} → {X : C} → F.CorepresentableBy X → ℕ
theorem CategoryTheory.Functor.CorepresentableBy.mk.inj E1 #
∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {F : CategoryTheory.Functor C (Type v)} {X : C}
{homEquiv : {Y : C} → (X ⟶ Y) ≃ F.obj Y}
{homEquiv_comp :
autoParam
(∀ {Y Y' : C} (g : Y ⟶ Y') (f : X ⟶ Y),
homEquiv (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map g)) (homEquiv f))
CategoryTheory.Functor.CorepresentableBy.homEquiv_comp._autoParam}
{homEquiv_1 : {Y : C} → (X ⟶ Y) ≃ F.obj Y}
{homEquiv_comp_1 :
autoParam
(∀ {Y Y' : C} (g : Y ⟶ Y') (f : X ⟶ Y),
homEquiv_1 (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map g)) (homEquiv_1 f))
CategoryTheory.Functor.CorepresentableBy.homEquiv_comp._autoParam},
{ homEquiv := homEquiv, homEquiv_comp := homEquiv_comp } =
{ homEquiv := homEquiv_1, homEquiv_comp := homEquiv_comp_1 } →
homEquiv = homEquiv_1
def CategoryTheory.yoneda E3 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor C (CategoryTheory.Functor Cᵒᵖ (Type v₁))
The Yoneda embedding, as a functor from C into presheaves on C.
theorem CategoryTheory.yoneda_map_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) (x : Cᵒᵖ),
(CategoryTheory.yoneda.map f).app x = TypeCat.ofHom fun g ↦ CategoryTheory.CategoryStruct.comp g f
theorem CategoryTheory.yoneda_obj_obj E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (Y : Cᵒᵖ),
(CategoryTheory.yoneda.obj X).obj Y = (Opposite.unop Y ⟶ X)
theorem CategoryTheory.yoneda_obj_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) {X_1 Y : Cᵒᵖ} (f : X_1 ⟶ Y),
(CategoryTheory.yoneda.obj X).map f = TypeCat.ofHom fun g ↦ CategoryTheory.CategoryStruct.comp f.unop g
def CategoryTheory.yoneda_obj_obj_eq_hom E1 #
{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → C → C → C → C → Prop
Unification hint for (yoneda.obj X).obj (op Y) = Y ⟶ X.
def CategoryTheory.yoneda_obj_obj_eq_hom' E1 #
{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → C → C → Cᵒᵖ → Cᵒᵖ → Prop
Unification hint for (yoneda.obj X).obj Y = unop Y ⟶ X.
def CategoryTheory.uliftYoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor C (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁)))
Variant of the Yoneda embedding which allows a raise in the universe level for the category of types.
theorem CategoryTheory.uliftYoneda_obj_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) {X_1 Y : Cᵒᵖ} (f : X_1 ⟶ Y),
(CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X).map f =
TypeCat.ofHom fun x ↦ { down := CategoryTheory.CategoryStruct.comp f.unop x.down }
theorem CategoryTheory.uliftYoneda_obj_obj E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (X_1 : Cᵒᵖ),
(CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X).obj X_1 = ULift.{w, v₁} (Opposite.unop X_1 ⟶ X)
theorem CategoryTheory.uliftYoneda_map_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y) (X_1 : Cᵒᵖ),
(CategoryTheory.uliftYoneda.{w, v₁, u₁}.map f).app X_1 =
TypeCat.ofHom fun x ↦ { down := CategoryTheory.CategoryStruct.comp x.down f }
def CategoryTheory.uliftYoneda_obj_obj_eq_hom E1 #
{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → C → C → C → C → Prop
Unification hint for (uliftYoneda.obj X).obj (op Y) = ULift (Y ⟶ X).
def CategoryTheory.uliftYoneda_obj_obj_eq_hom' E1 #
{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → C → C → Cᵒᵖ → Cᵒᵖ → Prop
Unification hint for (uliftYoneda.obj X).obj Y = ULift (unop Y ⟶ X).
def CategoryTheory.uliftYonedaIsoYoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{max w v₁, u₁} C] →
CategoryTheory.uliftYoneda.{w, max v₁ w, u₁} ≅ CategoryTheory.yoneda
If C is a category with [Category.{max w v₁} C], this is the isomorphism
uliftYoneda.{w} (C := C) ≅ yoneda.
theorem CategoryTheory.uliftYonedaIsoYoneda_hom_app_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{max w v₁, u₁} C] (X : C) (X_1 : Cᵒᵖ),
(CategoryTheory.uliftYonedaIsoYoneda.hom.app X).app X_1 = Equiv.ulift.toIso.hom
theorem CategoryTheory.uliftYonedaIsoYoneda_inv_app_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{max w v₁, u₁} C] (X : C) (X_1 : Cᵒᵖ),
(CategoryTheory.uliftYonedaIsoYoneda.inv.app X).app X_1 = Equiv.ulift.toIso.inv
abbrev CategoryTheory.coyoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor Cᵒᵖ (CategoryTheory.Functor C (Type v₁))
The co-Yoneda embedding, as a functor from Cᵒᵖ into co-presheaves on C.
def CategoryTheory.coyoneda_obj_obj_eq_hom E1 #
{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → C → C → C → C → Prop
Unification hint for (coyoneda.obj (op X)).obj Y = X ⟶ Y.
def CategoryTheory.coyoneda_obj_obj_eq_hom' E1 #
{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → C → C → Cᵒᵖ → Cᵒᵖ → Prop
Unification hint for (coyoneda.obj Y).obj X = unop Y ⟶ X.
abbrev CategoryTheory.uliftCoyoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor Cᵒᵖ (CategoryTheory.Functor C (Type (max w v₁)))
Variant of the Coyoneda embedding which allows a raise in the universe level for the category of types.
def CategoryTheory.uliftCoyoneda_obj_obj_eq_hom E1 #
{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → C → C → C → C → Prop
Unification hint for (uliftCoyoneda.{w}.obj (op X)).obj Y = ULift (X ⟶ Y).
def CategoryTheory.uliftCoyoneda_obj_obj_eq_hom' E1 #
{C : Type u₁} → [CategoryTheory.Category.{v₁, u₁} C] → Cᵒᵖ → Cᵒᵖ → C → C → Prop
Unification hint for (uliftCoyoneda.{w}.obj X).obj Y = ULift (unop X ⟶ Y).
def CategoryTheory.uliftCoyonedaIsoCoyoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{max w v₁, u₁} C] →
CategoryTheory.uliftCoyoneda.{w, max v₁ w, u₁} ≅ CategoryTheory.coyoneda
If C is a category with [Category.{max w v₁} C], this is the isomorphism
uliftCoyoneda.{w} (C := C) ≅ coyoneda.
theorem CategoryTheory.uliftCoyonedaIsoCoyoneda_hom_app_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{max w v₁, u₁} C] (X : Cᵒᵖ) (X_1 : C),
(CategoryTheory.uliftCoyonedaIsoCoyoneda.hom.app X).app X_1 = Equiv.ulift.toIso.hom
theorem CategoryTheory.uliftCoyonedaIsoCoyoneda_inv_app_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{max w v₁, u₁} C] (X : Cᵒᵖ) (X_1 : C),
(CategoryTheory.uliftCoyonedaIsoCoyoneda.inv.app X).app X_1 = Equiv.ulift.toIso.inv
theorem CategoryTheory.Yoneda.obj_map_id E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : Opposite.op X ⟶ Opposite.op Y),
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.yoneda.obj X).map f)) (CategoryTheory.CategoryStruct.id X) =
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.yoneda.map f.unop).app (Opposite.op Y)))
(CategoryTheory.CategoryStruct.id Y)
def CategoryTheory.Yoneda.fullyFaithful E1 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.yoneda.FullyFaithful
The Yoneda embedding is fully faithful.
theorem CategoryTheory.Yoneda.fullyFaithful_preimage E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C}
(f : CategoryTheory.yoneda.obj X ⟶ CategoryTheory.yoneda.obj Y),
CategoryTheory.Yoneda.fullyFaithful.preimage f =
(CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op X))) (CategoryTheory.CategoryStruct.id X)
instance CategoryTheory.Yoneda.yoneda_full E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.yoneda.Full
The Yoneda embedding is full.
instance CategoryTheory.Yoneda.yoneda_faithful E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.yoneda.Faithful
The Yoneda embedding is faithful.
def CategoryTheory.Yoneda.ext E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(X Y : C) →
(p : {Z : C} → (Z ⟶ X) → (Z ⟶ Y)) →
(q : {Z : C} → (Z ⟶ Y) → (Z ⟶ X)) →
(∀ {Z : C} (f : Z ⟶ X), q (p f) = f) →
(∀ {Z : C} (f : Z ⟶ Y), p (q f) = f) →
(∀ {Z Z' : C} (f : Z' ⟶ Z) (g : Z ⟶ X),
p (CategoryTheory.CategoryStruct.comp f g) = CategoryTheory.CategoryStruct.comp f (p g)) →
(X ≅ Y)
Extensionality via Yoneda. The typical usage would be
-- Goal is `X ≅ Y`
apply Yoneda.ext
-- Goals are now functions `(Z ⟶ X) → (Z ⟶ Y)`, `(Z ⟶ Y) → (Z ⟶ X)`, and the fact that these
-- functions are inverses and natural in `Z`.
theorem CategoryTheory.Yoneda.isIso E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y)
[CategoryTheory.IsIso (CategoryTheory.yoneda.map f)], CategoryTheory.IsIso f
If yoneda.map f is an isomorphism, so was f.
def CategoryTheory.ULiftYoneda.fullyFaithful E1 #
(C : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.uliftYoneda.{w, v₁, u₁}.FullyFaithful
When C is a category such that Category.{v₁} C, then
the functor uliftYoneda.{w} : C ⥤ Cᵒᵖ ⥤ Type (max w v₁) is fully faithful.
instance CategoryTheory.ULiftYoneda.instFullFunctorOppositeTypeUliftYoneda E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.uliftYoneda.{w, v₁, u₁}.Full
instance CategoryTheory.ULiftYoneda.instFaithfulFunctorOppositeTypeUliftYoneda E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.uliftYoneda.{w, v₁, u₁}.Faithful
def CategoryTheory.Coyoneda.fullyFaithful E1 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.coyoneda.FullyFaithful
The co-Yoneda embedding is fully faithful.
theorem CategoryTheory.Coyoneda.fullyFaithful_preimage E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ}
(f : CategoryTheory.coyoneda.obj X ⟶ CategoryTheory.coyoneda.obj Y),
CategoryTheory.Coyoneda.fullyFaithful.preimage f =
Quiver.Hom.op
((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.unop X)))
(CategoryTheory.CategoryStruct.id (Opposite.unop X)))
def CategoryTheory.Coyoneda.preimage E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{X Y : Cᵒᵖ} → (CategoryTheory.coyoneda.obj X ⟶ CategoryTheory.coyoneda.obj Y) → (X ⟶ Y)
The morphism X ⟶ Y corresponding to a natural transformation
coyoneda.obj X ⟶ coyoneda.obj Y.
instance CategoryTheory.Coyoneda.coyoneda_full E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.coyoneda.Full
instance CategoryTheory.Coyoneda.coyoneda_faithful E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.coyoneda.Faithful
def CategoryTheory.Coyoneda.ext E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(X Y : C) →
(p : {Z : C} → (X ⟶ Z) → (Y ⟶ Z)) →
(q : {Z : C} → (Y ⟶ Z) → (X ⟶ Z)) →
(∀ {Z : C} (f : X ⟶ Z), q (p f) = f) →
(∀ {Z : C} (f : Y ⟶ Z), p (q f) = f) →
(∀ {Z Z' : C} (f : Y ⟶ Z) (g : Z ⟶ Z'),
q (CategoryTheory.CategoryStruct.comp f g) = CategoryTheory.CategoryStruct.comp (q f) g) →
(X ≅ Y)
Extensionality via Coyoneda. The typical usage would be
-- Goal is `X ≅ Y`
apply Coyoneda.ext
-- Goals are now functions `(X ⟶ Z) → (Y ⟶ Z)`, `(Y ⟶ Z) → (X ⟶ Z)`, and the fact that these
-- functions are inverses and natural in `Z`.
theorem CategoryTheory.Coyoneda.isIso E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y)
[CategoryTheory.IsIso (CategoryTheory.coyoneda.map f)], CategoryTheory.IsIso f
If coyoneda.map f is an isomorphism, so was f.
def CategoryTheory.Coyoneda.punitIso E1 #
CategoryTheory.coyoneda.obj (Opposite.op PUnit.{v₁ + 1}) ≅ CategoryTheory.Functor.id (Type v₁)
The identity functor on Type is isomorphic to the coyoneda functor coming from PUnit.
def CategoryTheory.Coyoneda.objOpOp E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(X : C) → CategoryTheory.coyoneda.obj (Opposite.op (Opposite.op X)) ≅ CategoryTheory.yoneda.obj X
Taking the unop of morphisms is a natural isomorphism.
theorem CategoryTheory.Coyoneda.objOpOp_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (X_1 : Cᵒᵖ),
(CategoryTheory.Coyoneda.objOpOp X).inv.app X_1 = (CategoryTheory.opEquiv (Opposite.op X) X_1).toIso.inv
theorem CategoryTheory.Coyoneda.objOpOp_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) (X_1 : Cᵒᵖ),
(CategoryTheory.Coyoneda.objOpOp X).hom.app X_1 = (CategoryTheory.opEquiv (Opposite.op X) X_1).toIso.hom
def CategoryTheory.Coyoneda.opIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.yoneda.comp ((CategoryTheory.Functor.whiskeringLeft C Cᵒᵖᵒᵖ (Type v₁)).obj (CategoryTheory.opOp C)) ≅
CategoryTheory.coyoneda
Taking the unop of morphisms is a natural isomorphism.
def CategoryTheory.Coyoneda.ULiftCoyoneda.fullyFaithful E1 #
(C : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.FullyFaithful
When C is a category such that Category.{v₁} C, then
the functor uliftCoyoneda.{w} : C ⥤ Cᵒᵖ ⥤ Type (max w v₁) is fully faithful.
instance CategoryTheory.Coyoneda.ULiftCoyoneda.instFullOppositeFunctorTypeUliftCoyoneda E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.Full
instance CategoryTheory.Coyoneda.ULiftCoyoneda.instFaithfulOppositeFunctorTypeUliftCoyoneda E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C], CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.Faithful
structure CategoryTheory.Functor.RepresentableBy E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor Cᵒᵖ (Type v) → C → Type (max (max u₁ v) v₁)
The data which expresses that a functor F : Cᵒᵖ ⥤ Type v is representable by Y : C.
In the situation where F factors through a concrete category, it may be more convenient to use
the API in the file Mathlib/CategoryTheory/ConcreteCategory/Representable.lean.
ctor CategoryTheory.Functor.RepresentableBy.mk E0 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor Cᵒᵖ (Type v)} →
{Y : C} →
(homEquiv : {X : C} → (X ⟶ Y) ≃ F.obj (Opposite.op X)) →
autoParam
(∀ {X X' : C} (f : X ⟶ X') (g : X' ⟶ Y),
homEquiv (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map f.op)) (homEquiv g))
CategoryTheory.Functor.RepresentableBy.homEquiv_comp._autoParam →
F.RepresentableBy Y
abbrev CategoryTheory.Functor.RepresentableBy.homEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor Cᵒᵖ (Type v)} →
{Y : C} → F.RepresentableBy Y → {X : C} → (X ⟶ Y) ≃ F.obj (Opposite.op X)
the natural bijection (X ⟶ Y) ≃ F.obj (op X).
theorem CategoryTheory.Functor.RepresentableBy.homEquiv_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
(self : F.RepresentableBy Y) {X X' : C} (f : X ⟶ X') (g : X' ⟶ Y),
self.homEquiv (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map f.op)) (self.homEquiv g)
theorem CategoryTheory.Functor.RepresentableBy.comp_homEquiv_symm E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
(e : F.RepresentableBy Y) {X X' : C} (x : F.obj (Opposite.op X')) (f : X ⟶ X'),
CategoryTheory.CategoryStruct.comp f (e.homEquiv.symm x) =
e.homEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f.op)) x)
theorem CategoryTheory.Functor.RepresentableBy.homEquiv_unop_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type u_1)} {Y : C}
(h : F.RepresentableBy Y) {X : Cᵒᵖ} {X' : C} (f : Opposite.op X' ⟶ X) (g : X' ⟶ Y),
h.homEquiv (CategoryTheory.CategoryStruct.comp f.unop g) =
(CategoryTheory.ConcreteCategory.hom (F.map f)) (h.homEquiv g)
def CategoryTheory.Functor.RepresentableBy.ofIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F F' : CategoryTheory.Functor Cᵒᵖ (Type v)} → {Y : C} → F.RepresentableBy Y → (F ≅ F') → F'.RepresentableBy Y
If F ≅ F', and F is representable, then F' is representable.
structure CategoryTheory.Functor.CorepresentableBy E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor C (Type v) → C → Type (max (max u₁ v) v₁)
The data which expresses that a functor F : C ⥤ Type v is corepresentable by X : C.
ctor CategoryTheory.Functor.CorepresentableBy.mk E0 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type v)} →
{X : C} →
(homEquiv : {Y : C} → (X ⟶ Y) ≃ F.obj Y) →
autoParam
(∀ {Y Y' : C} (g : Y ⟶ Y') (f : X ⟶ Y),
homEquiv (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map g)) (homEquiv f))
CategoryTheory.Functor.CorepresentableBy.homEquiv_comp._autoParam →
F.CorepresentableBy X
abbrev CategoryTheory.Functor.CorepresentableBy.homEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type v)} → {X : C} → F.CorepresentableBy X → {Y : C} → (X ⟶ Y) ≃ F.obj Y
the natural bijection (X ⟶ Y) ≃ F.obj Y.
theorem CategoryTheory.Functor.CorepresentableBy.homEquiv_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
(self : F.CorepresentableBy X) {Y Y' : C} (g : Y ⟶ Y') (f : X ⟶ Y),
self.homEquiv (CategoryTheory.CategoryStruct.comp f g) =
(CategoryTheory.ConcreteCategory.hom (F.map g)) (self.homEquiv f)
theorem CategoryTheory.Functor.CorepresentableBy.homEquiv_symm_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
(e : F.CorepresentableBy X) {Y Y' : C} (y : F.obj Y) (g : Y ⟶ Y'),
CategoryTheory.CategoryStruct.comp (e.homEquiv.symm y) g =
e.homEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map g)) y)
def CategoryTheory.Functor.CorepresentableBy.ofIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F F' : CategoryTheory.Functor C (Type v)} → {X : C} → F.CorepresentableBy X → (F ≅ F') → F'.CorepresentableBy X
If F ≅ F', and F is corepresentable, then F' is corepresentable.
theorem CategoryTheory.Functor.RepresentableBy.homEquiv_eq E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
(e : F.RepresentableBy Y) {X : C} (f : X ⟶ Y),
e.homEquiv f = (CategoryTheory.ConcreteCategory.hom (F.map f.op)) (e.homEquiv (CategoryTheory.CategoryStruct.id Y))
theorem CategoryTheory.Functor.CorepresentableBy.homEquiv_eq E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
(e : F.CorepresentableBy X) {Y : C} (f : X ⟶ Y),
e.homEquiv f = (CategoryTheory.ConcreteCategory.hom (F.map f)) (e.homEquiv (CategoryTheory.CategoryStruct.id X))
def CategoryTheory.Functor.RepresentableBy.uniqueUpToIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor Cᵒᵖ (Type v)} → {Y Y' : C} → F.RepresentableBy Y → F.RepresentableBy Y' → (Y ≅ Y')
Representing objects are unique up to isomorphism.
theorem CategoryTheory.Functor.RepresentableBy.uniqueUpToIso_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y Y' : C}
(e : F.RepresentableBy Y) (e' : F.RepresentableBy Y'),
(e.uniqueUpToIso e').hom =
CategoryTheory.Yoneda.fullyFaithful.preimage
(CategoryTheory.NatIso.ofComponents
(fun Z ↦
{ hom := TypeCat.ofHom (⇑e'.homEquiv.symm ∘ ⇑e.homEquiv),
inv := TypeCat.ofHom (⇑e.homEquiv.symm ∘ ⇑e'.homEquiv), hom_inv_id := ⋯, inv_hom_id := ⋯ })
⋯).hom
theorem CategoryTheory.Functor.RepresentableBy.uniqueUpToIso_inv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y Y' : C}
(e : F.RepresentableBy Y) (e' : F.RepresentableBy Y'),
(e.uniqueUpToIso e').inv =
CategoryTheory.Yoneda.fullyFaithful.preimage
(CategoryTheory.NatIso.ofComponents
(fun Z ↦
{ hom := TypeCat.ofHom (⇑e'.homEquiv.symm ∘ ⇑e.homEquiv),
inv := TypeCat.ofHom (⇑e.homEquiv.symm ∘ ⇑e'.homEquiv), hom_inv_id := ⋯, inv_hom_id := ⋯ })
⋯).inv
def CategoryTheory.Functor.CorepresentableBy.uniqueUpToIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type v)} → {X X' : C} → F.CorepresentableBy X → F.CorepresentableBy X' → (X ≅ X')
Corepresenting objects are unique up to isomorphism.
theorem CategoryTheory.Functor.CorepresentableBy.uniqueUpToIso_inv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X X' : C}
(e : F.CorepresentableBy X) (e' : F.CorepresentableBy X'),
(e.uniqueUpToIso e').inv =
(CategoryTheory.Coyoneda.fullyFaithful.preimage
(CategoryTheory.NatIso.ofComponents
(fun Z ↦
{ hom := TypeCat.ofHom (⇑e.homEquiv.symm ∘ ⇑e'.homEquiv),
inv := TypeCat.ofHom (⇑e'.homEquiv.symm ∘ ⇑e.homEquiv), hom_inv_id := ⋯, inv_hom_id := ⋯ })
⋯).inv).unop
theorem CategoryTheory.Functor.CorepresentableBy.uniqueUpToIso_hom E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X X' : C}
(e : F.CorepresentableBy X) (e' : F.CorepresentableBy X'),
(e.uniqueUpToIso e').hom =
(CategoryTheory.Coyoneda.fullyFaithful.preimage
(CategoryTheory.NatIso.ofComponents
(fun Z ↦
{ hom := TypeCat.ofHom (⇑e.homEquiv.symm ∘ ⇑e'.homEquiv),
inv := TypeCat.ofHom (⇑e'.homEquiv.symm ∘ ⇑e.homEquiv), hom_inv_id := ⋯, inv_hom_id := ⋯ })
⋯).hom).unop
theorem CategoryTheory.Functor.RepresentableBy.ext E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
{e e' : F.RepresentableBy Y},
e.homEquiv (CategoryTheory.CategoryStruct.id Y) = e'.homEquiv (CategoryTheory.CategoryStruct.id Y) → e = e'
theorem CategoryTheory.Functor.RepresentableBy.ext_iff E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
{e e' : F.RepresentableBy Y},
e = e' ↔ e.homEquiv (CategoryTheory.CategoryStruct.id Y) = e'.homEquiv (CategoryTheory.CategoryStruct.id Y)
theorem CategoryTheory.Functor.CorepresentableBy.ext E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
{e e' : F.CorepresentableBy X},
e.homEquiv (CategoryTheory.CategoryStruct.id X) = e'.homEquiv (CategoryTheory.CategoryStruct.id X) → e = e'
theorem CategoryTheory.Functor.CorepresentableBy.ext_iff E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
{e e' : F.CorepresentableBy X},
e = e' ↔ e.homEquiv (CategoryTheory.CategoryStruct.id X) = e'.homEquiv (CategoryTheory.CategoryStruct.id X)
def CategoryTheory.Functor.representableByEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor Cᵒᵖ (Type v₁)} → {Y : C} → F.RepresentableBy Y ≃ (CategoryTheory.yoneda.obj Y ≅ F)
The obvious bijection F.RepresentableBy Y ≃ (yoneda.obj Y ≅ F)
when F : Cᵒᵖ ⥤ Type v₁ and [Category.{v₁} C].
def CategoryTheory.Functor.RepresentableBy.yoneda E1 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → (X : C) → (CategoryTheory.yoneda.obj X).RepresentableBy X
yoneda.obj X is represented by X.
theorem CategoryTheory.Functor.RepresentableBy.coyoneda_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X Y : C),
(CategoryTheory.Functor.RepresentableBy.yoneda X).homEquiv = Equiv.refl (Y ⟶ X)
def CategoryTheory.Functor.RepresentableBy.toIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor Cᵒᵖ (Type v₁)} → {Y : C} → F.RepresentableBy Y → (CategoryTheory.yoneda.obj Y ≅ F)
The isomorphism yoneda.obj Y ≅ F induced by e : F.RepresentableBy Y.
def CategoryTheory.Functor.corepresentableByEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type v₁)} →
{X : C} → F.CorepresentableBy X ≃ (CategoryTheory.coyoneda.obj (Opposite.op X) ≅ F)
The obvious bijection F.CorepresentableBy X ≃ (yoneda.obj Y ≅ F)
when F : C ⥤ Type v₁ and [Category.{v₁} C].
def CategoryTheory.Functor.CorepresentableBy.coyoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(X : Cᵒᵖ) → (CategoryTheory.coyoneda.obj X).CorepresentableBy (Opposite.unop X)
coyoneda.obj X is represented by X.
theorem CategoryTheory.Functor.CorepresentableBy.coyoneda_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : Cᵒᵖ) (Y : C),
(CategoryTheory.Functor.CorepresentableBy.coyoneda X).homEquiv = Equiv.refl (Opposite.unop X ⟶ Y)
def CategoryTheory.Functor.CorepresentableBy.toIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type v₁)} →
{X : C} → F.CorepresentableBy X → (CategoryTheory.coyoneda.obj (Opposite.op X) ≅ F)
The isomorphism coyoneda.obj (op X) ≅ F induced by e : F.CorepresentableBy X.
def CategoryTheory.Functor.RepresentableBy.ofIsoObj E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor Cᵒᵖ (Type w)} → {X Y : C} → F.RepresentableBy X → (Y ≅ X) → F.RepresentableBy Y
Transport RepresentableBy along an isomorphism of the object.
theorem CategoryTheory.Functor.RepresentableBy.ofIsoObj_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X Y : C}
(R : F.RepresentableBy X) (e : Y ≅ X) {Z : C}, (R.ofIsoObj e).homEquiv = e.homToEquiv.trans R.homEquiv
def CategoryTheory.Functor.CorepresentableBy.ofIsoObj E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type w)} → {X Y : C} → F.CorepresentableBy X → (Y ≅ X) → F.CorepresentableBy Y
Transport RepresentableBy along an isomorphism of the object.
theorem CategoryTheory.Functor.CorepresentableBy.ofIsoObj_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type w)} {X Y : C}
(R : F.CorepresentableBy X) (e : Y ≅ X) {Z : C}, (R.ofIsoObj e).homEquiv = e.homFromEquiv.trans R.homEquiv
def CategoryTheory.Functor.RepresentableBy.equivOfIsoObj E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor Cᵒᵖ (Type w)} → {X Y : C} → (Y ≅ X) → F.RepresentableBy X ≃ F.RepresentableBy Y
If Y is isomorphic to X, representations of F by X are equivalent
to representations of F by Y.
theorem CategoryTheory.Functor.RepresentableBy.equivOfIsoObj_symm_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X Y : C}
(e : Y ≅ X) (R : F.RepresentableBy Y),
(CategoryTheory.Functor.RepresentableBy.equivOfIsoObj e).symm R = R.ofIsoObj e.symm
theorem CategoryTheory.Functor.RepresentableBy.equivOfIsoObj_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {X Y : C}
(e : Y ≅ X) (R : F.RepresentableBy X), (CategoryTheory.Functor.RepresentableBy.equivOfIsoObj e) R = R.ofIsoObj e
def CategoryTheory.Functor.CorepresentableBy.equivOfIsoObj E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type w)} → {X Y : C} → (Y ≅ X) → F.CorepresentableBy X ≃ F.CorepresentableBy Y
If Y is isomorphic to X, corepresentations of F by X are equivalent
to corepresentations of F by Y.
theorem CategoryTheory.Functor.CorepresentableBy.equivOfIsoObj_symm_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type w)} {X Y : C}
(e : Y ≅ X) (R : F.CorepresentableBy Y),
(CategoryTheory.Functor.CorepresentableBy.equivOfIsoObj e).symm R = R.ofIsoObj e.symm
theorem CategoryTheory.Functor.CorepresentableBy.equivOfIsoObj_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type w)} {X Y : C}
(e : Y ≅ X) (R : F.CorepresentableBy X), (CategoryTheory.Functor.CorepresentableBy.equivOfIsoObj e) R = R.ofIsoObj e
def CategoryTheory.Functor.representableByUliftFunctorEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor Cᵒᵖ (Type v)} →
{X : C} → (F.comp CategoryTheory.uliftFunctor.{w, v}).RepresentableBy X ≃ F.RepresentableBy X
Representing F composed with universe lifting is the same as representing F.
theorem CategoryTheory.Functor.representableByUliftFunctorEquiv_symm_apply_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {X : C}
(R : F.RepresentableBy X) {Y : C},
(CategoryTheory.Functor.representableByUliftFunctorEquiv.symm R).homEquiv = R.homEquiv.trans Equiv.ulift.symm
theorem CategoryTheory.Functor.representableByUliftFunctorEquiv_apply_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {X : C}
(R : (F.comp CategoryTheory.uliftFunctor.{w, v}).RepresentableBy X) {Y : C},
(CategoryTheory.Functor.representableByUliftFunctorEquiv R).homEquiv = R.homEquiv.trans Equiv.ulift
def CategoryTheory.Functor.corepresentableByUliftFunctorEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type v)} →
{X : C} → (F.comp CategoryTheory.uliftFunctor.{w, v}).CorepresentableBy X ≃ F.CorepresentableBy X
Corepresenting F composed with universe lifting is the same as corepresenting F.
theorem CategoryTheory.Functor.corepresentableByUliftFunctorEquiv_apply_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
(R : (F.comp CategoryTheory.uliftFunctor.{w, v}).CorepresentableBy X) {Y : C},
(CategoryTheory.Functor.corepresentableByUliftFunctorEquiv R).homEquiv = R.homEquiv.trans Equiv.ulift
theorem CategoryTheory.Functor.corepresentableByUliftFunctorEquiv_symm_apply_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
(R : F.CorepresentableBy X) {Y : C},
(CategoryTheory.Functor.corepresentableByUliftFunctorEquiv.symm R).homEquiv = R.homEquiv.trans Equiv.ulift.symm
def CategoryTheory.Functor.RepresentableBy.equivUliftYonedaIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))) →
(X : C) → F.RepresentableBy X ≃ (CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X ≅ F)
Version of representableByEquiv with more general universe assumptions.
theorem CategoryTheory.Functor.RepresentableBy.equivUliftYonedaIso_symm_apply_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))) (X : C)
(e : CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X ≅ F) {X_1 : C},
((CategoryTheory.Functor.RepresentableBy.equivUliftYonedaIso F X).symm e).homEquiv =
Equiv.ulift.symm.trans (equivEquivIso.symm (e.app (Opposite.op X_1)))
theorem CategoryTheory.Functor.RepresentableBy.equivUliftYonedaIso_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))) (X : C)
(R : F.RepresentableBy X),
(CategoryTheory.Functor.RepresentableBy.equivUliftYonedaIso F X) R =
CategoryTheory.NatIso.ofComponents (fun X_1 ↦ equivEquivIso (Equiv.ulift.trans R.homEquiv)) ⋯
def CategoryTheory.Functor.CorepresentableBy.equivUliftCoyonedaIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor C (Type (max w v₁))) →
(X : C) → F.CorepresentableBy X ≃ (CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.obj (Opposite.op X) ≅ F)
Version of corepresentableByEquiv with more general universe assumptions.
theorem CategoryTheory.Functor.CorepresentableBy.equivUliftCoyonedaIso_symm_apply_homEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor C (Type (max w v₁))) (X : C)
(e : CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.obj (Opposite.op X) ≅ F) {X_1 : C},
((CategoryTheory.Functor.CorepresentableBy.equivUliftCoyonedaIso F X).symm e).homEquiv =
Equiv.ulift.symm.trans (equivEquivIso.symm (e.app X_1))
theorem CategoryTheory.Functor.CorepresentableBy.equivUliftCoyonedaIso_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor C (Type (max w v₁))) (X : C)
(R : F.CorepresentableBy X),
(CategoryTheory.Functor.CorepresentableBy.equivUliftCoyonedaIso F X) R =
CategoryTheory.NatIso.ofComponents (fun X_1 ↦ equivEquivIso (Equiv.ulift.trans R.homEquiv)) ⋯
class CategoryTheory.Functor.IsRepresentable E1 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor Cᵒᵖ (Type v) → Prop
A functor F : Cᵒᵖ ⥤ Type v is representable if there is an object Y with a structure
F.RepresentableBy Y, i.e. there is a natural bijection (X ⟶ Y) ≃ F.obj (op X),
which may also be rephrased as a natural isomorphism yoneda.obj X ≅ F when Category.{v} C.
ctor CategoryTheory.Functor.IsRepresentable.mk E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)},
(∃ Y, Nonempty (F.RepresentableBy Y)) → F.IsRepresentable
theorem CategoryTheory.Functor.IsRepresentable.has_representation E1 #
∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {F : CategoryTheory.Functor Cᵒᵖ (Type v)}
[self : F.IsRepresentable], ∃ Y, Nonempty (F.RepresentableBy Y)
theorem CategoryTheory.Functor.RepresentableBy.isRepresentable E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)} {Y : C}
(e : F.RepresentableBy Y), F.IsRepresentable
theorem CategoryTheory.Functor.IsRepresentable.mk' E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)} {X : C}
(e : CategoryTheory.yoneda.obj X ≅ F), F.IsRepresentable
Alternative constructor for F.IsRepresentable, which takes as an input an
isomorphism yoneda.obj X ≅ F.
instance CategoryTheory.Functor.instIsRepresentableObjOppositeTypeYoneda E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C}, (CategoryTheory.yoneda.obj X).IsRepresentable
instance CategoryTheory.Functor.instIsRepresentableObjOppositeTypeUliftYoneda E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C},
(CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X).IsRepresentable
class CategoryTheory.Functor.IsCorepresentable E1 #
{C : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.Functor C (Type v) → Prop
A functor F : C ⥤ Type v₁ is corepresentable if there is object X so F ≅ coyoneda.obj X.
ctor CategoryTheory.Functor.IsCorepresentable.mk E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)},
(∃ X, Nonempty (F.CorepresentableBy X)) → F.IsCorepresentable
theorem CategoryTheory.Functor.IsCorepresentable.has_corepresentation E1 #
∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {F : CategoryTheory.Functor C (Type v)}
[self : F.IsCorepresentable], ∃ X, Nonempty (F.CorepresentableBy X)
theorem CategoryTheory.Functor.CorepresentableBy.isCorepresentable E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)} {X : C}
(e : F.CorepresentableBy X), F.IsCorepresentable
theorem CategoryTheory.Functor.IsCorepresentable.mk' E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v₁)} {X : C}
(e : CategoryTheory.coyoneda.obj (Opposite.op X) ≅ F), F.IsCorepresentable
Alternative constructor for F.IsCorepresentable, which takes as an input an
isomorphism coyoneda.obj (op X) ≅ F.
instance CategoryTheory.Functor.instIsCorepresentableObjOppositeTypeCoyoneda E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : Cᵒᵖ}, (CategoryTheory.coyoneda.obj X).IsCorepresentable
instance CategoryTheory.Functor.instIsCorepresentableObjOppositeTypeUliftCoyoneda E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : Cᵒᵖ},
(CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.obj X).IsCorepresentable
def CategoryTheory.Functor.reprX E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] → (F : CategoryTheory.Functor Cᵒᵖ (Type v)) → [hF : F.IsRepresentable] → C
The representing object for the representable functor F.
def CategoryTheory.Functor.representableBy E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor Cᵒᵖ (Type v)) → [hF : F.IsRepresentable] → F.RepresentableBy F.reprX
A chosen term in F.RepresentableBy (reprX F) when F.IsRepresentable holds.
def CategoryTheory.Functor.RepresentableBy.isoReprX E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor Cᵒᵖ (Type v)) → [hF : F.IsRepresentable] → {Y : C} → F.RepresentableBy Y → (Y ≅ F.reprX)
Any representing object for a representable functor F is isomorphic to reprX F.
def CategoryTheory.Functor.reprx E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor Cᵒᵖ (Type v)) → [hF : F.IsRepresentable] → F.obj (Opposite.op F.reprX)
The representing element for the representable functor F, sometimes called the universal
element of the functor.
def CategoryTheory.Functor.reprW E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor Cᵒᵖ (Type v₁)) → [inst_1 : F.IsRepresentable] → CategoryTheory.yoneda.obj F.reprX ≅ F
An isomorphism between a representable F and a functor of the
form C(-, F.reprX). Note the components F.reprW.app X
definitionally have type (X.unop ⟶ F.reprX) ≅ F.obj X.
theorem CategoryTheory.Functor.reprW_hom_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor Cᵒᵖ (Type v₁))
[inst_1 : F.IsRepresentable] (X : Cᵒᵖ) (f : Opposite.unop X ⟶ F.reprX),
(CategoryTheory.ConcreteCategory.hom (F.reprW.hom.app X)) f =
(CategoryTheory.ConcreteCategory.hom (F.map f.op)) F.reprx
def CategoryTheory.Functor.uliftYonedaReprXIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor Cᵒᵖ (Type (max v v₁))) →
[inst_1 : F.IsRepresentable] → CategoryTheory.uliftYoneda.{v, v₁, u₁}.obj F.reprX ≅ F
If F is representable, it is, modulo universe lifting, isomorphic to
Hom(-, X) for the representing object X.
theorem CategoryTheory.Functor.uliftYonedaReprXIso_hom_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor Cᵒᵖ (Type (max v v₁)))
[inst_1 : F.IsRepresentable] (X : Cᵒᵖ) (f : ULift.{v, v₁} (Opposite.unop X ⟶ F.reprX)),
(CategoryTheory.ConcreteCategory.hom (F.uliftYonedaReprXIso.hom.app X)) f =
(CategoryTheory.ConcreteCategory.hom (F.map f.down.op)) F.reprx
def CategoryTheory.Functor.coreprX E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] → (F : CategoryTheory.Functor C (Type v)) → [hF : F.IsCorepresentable] → C
The representing object for the corepresentable functor F.
def CategoryTheory.Functor.corepresentableBy E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor C (Type v)) → [hF : F.IsCorepresentable] → F.CorepresentableBy F.coreprX
A chosen term in F.CorepresentableBy (coreprX F) when F.IsCorepresentable holds.
def CategoryTheory.Functor.CorepresentableBy.isoCoreprX E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{F : CategoryTheory.Functor C (Type v)} →
[hF : F.IsCorepresentable] → {Y : C} → F.CorepresentableBy Y → (Y ≅ F.coreprX)
Any corepresenting object for a corepresentable functor F is isomorphic to coreprX F.
def CategoryTheory.Functor.coreprx E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor C (Type v)) → [hF : F.IsCorepresentable] → F.obj F.coreprX
The representing element for the corepresentable functor F, sometimes called the universal
element of the functor.
def CategoryTheory.Functor.coreprW E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor C (Type v₁)) →
[inst_1 : F.IsCorepresentable] → CategoryTheory.coyoneda.obj (Opposite.op F.coreprX) ≅ F
An isomorphism between a corepresentable F and a functor of the form
C(F.corepr X, -). Note the components F.coreprW.app X
definitionally have type F.corepr_X ⟶ X ≅ F.obj X.
theorem CategoryTheory.Functor.coreprW_hom_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor C (Type v₁))
[inst_1 : F.IsCorepresentable] (X : C) (f : F.coreprX ⟶ X),
(CategoryTheory.ConcreteCategory.hom (F.coreprW.hom.app X)) f =
(CategoryTheory.ConcreteCategory.hom (F.map f)) F.coreprx
def CategoryTheory.Functor.uliftCoyonedaCoreprXIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor C (Type (max v v₁))) →
[inst_1 : F.IsCorepresentable] → CategoryTheory.uliftCoyoneda.{v, v₁, u₁}.obj (Opposite.op F.coreprX) ≅ F
If F is corepresentable, it is, modulo universe lifting, isomorphic to
Hom(X, -) for the corepresenting object X.
theorem CategoryTheory.Functor.uliftCoyonedaCoreprXIso_hom_app E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor C (Type (max v v₁)))
[inst_1 : F.IsCorepresentable] (X : C) (f : ULift.{v, v₁} (F.coreprX ⟶ X)),
(CategoryTheory.ConcreteCategory.hom (F.uliftCoyonedaCoreprXIso.hom.app X)) f =
(CategoryTheory.ConcreteCategory.hom (F.map f.down)) F.coreprx
theorem CategoryTheory.Functor.isRepresentable_comp_uliftFunctor_iff E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor Cᵒᵖ (Type v)},
(F.comp CategoryTheory.uliftFunctor.{w, v}).IsRepresentable ↔ F.IsRepresentable
theorem CategoryTheory.Functor.isCorepresentable_comp_uliftFunctor_iff E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F : CategoryTheory.Functor C (Type v)},
(F.comp CategoryTheory.uliftFunctor.{w, v}).IsCorepresentable ↔ F.IsCorepresentable
instance CategoryTheory.Functor.instIsRepresentableCompOppositeUliftFunctor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor Cᵒᵖ (Type v))
[F.IsRepresentable], (F.comp CategoryTheory.uliftFunctor.{w, v}).IsRepresentable
instance CategoryTheory.Functor.instIsCorepresentableCompUliftFunctor E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor C (Type v))
[F.IsCorepresentable], (F.comp CategoryTheory.uliftFunctor.{w, v}).IsCorepresentable
theorem CategoryTheory.isRepresentable_of_natIso E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor Cᵒᵖ (Type v))
{G : CategoryTheory.Functor Cᵒᵖ (Type v)} (i : F ≅ G) [F.IsRepresentable], G.IsRepresentable
theorem CategoryTheory.corepresentable_of_natIso E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor C (Type v))
{G : CategoryTheory.Functor C (Type v)} (i : F ≅ G) [F.IsCorepresentable], G.IsCorepresentable
def CategoryTheory.Functor.CorepresentableBy.id E1 #
(CategoryTheory.Functor.id (Type v)).CorepresentableBy PUnit.{v + 1}
The identity functor on Type v is corepresented by PUnit.
theorem CategoryTheory.Functor.CorepresentableBy.id_homEquiv_apply E0 #
∀ (X : Type v) (a : PUnit.{v + 1} ⟶ X),
CategoryTheory.Functor.CorepresentableBy.id.homEquiv a = (CategoryTheory.ConcreteCategory.hom a) PUnit.unit
theorem CategoryTheory.Functor.CorepresentableBy.id_homEquiv_symm_apply E0 #
∀ (X : Type v) (x : X) (a : PUnit.{v + 1}),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.Functor.CorepresentableBy.id.homEquiv.symm x)) a = x
instance CategoryTheory.instIsCorepresentableIdType E0 #
(CategoryTheory.Functor.id (Type v)).IsCorepresentable
instance CategoryTheory.prodCategoryInstance1 E0 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.Category.{max u₁ v₁, max u₁ (max (v₁ + 1) u₁) v₁} (CategoryTheory.Functor Cᵒᵖ (Type v₁) × Cᵒᵖ)
instance CategoryTheory.prodCategoryInstance2 E0 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.Category.{max u₁ v₁, max (max (max (v₁ + 1) u₁) v₁) u₁} (Cᵒᵖ × CategoryTheory.Functor Cᵒᵖ (Type v₁))
def CategoryTheory.yonedaEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{X : C} → {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)} → (CategoryTheory.yoneda.obj X ⟶ F) ≃ F.obj (Opposite.op X)
We have a type-level equivalence between natural transformations from the yoneda embedding
and elements of F.obj X, without any universe switching.
theorem CategoryTheory.yonedaEquiv_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(f : CategoryTheory.yoneda.obj X ⟶ F),
CategoryTheory.yonedaEquiv f =
(CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op X))) (CategoryTheory.CategoryStruct.id X)
theorem CategoryTheory.yonedaEquiv_symm_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(x : F.obj (Opposite.op X)) (Y : Cᵒᵖ),
(CategoryTheory.yonedaEquiv.symm x).app Y =
TypeCat.ofHom fun f ↦ (CategoryTheory.ConcreteCategory.hom (F.map (Quiver.Hom.op f))) x
theorem CategoryTheory.yonedaEquiv_symm_app_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(x : F.obj (Opposite.op X)) (Y : Cᵒᵖ) (f : Opposite.unop Y ⟶ X),
(CategoryTheory.ConcreteCategory.hom (F.map f.op)) x = (CategoryTheory.ConcreteCategory.hom (F.map f.op)) x
theorem CategoryTheory.yonedaEquiv_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(f : CategoryTheory.yoneda.obj X ⟶ F) (g : Y ⟶ X),
(CategoryTheory.ConcreteCategory.hom (F.map g.op)) (CategoryTheory.yonedaEquiv f) =
CategoryTheory.yonedaEquiv (CategoryTheory.CategoryStruct.comp (CategoryTheory.yoneda.map g) f)
See also yonedaEquiv_naturality' for a more general version.
theorem CategoryTheory.yonedaEquiv_naturality' E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(f : CategoryTheory.yoneda.obj (Opposite.unop X) ⟶ F) (g : X ⟶ Y),
(CategoryTheory.ConcreteCategory.hom (F.map g)) (CategoryTheory.yonedaEquiv f) =
CategoryTheory.yonedaEquiv (CategoryTheory.CategoryStruct.comp (CategoryTheory.yoneda.map g.unop) f)
Variant of yonedaEquiv_naturality with general g. This is technically strictly more general
than yonedaEquiv_naturality, but yonedaEquiv_naturality is sometimes preferable because it
can avoid the "motive is not type correct" error.
theorem CategoryTheory.yonedaEquiv_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F G : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(α : CategoryTheory.yoneda.obj X ⟶ F) (β : F ⟶ G),
CategoryTheory.yonedaEquiv (CategoryTheory.CategoryStruct.comp α β) =
(CategoryTheory.ConcreteCategory.hom (β.app (Opposite.op X))) (CategoryTheory.yonedaEquiv α)
theorem CategoryTheory.yonedaEquiv_yoneda_map E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.yonedaEquiv (CategoryTheory.yoneda.map f) = f
theorem CategoryTheory.yonedaEquiv_symm_naturality_left E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X X' : C} (f : X' ⟶ X)
(F : CategoryTheory.Functor Cᵒᵖ (Type v₁)) (x : F.obj (Opposite.op X)),
CategoryTheory.CategoryStruct.comp (CategoryTheory.yoneda.map f) (CategoryTheory.yonedaEquiv.symm x) =
CategoryTheory.yonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f.op)) x)
theorem CategoryTheory.yonedaEquiv_symm_naturality_right E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : C) {F F' : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(f : F ⟶ F') (x : F.obj (Opposite.op X)),
CategoryTheory.CategoryStruct.comp (CategoryTheory.yonedaEquiv.symm x) f =
CategoryTheory.yonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op X))) x)
theorem CategoryTheory.map_yonedaEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(f : CategoryTheory.yoneda.obj X ⟶ F) (g : Y ⟶ X),
(CategoryTheory.ConcreteCategory.hom (F.map g.op)) (CategoryTheory.yonedaEquiv f) =
(CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op Y))) g
See also map_yonedaEquiv' for a more general version.
theorem CategoryTheory.map_yonedaEquiv' E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} {F : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
(f : CategoryTheory.yoneda.obj (Opposite.unop X) ⟶ F) (g : X ⟶ Y),
(CategoryTheory.ConcreteCategory.hom (F.map g)) (CategoryTheory.yonedaEquiv f) =
(CategoryTheory.ConcreteCategory.hom (f.app Y)) g.unop
Variant of map_yonedaEquiv with general g. This is technically strictly more general
than map_yonedaEquiv, but map_yonedaEquiv is sometimes preferable because it
can avoid the "motive is not type correct" error.
theorem CategoryTheory.yonedaEquiv_symm_map E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y)
{F : CategoryTheory.Functor Cᵒᵖ (Type v₁)} (t : F.obj X),
CategoryTheory.yonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f)) t) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.yoneda.map f.unop) (CategoryTheory.yonedaEquiv.symm t)
theorem CategoryTheory.hom_ext_yoneda E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P Q : CategoryTheory.Functor Cᵒᵖ (Type v₁)} {f g : P ⟶ Q},
(∀ (X : C) (p : CategoryTheory.yoneda.obj X ⟶ P),
CategoryTheory.CategoryStruct.comp p f = CategoryTheory.CategoryStruct.comp p g) →
f = g
Two morphisms of presheaves of types P ⟶ Q coincide if the precompositions
with morphisms yoneda.obj X ⟶ P agree.
def CategoryTheory.yonedaEvaluation E1 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.Functor (Cᵒᵖ × CategoryTheory.Functor Cᵒᵖ (Type v₁)) (Type (max u₁ v₁))
The "Yoneda evaluation" functor, which sends X : Cᵒᵖ and F : Cᵒᵖ ⥤ Type
to F.obj X, functorially in both X and F.
theorem CategoryTheory.yonedaEvaluation_map_down E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (P Q : Cᵒᵖ × CategoryTheory.Functor Cᵒᵖ (Type v₁))
(α : P ⟶ Q) (x : (CategoryTheory.yonedaEvaluation C).obj P),
((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.yonedaEvaluation C).map α)) x).down =
(CategoryTheory.ConcreteCategory.hom (α.2.app Q.1)) ((CategoryTheory.ConcreteCategory.hom (P.2.map α.1)) x.down)
def CategoryTheory.yonedaPairing E1 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.Functor (Cᵒᵖ × CategoryTheory.Functor Cᵒᵖ (Type v₁)) (Type (max u₁ v₁))
The "Yoneda pairing" functor, which sends X : Cᵒᵖ and F : Cᵒᵖ ⥤ Type
to yoneda.op.obj X ⟶ F, functorially in both X and F.
theorem CategoryTheory.yonedaPairingExt E1 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] {X : Cᵒᵖ × CategoryTheory.Functor Cᵒᵖ (Type v₁)}
{x y : (CategoryTheory.yonedaPairing C).obj X}, (∀ (Y : Cᵒᵖ), x.app Y = y.app Y) → x = y
theorem CategoryTheory.yonedaPairingExt_iff E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : Cᵒᵖ × CategoryTheory.Functor Cᵒᵖ (Type v₁)}
{x y : (CategoryTheory.yonedaPairing C).obj X}, x = y ↔ ∀ (Y : Cᵒᵖ), x.app Y = y.app Y
theorem CategoryTheory.yonedaPairing_map E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (P Q : Cᵒᵖ × CategoryTheory.Functor Cᵒᵖ (Type v₁))
(α : P ⟶ Q),
(CategoryTheory.yonedaPairing C).map α =
TypeCat.ofHom fun β ↦
CategoryTheory.CategoryStruct.comp (CategoryTheory.yoneda.map α.1.unop) (CategoryTheory.CategoryStruct.comp β α.2)
def CategoryTheory.yonedaLemma E1 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.yonedaPairing C ≅ CategoryTheory.yonedaEvaluation C
The Yoneda lemma asserts that the Yoneda pairing
(X : Cᵒᵖ, F : Cᵒᵖ ⥤ Type) ↦ (yoneda.obj (unop X) ⟶ F)
is naturally isomorphic to the evaluation (X, F) ↦ F.obj X.
def CategoryTheory.curriedYonedaLemma E1 #
{C : Type u₁} →
[inst : CategoryTheory.SmallCategory C] →
CategoryTheory.yoneda.op.comp CategoryTheory.coyoneda ≅ CategoryTheory.evaluation Cᵒᵖ (Type u₁)
The curried version of yoneda lemma when C is small.
def CategoryTheory.largeCurriedYonedaLemma E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.yoneda.op.comp CategoryTheory.coyoneda ≅
(CategoryTheory.evaluation Cᵒᵖ (Type v₁)).comp
((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor Cᵒᵖ (Type v₁)) (Type v₁)
(Type (max u₁ v₁))).obj
CategoryTheory.uliftFunctor.{u₁, v₁})
The curried version of the Yoneda lemma.
def CategoryTheory.yonedaOpCompYonedaObj E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(P : CategoryTheory.Functor Cᵒᵖ (Type v₁)) →
CategoryTheory.yoneda.op.comp (CategoryTheory.yoneda.obj P) ≅ P.comp CategoryTheory.uliftFunctor.{u₁, v₁}
Version of the Yoneda lemma where the presheaf is fixed but the argument varies.
def CategoryTheory.curriedYonedaLemma' E1 #
{C : Type u₁} →
[inst : CategoryTheory.SmallCategory C] →
CategoryTheory.yoneda.comp
((CategoryTheory.Functor.whiskeringLeft Cᵒᵖ (CategoryTheory.Functor Cᵒᵖ (Type u₁))ᵒᵖ (Type u₁)).obj
CategoryTheory.yoneda.op) ≅
CategoryTheory.Functor.id (CategoryTheory.Functor Cᵒᵖ (Type u₁))
The curried version of yoneda lemma when C is small.
theorem CategoryTheory.isIso_of_yoneda_map_bijective E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
(∀ (T : C), Function.Bijective fun x ↦ CategoryTheory.CategoryStruct.comp x f) → CategoryTheory.IsIso f
theorem CategoryTheory.isIso_iff_yoneda_map_bijective E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.IsIso f ↔ ∀ (T : C), Function.Bijective fun x ↦ CategoryTheory.CategoryStruct.comp x f
theorem CategoryTheory.isIso_iff_isIso_yoneda_map E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.IsIso f ↔ ∀ (c : C), CategoryTheory.IsIso ((CategoryTheory.yoneda.map f).app (Opposite.op c))
def CategoryTheory.uliftYonedaEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{X : C} →
{F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))} →
(CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X ⟶ F) ≃ F.obj (Opposite.op X)
Yoneda's lemma as a bijection (uliftYoneda.{w}.obj X ⟶ F) ≃ F.obj (op X)
for any presheaf of type F : Cᵒᵖ ⥤ Type (max w v₁) for some
auxiliary universe w.
theorem CategoryTheory.uliftYonedaEquiv_symm_apply_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
(x : F.obj (Opposite.op X)) (Y : Cᵒᵖ),
(CategoryTheory.uliftYonedaEquiv.symm x).app Y =
TypeCat.ofHom fun y ↦ (CategoryTheory.ConcreteCategory.hom (F.map y.down.op)) x
theorem CategoryTheory.uliftYonedaEquiv_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
(τ : CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X ⟶ F),
CategoryTheory.uliftYonedaEquiv τ =
(CategoryTheory.ConcreteCategory.hom (τ.app (Opposite.op X))) { down := CategoryTheory.CategoryStruct.id X }
theorem CategoryTheory.uliftYonedaEquiv_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ}
{F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
(f : CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj (Opposite.unop X) ⟶ F) (g : X ⟶ Y),
(CategoryTheory.ConcreteCategory.hom (F.map g)) (CategoryTheory.uliftYonedaEquiv f) =
CategoryTheory.uliftYonedaEquiv
(CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYoneda.{w, v₁, u₁}.map g.unop) f)
theorem CategoryTheory.uliftYonedaEquiv_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F G : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
(α : CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X ⟶ F) (β : F ⟶ G),
CategoryTheory.uliftYonedaEquiv (CategoryTheory.CategoryStruct.comp α β) =
(CategoryTheory.ConcreteCategory.hom (β.app (Opposite.op X))) (CategoryTheory.uliftYonedaEquiv α)
theorem CategoryTheory.uliftYonedaEquiv_symm_map E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y)
{F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))} (t : F.obj X),
CategoryTheory.uliftYonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f)) t) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYoneda.{w, v₁, u₁}.map f.unop)
(CategoryTheory.uliftYonedaEquiv.symm t)
theorem CategoryTheory.uliftYonedaEquiv_symm_map_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y)
{F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))} (t : F.obj X) {Z : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
(h : F ⟶ Z),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.uliftYonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f)) t)) h =
CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYoneda.{w, v₁, u₁}.map f.unop)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYonedaEquiv.symm t) h)
theorem CategoryTheory.uliftYonedaEquiv_symm_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F G : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
{X : Cᵒᵖ} (x : F.obj X) (f : F ⟶ G),
CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYonedaEquiv.symm x) f =
CategoryTheory.uliftYonedaEquiv.symm
((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op (Opposite.unop X)))) x)
theorem CategoryTheory.uliftYonedaEquiv_symm_comp_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F G : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
{X : Cᵒᵖ} (x : F.obj X) (f : F ⟶ G) {Z : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))} (h : G ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYonedaEquiv.symm x) (CategoryTheory.CategoryStruct.comp f h) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.uliftYonedaEquiv.symm
((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op (Opposite.unop X)))) x))
h
theorem CategoryTheory.uliftYonedaEquiv_symm_naturality_left E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X X' : C} (f : X' ⟶ X)
(F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))) (x : F.obj (Opposite.op X)),
CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYoneda.{w, v₁, u₁}.map f)
(CategoryTheory.uliftYonedaEquiv.symm x) =
CategoryTheory.uliftYonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f.op)) x)
theorem CategoryTheory.uliftYonedaEquiv_symm_naturality_left_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X X' : C} (f : X' ⟶ X)
(F : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))) (x : F.obj (Opposite.op X))
{Z : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))} (h : F ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYoneda.{w, v₁, u₁}.map f)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYonedaEquiv.symm x) h) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.uliftYonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f.op)) x)) h
theorem CategoryTheory.uliftYonedaEquiv_uliftYoneda_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.uliftYonedaEquiv (CategoryTheory.uliftYoneda.{w, v₁, u₁}.map f) = { down := f }
theorem CategoryTheory.hom_ext_uliftYoneda E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P Q : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
{f g : P ⟶ Q},
(∀ (X : C) (p : CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X ⟶ P),
CategoryTheory.CategoryStruct.comp p f = CategoryTheory.CategoryStruct.comp p g) →
f = g
Two morphisms of presheaves of types P ⟶ Q coincide if the precompositions
with morphisms uliftYoneda.obj X ⟶ P agree.
def CategoryTheory.uliftYonedaOpCompCoyoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.uliftYoneda.{w, v₁, u₁}.op.comp CategoryTheory.coyoneda ≅
(CategoryTheory.evaluation Cᵒᵖ (Type (max v₁ w))).comp
((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor Cᵒᵖ (Type (max v₁ w))) (Type (max v₁ w))
(Type (max (max w u₁) v₁))).obj
CategoryTheory.uliftFunctor.{u₁, max v₁ w})
A variant of the curried version of the Yoneda lemma with a raise in the universe level.
def CategoryTheory.coyonedaEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{X : C} → {F : CategoryTheory.Functor C (Type v₁)} → (CategoryTheory.coyoneda.obj (Opposite.op X) ⟶ F) ≃ F.obj X
We have a type-level equivalence between natural transformations from the coyoneda embedding
and elements of F.obj X.unop, without any universe switching.
theorem CategoryTheory.coyonedaEquiv_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F : CategoryTheory.Functor C (Type v₁)}
(f : CategoryTheory.coyoneda.obj (Opposite.op X) ⟶ F),
CategoryTheory.coyonedaEquiv f = (CategoryTheory.ConcreteCategory.hom (f.app X)) (CategoryTheory.CategoryStruct.id X)
theorem CategoryTheory.coyonedaEquiv_symm_app_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F : CategoryTheory.Functor C (Type v₁)}
(x : F.obj X) (Y : C) (f : X ⟶ Y),
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.coyonedaEquiv.symm x).app Y)) f =
(CategoryTheory.ConcreteCategory.hom (F.map f)) x
theorem CategoryTheory.coyonedaEquiv_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {F : CategoryTheory.Functor C (Type v₁)}
(f : CategoryTheory.coyoneda.obj (Opposite.op X) ⟶ F) (g : X ⟶ Y),
(CategoryTheory.ConcreteCategory.hom (F.map g)) (CategoryTheory.coyonedaEquiv f) =
CategoryTheory.coyonedaEquiv (CategoryTheory.CategoryStruct.comp (CategoryTheory.coyoneda.map g.op) f)
theorem CategoryTheory.coyonedaEquiv_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {F G : CategoryTheory.Functor C (Type v₁)}
(α : CategoryTheory.coyoneda.obj (Opposite.op X) ⟶ F) (β : F ⟶ G),
CategoryTheory.coyonedaEquiv (CategoryTheory.CategoryStruct.comp α β) =
(CategoryTheory.ConcreteCategory.hom (β.app X)) (CategoryTheory.coyonedaEquiv α)
theorem CategoryTheory.coyonedaEquiv_coyoneda_map E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.coyonedaEquiv (CategoryTheory.coyoneda.map f.op) = f
theorem CategoryTheory.map_coyonedaEquiv E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {F : CategoryTheory.Functor C (Type v₁)}
(f : CategoryTheory.coyoneda.obj (Opposite.op X) ⟶ F) (g : X ⟶ Y),
(CategoryTheory.ConcreteCategory.hom (F.map g)) (CategoryTheory.coyonedaEquiv f) =
(CategoryTheory.ConcreteCategory.hom (f.app Y)) g
theorem CategoryTheory.coyonedaEquiv_symm_map E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y)
{F : CategoryTheory.Functor C (Type v₁)} (t : F.obj X),
CategoryTheory.coyonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f)) t) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.coyoneda.map f.op) (CategoryTheory.coyonedaEquiv.symm t)
def CategoryTheory.coyonedaEvaluation E1 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.Functor (C × CategoryTheory.Functor C (Type v₁)) (Type (max u₁ v₁))
The "Coyoneda evaluation" functor, which sends X : C and F : C ⥤ Type
to F.obj X, functorially in both X and F.
theorem CategoryTheory.coyonedaEvaluation_map_down E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (P Q : C × CategoryTheory.Functor C (Type v₁)) (α : P ⟶ Q)
(x : (CategoryTheory.coyonedaEvaluation C).obj P),
((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.coyonedaEvaluation C).map α)) x).down =
(CategoryTheory.ConcreteCategory.hom (α.2.app Q.1)) ((CategoryTheory.ConcreteCategory.hom (P.2.map α.1)) x.down)
def CategoryTheory.coyonedaPairing E1 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.Functor (C × CategoryTheory.Functor C (Type v₁)) (Type (max u₁ v₁))
The "Coyoneda pairing" functor, which sends X : C and F : C ⥤ Type
to coyoneda.rightOp.obj X ⟶ F, functorially in both X and F.
theorem CategoryTheory.coyonedaPairingExt E1 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C × CategoryTheory.Functor C (Type v₁)}
{x y : (CategoryTheory.coyonedaPairing C).obj X}, (∀ (Y : C), x.app Y = y.app Y) → x = y
theorem CategoryTheory.coyonedaPairingExt_iff E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C × CategoryTheory.Functor C (Type v₁)}
{x y : (CategoryTheory.coyonedaPairing C).obj X}, x = y ↔ ∀ (Y : C), x.app Y = y.app Y
theorem CategoryTheory.coyonedaPairing_map E0 #
∀ (C : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} C] (P Q : C × CategoryTheory.Functor C (Type v₁)) (α : P ⟶ Q)
(β : (CategoryTheory.coyonedaPairing C).obj P),
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.coyonedaPairing C).map α)) β =
CategoryTheory.CategoryStruct.comp (CategoryTheory.coyoneda.map α.1.op) (CategoryTheory.CategoryStruct.comp β α.2)
def CategoryTheory.coyonedaLemma E1 #
(C : Type u₁) →
[inst : CategoryTheory.Category.{v₁, u₁} C] → CategoryTheory.coyonedaPairing C ≅ CategoryTheory.coyonedaEvaluation C
The Coyoneda lemma asserts that the Coyoneda pairing
(X : C, F : C ⥤ Type) ↦ (coyoneda.obj X ⟶ F)
is naturally isomorphic to the evaluation (X, F) ↦ F.obj X.
def CategoryTheory.curriedCoyonedaLemma E1 #
{C : Type u₁} →
[inst : CategoryTheory.SmallCategory C] →
CategoryTheory.coyoneda.rightOp.comp CategoryTheory.coyoneda ≅ CategoryTheory.evaluation C (Type u₁)
The curried version of coyoneda lemma when C is small.
def CategoryTheory.largeCurriedCoyonedaLemma E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.coyoneda.rightOp.comp CategoryTheory.coyoneda ≅
(CategoryTheory.evaluation C (Type v₁)).comp
((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor C (Type v₁)) (Type v₁) (Type (max u₁ v₁))).obj
CategoryTheory.uliftFunctor.{u₁, v₁})
The curried version of the Coyoneda lemma.
def CategoryTheory.coyonedaCompYonedaObj E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(P : CategoryTheory.Functor C (Type v₁)) →
CategoryTheory.coyoneda.rightOp.comp (CategoryTheory.yoneda.obj P) ≅ P.comp CategoryTheory.uliftFunctor.{u₁, v₁}
Version of the Coyoneda lemma where the presheaf is fixed but the argument varies.
def CategoryTheory.curriedCoyonedaLemma' E1 #
{C : Type u₁} →
[inst : CategoryTheory.SmallCategory C] →
CategoryTheory.yoneda.comp
((CategoryTheory.Functor.whiskeringLeft C (CategoryTheory.Functor C (Type u₁))ᵒᵖ (Type u₁)).obj
CategoryTheory.coyoneda.rightOp) ≅
CategoryTheory.Functor.id (CategoryTheory.Functor C (Type u₁))
The curried version of coyoneda lemma when C is small.
theorem CategoryTheory.isIso_of_coyoneda_map_bijective E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
(∀ (T : C), Function.Bijective fun x ↦ CategoryTheory.CategoryStruct.comp f x) → CategoryTheory.IsIso f
theorem CategoryTheory.isIso_iff_coyoneda_map_bijective E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.IsIso f ↔ ∀ (T : C), Function.Bijective fun x ↦ CategoryTheory.CategoryStruct.comp f x
theorem CategoryTheory.isIso_iff_isIso_coyoneda_map E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.IsIso f ↔ ∀ (c : C), CategoryTheory.IsIso ((CategoryTheory.coyoneda.map f.op).app c)
def CategoryTheory.uliftCoyonedaEquiv E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{X : Cᵒᵖ} →
{F : CategoryTheory.Functor C (Type (max w v₁))} →
(CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.obj X ⟶ F) ≃ F.obj (Opposite.unop X)
Coyoneda's lemma as a bijection (uliftCoyoneda.{w}.obj X ⟶ F) ≃ F.obj (op X)
for any presheaf of type F : Cᵒᵖ ⥤ Type (max w v₁) for some
auxiliary universe w.
theorem CategoryTheory.uliftCoyonedaEquiv_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : Cᵒᵖ} {F : CategoryTheory.Functor C (Type (max w v₁))}
(τ : CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.obj X ⟶ F),
CategoryTheory.uliftCoyonedaEquiv τ =
(CategoryTheory.ConcreteCategory.hom (τ.app (Opposite.unop X)))
{ down := CategoryTheory.CategoryStruct.id (Opposite.unop X) }
theorem CategoryTheory.uliftCoyonedaEquiv_symm_apply_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : Cᵒᵖ} {F : CategoryTheory.Functor C (Type (max w v₁))}
(x : F.obj (Opposite.unop X)) (Y : C),
(CategoryTheory.uliftCoyonedaEquiv.symm x).app Y =
TypeCat.ofHom fun y ↦ (CategoryTheory.ConcreteCategory.hom (F.map y.down)) x
theorem CategoryTheory.uliftCoyonedaEquiv_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} {F : CategoryTheory.Functor C (Type (max w v₁))}
(f : CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.obj (Opposite.op X) ⟶ F) (g : X ⟶ Y),
(CategoryTheory.ConcreteCategory.hom (F.map g)) (CategoryTheory.uliftCoyonedaEquiv f) =
CategoryTheory.uliftCoyonedaEquiv
(CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.map g.op) f)
theorem CategoryTheory.uliftCoyonedaEquiv_comp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : Cᵒᵖ} {F G : CategoryTheory.Functor C (Type (max w v₁))}
(α : CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.obj X ⟶ F) (β : F ⟶ G),
CategoryTheory.uliftCoyonedaEquiv (CategoryTheory.CategoryStruct.comp α β) =
(CategoryTheory.ConcreteCategory.hom (β.app (Opposite.unop X))) (CategoryTheory.uliftCoyonedaEquiv α)
theorem CategoryTheory.uliftCoyonedaEquiv_symm_map_assoc E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y)
{F : CategoryTheory.Functor C (Type (max w v₁))} (t : F.obj X) {Z : CategoryTheory.Functor C (Type (max w v₁))}
(h : F ⟶ Z),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.uliftCoyonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f)) t)) h =
CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.map f.op)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftCoyonedaEquiv.symm t) h)
theorem CategoryTheory.uliftCoyonedaEquiv_symm_map E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f : X ⟶ Y)
{F : CategoryTheory.Functor C (Type (max w v₁))} (t : F.obj X),
CategoryTheory.uliftCoyonedaEquiv.symm ((CategoryTheory.ConcreteCategory.hom (F.map f)) t) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.map f.op)
(CategoryTheory.uliftCoyonedaEquiv.symm t)
theorem CategoryTheory.uliftCoyonedaEquiv_uliftCoyoneda_map E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : Cᵒᵖ} (f : X ⟶ Y),
CategoryTheory.uliftCoyonedaEquiv (CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.map f) = { down := f.unop }
theorem CategoryTheory.hom_ext_uliftCoyoneda E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {P Q : CategoryTheory.Functor C (Type (max w v₁))}
{f g : P ⟶ Q},
(∀ (X : Cᵒᵖ) (p : CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.obj X ⟶ P),
CategoryTheory.CategoryStruct.comp p f = CategoryTheory.CategoryStruct.comp p g) →
f = g
Two morphisms of presheaves of types P ⟶ Q coincide if the precompositions
with morphisms uliftCoyoneda.obj X ⟶ P agree.
def CategoryTheory.uliftCoyonedaRightOpCompCoyoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
CategoryTheory.uliftCoyoneda.{w, v₁, u₁}.rightOp.comp CategoryTheory.coyoneda ≅
(CategoryTheory.evaluation C (Type (max v₁ w))).comp
((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Functor C (Type (max v₁ w))) (Type (max v₁ w))
(Type (max (max w u₁) v₁))).obj
CategoryTheory.uliftFunctor.{u₁, max v₁ w})
A variant of the curried version of the Coyoneda lemma with a raise in the universe level.
def CategoryTheory.yonedaMap E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u_1} →
[inst_1 : CategoryTheory.Category.{v₁, u_1} D] →
(F : CategoryTheory.Functor C D) →
(X : C) → CategoryTheory.yoneda.obj X ⟶ F.op.comp (CategoryTheory.yoneda.obj (F.obj X))
The natural transformation yoneda.obj X ⟶ F.op ⋙ yoneda.obj (F.obj X)
when F : C ⥤ D and X : C.
theorem CategoryTheory.yonedaMap_app_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u_1}
[inst_1 : CategoryTheory.Category.{v₁, u_1} D] (F : CategoryTheory.Functor C D) {Y : C} {X : Cᵒᵖ}
(f : Opposite.unop X ⟶ Y), (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.yonedaMap F Y).app X)) f = F.map f
def CategoryTheory.uliftYonedaMap E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
(F : CategoryTheory.Functor C D) →
(X : C) →
CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.obj X ⟶
F.op.comp (CategoryTheory.uliftYoneda.{max w v₁, v₂, u₂}.obj (F.obj X))
The natural transformation uliftYoneda.obj X ⟶ F.op ⋙ uliftYoneda.obj (F.obj X)
when F : C ⥤ D and X : C.
theorem CategoryTheory.uliftYonedaMap_app_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
(F : CategoryTheory.Functor C D) {Y : C} {X : Cᵒᵖ} (f : Opposite.unop X ⟶ Y),
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.uliftYonedaMap F Y).app X)) { down := f } = { down := F.map f }
def CategoryTheory.Functor.sectionsEquivHom E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(F : CategoryTheory.Functor C (Type u₂)) →
(X : Type u₂) → [Unique X] → ↑F.sections ≃ ((CategoryTheory.Functor.const C).obj X ⟶ F)
A type-level equivalence between sections of a functor and morphisms from a terminal functor to it. We use the constant functor on a given singleton type here as a specific choice of terminal functor.
theorem CategoryTheory.Functor.sectionsEquivHom_apply_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (F : CategoryTheory.Functor C (Type u₂)) (X : Type u₂)
[inst_1 : Unique X] (s : ↑F.sections) (j : C), ((F.sectionsEquivHom X) s).app j = TypeCat.ofHom fun x ↦ ↑s j
theorem CategoryTheory.Functor.sectionsEquivHom_naturality E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F G : CategoryTheory.Functor C (Type u₂)} (f : F ⟶ G)
(X : Type u₂) [inst_1 : Unique X] (x : ↑F.sections),
(G.sectionsEquivHom X) ((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Functor.sectionsFunctor C).map f)) x) =
CategoryTheory.CategoryStruct.comp ((F.sectionsEquivHom X) x) f
theorem CategoryTheory.Functor.sectionsEquivHom_naturality_symm E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {F G : CategoryTheory.Functor C (Type u₂)} (f : F ⟶ G)
(X : Type u₂) [inst_1 : Unique X] (τ : (CategoryTheory.Functor.const C).obj X ⟶ F),
(G.sectionsEquivHom X).symm (CategoryTheory.CategoryStruct.comp τ f) =
(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Functor.sectionsFunctor C).map f))
((F.sectionsEquivHom X).symm τ)
def CategoryTheory.sectionsFunctorNatIsoCoyoneda E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
(X : Type (max u₁ u₂)) →
[Unique X] →
CategoryTheory.Functor.sectionsFunctor C ≅
CategoryTheory.coyoneda.obj (Opposite.op ((CategoryTheory.Functor.const C).obj X))
A natural isomorphism between the sections functor (C ⥤ Type) ⥤ Type and the co-Yoneda
embedding of a terminal functor, specifically a constant functor on a given singleton type X.
theorem CategoryTheory.sectionsFunctorNatIsoCoyoneda_hom_app_hom_apply_app_hom_apply E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : Type (max u₁ u₂)) [inst_1 : Unique X]
(X_1 : CategoryTheory.Functor C (Type (max u₁ u₂))) (x : ↑X_1.sections) (j : C)
(x_1 : ((CategoryTheory.Functor.const C).obj X).obj j),
(CategoryTheory.ConcreteCategory.hom
(((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.sectionsFunctorNatIsoCoyoneda X).hom.app X_1)) x).app
j))
x_1 =
↑x j
theorem CategoryTheory.sectionsFunctorNatIsoCoyoneda_inv_app_hom_apply_coe E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (X : Type (max u₁ u₂)) [inst_1 : Unique X]
(X_1 : CategoryTheory.Functor C (Type (max u₁ u₂))) (x : (CategoryTheory.Functor.const C).obj X ⟶ X_1) (j : C),
↑((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.sectionsFunctorNatIsoCoyoneda X).inv.app X_1)) x) j =
(CategoryTheory.ConcreteCategory.hom (x.app j)) default
def CategoryTheory.Functor.FullyFaithful.homNatIso E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F : CategoryTheory.Functor C D} →
F.FullyFaithful →
(X : C) →
F.op.comp (CategoryTheory.uliftYoneda.{v₁, v₂, u₂}.obj (F.obj X)) ≅
CategoryTheory.uliftYoneda.{v₂, v₁, u₁}.obj X
FullyFaithful.homEquiv as a natural isomorphism.
theorem CategoryTheory.Functor.FullyFaithful.homNatIso_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (hF : F.FullyFaithful) (X : C) (X_1 : Cᵒᵖ),
(hF.homNatIso X).hom.app X_1 = (Equiv.ulift.trans (hF.homEquiv.symm.trans Equiv.ulift.symm)).toIso.hom
theorem CategoryTheory.Functor.FullyFaithful.homNatIso_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (hF : F.FullyFaithful) (X : C) (X_1 : Cᵒᵖ),
(hF.homNatIso X).inv.app X_1 = (Equiv.ulift.trans (hF.homEquiv.symm.trans Equiv.ulift.symm)).toIso.inv
def CategoryTheory.Functor.FullyFaithful.compUliftYonedaCompWhiskeringLeft E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F : CategoryTheory.Functor C D} →
F.FullyFaithful →
(F.comp
(CategoryTheory.uliftYoneda.{v₁, v₂, u₂}.comp
((CategoryTheory.Functor.whiskeringLeft Cᵒᵖ Dᵒᵖ (Type (max v₁ v₂))).obj F.op)) ≅
CategoryTheory.uliftYoneda.{v₂, v₁, u₁})
FullyFaithful.homEquiv as a natural isomorphism.
theorem CategoryTheory.Functor.FullyFaithful.compUliftYonedaCompWhiskeringLeft_inv_app_app_hom_apply_down E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (hF : F.FullyFaithful) (X : C) (X_1 : Cᵒᵖ)
(x : (CategoryTheory.uliftYoneda.{v₂, v₁, u₁}.obj X).obj X_1),
((CategoryTheory.ConcreteCategory.hom ((hF.compUliftYonedaCompWhiskeringLeft.inv.app X).app X_1)) x).down =
F.map x.down
theorem CategoryTheory.Functor.FullyFaithful.compUliftYonedaCompWhiskeringLeft_hom_app_app_hom_apply_down E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (hF : F.FullyFaithful) (X : C) (X_1 : Cᵒᵖ)
(x : (F.op.comp (CategoryTheory.uliftYoneda.{v₁, v₂, u₂}.obj (F.obj X))).obj X_1),
((CategoryTheory.ConcreteCategory.hom ((hF.compUliftYonedaCompWhiskeringLeft.hom.app X).app X_1)) x).down =
hF.preimage x.down
def CategoryTheory.Functor.FullyFaithful.homNatIso' E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F : CategoryTheory.Functor C D} →
F.FullyFaithful →
(X : C) →
F.comp (CategoryTheory.uliftCoyoneda.{v₁, v₂, u₂}.obj (Opposite.op (F.obj X))) ≅
CategoryTheory.uliftCoyoneda.{v₂, v₁, u₁}.obj (Opposite.op X)
FullyFaithful.homEquiv as a natural isomorphism, using coyoneda.
theorem CategoryTheory.Functor.FullyFaithful.homNatIso'_hom_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (hF : F.FullyFaithful) (X X_1 : C),
(hF.homNatIso' X).hom.app X_1 = (Equiv.ulift.trans (hF.homEquiv.symm.trans Equiv.ulift.symm)).toIso.hom
theorem CategoryTheory.Functor.FullyFaithful.homNatIso'_inv_app E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (hF : F.FullyFaithful) (X X_1 : C),
(hF.homNatIso' X).inv.app X_1 = (Equiv.ulift.trans (hF.homEquiv.symm.trans Equiv.ulift.symm)).toIso.inv
def CategoryTheory.Functor.FullyFaithful.compUliftCoyonedaCompWhiskeringLeft E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
{D : Type u₂} →
[inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
{F : CategoryTheory.Functor C D} →
F.FullyFaithful →
(F.op.comp
(CategoryTheory.uliftCoyoneda.{v₁, v₂, u₂}.comp
((CategoryTheory.Functor.whiskeringLeft C D (Type (max v₁ v₂))).obj F)) ≅
CategoryTheory.uliftCoyoneda.{v₂, v₁, u₁})
FullyFaithful.homEquiv as a natural isomorphism, using coyoneda.
theorem CategoryTheory.Functor.FullyFaithful.compUliftCoyonedaCompWhiskeringLeft_inv_app_app_hom_apply_down E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (hF : F.FullyFaithful) (X : Cᵒᵖ) (X_1 : C)
(x : (CategoryTheory.uliftCoyoneda.{v₂, v₁, u₁}.obj (Opposite.op (Opposite.unop X))).obj X_1),
((CategoryTheory.ConcreteCategory.hom ((hF.compUliftCoyonedaCompWhiskeringLeft.inv.app X).app X_1)) x).down =
F.map x.down
theorem CategoryTheory.Functor.FullyFaithful.compUliftCoyonedaCompWhiskeringLeft_hom_app_app_hom_apply_down E0 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
{F : CategoryTheory.Functor C D} (hF : F.FullyFaithful) (X : Cᵒᵖ) (X_1 : C)
(x : (F.comp (CategoryTheory.uliftCoyoneda.{v₁, v₂, u₂}.obj (Opposite.op (F.obj (Opposite.unop X))))).obj X_1),
((CategoryTheory.ConcreteCategory.hom ((hF.compUliftCoyonedaCompWhiskeringLeft.hom.app X).app X_1)) x).down =
hF.preimage x.down