For representing high level knowledge, such as the mathematical knowledge used in interactive theorem provers and verificaton systems, it is desirable to extend Prolog's concept of data object. A basic reason is that Prolog data objects - Herbrand objects - are terms of a minimal object language, which does not include its own object variables, or quantification over thse variables. Qu-Prolog (Quantifier Prolog) is an extended logic programming concept which takes as its data objects, object terms which may include object level variables, free or bound, and arbitrary quantifiers to bind these variables. Qu-Prolog is unique in allowing its data objects to include free occurrences of object variables. This paper describes Qu-Prolog's data objects and its facilities for computing on those objects. The Qu-Prolog unification algorithm unifies Qu-Prolog terms up to changes of bound variables. The power of Qu-Prolog unification is greatly increased by the inclusion in the language of an evaluable substitution operator which correctly substitutes at unification time for free occurrences of object variables. Some related Qu-Prolog facilities for implementing theorem proving algorithms are described, including a new method for persisting data across queries. Qu-Prolog 3.0 is a compiled implementation which is in experiemntal use, supporting the development of interactive reasoning systems.
[1]
Peter M. D. Gray,et al.
Interfacing Prolog to a Persistent Data Store
,
1986,
ICLP.
[2]
Kenneth A. Bowen,et al.
A Meta-Level Extension of Prolog
,
1985,
SLP.
[3]
John Watkins,et al.
The combination of logic and objects for knowledge representation
,
1988
.
[4]
J. Lloyd.
Foundations of Logic Programming
,
1984,
Symbolic Computation.
[5]
John Staples,et al.
Qu-Prolog: An Extended Prolog for Meta Level Programming
,
1989,
META.
[6]
Francis G. McCabe,et al.
Logic and objects
,
1992,
Prentice Hall International Series in Computer Science.
[7]
Gopalan Nadathur,et al.
A Logic Programming Approach to Manipulating Formulas and Programs
,
1987,
SLP.