Skip to main content

Logic program semantics for programming with equations

  • Session 3b: Theory And Semantics
  • Conference paper
  • First Online:
Third International Conference on Logic Programming (ICLP 1986)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 225))

Included in the following conference series:

Abstract

We consider logic programming-like systems which are based on solving equations in a given structure as opposed to obtaining unifiers. While such systems are elegant from an operational point of view, a logical interpretation of the programs is not always apparent. In this paper, we restrict ourselves to the class of structures ℜ satisfying the eliminable variable property: we can construct an explicit definition, in the form of one system of equations, of the set of solutions to any ℜ-solvable system of equations. Correspondingly, we consider only the class of equality theories E such that every E-unifiable system of equations has an E-mgu. We then state three properties which provide basic relationships between E and ℜ. We prove that their satisfaction establishes an equivalence between a program considered as an equation solving engine (with respect to a structure) and the program considered as a logic program (with respect to a corresponding equality theory). A logical basis for these programs is thus given.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

6. References

  1. K.L. Clark, "Negation as Failure", in Logic and Databases, H. Gallaire and J. Minker (Eds.), Plenum Press, New York, pp 293–322, 1978.

    Google Scholar 

  2. A. Colmerauer, "PROLOG II — Reference Manual and Theoretical Model", Internal Report, Groupe Intelligence Artificielle, Universite Aix-Marseille II, October 1982.

    Google Scholar 

  3. A. Colmerauer, "Equations and Inequations on Finite and Infinite Trees", Proc. 2nd. Int. Conf. on Fifth Generation Computer Systems, Tokyo, pp 85–99, November 1984.

    Google Scholar 

  4. J. Jaffar, J-L. Lassez and M.J. Maher, "A Logical Foundation for PROLOG II", Technical Report 44, Dept. of Computer Science, Monash University, December 1984. [Revised November 1985]

    Google Scholar 

  5. J. Jaffar, J-L. Lassez and M.J. Maher, "A Logic Programming Language Scheme", in Logic Programming: Relations, Functions and Equations, D. DeGroot and G. Lindstrom (Eds), Prentice-Hall, 1985.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Ehud Shapiro

Rights and permissions

Reprints and permissions

Copyright information

© 1986 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Jaffar, J., Stuckey, P.J. (1986). Logic program semantics for programming with equations. In: Shapiro, E. (eds) Third International Conference on Logic Programming. ICLP 1986. Lecture Notes in Computer Science, vol 225. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-16492-8_84

Download citation

  • DOI: https://doi.org/10.1007/3-540-16492-8_84

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-16492-0

  • Online ISBN: 978-3-540-39831-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics