A diagram model of linear dependent type theory
Abstract
We present a type theory dealing with non-linear, "ordinary" dependent types (which we will call cartesian) and linear types, where both constructs may depend on terms of the former. In the interplay between these, we find new type formers and , akin to and , but where the dependent type , (and therefore the resulting construct) is a linear type. These can be seen as internalizing universal and existential quantification of linear predicates. We also consider two modalities, and , transforming linear types into cartesian types and vice versa. The theory is interpreted in a split comprehension category accompanied by a split symmetric monoidal fibration, . This structure determines, for any context , fibers and ; the category of cartesian types and the monoidal category of linear types over , respectively. Here, the type formers and are understood as right and left adjoints of the monoidal reindexing functor . The operators and induce a fiberwise adjunction between and , where the traditional exponential modality is understood as the comonad . We provide a model of this theory called the Diagram model, which extends the groupoid model of dependent type theory to accommodate linear types. Here, cartesian types are interpreted as a family of groupoids, while linear types are interpreted as diagrams in any symmetric monoidal category . We show that the diagrams model can under certain conditions support a linear analogue of the univalence axiom, and provide some discussion on the higher-dimensional nature of linear dependent types.
Cite
@article{arxiv.1806.09593,
title = {A diagram model of linear dependent type theory},
author = {Martin Lundfall},
journal= {arXiv preprint arXiv:1806.09593},
year = {2018}
}
Comments
17 pages