This page is part of the Initiality Project.
See categorical model of dependent types, for now.
A (natural-model-style) category with families (abbreviated CwF) consists of:
Note that an algebraic representation for can be equivalently expressed as choice of a right adjoint for the corresponding functor of categories of elements .
We consider categories with families as set-level structures (in particular, as strict categories), with morphism between them that preserve all the structure “on the nose” rather than merely up to isomorphism.
Let and be CwFs. A CwF morphism is a functor , preserving the specified terminal objects (on the nose), together with a commutative square in :
such that, for all , and , the square
is equal (on the nose) to the chosen pullback square corresponding to the morphism .
The last condition can be reformulated in terms of categories of elements by requiring that the square of categories and functors
commutes strictly, where the vertical maps are the functors corresponding to the chosen algebraic representations and the horizontal maps are the category of elements functor composed with the direct image functor applied to .
This defines a category of categories with families and their morphisms, in which we aim to construct an initial object.
Each type forming operation corresponds to structure on a CwF that can be expressed naturally in terms of categorical operations in the presheaf category .
Given a presheaf on a CwF , let , so that is the presheaf consisting of pairs of a type and a type in a context extended by and is the presheaf of pairs of a type and a term in a context extended by .
Let be a CwF. A -type structure on consists of :
exhibiting the following square as a pullback-square
Last revised on December 24, 2018 at 10:00:24. See the history of this page for a list of all contributions to it.