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.
I've been thinking about an odd twist on the notion of slice category. Let be a category, and define
objects: -- a sieve on and an object (thought of as )
homsets:
with ordinary composition and identity.
I'm thinking of sieves as types, in order to get something like a "category of types and terms" in the "kind context" .
There are some decisions in this construction that are flexible. Right now I'm searching for good reasons for the decisions, and how to describe this construction as canonical.
I know that it involves the Yoneda embedding of , composed with the subobject functor -- and somehow combining this process with the Grothendieck construction.
If anyone has ideas, let me know. I'll post on here when there's progress.
On the type theory side, the construction is unusual. In the semantics of polymorphic type theories, one has an indexed category where is the category of types and terms in the kind context .
But a morphism in this category of types and terms is a judgement of the form for some constructor .
So one thing that's odd about the construction above, besides the contravariance, is that morphisms are inputs rather than operations.
im not following your explanation of the type theoretic content
which part, mine or the standard semantics?
Chapter 8 of Jacobs' Categorical Logic
https://www.sciencedirect.com/bookseries/studies-in-logic-and-the-foundations-of-mathematics/vol/141
8.1 talks about the syntax of polymorphic type theories
8.4 talks about the semantics.
There may be better references; this is just the one I'm working with right now.
A way to construct that could be this: consider the functor from a site sending an object to the category of sieves on that object (it occurs now to me this should be just , where is good ol' Yoneda embedding). Then let Grothendieck do its thing, and you get a category where
Now this category should be the same as yours if you realize having an object of and having the set of sieves on a given object is the same thing: just take the maximal sieve to recover your object.
Oh, now I see you specifically mentioned + Grothendieck
I worked on exactly this with @Riccardo Zanfa last year. I have no input on the type theory stuff, but this construction leads to some very neat stuff, but which we never got around to publishing because there were several fiddly loose ends we couldn't figure out.
I'll ask for his permission, then share what we found!
So here's the situation. As you've observed, for any Grothendieck site we have a pseudofunctor from any category into sending each object of to the poset of covering sieves over it and each morphism to the mapping which pulls sieves back along ; this is well-defined thanks to the stability axiom for G' topologies. Applying the Grothendieck construction we get a fibration which has a right adjoint, this time thanks to the maximality axiom for G' topologies. Applying Yoneda, we get an adjoint pair of essential geometric morphisms between and :
fibrationadjunction.png
The fact that an intersection of covering sieves is a covering sieve means that the colimits defining the left-most adjoint in this situation are filtered, so this functor preserves finite limits. That is, we have a diagram of geometric morphisms of the kind that I asked about very recently. Note also that and are full and faithful, so the upward morphisms are geometric inclusions. These geometric morphisms contain all of the information we from the Grothendieck topology, in the sense that:
This establishes a special case of the fact that geometric inclusions of toposes are regular monomorphisms, but also begs the question of whether some of the general properties of the plus construction (such as idempotence) are true for general situations of this form. One is also led to wonder whether this can be generalised to give a "universal property" characterisation of geometric inclusions in the 2-category of toposes and geometric morphisms. Finally, iirc the properties of fibrations are inherited (weakly) by , so we wonder if this can be transformed can be expressed concisely in a 2-categorical way. These are just some of the loose ends I mentioned.
@Ivan Di Liberti I mentioned this unfinished work to you a long time ago in Milan, perhaps you will find this interesting
Wow @Morgan Rogers , that's cool! Just to clarify, did you call the fibration ?
Maybe I'm missing context, what is and what is the plus construction?
Yes, that's right @Matteo Capucci. is the adjoint to the fibration that sends an object of to the maximal sieve on that object.
Matteo Capucci said:
Now this category should be the same as yours if you realize having an object of and having the set of sieves on a given object is the same thing: just take the maximal sieve to recover your object.
No, is not the category that I described. But thanks; yeah this was similar to my first guess.
@Morgan Rogers That sounds cool! But I don't see how those ideas could give the category above.
vikraman said:
Maybe I'm missing context, what is and
what is the plus construction?
I think they're referring to sheafification.
(just for everyone's sake. and I do not know what is.)
Sorry, I realized that I was thinking of as a covariant functor, taking the direct image. I need to rethink this for the contravariant case by pullback/precomposition.
So let me take --
objects: pairs
morphisms: are pairs
Ah okay, no this is not what either. If you look up at , I'm pretty sure this category is fairly unusual. But I'll be happy if it has a canonical presentation.
But... where did your S(C,c) come from?
is the construction I describe above in the case where the topology contains all sieves.
aaa i dont have the attention span to read this whole chapter :sob:
section 8.4 seems like the relevant bit, but i'm not sure i have the CT background
Christian Williams said:
I'm thinking of sieves as types, in order to get something like a "category of types and terms" in the "kind context" .
ooooh, hold on—i think i was taking for granted that was supposed to be the category that you're giving semantics in, like you're saying "i have a kind of type theory in mind, and to give it categorical semantics in a category , you do this..."
but the point is that there's an existing notion of that, and you're trying to come up with some particular class of models that you can derive from some ?
Yes, we're taking as some predetermined category that we care/know about. Then from it we're making not a class of models, but one specific kind of type theory.
You don't need to read that chapter; it's just some background.
Morgan Rogers said:
But... where did your S(C,c) come from?
Yeah, so I should explain my motivation for this construction.
I'm taking to be some kind of algebraic theory. Take the theory of monoids . A sieve in a theory represents a "form" which represents a subset of terms you can make in the language.
For example, the operation generates the sieve
-- the class of all terms which are the product of two terms.
The sieves generated by the theory are like "base types", and various constructions in the presheaf topos are like type constructors.
Turns out you can get quite a lot from this idea -- from an algebraic theory you can get a polymorphic type theory, with subtyping, recursion, and lots of nice things.
Of course for very simple theories like , it's not the most useful thing until you map this onto models. A type such as
is empty, because there aren't any concrete elements.
so, one sec
Alright, well let me know if you have thoughts. This thread is (hopefully) the final key to a paper I'm writing -- the main theorem will be that this process inputs an algebraic theory and outputs a polymorphic type theory.
But I'm getting the impression that formalizing polymorphism in general is not a simple task. From what I've seen in the literature so far, people usually just take the specific example of System and then augment that theory as needed; I haven't found much about polymorphic type theories in general.
Christian Williams said:
So let me take --
objects: pairs
morphisms: are pairs
I think me and @Morgan Rogers are using pullbacks while this is proper 'morphisms of sieves' (I don't have a better word: when you take all the arrows covering factorizing through arrows covering )
Matteo Capucci said:
I think me and Morgan Rogers are using pullbacks while this is proper 'morphisms of sieves' (I don't have a better word: when you take all the arrows covering factorizing through arrows covering )
No no, I'm not assuming has pullbacks; in general the stability axiom defines, for a sieve on and , to be the sieve on of morphisms whose composite with lies in , or equivalently the pullback of along when is viewed as a subobject of in the presheaf category :check_mark:
Christian Williams said:
Of course for very simple theories like , it's not the most useful thing until you map this onto models. A type such as
is empty, because there aren't any concrete elements.
I take it square brackets in this message correspond to the "sieve generated by..." thing you wrote above..?
And... I still don't see where the construction comes from: you've explained why you want sieves, but not why you want to pair them with arbitrary objects.
Yes, I am not assuming that has pullbacks; the is essentially the preimage of sieves under postcomposition by . That action should certainly be part of the morphism structure as well, we need base change in addition to morphisms of terms.
Yes, brackets mean that. And then I should put some symbol to mean the lifting of , rather than the actual operation.
Well, at first I thought that I could simply let the types be the sieves, but I realized that didn't really make sense -- one still needs to know "where the terms are coming from", or what free variables they will have. So you also need to unpack the fact that a sieve is indexed by every object of the category; then the types are of the right specificity, .
Hey @Morgan Rogers, very nice! Here are some additional remarks from a paper that Mathieu Anel and I recently finished (over two years or so) that might answer some of your questions. https://arxiv.org/abs/2004.00731
As you note, is the small full subcategory of on the covering sieves, the codomain functor factors through and admits a section (a right adjoint right inverse). If you replace by any small full subcategory of arrows satisfying the same conditions, you get what we call a pre-modulator (Def. 2.4.6). And of course every pre-modulator has a "plus-construction" given by the formula that you mentioned.
Now a -sheaf is simply an in that has the unique right lifting property against every arrow in . One can similarly define a "-sheaf" for any pre-modulator, and the category of -sheaves is a locally presentable, reflective and accessibly (for some ) embedded subcategory of (however it's not a topos, but I'll get to that). An interesting result (follows from Th. 2.4.8 of the paper) is that the reflection from presheaves into -sheaves can be calculated as the transfinite iteration of the plus-construction . In fact Th. 2.4.8 says more: there is a relative plus-construction for arrows, whose transfinite iteration is the unique factorisation of any in for the orthogonal factorisation system , and the plus-construction for objects of is just the relative plus-construction for arrows into the terminal object. Moreover, every accessible reflection (and every accessible orth. fact. system) of a locally presentable category can be calculated as the iteration of the plus-construction associated to some pre-modulator (Prop. 2.4.13).
Coming to topoi: A pre-modulator such that is a fibration is called a modulator (Def. 3.3.1) and a modulator such that each fibre of is (finitely) co-filtered is called a lex modulator (Def. 3.4.1). The orthogonal factorisation system associated to a (lex) modulator is what's known as a (lex) modality. Every accessible (lex) modality is generated by a (lex) modulator. The reflection associated to a lex modality preserves all pullbacks (and hence all finite limits). In 1-topoi, every modality is lex but this is no longer true for -topoi. Finally, the plus construction associated to a lex modulator on an -topos converges in iterations on an -truncated object of the -topos --- this implies that the plus construction for a lex modulator on a 1-topos converges in two iterations. The general theme of this "schmilblick" is that lex modulators are a correct generalisation of Grothendieck topologies from 1-topoi to -topoi.
The paper is a little dense but hopefully the previous remarks are enough of a foothold.
So here's the basic question I'm thinking about: given a category , we can consider the composite . This is a hyperdoctrine, and hence a particularly nice indexed category. But moreover, the objects of are themselves subpresheaves, each of which has a category of elements. How do I unpack all of this information canonically?
(Disclaimer: I'm opening up about a research question. If you give a really good answer I'll have to credit you.)
Right now I'm considering what it means to "fold in" the category of elements construction to .
The composite of the Yoneda embedding and the category of elements is naturally isomorphic to the slice functor . Subfunctors of representables should presumably give subcategories of the slice categories.
Can you ask a question that's more specific than "how do I unpack all of this information canonically?"
The best questions in math are the yes-or-no questions, like "is 1 + 1 = 2?", since the answer is a truth value.
The second best questions are the ones that ask for an element of a set, like "what's 1+1?" or "how do I prove P?" where P is some true statement.
Often when you have a vaguer question you can find simpler sub-questions of the above two forms, which are a lot easier for people to sink their teeth into. This increases the chance of getting good answers.
Alright, just got it but I'll ask as a puzzle: is there a natural bijection between (sieves on ) and (subcategories of )?
Let's see. Suppose is some finite linear order, for example
Then is just since is terminal, so subcategories of are just subsets of , e.g.
There are of them. But there aren't sieves on . I think there are just , right?
Yeah, there are definitely more slice subcategories.
Would you not have to include (its identity) in every subcategory?
Hm, I guess not... And yes, I think just 5 sieves.
We have a section-retraction pair between sieves and subslices. Given we have , and given a subcategory of we can saturate it (close under precomposition) to get a sieve -- but of course this destroys a lot of information.
Okay, nice. I was gonna say the obvious thing, that every sieve gives a subcategory of the slice category but it sounds like you're saying that the functor
[sieves on ] [subcategories of ]
has a left adjoint, the "saturation" process.
I haven't checked that it's a left adjoint, it just feels like one.
Yep. Well, we haven't even decided how we're making categories out of these two concepts.
Right. I think there's a pretty obvious poset structure in both cases, right?
Sieves on form a preorder by inclusion. Subcategories of ...
Subcategories of are subobjects of .
It looks like there's a Heyting algebra structure in both cases!
Yeah, of course. We're carrying some relation of and through the subobject functor.
No, maybe I'm getting carried away: there's no reason I see for the poset of subobjects of a category to form a Heyting algebra.
isn't a topos.
But still subobjects of a category should form some pretty nice kind of poset, better than a mere topos.
Puzzle. Is locally cartesian closed?
I don't know, but I'll bet "no".
No, it's not... @Mike Shulman told us about this when we visited. Some functors induce nice base change, but not all -- that's part of the motivation for the concept of exponentiable morphism in a 2-category https://ncatlab.org/nlab/show/Conduch%C3%A9+functor.
The counterexample was very clever. I think it involves constructing a simple pushout which is not preserved by the base change, hence showing that it is not a left adjoint.
Cool! I'd talked with David Spivak about Conduche functors, but I hadn't known about this more abstract way of thinking about them.
That nLab page gives the counterexample but I'm not up to understanding it now.
It's a pretty heavy page - it includes some generalizations of the Grothendieck construction...
Oh yeah, it's a lot to think about.
The left triangle is an isomorphism, and then I think the right should be a pair of natural transformations which form a section-retraction.
John Baez said:
Puzzle. Is locally cartesian closed?
I don't know, but I'll bet "no".
On a related note I tried (and failed) yesterday to find an example of a locally presentable, locally cartesian closed 1-category that's not a quasitopos. Does anyone know of one?
John Baez said:
Can you ask a question that's more specific than "how do I unpack all of this information canonically?"
The best questions in math are the yes-or-no questions, like "is 1 + 1 = 2?", since the answer is a truth value.
The second best questions are the ones that ask for an element of a set, like "what's 1+1?" or "how do I prove P?" where P is some true statement.
Often when you have a vaguer question you can find simpler sub-questions of the above two forms, which are a lot easier for people to sink their teeth into. This increases the chance of getting good answers.
"best" for different purposes...
Cat is not locally cartesian closed
there's a whole thing on mike shulman's sub-nlab about 2-topoi and how we shouldn't expect them to be stable under slicing
but instead we should expect them to be stable under fibrational slice
quick reference: https://ncatlab.org/nlab/show/regular+category
note that "a locally cartesian closed category with coequalizers is regular" but immediately lower is an example that Cat is not regular
but do not ask me questions about regular categories, i dont know anything about them, im just passing on the counterargument i got from someone else :upside_down:
oh wait lol i missed that @Christian Williams already responded >.<
Chaitanya Leena Subramaniam said:
On a related note I tried (and failed) yesterday to find an example of a locally presentable, locally cartesian closed 1-category that's not a quasitopos. Does anyone know of one?
This is a difficult problem with an interesting history, see Section 4 of Borceux and Pedicchio, A characterization of quasi-toposes. One example described therein, due to Adamek and Rosicky, is the category of sets equipped with a "loop-free" reflexive binary relation. Another example (Example C.4.2.4 in the Elephant) is the Ind-completion of the category of countable (= finite or countably infinite) sets.
there was that whole topic on here i opened about slices or w/e and i seem to recall coming to the conclusion that in a 2-category the 1-slice is the wrong notion of "category of things parameterized over the base" anyway
like maybe local cartesian closure is the wrong thing to expect anyway
maybe fibrational slice in Cat is more closely analogous to ordinary slice in a 1-category than ordinary slice in Cat is
Is there a definition of 'fibration' that works in an arbitrary -category, or can we only define them in by referring to morphisms directly?
It's only tangentially related but worth mentioning that some properties of Grothendieck topologies are easiest to express when the sieves are viewed as subcategories of slices. For example, a locally connected site is one for which the sieves are all (inhabited and) connected as subcategories of slices; these are the natural choice of sites for locally connected toposes over a given base topos.
i believe theres one that works in an arbitrary 2-cat but i dont remember it
oh it looks like you need finite completeness to be able to state it? not surprising
oh wait maybe not
anyway https://ncatlab.org/nlab/show/fibration+in+a+2-category#definition
Thanks! I should have been able to guess that first definition. 'Just Yoneda It'.
Morgan Rogers said:
It's only tangentially related but worth mentioning that some properties of Grothendieck topologies are easiest to express when the sieves are viewed as subcategories of slices. For example, a locally connected site is one for which the sieves are all (inhabited and) connected as subcategories of slices; these are the natural choice of sites for locally connected toposes over a given base topos.
omg somehow it never occurred to me that a sieve is a subcategory of a slice o_o
i should try thinking in terms of categories of elements more often...
Alexander Campbell said:
Chaitanya Leena Subramaniam said:
On a related note I tried (and failed) yesterday to find an example of a locally presentable, locally cartesian closed 1-category that's not a quasitopos. Does anyone know of one?
This is a difficult problem with an interesting history, see Section 4 of Borceux and Pedicchio, A characterization of quasi-toposes. One example described therein, due to Adamek and Rosicky, is the category of sets equipped with a "loop-free" reflexive binary relation. Another example (Example C.4.2.4 in the Elephant) is the Ind-completion of the category of countable (= finite or countably infinite) sets.
At this MO question 1-categorical motivic spaces were suggested as another example.