Transpension: The Right Adjoint to the Pi-type

08/19/2020
by   Andreas Nuyts, et al.
0

Presheaf models of dependent type theory have been successfully applied to model HoTT, parametricity, and directed, guarded and nominal type theory. There has been considerable interest in internalizing aspects of these presheaf models, either to make the resulting language more expressive, or in order to carry out further reasoning internally, allowing greater abstraction and sometimes automated verification. While the constructions of presheaf models largely follow a common pattern, approaches towards internalization do not. Throughout the literature, various internal presheaf operators (√, Φ/𝖾𝗑𝗍𝖾𝗇𝗍, Ψ/𝖦𝖾𝗅, 𝖦𝗅𝗎𝖾, 𝖶𝖾𝗅𝖽, 𝗆𝗂𝗅𝗅, the strictness axiom and locally fresh names) can be found and little is known about their relative expressivenes. Moreover, some of these require that variables whose type is a shape (representable presheaf, e.g. an interval) be used affinely. We propose a novel type former, the transpension type, which is right adjoint to universal quantification over a shape. Its structure resembles a dependent version of the suspension type in HoTT. We give general typing rules and a presheaf semantics in terms of base category functors dubbed multipliers. Structural rules for shape variables and certain aspects of the transpension type depend on characteristics of the multiplier. We demonstrate how the transpension type and the strictness axiom can be combined to implement all and improve some of the aforementioned internalization operators (without formal claim in the case of locally fresh names).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/08/2019

A General Framework for the Semantics of Type Theory

We propose an abstract notion of a type theory to unify the semantics of...
research
04/03/2020

Ticking clocks as dependent right adjoints: Denotational semantics for clocked type theory

Clocked Type Theory (CloTT) is a type theory for guarded recursion usefu...
research
06/15/2018

Formalizing Category Theory and Presheaf Models of Type Theory in Nuprl

This article is the first in a series of articles that explain the forma...
research
01/25/2022

Semantics for two-dimensional type theory

In this work, we propose a general notion of model for two-dimensional t...
research
10/15/2022

A tutorial on implementing De Morgan cubical type theory

This tutorial explains (one way) how to implement De Morgan cubical type...
research
12/15/2021

Simulating Large Eliminations in Cedille

Large eliminations provide an expressive mechanism for arity- and type-g...
research
12/09/2022

Revisiting Decidable Bounded Quantification, via Dinaturality

We use a semantic interpretation to investigate the problem of defining ...

Please sign up or login with your details

Forgot password? Click here to reset