Method for verifying the total correctness of a program with mutually recursive procedures
Abstract
A computer-implemented method, apparatus, and article of manufacture for verifying the total correctness of a computer program with mutually recursive procedures. A computer program is received into the computer as a series of source statements, wherein the source statements include annotations indicating the intended behavior of the source statements. The source statements are translated into an abstract syntax tree and a call graph of the program in the computer, wherein the call graph includes nodes representing procedures and directed arcs between the nodes representing procedure calls. The abstract syntax tree and call graph are analyzed for correctness by invoking a Verification Condition Generator in the computer to generate a set of verification conditions from the abstract syntax tree and call graph. The set of verification conditions are outputted as conditions to be proven to complete a proof of total correctness of the program. The set of verification conditions are verified in the computer and a theorem is outputted showing that the program is totally proven to be totally correct with respect to its specification based on the set of verification conditions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 113.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for verifying the total correctness of a computer program with mutually recursive procedures, the method comprising the steps of: (a) receiving the computer program into the computer as a series of source statements, wherein the source statements include annotations indicating intended behavior of the source statements; (b) translating the source statements into an abstract syntax tree and a call graph of the computer program in the computer, wherein the call graph includes nodes representing procedures in the computer program and directed arcs between the nodes
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 113 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (5)
- "A Mechanically Verified Verification Condition Generator", P. Homeier et al., The Computer Journal, vol. 38, No. 2, 1995, pp. 1-11.
- "A Pedagogical Verification Condition Generator", D. Gray, The Computer Journal, vol. 30, No. 3, Jun. 1987, pp. 239-248.
- "A Structure-directed Total Correctness Proof Rule for Recursive Procedure Calls", P. Pandya et al., The Computer Journal, vol. 29, No. 6, 1986, pp. 531-537.
- "Automated Verification Condition Generation using Intermittent Assertions", D. Smallberg, M.S. thesis, Department of Computer Science, University of California at Los Angeles, 1978.
- "Automatic Program Verification I: A Logical Basis and Its Implementation", Shigeru Igarashi et al., Acta Informatica 4, 1975, pp. 145-182.