Skip to main content
Log in

Pattern-directed invocation with changing equations

  • Published:
Journal of Automated Reasoning Aims and scope Submit manuscript

Abstract

Pattern-directed invocation is a commonly used artifical-intelligence reasoning technique in which a procedure, called a demon, is automatically invoked whenever a term matching its pattern appears in a ground data base. For completeness, if the data base includes equations, a demon needs to be invoked not only when a term in the data base exactly matches its pattern, but also when some variant of a term in the data base matches. An incremental algorithm has been developed for invoking demons in this situation without generating all possible variants of terms in the data base. The algorithm is shown to be complete for a class of demons, called transparent demons, that obey a natural restriction between the pattern and the body of the demon. Completeness is maintained when new demons, terms, or equations are added to the data base in any order. Equations can also be retracted via a truth maintenance system. The algorithm has been implemented as part of a reasoning system called bread.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Abelson, H. and Sussman, G. J., Structure and Interpretation of Computer Programs, McGraw-Hill, New York, N.Y. (1985).

    Google Scholar 

  2. Doyle, J., ‘A truth maintenance system’. Artificial Intelligence 12, 231–273 (1979).

    Google Scholar 

  3. Fay, M., ‘First order unification in an equational theory’. In Proc. 4th Int. Conf. on Automated Deduction, pp. 161–167 (1979).

  4. Feldman, Y. A. and Rich, C., ‘Bread, Frappe, and Cake: The gourmet's guide to automated deduction’, In Proc. 5th Israeli Symp. on Artificial Intelligence, Vision, and Pattern Recognition, Tel Aviv, Israel (December 1988).

  5. Feldman, Y. A. and Rich, C., ‘Principles of knowledge representation and reasoning in the frappe system’, In Proc. 6th Israeli Symp. on Artificial Intelligence and Computer Vision, Tel Aviv, Israel (December 1989).

  6. Hullot, J.-M., ‘Canonical forms and unification’. In W. Bibel and R. Kowalski (Editors), Proc. 5th Int. Conf. on Automated Deduction, pp. 318–334. Springer-Verlag, New York, NY (July 1980). Lecture Notes in Computer Science Series, Vol. 87.

    Google Scholar 

  7. McAllester, D. A., ‘An outlook on truth maintenance’, Memorandum 551, MIT Artificial Intelligence Lab. (August 1980).

  8. McAllester, D. A., ‘The use of equality in deduction and knowledge representation’, Technical Report 550, MIT Artificial Intelligence Lab. (January 1980). Master's Thesis.

  9. McAllester, D. A., ‘Reasoning utility package user's manual’, Memorandum 667, MIT Artificial Intelligence Lab. (April 1982).

  10. Nelson, G. and Oppen, D. C., ‘Fast decision procedures based on congruence closure’, J. ACM 27(2), 356–364 (April 1980).

    Google Scholar 

  11. Rich, C., ‘The layuered architecture of a system for reasoning about programs’, In Proc. 9th Int. Joint Conf. Artificial Intelligence, pp. 540–546, Los Angeles, CA (1985).

  12. Rich, C. and Waters, R. C., The Programmer's Apprentice. Addison-Wesley, Reading, MA and ACM Press, Baltimore, MD (1990).

    Google Scholar 

  13. Robinson, J. A., ‘A machine-oriented logic based on the resolution principle’, J. ACM 12(1), 23–41 (1965).

    Google Scholar 

  14. Shapiro, S. C. (Editor), Encyclopedia of Artificial Intelligence, Vol. 2. John Wiley & Sons, New York, NY (1987).

    Google Scholar 

  15. Siekmann, J. H., ‘Unification theory’, J. Symbolic Computation 7(3, 4), 207–274 (1989).

    Google Scholar 

  16. Snyder, W. and Gallier, J. H., ‘Complete sets of transformations for general E-unification’, Theoretical Computer Science 67, 203–260 (1989).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Feldman, Y.A., Rich, C. Pattern-directed invocation with changing equations. J Autom Reasoning 7, 403–433 (1991). https://doi.org/10.1007/BF00249022

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00249022

Key words

Navigation