Commit 2025-07-28 06:06 29bdc6fc
View on Github →chore(CategoryTheory/Monoidal): unify mkIso
(#27126)
Previously, mkIso
and mkIso'
meant different things across the various types of objects. Now:
mkIso'
takes in elementsX
,Y
of the underlying categoryC
, an isomorphisme : X ≅ Y
and a typeclass assumption[IsMon_Hom e.hom]
and returnsmk X ≅ mk Y
,mkIso
is anabbrev
formkIso'
, taking in elementsX
,Y
ofObj C
, an isomorphisme : X.X ≅ Y.X
and the proof fields ofIsMon_Hom e.hom
and returnsX ≅ Y
. From Toric