Skip to main content
QUICK REVIEW

[Paper Review] Geometric Series as Nontermination Arguments for Linear Lasso Programs

Jan Leike, Matthias Heizmann|arXiv (Cornell University)|May 17, 2014
Auction Theory and ApplicationsDecision Sciences4 references4 citations
TL;DR

This paper introduces geometric nontermination arguments—a finite representation of infinite executions in linear lasso programs using geometric series—to prove nontermination. The method encodes the existence of such arguments as decidable nonlinear constraints over the reals, proving that every bounded infinite execution in a linear loop program admits a geometric nontermination argument, offering a simpler alternative to recurrence sets with fewer nonlinear terms and no quantifier alternation.

ABSTRACT

We present a new kind of nontermination argument for linear lasso programs, called geometric nontermination argument. A geometric nontermination argument is a finite representation of an infinite execution of the form $(\vec{x} + \sum_{i=0}^t λ^i \vec{y})_{t \geq 0}$. The existence of this nontermination argument can be stated as a set of nonlinear algebraic constraints. We show that every linear loop program that has a bounded infinite execution also has a geometric nontermination argument. Furthermore, we discuss nonterminating programs that do not have a geometric nontermination argument.

Motivation & Objective

  • To address the gap in complete nontermination analysis for broader classes of programs where termination is undecidable or incomplete methods fail.
  • To develop a new kind of nontermination argument that is simpler and more efficiently checkable than existing approaches like recurrence sets.
  • To prove that every linear loop program with a bounded infinite execution has a geometric nontermination argument.
  • To provide a decidable, constraint-based method for nontermination analysis that avoids safety checks and quantifier alternation.

Proposed method

  • A geometric nontermination argument is defined as a tuple $(\vec{x}_0, \vec{x}_1, \vec{y}, \lambda)$ representing an infinite execution of the form $\vec{x}_1 + \sum_{i=0}^{t} \lambda^i \vec{y}$ for $t \geq 0$.
  • The existence of such an argument is encoded as three quantifier-free nonlinear constraints: (init), (point), and (ray), which are decidable over the reals.
  • The (init) constraint ensures the initial state pair lies in the STEM relation; (point) ensures the first loop state and its successor lie in the LOOP relation.
  • The (ray) constraint ensures the direction vector $\vec{y}$ and scaling factor $\lambda$ preserve the loop invariant under repeated application.
  • The method uses SMT solvers for nonlinear real arithmetic to check satisfiability of the constraints, yielding a nontermination proof if satisfied.
  • For integer-valued programs, the method fixes $\lambda$ to a finite set of values to reduce constraints to linear arithmetic, trading completeness for efficiency.

Experimental results

Research questions

  • RQ1Can bounded infinite executions in linear lasso programs be represented via a finite geometric series structure to serve as nontermination arguments?
  • RQ2Does the existence of a geometric nontermination argument imply the existence of an actual infinite execution in the program?
  • RQ3How does this approach compare in expressiveness and efficiency to recurrence sets and other nontermination arguments?
  • RQ4Can the constraints for geometric nontermination arguments be solved efficiently, especially over the reals?
  • RQ5What are the limitations of this method in terms of completeness, particularly for programs over integers?

Key findings

  • Every linear loop program with a bounded infinite execution has a geometric nontermination argument, establishing completeness for this class.
  • The constraints for geometric nontermination arguments are decidable over the reals and contain only a small number of nonlinear terms, unlike recurrence sets with quantifier alternation.
  • Geometric nontermination arguments can be efficiently checked using SMT solvers for nonlinear real arithmetic, avoiding the need for separate safety checks.
  • The method is more efficient than recurrence set-based approaches due to simpler constraint structure and absence of quantifier alternation.
  • For integer programs, fixing $\lambda$ to a finite set of values yields linear constraints, enabling efficient solving at the cost of completeness.
  • A recurrence set can always be derived from a geometric nontermination argument, showing that geometric arguments are a special, more constrained form of recurrence set.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.