TITLE: Stable homotopy type theory?
QUESTION [19 upvotes]: This is a combined question, strictly speaking I am asking three questions concerning, respectively, homotopy type theory, stable homotopy theory and Yetter-Drinfeld modules. But I believe in the present context they can be viewed as a single question.
After a lecture on HoTT by Voevodsky (at TACL 2013 in Nashville) I asked him whether Homotopy Type Theory can be useful for stable homotopy theory. Without much hesitation he replied that HoTT is not really well suited to describe stable phenomena. We never talked after that, and now we will never talk at all, so I still do not know where the main difficulty lies.
Discussing this with several other people (sorry, don't exactly remember with whom) I gradually developed impression that the main difficulty relates to the fact that there seems to be no known good formalism combining constructive type theory and substructural logics, that would lead to some sort of linear type theory. Among possible models one should have triangulated monoidal categories, like stable homotopy category, and it seems not to be known what is the analog of dependent types there.
The first question then is whether what I said above makes any sense, and whether there is any work in this direction.
A situation where one has something like "linear dependent types" is in the context of Yetter-Drinfeld modules over Hopf algebras. Heuristically, the starting point is the fact that in any category $\mathscr C$ with (Cartesian) products every object $X$ has a unique comonoid structure, and the category of comodules over this comonoid is equivalent to the slice $\mathscr C/X$. One could then try to imitate this in (non-Cartesian) monoidal categories, considering comodules over comonoids as variable families over that comonoid. When this comonoid is equipped with a Hopf monoid structure, one can get a "linear" analog of Freyd-Yetter's crossed G-sets.
The second question is then, whether anybody studied features of categories of Yetter-Drinfeld modules over varying Hopf algebras which would resemble either what happens in HoTT or in stable homotopy category.
And the third question comes from the fact that while there are plenty of examples of monoids in stable homotopy categories (ring spectra) I cannot remember any considerations of comonoids or Hopf objects there. Does anybody know some works on this? Or even more simple question (actually fourth, sorry): in unstable homotopy theory one knows that for a, say, topological group $G$ there are certain homotopy categories of $G$-spaces and of spaces over $BG$ which are equivalent. Is there an analog of this fact in stable homotopy theory?
Or maybe Voevodsky had in mind that there seems to be no analog of univalence in the stable context? (Well that was fifth, I certainly must stop here.)
I found only one related question, Are there connections between Homotopy type theory and Grothendieck's theory of motives?, about possible connections between HoTT and motivic homotopy theory. I discovered my pessimistic comment there, remembering that answer by Voevodsky and arguing that motivic homotopy is in a sense even "more linear" than stable homotopy, so it might be even more difficult to relate these two. Anyway.

REPLY [8 votes]: There are multiple possible routes to study stable homotopy theory in a type-theoretic system, some of which are work in progress by various people, but none of which are fully developed.
As has been pointed out, one can make use of the fact that the category of parametrized spectra is an $(\infty,1)$-topos and therefore (conjecturally) admits an interpretation of HoTT, then use this model to motivate new structures and axioms for HoTT to produce a "homotopy type theory of parametrized spectra" analogous to what we have done for directed and cohesive homotopy type theories.  There is work in progress on deciding what exactly these new features should be.
On the other hand, one can try to attack the category of spectra directly.  As has been pointed out, since it has finite limits it conjecturally admits a model of dependent type theory but without $\Pi$-types and without a universe.  This lack makes it almost impossible to do anything resembling current homotopy type theory purely inside spectra.  What seems more useful is to have an ambient unstable homotopy type theory which can be related to the stable one in some way.  So that, for instance, we have an unstable homotopy type of maps between two spectra, and can talk about homotopies and apply the theory of h-levels and equivalences (using unstable $\Pi$-types) in that way.  There could also be an unstable universe of stable types that is "univalent" in an appropriate sense.
When one plays with this a bit, it starts to seem very natural, even necessary, to allow stable homotopy types to depend on unstable ones, so that we are heading back in the direction of parametrized spectra.  But now instead of considering each parametrized spectrum as a basic object, we are stratifying them over their base spaces, with two context zones for unstable and stable types.  In the non-homotopy context, it's not hard to write down such a type theory that has models in "indexed monoidal categories", and that categorical structure can be generalized to "indexed monoidal $(\infty,1)$-categories", which are mostly what the original nLab page "dependent linear type theory" is about (I've now moved that content to Indexed monoidal (∞,1)-category).  But as far as I know, no one has yet proposed a good way to write down a homotopy type theory that has semantics in such indexed monoidal $(\infty,1)$-categories.
There is work by type theorists on "dependent linear logic".  Some of it, such as "linear LF", I believe involves linear types dependent on nonlinear ones.  But I'm not aware of any version of such a theory yet that would, for instance, allow linear types to have non-linear identity types, which seems to me to be what we would want to be able to do stable homotopy theory this way.