English

Ranking Templates for Linear Loops

Logic in Computer Science 2014-01-22 v1

Abstract

We present a new method for the constraint-based synthesis of termination arguments for linear loop programs based on linear ranking templates. Linear ranking templates are parametrized, well-founded relations such that an assignment to the parameters gives rise to a ranking function. This approach generalizes existing methods and enables us to use templates for many different ranking functions with affine-linear components. We discuss templates for multiphase, piecewise, and lexicographic ranking functions. Because these ranking templates require both strict and non-strict inequalities, we use Motzkin's Transposition Theorem instead of Farkas Lemma to transform the generated \exists\forall-constraint into an \exists-constraint.

Keywords

Cite

@article{arxiv.1401.5338,
  title  = {Ranking Templates for Linear Loops},
  author = {Jan Leike and Matthias Heizmann},
  journal= {arXiv preprint arXiv:1401.5338},
  year   = {2014}
}

Comments

TACAS 2014

R2 v1 2026-06-22T02:51:12.852Z