ON THE MECHANICAL DERIVATION OF LOOP INVARIANTS

被引:9
作者
CHADHA, R [1 ]
PLAISTED, DA [1 ]
机构
[1] UNIV N CAROLINA, DEPT COMP SCI, CHAPEL HILL, NC 27514 USA
关键词
D O I
10.1016/S0747-7171(06)80010-6
中图分类号
TP301 [理论、方法];
学科分类号
081202 [计算机软件与理论];
摘要
We describe an iterative algorithm for mechanically deriving loop invariants for the purpose of proving the partial correctness of programs. The algorithm is based on resolution and a novel unskolemization technique for deriving logical consequences of first-order formulas. Our method is complete in the sense that if a loop invariant exists for a loop in a given first-order language relative to a given finite set of first-order axioms, then the algorithm produces a loop invariant for that loop which can be used for proving the partial correctness of the program. Existing techniques in the literature are not complete. © 1993, Academic Press Limited. All rights reserved.
引用
收藏
页码:705 / 744
页数:40
相关论文
共 15 条
[2]
Cousot P., 1977, P 4 ACM SIGACT SIGPL, P238, DOI [DOI 10.1145/512950.512973, 10.1145/512950.512973]
[3]
COX PT, 1984, THEOR COMPUT SCI, V28, P239, DOI 10.1016/0304-3975(83)90022-1
[4]
Floyd R. W., 1967, P S APPL MATH, V19, P19
[5]
German S. M., 1975, IEEE Transactions on Software Engineering, VSE-1, P68, DOI 10.1109/TSE.1975.6312821
[6]
A MACHINE-ORIENTED LOGIC BASED ON RESOLUTION PRINCIPLE [J].
ROBINSON, JA .
JOURNAL OF THE ACM, 1965, 12 (01) :23-&
[7]
NEW INCOMPLETENESS RESULT FOR HOARES SYSTEM [J].
WAND, M .
JOURNAL OF THE ACM, 1978, 25 (01) :168-175
[8]
Wegbreit B., 1975, IEEE Transactions on Software Engineering, VSE-1, P270, DOI 10.1109/TSE.1975.6312852
[9]
[No title captured]
[10]
[No title captured]