Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Mathlib/CategoryTheory/Comma/Arrow.lean
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ def Arrow := Comma (𝟭 T) (𝟭 T)
/-- The type of morphisms in the category `Arrow T`. -/
protected def Arrow.Hom (f g : Arrow T) := CommaMorphism f g

instance : Category (Arrow T) where
instance : Quiver (Arrow T) where
Hom := Arrow.Hom
__ := (inferInstance : Category (Comma (𝟭 T) (𝟭 T)))

instance : Category (Arrow T) :=
inferInstanceAs <| Category (Comma (𝟭 T) (𝟭 T))

namespace Arrow

Expand Down
Loading