WildCat Equiv.compose_cate can't compose maps between different universes #1703
Replies: 4 comments 12 replies
-
It seems that to make this work, each individual wildcat instance would have to be universe-polymorphic. The only way to do that would be to make them modules that implement a module type, the way we used to do with modalities, rather than instances of a typeclass, and that's seriously annoying for other reasons. |
Beta Was this translation helpful? Give feedback.
-
Rats, even with pEquiv marked as cumulative, the following still doesn't work. I'm out of ideas and will just redefine
|
Beta Was this translation helpful? Give feedback.
-
The issue is that even with
Both |
Beta Was this translation helpful? Give feedback.
-
For the record, this issue was solved by #1708. |
Beta Was this translation helpful? Give feedback.
-
pequiv_compose
(akao*E
) is defined usingEquiv.compose_cate
($oE
) which means it can't compose things in different universes. It's trivial to redefineo*E
to make this work. But is there a way to make the WildCat framework able to handle this? It would be great if we could use WildCat more often, but we also need fundamental operations like this to be sufficiently polymorphic.(The universe
w
is an artefact of->*
being defined in terms ofpForall
, which requires an extra universe variable above everything else.)Beta Was this translation helpful? Give feedback.
All reactions