English

Disproving (Positive) Almost-Sure Termination of Probabilistic Term Rewriting via Random Walks

Logic in Computer Science 2026-05-29 v2

Abstract

In recent years, numerous techniques were developed to automatically prove termination of different kinds of probabilistic programs. However, there are only few automated methods to disprove their termination. In this paper, we present the first techniques to automatically disprove (positive) almost-sure termination of probabilistic term rewrite systems. Disproving termination of non-probabilistic systems requires finding a finite representation of an infinite computation, e.g., a loop of the rewrite system. We extend such qualitative techniques to probabilistic term rewriting, where a quantitative analysis is required. In addition to the existence of a loop, we have to count the number of such loops in order to embed suitable random walks into a computation, thereby disproving termination. To evaluate their power, we implemented all our techniques in the tool AProVE.

Keywords

Cite

@article{arxiv.2602.16522,
  title  = {Disproving (Positive) Almost-Sure Termination of Probabilistic Term Rewriting via Random Walks},
  author = {Jan-Christoph Kassing and Henri Nagel and Alexander Schlecht and Jürgen Giesl},
  journal= {arXiv preprint arXiv:2602.16522},
  year   = {2026}
}