Parametric Polymorphism and Operational Improvement

被引:0
作者
Hackett, Jennifer [1 ]
Hutton, Graham [1 ]
机构
[1] Univ Nottingham, Sch Comp Sci, Jubilee Campus,Wollaton Rd, Nottingham NG8 1BB, England
来源
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL | 2018年 / 2卷
基金
英国工程与自然科学研究理事会;
关键词
parametricity; improvement theory;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Parametricity, in both operational and denotational forms, has long been a useful tool for reasoning about program correctness. However, there is as yet no comparable technique for reasoning about program improvement, that is, when one program uses fewer resources than another. Existing theories of parametricity cannot be used to address this problem as they are agnostic with regard to resource usage. This article addresses this problem by presenting a new operational theory of parametricity that is sensitive to time costs, which can be used to reason about time improvement properties. We demonstrate the applicability of our theory by showing how it can be used to prove that a number of well-known program fusion techniques are time improvements, including fixed point fusion, map fusion and short cut fusion.
引用
收藏
页数:24
相关论文
共 29 条
[1]  
BOHME S, 2007, THESIS TU DRESDEN
[2]   Formally Proving a Compiler Transformation Safe [J].
Breitner, Joachim .
ACM SIGPLAN NOTICES, 2015, 50 (12) :35-46
[3]   Realizability models for a linear dependent PCF [J].
Brunel, Alois ;
Gaboardi, Marco .
THEORETICAL COMPUTER SCIENCE, 2015, 585 :55-70
[4]   Quantitative classical realizability [J].
Brunel, Alois .
INFORMATION AND COMPUTATION, 2015, 241 :62-95
[5]  
Gill A., 1993, P C FUNCT PROGR LANG, P223, DOI [10.1145/165180.165214, DOI 10.1145/165180.165214]
[6]   Possibilities and limitations of call-by-need space improvement [J].
Gustavsson, J ;
Sands, D .
ACM SIGPLAN NOTICES, 2001, 36 (10) :265-276
[7]  
Gustavsson Jorgen, 1999, ELECT NOTES THEORETI, V26
[8]   Programs for Cheap! [J].
Hackett, Jennifer ;
Hutton, Graham .
2015 30TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2015, :115-126
[9]   Worker/Wrapper/Makes it/Faster [J].
Hackett, Jennifer ;
Hutton, Graham .
ICFP'14: PROCEEDINGS OF THE 2014 ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2014, :95-107
[10]  
Hackett Jennifer, 2018, GENERIC FDN PR UNPUB