Skip to main content

A Complete Selection Function for Lazy Conditional Narrowing

  • Conference paper
  • First Online:
Functional and Logic Programming (FLOPS 2001)

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

Included in the following conference series:

  • 211 Accesses

Abstract

This paper is concerned with the lazy conditional narrowing calculus LCNC. In an earlier paper we proved that this calculus is complete with respect to normalizable solutions for the class of confluent but not necessarily terminating conditional rewrite systems without so-called extra variables in the conditional parts of the rewrite rules. Unfortunately, the proof does not provide any useful complete selection function, hence in implementations we need to backtrack over the choice of equations in goals in order to guarantee that all solutions are enumerated. This is in contrast to the unconditional case where completeness with respect to the leftmost selection function is known. In this paper we close the gap by proving the completeness of lcnc with respect to the leftmost selection strategy for the above-mentioned class of conditional rewrite systems.

Acknowledgements

Taro Suzuki is partially supported by the Grant-in-Aid for Encouragement of Young Scientist 11780204. Aart Middeldorp is partially supported by the Grantin-Aids for Scientific Research B 12480066 and C(2) 11680338 of the Ministry of Education, Science, Sports and Culture of Japan.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. S. Antoy, R. Echahed, and M. Hanus. A needed narrowing strategy. Journal of the ACM, 47(4):776–822, 2000.

    Article  MathSciNet  Google Scholar 

  2. F. Baader and Nipkow. T. Term Rewriting and All That. Cambridge University Press, 1998.

    Google Scholar 

  3. A. Bockmayr. Beiträge zur Theorie des Logisch-Funktionalen Programmierens. PhD thesis, Universität Karlsruhe, 1990. In German.

    Google Scholar 

  4. N. Dershowitz and J.-P. Jouannaud. Rewrite systems. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume B, pages 243–320. North-Holland, 1990.

    Google Scholar 

  5. M. Fay. First-order unification in equational theories. In Proceedings of the 4th Conference on Automated Deduction, pages 161–167, 1979.

    Google Scholar 

  6. J. Gallier and W. Snyder. Complete sets of transformations for general E-unification. Theoretical Computer Science, 67:203–260, 1989.

    Article  MathSciNet  Google Scholar 

  7. E. Giovannetti and C. Moiso.A completeness result for E-unification algorithms based on conditional narrowing. In Proceedings of the Workshop on Foundations of Logic and Functional Programming, volume 306 of LNCS, pages 157–167, 1986.

    Chapter  Google Scholar 

  8. J.C. González-Moreno, M.T. Hortalá-González, and M. Rodrìguez-Artalejo. A higer-order rewriting logic for functional logic programming. In Proceedings of the International Conference on Logic Programming, pages 153–167. The MIT Press, 1997.

    Google Scholar 

  9. M. Hamada. Strong completeness of a narrowing calculus for conditional rewrite systems with extra variables. In Proceedings of the 6th Australasian Theory Symposium, Electronic Notes in Theoretical Computer Science, volume 31. Elsevier Science Publishers, 2000.

    Google Scholar 

  10. M. Hamada and T. Ida. Deterministic and non-deterministic lazy conditional narrowing and their implementations. Transactions of Information Processing Society of Japan, 39(3):656–663, 1998.

    MathSciNet  Google Scholar 

  11. M. Hamada and A. Middeldorp. Strong completeness of a lazy conditional narrowing calculus. In Proceedings of the 2nd Fuji International Workshop on Functional and Logic Programming, pages 14–32, Shonan Village, 1997. World Scientific.

    Google Scholar 

  12. M. Hamada, A. Middeldorp, and T. Suzuki. Completeness results for a lazy conditional narrowing calculus. In Combinatorics, Computation and Logic: Proceedings of 2nd Discrete Mathematics and Theoretical Computer Science Conference and the 5th Australasian Theory Symposium, pages 217–231, Auckland, 1999. Springer-Verlag Singapore.

    Google Scholar 

  13. M. Hanus. The integration of functions into logic programming: From theory to practice. Journal of Logic Programming, 19 & 20:583–628, 1994.

    Article  MathSciNet  Google Scholar 

  14. M. Hanus. Lazy unification with simplification. In Proceedings of the 5th European Symposium on Programming, volume 788 of LNCS, pages 272–286, 1994.

    Google Scholar 

  15. S. Hölldobler. Foundations of Equational Logic Programming, volume 353 of LNAI. 1989.

    Google Scholar 

  16. J.-M. Hullot. Canonical forms and unification. In Proceedings of the 5th Conference on Automated Deduction, volume 87 of LNCS, pages 318–334, 1980.

    Google Scholar 

  17. S. Kaplan. Conditional rewrite rules. Theoretical Computer Science, 33:175–193, 1984.

    Article  MathSciNet  Google Scholar 

  18. J.W. Klop. Term rewriting systems. In S. Abramsky, t D. Gabbay, and T. Maibaum, editors, Handbook of Logic in Computer Science, volume 2, pages 1–116. Oxford University Press, 1992.

    Google Scholar 

  19. M. Marin, T. Ida, and T. Suzuki. On reducing the search space of higer-order lazy narrowing. In Proceedings of the 4th Fuji International Symposium on Functional and Logic Programming, volume 1722 of LNCS, pages 319–334, 1999.

    Chapter  Google Scholar 

  20. A. Martelli, C. Moiso, and G.F. Rossi. Lazy unification algorithms for canonical rewrite systems. In H. Aït-Kaci and M. Nivat, editors, Resolution of Equations in Algebraic Structures, Vol. II, Rewriting Techniques, pages 245–274. Academic Press Press, 1989.

    Google Scholar 

  21. A. Middeldorp and E. Hamoen. Completeness results for basic narrowing. Applicable Algebra in Engineering, Communication and Computing, 5:213–253, 1994.

    Article  MathSciNet  Google Scholar 

  22. A. Middeldorp and S. Okui. A deterministic lazy narrowing calculus. Journal of Symbolic Computation, 25(6):733–757, 1998.

    Article  MathSciNet  Google Scholar 

  23. A. Middeldorp, S. Okui, and T. Ida. Lazy narrowing: Strong completeness and eager variable elimination. Theoretical Computer Science, 167(1,2):95–130, 1996.

    Article  MathSciNet  Google Scholar 

  24. C. Prehofer. Solving Higher-Order Equations: From Logic to Programming. Progress in Theoretical Computer Science. Birkäuser, 1998.

    Google Scholar 

  25. W. Snyder. A Proof Theory for General Unification, volume 11 of Progress in Computer Science and Applied Logic. Birkäuser, 1991.

    Google Scholar 

  26. T. Suzuki, A. Middeldorp, and T. Ida. Level-confluence of conditional rewrite systems with extra variables in right-hand sides. In Proceedings of the 6th International Conference on Rewriting Techniques and Applications, volume 914 of Lecture Notes in Computer Science, pages 179–193, Kaiserslautern, 1995. Springer-Verlag.

    Chapter  Google Scholar 

  27. A. Werner. Untersuchung von Strategien für das logisch-funktionale Programmieren. Shaker-Verlag Aachen, March 1998.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Suzuki, T., Middeldorp, A. (2001). A Complete Selection Function for Lazy Conditional Narrowing. In: Kuchen, H., Ueda, K. (eds) Functional and Logic Programming. FLOPS 2001. Lecture Notes in Computer Science, vol 2024. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44716-4_13

Download citation

  • DOI: https://doi.org/10.1007/3-540-44716-4_13

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-41739-2

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics