-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2-cat of pointed types #1795
2-cat of pointed types #1795
Conversation
Nice! I'll take a close look tomorrow. A couple of questions for now. First, how does |
I originally tried to modify Also it is not entirely trivial the order in which to do I think having the manual control is a little better. I would however like to improve the performance of Thinking about it, using right-handed path induction consistently should lead to a far superior
I was also surprised, but I think this is because extra groupoid instances throw off Coq's unification. This is apparent in the fact that a few proofs had to be changed from
Yes that might be true. I think the better option would be to redefine |
a867bad
to
34c5bf6
Compare
I've just pushed another commit simplifying a few other proofs, but we can undo those if we don't feel they are necessary. |
Ok, I'm reviewing now, so hold off on pushing anything else for a bit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Feel free to merge once the minor things I "pointed" out are fixed.
The new |
@jdchristensen I can say that I didn't design |
I may use it today after this is merged! |
34c5bf6
to
bb8df44
Compare
@jdchristensen All comments addressed. I'll merge once the CI is green. |
We show the (2,1)-category structure for pointed types. In order to do this easily, we introduce a new tactic called pelim which allows easy path induction on the pointed equation of various pointed structures. This is particularly useful in removing funext from various pType coherences. Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
bb8df44
to
933fe28
Compare
@jdchristensen I've made the |
I think it's ok if you merge now that one build has succeeded. |
Did you do a squash merge by accident? Just a reminder that that's not our usual procedure. |
@jdchristensen That was on purpose sorry. I forgot that we preferred not to do this. I've gone ahead and forbid them from the repository settings so now only merge is available. |
We show the (2,1)-category structure for pointed types. In order to do this easily, we introduce a new tactic called pelim which allows easy path induction on the pointed equation of various pointed structures. This is particularly useful in removing funext from various pType coherences.
Various places seemed to break from these changes, but could easily be fixed by replacing pointed notations with wildcat notations. This perhaps hints at a larger refactoring that should be done.
My motivation for showing these coherences is the need for 1-functoriality of pre/postcomposition for some unrelated work. Therefore it made sense to quickly generalize to the full 2-category while I was at it.