You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
This is almost a reference request, but how true is the fact that 'indexed categories' are categories defined over a dependent type in the internal type theory of ? Or do I get double indexed categories?
Well a hyperdoctrine is just an indexed category with quantifiers no?
Bart Jacobs' book 'Categorical Logic and Type Theory' takes the fibred category approach to this.
I'm not sure what "defined over a dependent type" means. Inside of a 2-category such as Cat, you can define fibrations, and a C-indexed category is equivalent to a fibration over C. Of course an internal category in Cat would be a double category, and an internal category in the 2-category of fibrations over C would be a double indexed category.
Regarding indexed categories in internal type theories, you might be interested in these slides.
Mike Shulman said:
I'm not sure what "defined over a dependent type" means.
Right, it's not very clear. In my head it corresponds to give the definition of category in the TT but every context has some in it. I don't know if it's a sensible thing to do.
Explicitly, you give the definitione like this: a 'category indexed by ' is a type of objects together with a type of morphisms , a composition and an identity such that some equations hold
Mike Shulman said:
I'm not sure what "defined over a dependent type" means. Inside of a 2-category such as Cat, you can define fibrations, and a C-indexed category is equivalent to a fibration over C. Of course an internal category in Cat would be a double category, and an internal category in the 2-category of fibrations over C would be a double indexed category.
I'm going to guess that categories internal to are equivalent to pseudofunctors , categories internal to are equivalent to double functors , and that these are equivalent to each other when the base category has finite limits. I haven't checked it at all though.
Matteo Capucci (he/him) said:
In my head it corresponds to give the definition of category in the TT but every context has some in it.
Sure, that's just a category in context , or equivalently a function from to the type of categories. If it's interpreted in the internal logic of Set, you get literally a set and a -indexed family of categories. To interpret it in the "internal logic of Cat", you have to say what you mean by the latter: are the dependent types arbitrary categories over categories? Fibrations? Opfibrations? If they're fibrations, then just a simple dependent type is already (equivalent to) an indexed category, and a -indexed family of categories as you describe is a category internal to indexed categories, i.e. an indexed double category. One thing you can say, I guess, is that if you take the dependent types to be discrete fibrations (but allow the base type to be an arbitrary category, i.e. not just a discrete fibration over 1), then a -indexed family of categories would be a strict functor , which is a sort of indexed category.
Thanks Mike, that really clears my doubts! Indeed, I think the key was to realize I have to prescribe which functors implement 'dependency'. I guess in the case I was looking at they are fibrations, hence as you correctly point out an indexed category is just a dependent type.
Moreover, I now guess that the semantics of is the Grothendieck construction?