PROVING TERMINATION WITH MULTI-SET ORDERINGS

被引:318
作者
DERSHOWITZ, N
MANNA, Z
机构
[1] STANFORD RES INST,DEPT COMP SCI,STANFORD,CA 94305
[2] WEIZMANN INST SCI,REHOVOT 76100,ISRAEL
关键词
bags; multisets; production systems; program correctness; program termination; program verification; reduction rules; term rewriting systems; tree replacement systems; well-founded orderings; well-founded sets;
D O I
10.1145/359138.359142
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A common tool for proving the termination of programs is the well-founded set, a set ordered in such a way as to admit no infinite descending sequences. The basic approach is to find a termination function that maps the values of the program variables into some well-founded set, such that the value of the termination function is repeatedly reduced throughout the computation. All too often, the termination functions required are difficult to find and are of a complexity out of proportion to the program under consideration. Multisets (bags) over a given well-founded set S are sets that admit multiple occurrences of elements taken from S. The given ordering on S induces an ordering on the finite multisets over S. This multiset ordering is shown to be well-founded. The multiset ordering enables the use of relatively simple and intuitive termination functions in otherwise difficult termination proofs. In particular, the multiset ordering is used to prove the termination of production systems, programs defined in terms of sets of rewriting rules. © 1979, ACM. All rights reserved.
引用
收藏
页码:465 / 476
页数:12
相关论文
共 13 条
  • [1] DIJKSTRA EW, 1976, EWD592 BURR CORP NOT
  • [2] Floyd Robert W., 1967, P S APPL MATH, V19, P19, DOI DOI 10.1090/PSAPM/019/0235771
  • [3] Gentzen G., 1969, COLLECTED PAPERS G G, P252
  • [4] Gorn Saul, 1965, SYSTEMS COMPUTER SCI, P77
  • [5] ITURRIAGA R, 1967, THESIS CARNEGIE MELL
  • [6] Katz S., 1975, Acta Informatica, V5, P333, DOI 10.1007/BF00264565
  • [7] KNUTH DE, 1969, COMPUTATIONAL PROBLE, P263
  • [8] LIPTON R, 1977, AUG P C THEOR COMP S, P43
  • [9] IS SOMETIME SOMETIMES BETTER THAN ALWAYS
    MANNA, Z
    WALDINGER, R
    [J]. COMMUNICATIONS OF THE ACM, 1978, 21 (02) : 159 - 172
  • [10] MANNA Z, 1970, 3RD P HAW INT C SYST, P789