Proving termination of normalization functions for conditional expressions (Q1101251)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Proving termination of normalization functions for conditional expressions |
scientific article |
Statements
Proving termination of normalization functions for conditional expressions (English)
0 references
1986
0 references
\textit{R. Boyer} and \textit{J. Moore} have discussed a function that puts conditional expressions into normal form [A computational logic (1979; Zbl 0448.68020)]. It is difficult to prove that this function terminates on all inputs. Three termination proofs are compared: (1) using a measure function, (2) in domain theory using LCF, (3) showing that its recursion relation, defined by the pattern of recursive calls, is well founded. The last two proofs are essentially the same though conducted in markedly different logical frameworks. An obviously total variant of the normalize function is presented as the ``computational meaning'' of those two proofs. A related function makes nested recursive calls. The three termination proofs become more complex: termination and correctness must be proved simultaneously. The recursion relation approach seems flexible enough to handle subtle termination proofs where previously domain theory seemed essential.
0 references
Boyer-Moore theorem prover
0 references
total correctness
0 references
longest common factor
0 references
LCF
0 references
recursion relation
0 references
termination proofs
0 references
domain theory
0 references