Affiliation:
1. Università degli Studi di Bologna, Bologna, Italy
2. Università degli Studi di Torino, Torino, Italy
Abstract
Linearity is a multi-faceted and ubiquitous notion in the analysis and the development of programming language concepts. We study linearity in a denotational perspective by picking out programs that correspond to linear functions between coherence spaces.
We introduce a language, named
Sl
PCF
*
, that increases the higher-order expressivity of a linear core of PCF by means of new operators related to exception handling and parallel evaluation.
Sl
PCF
*
allows us to program all the finite elements of the model and, consequently, it entails a full abstraction result that makes the reasoning on the equivalence between programs simpler.
Denotational linearity provides also crucial information for the operational evaluation of programs. We formalize two evaluation machineries for the language. The first one is an abstract and concise operational semantics designed with the aim of explaining the new operators, and is based on an infinite-branching search of the evaluation space. The second one is more concrete and it prunes such a space, by exploiting the linear assumptions. This can also be regarded as a base for an implementation.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference32 articles.
1. Linearity, sharing and state: a fully abstract game semantics for idealized algol with active expressions;Abramsky S.;ENTCS,1996
2. Full Abstraction for PCF
3. The Power of Linear Functions
4. Gödel’s system T revisited
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Linearity: A Roadmap;Journal of Logic and Computation;2012-06-19
2. What is a model for a semantically linear -calculus?;Journal of Logic and Computation;2012-06-12