-
Notifications
You must be signed in to change notification settings - Fork 193
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
Displayed Wild Categories #1832
Conversation
Thanks for this, @gio256! It looks like we should review all of these commits at once, right? I think it would probably be good to squash these before merge, since they contain rough work along the way, but we can worry about that after review. Can you summarize how this is different from the file Displayed.v in the tree you linked to? |
@gio256 The title says "WIP": can you say what you think still needs to be done? |
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.
I only skimmed the rest for now, but didn't notice any other issues (besides the ones below). The proofs seem to nicely follow our style.
This is basically the minimum necessary changes to get that file working again and caught up to the current state of There are still a few sections of Emily's branch that aren't included here, namely functor composition and products of displayed categories. I think completing those and then revisiting makes sense. |
Thanks @gio256 and @jdchristensen for your careful attention to this. As I think was discussed on the Zulip, this was done ages ago when @mikeshulman invited several novice Coq users for a week-long workshop to try to make some useful contributions to the WildCats library. But despite the best efforts of our hosts/coaches, it's likely that the code in here is inelegant and buggy so please feel free to make any improvements you see fit. |
This is looking great. Thanks for the quick fixes. @gio256, is there still more you'd like to do? |
I think it is at feature parity with the original branch and ready for review. The big thing still on my mind is making sure that all the typeclass constraints are as minimal as possible. |
@gio256 Is it ok if I push a commit or two to your branch? |
Ok, I pushed three commits. @gio256, please check them over. I'm not an expert on the backtick and @Alizter, do you have any comments, or is this good to go? |
BTW, before merge, I'd be inclined to squash the first 18 commits into 1, but leave the rest to reflect changes made during review. @gio256, we normally don't squash, so when we make a PR, we try to have the commits reflect logical steps for review. |
Thanks for doing this! I'm very happy to see this work rescued from oblivion. |
Thanks @jdchristensen for the changes. I'm happy to squash (or have squashed) any combination of commits, but I'm not sure I fully understand the convention. Is there something I should do here that is preferable to just squash merging the branch? |
Our githib repo is configured to not allow squash merges, because we normally like to see the history, and squash merges also don't play well with work that builds upon them. Instead, we try to make PRs that have commits that we would want to see in the history. In this case, once Ali confirms this is good, I can use git to squash the first 18 commits, and then force push to here before merging. BTW, do you have plans to make additional PRs? Do you have a particular direction you are interested in pursuing? |
One thought for future work:
|
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.
I've left some comments.
I've left some comments but I'm happy with going forward with this. |
@gio256 You can hit the "Resolved" button as you address things, so it's clear what remains. I'll look at this again tomorrow. |
3ca897c
to
5d213c0
Compare
This is already done in WildCat/Induced.v, and just needs a map (in the other direction), not an equivalence. |
This is a refresh of work by @emilyriehl and others that can be found here. The ultimate direction is still unclear, so any thoughts to that effect are appreciated.
A few arbitrary conventions that are up for debate:
Is1DCat
anddcat_comp
.a : A
thena' : D a
, and composition in displayed categories is denotedg' $o' f'
overg $o f
.