Skip to content
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

Category of categories #642

Merged
merged 3 commits into from
Dec 15, 2021
Merged

Category of categories #642

merged 3 commits into from
Dec 15, 2021

Conversation

barrettj12
Copy link
Contributor

I thought I'd like to add the category of (small) categories to Categories/Instances. Most of the work was already done elsewhere, but I ran into a roadblock trying to prove

C D : Category ℓ ℓ'
    ⊢ isSet (Functor C D)

I don't think I know enough (cubical) type theory to know whether this is even true, let alone write a proof in Agda. Maybe someone with more expertise can help.

@felixwellen
Copy link
Collaborator

felixwellen commented Nov 23, 2021

I don't expect it to be true, since there is no requirement on D to have a 0-type of objects. That's not a recipe for a counterexample, since the type of functors is some Sigma-type based on that. If you want to treat Categories as 0-type based structures, you could ask D to be a 0-type for your construction. Then you should get a 0-type of functors. However, that would mean, that you forget natural transformations and consider naturally isomorphic functors as something completely different.

But in some way you have to do somehting forgetful, if you want to have 'the' 1-category of small 1-categories (since, naturally, I would say it is a 2-category).

Another way would be to ask for all the small categories to be univalent, then (not completely sure here...) you would get a 1-type of functors. And you could truncate that to get a 0-type (with all operations and laws you need).

@barrettj12
Copy link
Contributor Author

Hmmm. I think I'll just make it a Precategory then. If anyone ends up needing a category of categories later, they can think more about what is required for the homs to be sets.

@barrettj12 barrettj12 marked this pull request as ready for review November 24, 2021 17:03
Copy link
Collaborator

@mortberg mortberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name change suggestion

Cubical/Categories/Instances/Categories.agda Outdated Show resolved Hide resolved
@mortberg mortberg merged commit 2e630d0 into agda:master Dec 15, 2021
@barrettj12 barrettj12 deleted the cat-of-cats branch December 15, 2021 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants