Termination Assertions for Recursive Programs: Completeness and Axiomatic Definability
Name
MIT-LCS-TM-214.pdf
Size
12.59 MB
Format
Adobe PDF
Checksum (MD5)
2a940e30bf354775f6e8598b99d06c86
Author(s) •
Meyer, Albert R.
Mitchell, John C.
Date Issued
March 1982
Series/Report no.
MIT-LCS-TM-214
Abstract
The termination assertion pq means that whenever the formular p is true, there is an execution of the possibly nondeterministic program S which terminates in a state in qhich q is true. A recursive program S may declare and use local variables and nondeterministic recursive procedures with call-by-address and call-by--value parameters, in addition to accessing undeclared variables and global procedures. Assertions p and q about calls to global procedures are first order formulas extended to express hypotheses about the termination of calls to undeclared global procedures. A complete, effective axiom system with axioms corresponding to the syntax of the programming language is given for the termination assertinos valid over all interpretations. Termination assertions define the semantics of recursive programs in the following sense: if two programs have different input-output semantics, then there is a termination assertion that is valid for one program but not for the other. Thus the complete axiomatization of termination assertions constitutes an axiomatic definition of the semantics of recursive programs.
Persistent DSpace Link