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.
@Chaitanya Leena Subramaniam: let's continue the conversation here, so as not to interrupt the introductions thread
that actually answers one of the questions I had — I was wondering what the relationship to the Second-Order and Dependently-Sorted Abstract Syntax paper was, because this is the one other place I've seen a notion of "dependent multicategory" be defined
it's much clearer now that you've pointed that out, thank you!
this is interesting, because one of the issues I had with using finitary monads on a presheaf category is that in some sense, it's not "big enough"
that is, if you start with the Lawvere theory–finitary monad correspondence, but allow sorting by an arbitrary category, taking identity-on-objects functors from the free finite limit completion of the category is too restrictive
because you don't get all the limits with the morphisms in the codomain
that is, identity-on-objects functors are only really good enough for limits of discrete diagrams, like products
I hadn't realised that finitary monads on presheaf categories coincided with Marcelo's notion of -model with substitution, but that makes perfect sense now
because the -model is like a "dependent type theory without operators"
and it's the lack of operators that's characteristic about category-sorted Lawvere theories, or finitary monads on presheaf categories
if I recall correctly, the notion of -model with substitution wasn't quite satisfactory, because the substitution wasn't quite expressive enough..? I'd have to think about it a bit more to remind myself
have you been reformulating the -models in your framework, or are you approaching it differently, if you don't mind me asking?
Could you explain what you mean when you say that id-on-objects functors are not enough?
Identity-on-objects functors that are "Lawvere theories with arities" for the arity functor in the sense of (Berger, Melliès, Weber) correspond precisely to the finitary monads on (this is an equivalence of categories). That is every finitary monad corresponds to an essentially unique id-on-objects functor from .
(Here is the finite-colimit completion of , so is the finite limit completion of .)
-models are kinda tricky. Syntactically, I think they correspond to type signatures that are defined inductive-inductively --- sometimes these are called "quotient inductive inductive types", and these are certainly strictly more than the finitary monads on . I haven't yet started thinking about them properly, I'm afraid to say.
I mean something like this:
the intuition behind a Lawvere theory is that you fix a set of sorts , and then you're interested in algebraic structures whose operators are -sorted — the operators and equations themselves are unrestricted
a Lawvere theory captures this with an identity-on-objects functor from the free cartesian category on — here, the objects of the codomain are exactly the contexts of algebraic operators
however, if you consider finite limits instead, then the same construction doesn't work so well — if you take an identity-on-objects functor from the free finite limit completion of a small category , the contexts of the codomain are just those that are "free" — if you have an operator , then you can't describe an operator in the context — because this context is represented by a pullback along the morphism representing — and this context doesn't, in general, exist (or has to be equal to a context without it), because it doesn't exist in the free finite limit completion of
so I think "Lawvere theories with arities" don't satisfactorily capture dependent theories, only simple theories
another way of saying this is that the "finite limit version of Lawvere theory" does not correspond to "essentially algebraic theory", but you want it to
Syntactically, I think they correspond to type signatures that are defined inductive-inductively --- sometimes these are called "quotient inductive inductive types"
I think this is close to what they should be, yes — QIITs have essentially the same signatures as GATs, and -models are supposed to model GATs, or something close to them
likewise, I'm not quite sure what the precise relationship is, though
Yep, you're describing precisely the inductive-inductive stuff I mentioned :)
Indeed simple theories don't capture all dependent theories, only those that describe finitary monads on for some category . In fact if you want to hope for a syntactic description (à la usual Lawvere theories), you have to restrict to an inverse . (But you already know all this, I guess).
inverse categories are simple categories without finite fan-out, if I understand correctly?
right, I think I'm on the same page: you can capture the notion of theory with these finitary monads (so arguably some dependent theories), but not all dependent theories (e.g. for )
it's a very interesting topic: I'll be keen to see what you come up with :)
Exactly. The finite fan out property ensures that every "tree" of dependencies of an "atomic type", i.e. an object of , is a finite tree. Which in turn means that each such object is a type in a finite context of variables. Another equivalent way to say this is that every finitely presentable presheaf is a finite cell complex.
I haven't looked at cell complexes before, so I shall have to do so, thanks