Lune

CAV2021Top-tier venue

Reflections on Termination of Linear Loops

Shaowei Zhu, Zachary Kincaid

Abstract

This paper shows how techniques for linear dynamical systems can be used to reason about the behavior of general loops. We present two main results. First, we show that every loop that can be expressed as a transition formula in linear integer arithmetic has a best model as a deterministic affine transition system. Second, we show that for any linear dynamical system f with integer eigenvalues and any integer arithmetic formula G, there is a linear integer arithmetic formula that holds exactly for the states of f for which G is eventually invariant. Combining the two, we develop a monotone conditional termination analysis for general loops.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Solvable Polynomial Ideals: The Ideal Reflection for Program Analysis cites Termination analysis without the tears
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Solvable Polynomial Ideals: The Ideal Reflection for Program AnalysisJohn Cyphert, Zachary KincaidPOPL 2024 · 11 citations

Builds on1

  1. Termination analysis without the tearsShaowei Zhu, Zachary KincaidPLDI 2021 · 16 citations

Related papers

  1. Breaking the Mold: Nonlinear Ranking Function Synthesis Without TemplatesShaowei Zhu, Zachary KincaidCAV 2024 · 2 citations
  2. Monitoring Arithmetic Temporal Properties on Finite TracesPaolo Felli, Marco Montali, Fabio Patrizi, Sarah WinklerAAAI 2023 · 14 citations
  3. Simple Linear Loops: Algebraic Invariants and ApplicationsRida Ait El Manssour, George Kenison, Mahsa Shirmohammadi, Anton VaronkaPOPL 2025 · 2 citations
  4. Porous InvariantsEngel Lefaucheux, Joël Ouaknine, David Purser, James WorrellCAV 2021 · 6 citations
  5. Sound and Complete Certificates for Quantitative Termination Analysis of Probabilistic ProgramsKrishnendu Chatterjee, Amir Kafshdar Goharshady, Tobias Meggendorfer, Dorde ZikelicCAV 2022 · 30 citations
Dusk over the sea between two cliffs drawn in fine vertical lines