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.
Are there coherence theorems for categories with (certain classes of) limits analogous to the ones for the various kinds of monoidal categories? Something like "every cartesian category is equivalent to a strict cartesian category" or "every finitely complete category is equivalent to a finitely complete diagram in which pullbacks are strictly associative"? (Though I could imagine the corresponding statements aren't quite as strong.) I couldn't find any references.
When you say "strict cartesian category", in what sense are you asking for strictness?
Viewed as a monoidal category, the category is strict: i.e. the associator and unitors are identities.
You can just strictify it as a monoidal category then.
You aren't guaranteed that the strictified category is also cartesian monoidal, though, right? It simply has to be monoidal and cartesian. But those two structures don't have to coincide, as far as I can see.
Also, you don't need to say "cartesian-equivalent" or "lex-equivalent"--equivalences preserve limits.
It's still cartesian monoidal because it's monoidally equivalent to the original category, which was cartesian monoidal.
Ah, of course, thank you! I had imagined at least one of my questions would turn out to be very simple :grinning_face_with_smiling_eyes:
There is the notion of -category in Freyd and Scedrov’s book Categories, Allegories; see 1.49 ff. A -category is a category with finite limits equipped with a certain set of tables. A table is an ordered sequence where is an object and are morphisms from which are jointly monic.
In a -category one has canonical choice of binary products and pullbacks, and there is a unique terminal object. According to 1.49(10) of ibid., canonical products are strictly associative, and canonical pullbacks are compatible in the sense that given any diagram for the pasting law for pullbacks, if the two squares are canonical pullbacks then the outer rectangle is also a canonical pullback. According to 1.4(10)1, for any small category with finite limits there exists a “free -category” and an equivalence of categories .
@Soichiro Fujii: that looks perfect, thank you very much!
I don't know if that's of interest for you, but you can also understand categories with families as a trick to present a category with a "split" choice of pullbacks for a certain class of maps. By splits, I mean that when you put two pullbacks squares in the chosen class side by side, the outer square is again a pullback square (that's automatic), but it is also again in the chosen class. I can explain this more in details if you want
@Thibaut Benjamin: actually, one aspect I'm not quite clear on at the moment (as these tools are typically used for type theoretic purposes, rather than purely category theoretic) — can we use CwFs to prove coherence results like the above? If so, can we get a stronger result than the one described above in Categories, Allegories?
In general strictifying categories with a chosen set of limits or colimits seems like a fairly pointless business because the universal properties do everything one wants. I think that's why people don't do it very much.
A bit more precisely: having limits or colimits of some sort is a mere property of a category, not extra structure on that category (like a monoidal structure), so the benefits of "improvement via strictification" are much less.
@John Baez: it can be important to have strict structure when thinking about type theory, or if you're concerned about getting stricter notions of equivalence. I agree that this isn't a concern to many category theorists, though.
Category theorists consider it to be missing the point of universal properties to want ... though when you get to homotopy type theory, you get all these equations in a very elegant way, thanks to the axiom of univalence.
@Nathanael Arkor I'll try to give you a feeling about CwFs, and how they encode strict properties about limits, but I don't know about using them for proving coherence results, nor how it relates to what is described in Categories, Allegories.
First a category with families is an category equipped with a contravariant functor into the families of sets, and given an object in a category with families, I denote ("types in ") the base set of its associated family, and ("terms of type in ") the fiber above . Given a map , and a type in I denote the map induced by functoriality on families, applied to . Hence . Now in a category with families, given an object and a type , there always exists an object together with a canonical map - these canonical maps are called display maps. There are also other conditions, but I don't want to get too technical because it'll hide the point I want to get to - for my purpose, the thing that is central is the following fact : If I have a object together with a type , you can either form the display map , or you can apply to and get , and then build the dislpay map . The axioms of CwF ensure you that these two display maps are related : the display map is the pullback of the display map along the map . It is actually a very good way to get used to the formalism of CwF to try and prove this, but I'll assume it here.
The cool thing now, is that if you have two maps and , then, by the axioms of CwF, you have that . So for the display maps, this says that is equal to . With my previous remark on pullbacks, this says exactly that if you stick two pullbacks side by side, or if you compute the pullback of the outer square, you get strictly the same result
I will give an example, which may be more familiar : If you take a contextual category - that is a category with family in which every object is obtained from the terminal object by a succession of display map. ie, every object is written as .
Consider a contextual category in which there is only one type in all contexts. I will denote this type. Then every context is written as . Let me write the context of length - it is clear that there is only one context of each length (and is the terminal object). Then the thing about the pullback I told you shows that the display map is the pullback of the display map , along the unique map . In other words, - the equality is strict. You may recognize here a Lawvere theory. The extra terms (which I have not said a lot about) are generate the maps in the Lawvere theory that do not come from products!
In more complicated situations, the intuition is the same : types ensure that some pullbacks exists and compose strictly, terms add extra maps between these pullbacks, and (if you have one) length gives you an analogue of the object being freely generated by the existence of the required pullbacks
@Thibaut Benjamin: thank you for the in-depth explanation! I have a little experience with CwFs, though I'm more comfortable with some other models of dependent type theory. I would be interested in knowing precisely how CwFs relate to categories with finite limits with strictly associative pullbacks: I'm not sure if the relationship is clear or not? They certainly seem to have some similar structure.
In more complicated situations, the intuition is the same : types ensure that some pullbacks exists and compose strictly, terms add extra maps between these pullbacks, and (if you have one) length gives you an analogue of the object being freely generated by the existence of the required pullbacks
Right, this is how I understand contextual categories. Their precise relationship to finitely complete categories is not obvious to me either, though.
I think the nlab does a pretty good job at comparing. As far as I know, CwF are equivalent to Categories with attributes. There is a notion which is a bit weaker, which is display-map categories. Also there are natural models, which I believe to be equivalent to CwF (to be checked). I think you can make (up to size issues) any category with strictly associative pullbacks into a CwF.
Even better, any category with pullbacks (no need for strict associativity). It is getting late now, but I'll try it out and come back with the construction on Monday
That is, it appears that if you have strong enough coherence results for categories with finite limits, you can prove internal language results more straightforwardly, and I would imagine the converse is also true — but I have not seen the results phrased in this way.
Also there are natural models, which I believe to be equivalent to CwF (to be checked).
I believe this is the case, though I've never seen this proven.
Btw the best way to familiarise with CwF if you know DTT: objects are "contexts", morphisms are " substitutions", and types and terms are... Well types and terms. Then everything works like in a dependent type theory. You might want to take a look at Dybjer's internal type theory for more details about this
Even better, any category with pullbacks (no need for strict associativity). It is getting late now, but I'll try it out and come back with the construction on Monday
That's very kind of you! I admit, till recently I have been focused on simple type theories, so I am fairly new at getting into the dependent side of things :)
I've found it a little difficult to build up everything into one coherent picture so far, and there are often hand-wavy explanations of things rather than precise statements in the literature.
I have also an agda formalisation of how a dependent type theory presented as usual, with expressions, and then typing rules, fits into an "internal type theory" which really is the same as a CwF. I'll point you to it!
Thibaut Benjamin said:
Btw the best way to familiarise with CwF if you know DTT: objects are "contexts", morphisms are " substitutions", and types and terms are... Well types and terms. Then everything works like in a dependent type theory. You might want to take a look at Dybjer's internal type theory for more details about this
I'm happy enough with this intuition, but as the substitution issues with Seely's original paper demonstrate: it's often easy to miss things just relying on one's intuition.