Elimination of Ghost Variables in Program Logics
Elimination of Ghost Variables in Program Logics
复制标题
消除程序逻辑中的幽灵变量
DOI:
10.1007/978-3-540-78663-4_1
复制
发表时间:
2007
影响因子:
2.9
通讯作者:
M. Pavlova
中科院分区:
文献类型:
--
作者:
M. Hofmann;M. Pavlova
Ghost variables are assignable variables that appear in program annotations but do not correspond to physical entities. They are used to facilitate specification and verification, e.g., by using a ghost variable to count the number of iterations of a loop, and also to express extra-functional behaviours. In this paper we give a formal model of ghost variables and show how they can be eliminated from specifications and proofs in a compositional and automatic way. Thus, with the results of this paper ghost variables can be seen as a specification pattern rather than a primitive notion.