Proceedings

Equality for Prolog

Download BibTeX Cite

Proceedings of the Eighth International Joint Conference on Artificial Intelligence. Logic Programming. Pages 514-518.

© 1983 International Joint Conferences on Artificial Intelligence

Abstract

The language Prolog has been extended by allowing the in. elusion of asse rtions about equality. When a unification of two terms that do not unify syntactically is attempted, an equality theorem may be used to prove the two terms equal. If it is possible to prove that the two terms are equal the unification succeeds with the variable bindings introduced by the equality proof. It is shown that this mechanism significantly improves the power of Prolog . Sophisticated da ta abstraction with all the advantages of object-oriented programming is available. T ec hniques for passing partially in sta ntiat ed data are described that extends the "multiuse" capabilities of the language, improve the efficiency of some programs, and allow the implementation of arithmetic relations that are both general and efficient. The modifications to sta ndard Prolog are simple and straightforward and in addition the computational overhead for the extra linguistic power is not significant. Equality theorems will probably play an important role in future logic programming systems.

  1. Bibliograp~ Attardi G., M. Simi, Consistency and Completeness of Olv!EGA, a Logic for Knowledge Representation, Sev- enth International Joint Conference on Artificial Intellgence, Vancouver, August 1981.
  2. Borning, A., Thinglab-A Constraint-Oriented Simu- lation Laboratory, Xerox PARC report SSL-79-3, July 1979.
  3. Chang, C., R. Lee, Symbolic Logic and Mechanical Theo- rem Proving, Academic Press, 1973.
  4. Clark, K., IC-Prolog Language Features, in Clark & Tarn- lund, Logic Programming, Academic Press, 1982. In galls The Smalltalk-76 Programming System: Design and Implementation, Fifth Annual ACM Symposium on W. Kornfeld 519 Principles ol' Programming Languages, Tucson Ari'l.ona, Jan- uary 1978.
  5. Kahn, K., Unique Featur es of LM-Prol og, unpublished manuscript.
  6. Nakashima, H. Prolog K / R language f eature, First Inter- national Logic Programming Conference, Marseille, Sep- tember, 1982 .
  7. Siekmann, J., P . Szabo, Universal Unification and a Class- ification of Equational Th eo ri es, 6th Conference on Auto- mated Deduction, New York, June 1982.
  8. Sussman, G., T. Winograd, E. Charniak, Micro-Planner Reference Ma~ual, MIT Artificial In te lligence Laboratory memo 203, 1970.
  9. Sussman, G., G . Steele, Constraints MIT Artificial Intelli- gence Laboratory memo 502, November, 1978.
  10. Warren, D., Implementing Prolog-Compilin g Predicate Logic Programs, University of Edinburgh Department of Artificial Intellige nce R eport No. 39.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards