Journal of the ACM · 1988 · 119 citations · 12 references
ComputingComputer ScienceFormal MethodsLogicTheory Of ComputationConstraint SatisfactionDeductive ReasoningDeductive SystemsLogic ProgrammingPredicate LogicTermination AnalysisPolynomial-time AlgorithmsProgram TerminationProgram Termination CriteriaRule-based SystemsTermination CriteriaTermination Of Logic ProgramsUniqueness ConditionsUniqueness Theorems
Top‑down (Prolog‑like) evaluation of logical rules must terminate, and fast termination tests are essential, especially for the widely satisfied uniqueness property. The study introduces the uniqueness property of logical rules to facilitate termination analysis. The NAIL! system processes rule fragments, selects optimal evaluation strategies, and for rules with the uniqueness property generates polynomial‑time inequalities whose satisfaction guarantees termination, providing a polynomial test.
Considered is the question of whether top-down (Prolog-like) evaluation of a set of logical rules can be guaranteed to terminate. The NAIL! system is designed to process programs consisting of logical rules and to select, for each fragment of the program, the best from among many possible strategies for its evaluation. In the context of such a system, it is essential that termination tests be fast. Thus, the “uniqueness” property of logical rules is introduced. This property is satisfied by many of the common examples of rules and is easily recognized. For rules with this property, a set of inequalities, whose satisfaction is sufficient for termination of the rules, can be generated in polynomial time. Then a polynomial test for satisfaction of constraints generated by this process is given.
12
Depth-First Search and Linear Graph Algorithms
Robert E. Tarjan · SIAM Journal on Computing · 1972 · 6K citations
The Semantics of Predicate Logic as a Programming Language
M. H. van Emden, Robert Kowalski · Journal of the ACM · 1976 · 1.5K citations · Full text
Humanities, Computer Science, Logic +16
Proving termination with multiset orderings
Nachum Dershowitz, Zohar Manna · Communications of the ACM · 1979 · 540 citations · Full text