Skip to main content

Resolution for logic programming with universal quantifiers

  • Language Constructs
  • Conference paper
  • First Online:
Programming Languages: Implementations, Logics, and Programs (PLILP 1997)

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

  • 227 Accesses

Abstract

It is clearly desirable that logical specifications and the programs that implement them should be as close as possible. Such a claim is often made in support of the logic programming paradigm. However, SLD-resolution, the basic procedural semantics for logic programming, is only defined for programs whose statements are Horn clauses. Most research for extending the Horn clause framework has been concerned with allowing negative literals in the bodies of the statements where SLD-resolution is extended with negation-as-failure. However, one of the main components of first order logic not allowed in clauses is (explicit) quantification. This paper addresses this problem by showing how SLD-resolution can be extended to allow for universally quantified implication formulas as conjuncts in the body of the statements. It will be shown that this technique includes negation-as-failure as a degenerate case.

P.M. Hill and F. IbaƱez were supported by EPSRC grant GR/H/79862

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.

References

  1. K.R. Apt. Arrays, bounded quantification and iteration in logic and constraint programming. In Proc. of GULP-PRODE'95 Salerno, Italy, 1995.

    Google ScholarĀ 

  2. K.R. Apt and H.C. Doets. A new definition of SLDNF-resolution. Journal of Logic Programming, 18(2):177ā€“190, 1992.

    Google ScholarĀ 

  3. H. Arro, J. Barklund, and J. Bevemyr. Parallel bounded quantification-preliminary results. ACM SIGPLAN Notices, 28(5):117ā€“124, August 1993.

    Google ScholarĀ 

  4. J. Barklund. Bounded quantifications for iterations and concurrency in logic programming. New Generation Computing, 12(2), 1994.

    Google ScholarĀ 

  5. J. Barklund and J. Bevemyr. Prolog with arrays and bounded quantification. In Logic Programming and Automated Reasoning (LPAR'93). Springer-Verlag, 1993.

    Google ScholarĀ 

  6. J. Barklund and J. Bevemyr. Executing bounded quantifications on shared memory multiprocessors. PLILP, LNCS 714, pages 302ā€“317, 1993. Springer-Verlag.

    Google ScholarĀ 

  7. M. Carlsson and J. WidƩn. SICStus Prolog user's manual. Technical Report 6R88007C, Swedish Institute of Computer Science, 1991.

    Google ScholarĀ 

  8. K.L. Clark. Negation as failure. In H. Gallaire and J. Minker, editors, Logic and Data Bases, pages 293ā€“322. Plenum Press, 1978.

    Google ScholarĀ 

  9. P.M. Hill and J.W. Lloyd. The Gƶdel Programming Language. MIT Press, 1994.

    Google ScholarĀ 

  10. J.W. Lloyd and R.W. Topor. Making Prolog more expressive. Journal of Logic Programming, 1(3):225ā€“240, 1984.

    Google ScholarĀ 

  11. J.W. Lloyd. Foundations of Logic Programming. Springer-Verlag, 2nd ed., 1987.

    Google ScholarĀ 

  12. J.W. Lloyd and J.C. Shepherdson. Partial evaluation in logic programming. The Journal of Logic Programming, 11(3&4):217ā€“242, 1991.

    Google ScholarĀ 

  13. J.W. Lloyd. Programming in an integrated functional and logic language. Journal of Functional and Logic Programming, 1997. To appear.

    Google ScholarĀ 

  14. G. Nadathur. A proof procedure for the logic of hereditary harrop formulas. Journal of Automated Reasoning, 11:115ā€“145, 1993.

    Google ScholarĀ 

  15. T. Sato and H. Tamaki. First order compiler: A deterministic logic program synthesis algorithm. Journal of Symbolic Computation, 8:605ā€“627, 1988.

    Google ScholarĀ 

  16. R. D. Tennent. Semantics of Programming Languages. Prentice-Hall, 1991.

    Google ScholarĀ 

  17. A. Voronkov. Logic programming with bounded quantifiers. In A. Voronkov, editor, Logic Programming ā€” 2nd Russian Conf. on Logic Programming, pages 486ā€“514. Springer-Verlag, 1992.

    Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Hugh Glaser Pieter Hartel Herbert Kuchen

Rights and permissions

Reprints and permissions

Copyright information

Ā© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bowers, A.F., Hill, P.M., IbaƱez, F. (1997). Resolution for logic programming with universal quantifiers. In: Glaser, H., Hartel, P., Kuchen, H. (eds) Programming Languages: Implementations, Logics, and Programs. PLILP 1997. Lecture Notes in Computer Science, vol 1292. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0033837

Download citation

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

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-63398-3

  • Online ISBN: 978-3-540-69537-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics