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.
Inspired by the search for a directed version of homotopy type theory, I've been trying to interpret ordinary MLTT type theory in the 2-category of categories. It seems to almost work.
Here's what I have so far:
This all seems to work. But I'm having trouble with pi-types. Letting be the canonical functor , I need a right 2-adjoint to , where those functor categories are categories of pseudofunctors and lax natural transformations. But I'm not sure this adjoint actually exists.
I think I've found references that say I'd be fine if I were working with pseudonatural transformations instead. But if I do that, I have problems with the variable rule instead.
This is where I'm stuck. I don't know if it's just that my inexperience with 2-categories has caught up to me, or if the whole idea is fundamentally flawed.
I could be wrong, but is what you need the fact that opfibrations are exponentiable morphisms in Cat?
Exponentiability wouldn't be enough. One needs that exponentiation by an opfibtation preserved opfibrations, but I think that is false.
Yes, that's right. Exponentials by an opfibration preserve fibrations.
It's hard to get away without introducing both variances when you try to do directed type theory, which is part of what leads into the morass...
I'm very curious about your last remark @Mike Shulman... say one follows HoTT and then adds a type constructor
and then instead of the identity type we have a hom type with appropriately placed ops, with path induction basically coinciding with a version of Yoneda. Where does this break down?
What are the rules for elements of ?
Maybe it should be said, for those who don't know it, that the idea of interpreting (some version of) dependent type theory into (some variant of) Cat is not at all far-fetched, and various people have worked, and still are working, on it. The basic idea and some references are on this nLab page.