Skip to main content

Termination Analysis of Integer Linear Loops

  • Conference paper
CONCUR 2005 – Concurrency Theory (CONCUR 2005)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3653))

Included in the following conference series:

Abstract

Usually, ranking function synthesis and invariant generation over a loop with integer variables involves abstracting the loop to have real variables. Integer division and modulo arithmetic must be soundly abstracted away so that the analysis over the abstracted loop is sound for the original loop. Consequently, the analysis loses precision. In contrast, we introduce a technique for handling loops over integer variables directly. The resulting analysis is more precise than previous analyses.

This research was supported in part by NSF grants CCR-01-21403, CCR-02-20134, CCR-02-09237, CNS-0411363, and CCF-0430102, by ARO grant DAAD19-01-1-0723, and by NAVY/ONR contract N00014-03-1-0939. The first author was additionally supported by a Sang Samuel Wang Stanford Graduate Fellowship.

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. Bradley, A.R., Manna, Z., Sipma, H.B.: Linear ranking with reachability. In: CAV (2005) (to appear)

    Google Scholar 

  2. Colón, M., Sankaranarayanan, S., Sipma, H.: Linear invariant generation using non-linear constraint solving. In: CAV, pp. 420–433 (2003)

    Google Scholar 

  3. Colón, M., Sipma, H.: Synthesis of linear ranking functions. In: TACAS, pp. 67–81 (2001)

    Google Scholar 

  4. Colón, M., Sipma, H.: Practical methods for proving program termination. In: CAV, pp. 442–454 (2002)

    Google Scholar 

  5. Cooper, D.C.: Theorem proving in arithmetic without multiplication. Machine Intelligence 7, 91–100 (1972)

    MATH  Google Scholar 

  6. Cousot, P.: Proving program invariance and termination by parametric abstraction, lagrangian relaxation and semidefinite programming. In: VMCAI, pp. 1–24 (2005)

    Google Scholar 

  7. Cousot, P., Cousot, R.: Abstract Interpretation: A unified lattice model for static analysis of programs by construction or approximation of fixpoints. ACM Principles of Programming Languages, 238–252 (1977)

    Google Scholar 

  8. Cousot, P., Halbwachs, N.: Automatic discovery of linear restraints among the variables of a program. ACM Principles of Programming Languages, 84–97 (January 1978)

    Google Scholar 

  9. Sipma, H.B., Uribe, T.E., Manna, Z.: Deductive model checking. In: CAV, pp. 209–219 (1996)

    Google Scholar 

  10. Hennessy, J.L., Patterson, D.A.: Computer organization and design, 2nd edn. the hardware/software interface. Morgan Kaufmann Publishers Inc, San Francisco (1998)

    MATH  Google Scholar 

  11. Hentenryck, P.V., Michel, L., Benhamou, F.: Newton - constraint programming over nonlinear constraints. Sci. Comput. Program, 83–118 (1998)

    Google Scholar 

  12. Manna, Z., Browne, A., Sipma, H., Uribe, T.E.: Visual abstractions for temporal verification. Algebraic Methodology and Software Technology, 28–41 (1998)

    Google Scholar 

  13. Podelski, A., Rybalchenko, A.: A complete method for the synthesis of linear ranking functions. In: VMCAI (2004), pp. 239–251 (2004)

    Google Scholar 

  14. Podelski, A., Rybalchenko, A.: Transition invariants. In: LICS (2004), pp. 32–41 (2004)

    Google Scholar 

  15. Presburger, M.: Ueber die vollstaendigkeit eines gewissen systems der arithmetic ganzer zahlen, in welchem die addition als einzige operation hervortritt. Comptes Rendus du I congrs de Mathmaticiens des Pays Slaves, 92–101 (1929)

    Google Scholar 

  16. Pugh, W.: The Omega test: a fast and practical integer programming algorithm for dependence analysis. Communications of the ACM 35, 102–114 (1992)

    Article  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

Bradley, A.R., Manna, Z., Sipma, H.B. (2005). Termination Analysis of Integer Linear Loops. In: Abadi, M., de Alfaro, L. (eds) CONCUR 2005 – Concurrency Theory. CONCUR 2005. Lecture Notes in Computer Science, vol 3653. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11539452_37

Download citation

  • DOI: https://doi.org/10.1007/11539452_37

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28309-6

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics