Skip to main content

Polynomial Interpretations as a Basis for Termination Analysis of Logic Programs

  • Conference paper
Logic Programming (ICLP 2005)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3668))

Included in the following conference series:

Abstract

This paper introduces a new technique for termination analysis of definite logic programs based on polynomial interpretations. The principle of this technique is to map each function and predicate symbol to a polynomial over some domain of natural numbers, like it has been done in proving termination of term rewriting systems. Such polynomial interpretations can be seen as a direct generalisation of the traditional techniques in termination analysis of LPs, where (semi-) linear norms and level mappings are used. Our extension generalises these to arbitrary polynomials. We extend a number of standard concepts and results on termination analysis to the context of polynomial interpretations. We propose a constraint based approach for automatically generating polynomial interpretations that satisfy termination conditions.

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. Apt, K.R.: Logic programming. In: Handbook of theoretical computer science: formal models and semantics, vol. B, pp. 493–574. MIT Press, Cambridge (1990)

    Google Scholar 

  2. Bossi, A., Cocco, N., Fabris, M.: Proving termination of logic programs by exploiting term properties. In: TAPSOFT, vol. 2, pp. 153–180 (1991)

    Google Scholar 

  3. Contejean, E., Marché, C., Tomás, A.P., Urbain, X.: Mechanically proving termination using polynomial interpretations. J. Auto. Reason. (2005)

    Google Scholar 

  4. De Schreye, D., Decorte, S.: Termination of logic programs: the never-ending story. J. Log. Program. 19-20, 199–260 (1994)

    Article  Google Scholar 

  5. De Schreye, D., Serebrenik, A.: Acceptability with general orderings. In: Computational Logic: Logic Programming and Beyond, pp. 187–210. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  6. Decorte, S., De Schreye, D., Vandecasteele, H.: Constraint based automatic termination analysis of logic programs. ACM Trans. Program. Lang. Syst 21(6), 1137–1195 (1999)

    Article  Google Scholar 

  7. Dershowitz, N.: Termination of rewriting. J. Symb. Comput. 3(1-2), 69–116 (1987)

    Article  MATH  MathSciNet  Google Scholar 

  8. Comon, H., Jouannaud, J.-P. (eds.): TCS School 1993. LNCS, vol. 909, pp. 16–26. Springer, Heidelberg (1995)

    MATH  Google Scholar 

  9. Falaschi, M., Levi, G., Martelli, M., Palamidessi, C.: Declarative modeling of the operational behaviour of logic languages. Theor. Comput. Sci. 63(3), 289–318 (1989)

    Article  MathSciNet  Google Scholar 

  10. Giesl, J.: Generating polynomial orderings for termination proofs. In: Hsiang, J. (ed.) RTA 1995. LNCS, vol. 914, pp. 426–431. Springer, Heidelberg (1995)

    Google Scholar 

  11. Janssen, G., Bruynooghe, M.: Deriving descriptions of possible values of program variables by means of abstract interpretation. J. Log. Program. 13(2,3), 205–258 (1992)

    Article  Google Scholar 

  12. Lankford, D.S.: On proving term rewriting systems are noetherian. Technical report, Mathematics Department, Louisiana Tech. University, Ruston, LA (1979)

    Google Scholar 

  13. Lloyd, J.W.: Foundations of Logic Programming. Springer, Berlin (1987)

    MATH  Google Scholar 

  14. Nguyen, M.T., De Schreye, D.: Polynomial interpretations as a basis for termination analysis of logic programs. Technical report, Department of Computer Science, K.U.Leuven, Belgium (2005)

    Google Scholar 

  15. Serebrenik, A.: Termination Analysis of Logic Programs. PhD thesis, Department of Computer Science, K.U.Leuven, Belgium (2003)

    Google Scholar 

  16. Steinbach, J.: Generating polynomial orderings. Inf. Process. Lett. 49(2), 85–93 (1994)

    Article  MATH  Google Scholar 

  17. Verschaetse, K., De Schreye, D.: Deriving termination proofs for logic programs, using abstract procedures. In: Proceedings 8th ICLP, pp. 301–315 (1991)

    Google Scholar 

  18. Zantema, H.: Termination. In: Terese, Term Rewriting Systems, ch. 6. Cambridge University Press, Cambridge (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Nguyen, M.T., De Schreye, D. (2005). Polynomial Interpretations as a Basis for Termination Analysis of Logic Programs. In: Gabbrielli, M., Gupta, G. (eds) Logic Programming. ICLP 2005. Lecture Notes in Computer Science, vol 3668. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11562931_24

Download citation

  • DOI: https://doi.org/10.1007/11562931_24

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-29208-1

  • Online ISBN: 978-3-540-31947-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics