Skip to content

Commit be0fc2c

Browse files
committed
docstring
1 parent aca31e3 commit be0fc2c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Mathlib/CategoryTheory/Subobject/Basic.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ noncomputable def arrow {X : C} (Y : Subobject X) : (Y : C) ⟶ X :=
186186
instance arrow_mono {X : C} (Y : Subobject X) : Mono Y.arrow :=
187187
(representative.obj Y).property
188188

189-
def isoFromEq {A : C} {X Y : Subobject A} (h : X = Y) :=
189+
/-- Equal subobjects induce isomorphic underlying objects. -/
190+
def isoFromEq {A : C} {X Y : Subobject A} (h : X = Y) : underlying.obj X ≅ underlying.obj Y :=
190191
eqToIso (congr_arg (fun X : Subobject A => (X : C)) h)
191192

192193
@[simp]

0 commit comments

Comments
 (0)