@@ -55,12 +55,13 @@ lemma compose (h : B ⟶ C) (h' : C ⟶ D) :
5555 _ = F.map ((h.op ×ₘ 𝟙 _) ≫ (𝟙 _ ×ₘ Ph'.op)) (hPC.homEquiv (𝟙 PC)) := by simp
5656 _ = F.map ((𝟙 _ ×ₘ Ph.op) ≫ (𝟙 _ ×ₘ Ph'.op)) (hPB.homEquiv (𝟙 PB)) := by
5757 rw[FunctorToTypes.map_comp_apply, ← map_universal, ← FunctorToTypes.map_comp_apply]
58- _ = (F.curryObj.obj _).map (Ph' ≫ Ph).op (hPB.homEquiv (𝟙 PB)) := by simp [curryObj]
58+ _ = (F.curryObj.obj _).map (Ph' ≫ Ph).op (hPB.homEquiv (𝟙 PB)) := by
59+ simp [curryObj, ← FunctorToTypes.map_comp_apply]
5960 _ = hPB.homEquiv (Ph' ≫ Ph) := by rw[← hPB.homEquiv_eq]
6061
61- /-- Let `F : ℰᵒᵖ × ℰᵒᵖ ⥤ Type`. If for each `B` we choose an object `P B`
62- representing the functor `A ↦ F (B, A)`, then these choices assemble
63- into a functor `ℰᵒᵖ ⥤ ℰ` that is contravariant in `B `. -/
62+ /-- Let `F : ℰᵒᵖ × ℰᵒᵖ ⥤ Type`. If for each `B` we choose
63+ an object `P B` representing the functor `A ↦ F (B, A)`,
64+ then these choices assemble into a covariant functor `ℰᵒᵖ ⥤ ℰ`. -/
6465def functor (P : ℰ → ℰ) (hP : ∀ B : ℰ, ((curryObj F).obj (op B)).RepresentableBy (P B)) :
6566 ℰᵒᵖ ⥤ ℰ :=
6667 { obj (B : ℰᵒᵖ) := P (unop B),
@@ -130,7 +131,7 @@ lemma compose (h : B ⟶ C) (h' : C ⟶ D) :
130131 LeftRepresentable.compose hPB hPC hPD h h'
131132
132133/-- Given a choice of representing objects `P B` for the functors `A ↦ Subobject (B ⊗ A)`,
133- this assembles into a functor `ℰᵒᵖ ⥤ ℰ` acting contravariantly in `B `. -/
134+ then these choices assemble into a covariant functor `ℰᵒᵖ ⥤ ℰ`. -/
134135noncomputable def functor (P : ℰ → ℰ) (hP : ∀ B : ℰ, IsPowerObjectOf B (P B)) : ℰᵒᵖ ⥤ ℰ :=
135136 LeftRepresentable.functor P hP
136137
0 commit comments