Reference. A relationally parametric model of dependent type theory

Cite

Cite as @atkey-2014-a (helia, typst) · \cite{atkey-2014-a} (LaTeX)
BibTeX
bibtex · 1 line
@inproceedings{atkey-2014-a, series={POPL ’14}, title={A relationally parametric model of dependent type theory}, url={http://dx.doi.org/10.1145/2535838.2535852}, DOI={10.1145/2535838.2535852}, booktitle={Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages}, publisher={ACM}, author={Atkey, Robert and Ghani, Neil and Johann, Patricia}, year={2014}, month=Jan, pages={503–515}, collection={POPL ’14} }
hayagriva YAML (typst)
yaml · 19 lines
atkey-2014-a:
  type: article
  title: A relationally parametric model of dependent type theory
  author:
  - Atkey, Robert
  - Ghani, Neil
  - Johann, Patricia
  date: 2014-01
  page-range: 503-515
  url: http://dx.doi.org/10.1145/2535838.2535852
  serial-number:
    doi: 10.1145/2535838.2535852
  parent:
    type: proceedings
    title: Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
    publisher: ACM
    parent:
      type: proceedings
      title: POPL ’14
Cited by (3)

Logical Relations as Types: Proof-Relevant Parametricity for Program Modules sterling_harper_2021

The theory of program modules is of interest to language designers not only for its practical importance to programming, but also because it lies at the nexus of three fundamental concerns in language design: the phase distinction, computational effects, and type abstraction. We contribute a fresh “synthetic” take on program modules that treats modules as the fundamental constructs, in which the usual suspects of prior module calculi (kinds, constructors, dynamic programs) are rendered as derived notions in terms of a modal type-theoretic account of the phase distinction. We simplify the account of type abstraction (embodied in the generativity of module functors) through a lax modality that encapsulates computational effects, placing projectibility of module expressions on a type-theoretic basis.

Our main result is a (significant) proof-relevant and phase-sensitive generalization of the Reynolds abstraction theorem for a calculus of program modules, based on a new kind of logical relation called a parametricity structure. Parametricity structures generalize the proof-irrelevant relations of classical parametricity to proof-relevant families, where there may be non-trivial evidence witnessing the relatedness of two programs—simplifying the metatheory of strong sums over the collection of types, for although there can be no “relation classifying relations,” one easily accommodates a “family classifying small families.”

Using the insight that logical relations/parametricity is itself a form of phase distinction between the syntactic and the semantic, we contribute a new synthetic approach to phase separated parametricity based on the slogan logical relations as types, by iterating our modal account of the phase distinction. We axiomatize a dependent type theory of parametricity structures using two pairs of complementary modalities (syntactic, semantic) and (static, dynamic), substantiated using the topos theoretic Artin gluing construction. Then, to construct a simulation between two implementations of an abstract type, one simply programs a third implementation whose type component carries the representation invariant.

DOI · arXiv

Gluing for Type Theory GluingForTypeTheory

The relationship between categorical gluing and proofs using the logical relation technique is folklore. In this paper we work out this relationship for Martin-Löf type theory and show that parametricity and canonicity arise as special cases of gluing. The input of gluing is two models of type theory and a pseudomorphism between them and the output is a displayed model over the first model. A pseudomorphism preserves the categorical structure strictly, the empty context and context extension up to isomorphism, and there are no conditions on preservation of type formers. We look at three examples of pseudomorphisms: the identity on the syntax, the interpretation into the set model and the global section functor. Gluing along these result in syntactic parametricity, semantic parametricity and canonicity, respectively.
DOI

From parametricity to conservation laws, via Noether’s theorem atkey-2014-from

PDF · DOI · pldb
Cites 35 works (2 here)
With notes (2)

Categorical Logic and Type Theory jacobs-1999

This book is an attempt to give a systematic presentation of both logic and type theory from a categorical perspective, using the unifying concept of fibred category. Its intended audience consists of logicians, type theorists, category theorists and (theoretical) computer scientists.

Syntax and semantics of dependent types Hofmann_1997

DOI
External (33)
atkey-2014-a reference entries/refs/atkey-2014-a/atkey-2014-a.hel