Enriching an effect calculus with linear types
- Jeff Egger,
- ,
- Alex Simpson
- University of Edinburgh
Research Output:
Journal Article or Conference Article in Journal
Conference article
Peer-reviewOpen access
Publication Information
Output type
Research Output:
Journal Article or Conference Article in Journal
Conference article
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 240 (254 pages)Journal (Volume, Issue Number)
Lecture Notes in Computer Science (Volume 5771)Publication milestones
- Published - 2009
Publication status
Published - 2009
ISSN
0302-9743Publication IDs
- Scopus: 70350363085
Abstract
We define an ``enriched effect calculus'' by conservatively
extending a type theory for
computational effects
with primitives from linear logic. By doing so, we obtain
a generalisation of linear type theory, intended as
a formalism for expressing linear aspects of effects.
As a worked example, we formulate linearly-used continuations
in the enriched effect calculus. These are captured by a fundamental
translation of the enriched effect calculus
into itself, which extends existing call-by-value and call-by-name
linearly-used CPS translations. We show that our translation is
involutive. Full completeness results for the various linearly-used
CPS translations follow.
Our main results, the conservativity of enriching the
effect calculus with linear primitives, and the involution property
of the fundamental translation, are proved using a category-theoretic
semantics for the enriched effect calculus. In particular, the involution
property amounts to the self-duality of
the free (syntactic) model.
extending a type theory for
computational effects
with primitives from linear logic. By doing so, we obtain
a generalisation of linear type theory, intended as
a formalism for expressing linear aspects of effects.
As a worked example, we formulate linearly-used continuations
in the enriched effect calculus. These are captured by a fundamental
translation of the enriched effect calculus
into itself, which extends existing call-by-value and call-by-name
linearly-used CPS translations. We show that our translation is
involutive. Full completeness results for the various linearly-used
CPS translations follow.
Our main results, the conservativity of enriching the
effect calculus with linear primitives, and the involution property
of the fundamental translation, are proved using a category-theoretic
semantics for the enriched effect calculus. In particular, the involution
property amounts to the self-duality of
the free (syntactic) model.
Publication metrics
PlumX, opens in new tab
Captures
8
Citations
25
Access to documents
Related Event
Title
18th EACSL Annual Conference on Computer Science Logic
Event type
ConferenceDate
07/09/2009 - 11/09/2009Location
CoimbraPortugal
