Blaming the client: on data refinement in the presence of pointers
Blaming the client: on data refinement in the presence of pointers
复制标题
归咎于客户端:在存在指针的情况下对数据进行细化
DOI:
10.1007/s00165-009-0125-8
复制
发表时间:
2010
影响因子:
1
通讯作者:
Filipovic I
中科院分区:
文献类型:
--
作者:
Filipovic I
Data refinement is a common approach to reasoning about programs, based on establishing that a concrete program indeed satisfies all the required properties imposed by an intended abstract pattern. Reasoning about programs in this setting becomes complex when use of pointers is assumed and, moreover, a well-known method for proving data refinement, namely the forward simulation method, becomes unsound in presence of pointers. The reason for unsoundness is the failure of the “lifting theorem” for simulations: that a simulation between abstract and concrete modules can be lifted to all client programs. The result is that simulation does not imply that a concrete can replace an abstract module in all contexts. Our diagnosis of this problem is that unsoundness is due to interference from the client programs. Rather than blame a module for the unsoundness of lifting simulations, our analysis places the blame on the client programs which cause the interference: when interference is not present, soundness is recovered. Technically, we present a novel instrumented semantics which is capable of detecting interference between a module and its client. With use of special simulation relations, namely growing relations, and interpreting the simulation method using the instrumented semantics, we obtain a lifting theorem. We then show situations under which simulation does indeed imply refinement.
登录
查看更多内容
影响因子:
1.1
作者:
Paul H. B. Gardiner;Carroll Morgan
通讯作者:
Carroll Morgan
DOI:
10.1145/964001.964024
发表时间:
2004-01
期刊:
Proceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages
影响因子:
--
作者:
P. O'Hearn;Hongseok Yang;J. C. Reynolds
通讯作者:
P. O'Hearn;Hongseok Yang;J. C. Reynolds
DOI:
10.1007/978-3-540-30538-5_35
发表时间:
2004
期刊:
ArXiv
影响因子:
--
作者:
Ivana Mijajlovic;Noah Torp;P. O'Hearn
通讯作者:
P. O'Hearn
影响因子:
--
作者:
A. Banerjee;D. Naumann
通讯作者:
D. Naumann
DOI:
10.1093/comjnl/20.2.151
发表时间:
1977
期刊:
Comput. J.
影响因子:
--
作者:
J. Schwarz
通讯作者:
J. Schwarz