Closed Jake-Gillberg closed 4 years ago
hi @Jake-Gillberg thanks for your contribution.
I guess it would be nice to use initialObjectsAreIsomorphic
to prove Isomorphic (dualCategory cat) (carrier a) (carrier b)
and then, adding some code in DualCategory.lidr
, prove that two objects are isomorphic in a category only if they are isomorphic in the dual category.
What do you say?
I'll give it a go!
Closing while work in progress
@marcosh this should be good to go!
thanks @Jake-Gillberg, this looks awesome! I merged it manually
Wondering if the proof should be done this way, or start with
InitialObjectsAreIsomorphic
and use properties of Dual Categories to complete