“…The example norm 2 shows that this can be done without domains. Manna and Waldinger have studied a much more interesting nested recursive function, UNIFY, which performs unification [5]. They define a well-founded relation involving the structure of the expressions being unified and the number of distinct variables in those expressions.…”
Section: Discussionmentioning
confidence: 99%
“…In the If-If case it calls itself with a larger expression than it was given. One way of proving termination is to find a well-founded relation under which the argument 'goes down' in every recursive call [1,5]. Classically, a relation ≺ is well-founded if and only if it has no infinite descending chains • • • ≺ x 2 ≺ x 1 ≺ x 0 .…”
Boyer and Moore have discussed a recursive function that puts conditional expressions into normal form [1]. 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.1980 Math Classification: 68E10 (computer software correctness)
“…The example norm 2 shows that this can be done without domains. Manna and Waldinger have studied a much more interesting nested recursive function, UNIFY, which performs unification [5]. They define a well-founded relation involving the structure of the expressions being unified and the number of distinct variables in those expressions.…”
Section: Discussionmentioning
confidence: 99%
“…In the If-If case it calls itself with a larger expression than it was given. One way of proving termination is to find a well-founded relation under which the argument 'goes down' in every recursive call [1,5]. Classically, a relation ≺ is well-founded if and only if it has no infinite descending chains • • • ≺ x 2 ≺ x 1 ≺ x 0 .…”
Boyer and Moore have discussed a recursive function that puts conditional expressions into normal form [1]. 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.1980 Math Classification: 68E10 (computer software correctness)
“…They have played a key role in the Boyer/Moore Theorem Prover since its early days [4]. Manna and Waldinger's work on deductive program synthesis [12] illustrates the power of well-founded relations; they justify the termination of a unification algorithm using a relation that takes into account the size of a term and the number of free variables it contains.…”
Abstract.A theory of recursive definitions has been mechanized in Isabelle's Zermelo-Fraenkel (ZF) set theory. The objective is to support the formalization of particular recursive definitions for use in verification, semantics proofs and other computational reasoning.Inductively defined sets are expressed as least fixedpoints, applying the Knaster-Tarski Theorem over a suitable set. Recursive functions are defined by well-founded recursion and its derivatives, such as transfinite recursion. Recursive data structures are expressed by applying the Knaster-Tarski Theorem to a set, such as Vω, that is closed under Cartesian product and disjoint sum.Worked examples include the transitive closure of a relation, lists, variable-branching trees and mutually recursive trees and forests. The Schröder-Bernstein Theorem and the soundness of propositional logic are proved in Isabelle sessions.
“…Manna and Waldinger use w.f. induction on this relation for their l-expressions [12]. I was surprised to discover that w.f.…”
Section: The Less-than Ordering On the Natural Numbersmentioning
confidence: 99%
“…relations appears often, but sometimes in disguise. In deriving a unification algorithm, Manna and Waldinger [12] define the "unification ordering" ≺ un on pairs of expressions. Let vars(x ) denote the (finite) set of variables in an expression, and ≺ the (w.f.)…”
Section: Well-founded Relations In the Literaturementioning
Martin-Löf's Intuitionistic Theory of Types is becoming popular for formal reasoning about computer programs. To handle recursion schemes other than primitive recursion, a theory of well-founded relations is presented. Using primitive recursion over higher types, induction and recursion are formally derived for a large class of well-founded relations. Included are < on natural numbers, and relations formed by inverse images, addition, multiplication, and exponentiation of other relations. The constructions are given in full detail to allow their use in theorem provers for Type Theory, such as Nuprl. The theory is compared with work in the field of ordinal recursion over higher types.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.