Skip to content

Commit 2feb15e

Browse files
committed
better docstring
1 parent 80d4d69 commit 2feb15e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Mathlib/CategoryTheory/Closed/PowerObjects.lean

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ lemma compose (h : B ⟶ C) (h' : C ⟶ D) :
6060
simp only [prod_comp, comp_id, op_comp, curryObj]
6161
_ = hPB.homEquiv (Ph' ≫ Ph) := by rw[← hPB.homEquiv_eq]
6262

63-
/-- Let `F : ℰᵒᵖ × ℰᵒᵖ ⥤ Type`. If for each `B` we choose
64-
an object `P B` representing the functor `A ↦ F (B, A)`,
65-
then these choices assemble into a covariant functor `ℰᵒᵖ ⥤ ℰ`. -/
63+
/-- Let `F : ℰᵒᵖ × ℰᵒᵖ ⥤ Type`. If for each `B` we choose an object `P B` representing
64+
the functor `C ↦ F (B, C)`, then these choices assemble into a covariant functor `ℰᵒᵖ ⥤ ℰ`. -/
6665
def functor (P : ℰ → ℰ) (hP : ∀ B : ℰ, ((curryObj F).obj (op B)).RepresentableBy (P B)) :
6766
ℰᵒᵖ ⥤ ℰ :=
6867
{ obj (B : ℰᵒᵖ) := P (unop B),

0 commit comments

Comments
 (0)