Typing with leftovers: a mechanization of Intuitionistic Multiplicative-Additive Linear Logic

Research output: Chapter in Book/Report/Conference proceedingConference contribution book

9 Citations (Scopus)
28 Downloads (Pure)

Abstract

We start from an untyped, well-scoped lambda-calculus and introduce a bidirectional typing relation corresponding to a Multiplicative-Additive Intuitionistic Linear Logic. We depart from typical presentations to adopt one that is well-suited to the intensional setting of Martin-Löf Type Theory. This relation is based on the idea that a linear term consumes some of the resources available in its context whilst leaving behind leftovers which can then be fed to another program.
Concretely, this means that typing derivations have both an input and an output context. This leads to a notion of weakening (the extra resources added to the input context come out unchanged in the output one), a rather direct proof of stability under substitution, an analogue of the frame rule of separation logic showing that the state of unused resources can be safely ignored, and a proof that typechecking is decidable. Finally, we demonstrate that this alternative formalization is sound and complete with respect to a more traditional representation of Intuitionistic Linear Logic.
The work has been fully formalised in Agda, commented source files are provided as additional material available at https://github.com/gallais/typing-with-leftovers.
Original languageEnglish
Title of host publication23rd International Conference on Types for Proofs and Programs
Subtitle of host publicationTYPES 2017
EditorsAndreas Abel, Fredrik Nordvall Forsberg, Ambrus Kaposi
Pages1-22
Number of pages23
Volume104
ISBN (Electronic)1868-8969
DOIs
Publication statusPublished - 8 Jan 2019
Event23rd International Conference on Types for Proofs and Programs - Budapest, Hungary
Duration: 29 May 20171 Jun 2017
http://types2017.elte.hu/

Conference

Conference23rd International Conference on Types for Proofs and Programs
Abbreviated titleTYPES 2017
Country/TerritoryHungary
CityBudapest
Period29/05/171/06/17
Internet address

Keywords

  • type system
  • bidirectional
  • linear logic
  • agda

Fingerprint

Dive into the research topics of 'Typing with leftovers: a mechanization of Intuitionistic Multiplicative-Additive Linear Logic'. Together they form a unique fingerprint.

Cite this