English
There is a construction mk' that produces an Arrows-object from data including i, h, and hg under the given equalities.
Русский
Существует конструктор mk', который строит элемент-арров из данных, включая i, h и hg при заданных равенствах.
LaTeX
$$$\\text{mk'}\\ i\\ h\\ hg :\\ ofArrows Y f g$ whenever \\; g = eqToHom(h) \\circ f_i$ with $h: Z = Y_i$.$$
Lean4
theorem mk' {ι : Type*} {Y : ι → C} {f : ∀ i, Y i ⟶ X} {Z : C} {g : Z ⟶ X} (i : ι) (h : Z = Y i)
(hg : g = eqToHom h ≫ f i) : ofArrows Y f g := by
subst h
simp only [eqToHom_refl, id_comp] at hg
subst hg
constructor