-
Notifications
You must be signed in to change notification settings - Fork 134
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
Remove the notion of "Precategory" #625
Comments
I think for sure that |
Not really relevant to this issue... But I think what corresponds to the usual notion of 1-category is the "univalent category" or the "category" with Set-objects (in library's terms), and they should be equivalent someway. Is there any proof about these in library? Also, does the library have defined the so-called Rezk completion? I mean the procedure which makes category into univalent category. |
No, we don't have the Rezk completion formalized. It would be a nice contribution. I'll close this PR now that #629 is merged |
As the pull-request above already showed, if anyone is ever going to use precategories more seriously, then this is going to lead to a lot of code duplication. |
I think we should remove the notion of "precategory" (categories without the assumption that the hom-types are sets) from the library, or at least decouple them from the theory of categories with hom-sets.
At the moment the hom-set assumption is separate in the form of the
isCategory
predicate which is like in UniMath which has ahas_homsets
predicate. This turned out to be a bad design decision as the extra generality with hom-types doesn't have very interesting theory. Plus, when developing 1-category theory it gets very annoying to pass around the "has homsets" assumption explicitly. Another more major problem is that when one has a category and want to use an operation defined for precategories then one needs to forget the "has homsets" assumption, which then often confuses the system, leading to many arguments having to be passed around explicitly (yet another issue related to this is that Agda doesn't have implicit projections making this even more painful than in Coq...). The problems get super annoying when trying to reason about iterated functor categories or slice categories.What do other people think?
The text was updated successfully, but these errors were encountered: