Parametricity and semi-cubical types


We construct a model of type theory enjoying parametricity from an arbitrary one. A type in the new model is a semi-cubical type in the old one, illustrating the correspondence between parametricity and cubes.
   Our construction works not only for parametricity, but also for similar interpretations of type theory and in fact similar interpretations of any generalized algebraic theory. To be precise we consider a functor forgetting unary operations and equations defining them recursively in a generalized algebraic theory. We show that it has a right adjoint.
   We use techniques from locally presentable category theory, as well as from quotient inductive-inductive types.

Jun 29, 2021
Hugo Moeneclaey
Hugo Moeneclaey