When higher category theory and homotopy type theory collide, people whom I resp...

@jonmsterling@mathstodon.xyz

When higher category theory and homotopy type theory collide, people whom I respect quite a lot will sometimes say things like “Type theory has this pesky thing called judgemental equality, which is just not present in informal higher category theory where all you have is identifications” or something similar. I believe this is based on a misunderstanding.

Informal higher category theory also has a strict (“judgemental”) equality and a homotopical equality, and you have to be just as careful there about the difference as you do in HoTT. In both HoTT and in informal higher category theory, the difference between these two kinds of equality is mediated by the notion of fibration. When you have a fibration, you take its pullbacks strictly in the sense that the pullback can be given a universal property up to strict equality rather than only up to identifications. Type theory has that built in because fibrations are represented by their characteristic maps into the space of all types. But the same thing is happening.

The main difference between the "judgmental equality" that appears in type theory and the one that appears in informal higher category theory is that the latter is more flexible: nobody ever tells you that you are not allowed to assume it or refute it (but some uses of it will take you outside the world of fibrations). But it is definitely there. Type theory can achieve this flexibility by means of logical frameworks / two-level type theory, so the difference isn't really essential. (1/2)