Weak optimality, and the meaning of sharing
-
Published:2013-11-12
Issue:9
Volume:48
Page:263-274
-
ISSN:0362-1340
-
Container-title:ACM SIGPLAN Notices
-
language:en
-
Short-container-title:SIGPLAN Not.
Affiliation:
1. Inria, Le Chesnay, France
Abstract
In this paper we investigate laziness and optimal evaluation strategies for functional programming languages. We consider the weak lambda-calculus as a basis of functional programming languages, and we adapt to this setting the concepts of optimal reductions that were defined for the full lambda-calculus. We prove that the usual implementation of call-by-need using sharing is optimal, that is, normalizing any lambda-term with call-by-need requires exactly the same number of reduction steps as the shortest reduction sequence in the weak lambda-calculus without sharing. Furthermore, we prove that optimal reduction sequences without sharing are not computable. Hence sharing is the only computable means to reach weak optimality.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference18 articles.
1. Thibaut
Balabonski
.
Axiomatic sharing-via-labelling
. In Ashish Tiwari editor RTA volume
15
of
LIPIcs pages
85
--
100
. Schloss Dagstuhl - Leibniz-Zentrum fuer
Informatik 2012
. Thibaut Balabonski. Axiomatic sharing-via-labelling. In Ashish Tiwari editor RTA volume 15 of LIPIcs pages 85--100. Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik 2012.
2. A unified approach to fully lazy sharing
3. Studies in Logic and the Foundations of Mathematics;Barendregt Hendrik Pieter,1984
4. Needed reduction and spine strategies for the lambda calculus
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Spirit of Node Replication;Lecture Notes in Computer Science;2021