Reference. A two-level linear dependent type theory

We present a type theory combining both linearity and dependency by stratifying typing rules into a level for logics and a level for programs. The distinction between logics and programs decouples their semantics, allowing the type system to assume tight resource bounds. A natural notion of irrelevancy is established where all proofs and types occurring inside programs are fully erasable without compromising their operational behavior. Through a heap-based operational semantics, we show that extracted programs always make computational progress and run memory clean. Additionally, programs can be freely reflected into the logical level for conducting deep proofs in the style of standard dependent type theories. This enables one to write resource safe programs and verify their correctness using a unified language.

Cite

Cite as @fu2023twolevellineardependenttype (helia, typst) · \cite{fu2023twolevellineardependenttype} (LaTeX)
BibTeX
bibtex · 9 lines
@misc{fu2023twolevellineardependenttype,
 title = {A Two-Level Linear Dependent Type Theory},
 author = {Qiancheng Fu and Hongwei Xi},
 year = {2023},
 url = {https://arxiv.org/abs/2309.08673},
 primaryclass = {cs.PL},
 archiveprefix = {arXiv},
 eprint = {2309.08673}
}
hayagriva YAML (typst)
yaml · 10 lines
fu2023twolevellineardependenttype:
  type: misc
  title: A Two-Level Linear Dependent Type Theory
  author:
  - Fu, Qiancheng
  - Xi, Hongwei
  date: 2023
  url: https://arxiv.org/abs/2309.08673
  serial-number:
    arxiv: '2309.08673'
Cites 26 works (5 here)
With notes (5)

Syntax and Semantics of Quantitative Type Theory atkey-2018-syntax

DOI

I Got Plenty o’ Nuttin’ mcbride-2016-i

DOI

Integrating Linear and Dependent Types krishnaswami_integrating_2015

In this paper, we show how to integrate linear types with type dependency, by extending the linear/non-linear calculus of Benton to support type dependency.
PDF · DOI · pldb

A mixed linear and non-linear logic: Proofs, terms and models: Extended abstract bentonMixedLinearNonlinear1995

Intuitionistic linear logic regains the expressive power of intuitionistic logic through the ! (‘of course’) modality. Benton, Bierman, Hyland and de Paiva have given a term assignment system for ILL and an associated notion of categorical model in which the ! modality is modelled by a comonad satisfying certain extra conditions. Ordinary intuitionistic logic is then modelled in a cartesian closed category which arises as a full subcategory of the category of coalgebras for the comonad. This paper attempts to explain the connection between ILL and IL more directly and symmetrically by giving a logic, term calculus and categorical model for a system in which the linear and non-linear worlds exist on an equal footing, with operations allowing one to pass in both directions. We start from the categorical model of ILL given by Benton, Bierman, Hyland and de Paiva and show that this is equivalent to having a symmetric monoidal adjunction between a symmetric monoidal closed category and a cartesian closed category. We then derive both a sequent calculus and a natural deduction presentation of the logic corresponding to the new notion of model.
DOI

Linear logic girard_linear_1987

The familiar connective of negation is broken into two operations: linear negation which is the purely negative part of negation and the modality “of course” which has the meaning of a reaffirmation. Following this basic discovery, a completely new approach to the whole area between constructive logics and programmation is initiated.
DOI
fu2023twolevellineardependenttype reference entries/refs/fu2023twolevellineardependenttype/fu2023twolevellineardependenttype.hel