Di- is for Directed: First-Order Directed Type Theory via Dinaturality
Andrea Laretto, Fosco Loregian, Niccol\`o Veltri

TL;DR
This paper develops a first-order directed type theory using dinaturality, interpreting types as categories and directed equality via hom-functors, with formal proofs in Agda.
Contribution
It introduces a novel interpretation of directed type theory based on dinaturality, including a new elimination principle and categorical characterizations of directed equality.
Findings
Characterizes directed equality as a left relative adjoint.
Formalizes interpretation of quantifiers as ends and coends.
Proves key categorical properties like Fubini rule and Yoneda lemma.
Abstract
We show how dinaturality plays a central role in the interpretation of directed type theory where types are interpreted as (1-)categories and directed equality is represented by -functors. We present a general elimination principle based on dinaturality for directed equality which very closely resembles the -rule used in Martin-L\"of type theory, and we highlight which syntactical restrictions are needed to interpret this rule in the context of directed equality. We then use these rules to characterize directed equality as a left relative adjoint to a functor between (para)categories of dinatural transformations which contracts together two variables appearing naturally with a single dinatural one, with the relative functor imposing the syntactic restrictions needed. We then argue that the quantifiers of such a directed type theory should be interpreted as ends and coends,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
