Relational cost analysis for functional-imperative programs
Relational cost analysis for functional-imperative programs
复制标题
功能命令式程序的关系成本分析
DOI:
10.1145/3341696
复制
发表时间:
2019
影响因子:
--
通讯作者:
Garg, Deepak
中科院分区:
文献类型:
--
作者:
Qu, Weihao;Gaboardi, Marco;Garg, Deepak
Relational cost analysis aims at formally establishing bounds on the difference in the evaluation costs of two programs. As a particular case, one can also use relational cost analysis to establish bounds on the difference in the evaluation cost of the same program on two different inputs. One way to perform relational cost analysis is to use a relational type-and-effect system that supports reasoning about relations between two executions of two programs.Building on this basic idea, we present a type-and-effect system, called ARel, for reasoning about the relative cost of array-manipulating, higher-order functional-imperative programs. The key ingredient of our approach is a new lightweight type refinement discipline that we use to track relations (differences) between two mutable arrays. This discipline combined with Hoare-style triples built into the types allows us to express and establish precise relative costs of several interesting programs which imperatively update their data. We have implemented ARel using ideas from bidirectional type checking.
登录
查看更多内容
DOI:
--
发表时间:
2016
期刊:
ACM SIGPLAN International Conference on Functional Programming
影响因子:
--
作者:
Ezgi Çiçek;Zoe Paraskevopoulou;D. Garg
通讯作者:
D. Garg
影响因子:
--
作者:
Benton, Nick;Hofmann, Martin;Nigam, Vivek
通讯作者:
Nigam, Vivek
DOI:
10.2168/lmcs-8(4:11)2012
发表时间:
2011
期刊:
2011 IEEE 26th Annual Symposium on Logic in Computer Science
影响因子:
--
作者:
Ugo Dal Lago;Marco Gaboardi
通讯作者:
Marco Gaboardi
DOI:
--
发表时间:
2017
期刊:
ACM-SIGACT Symposium on Principles of Programming Languages
影响因子:
--
作者:
Ezgi Çiçek;G. Barthe;Marco Gaboardi;Deepak Garg;Jan Hoffmann
通讯作者:
Jan Hoffmann
DOI:
10.1145/3314221.3314603
发表时间:
2019
期刊:
Programming Language Design and Implementation (PLDI
影响因子:
--
作者:
Çiçek, Ezgi;Qu, Weihao;Barthe, Gilles;Gaboardi, Marco;Garg, Deepak
通讯作者:
Garg, Deepak