Disproving (Positive) Almost-Sure Termination of Probabilistic Term Rewriting via Random Walks
For researchers in probabilistic program analysis, this work provides the first automated method to disprove termination, addressing a previously unsolved problem.
The paper presents the first automated techniques to disprove (positive) almost-sure termination of probabilistic term rewrite systems by embedding random walks into computations. The techniques were implemented in the tool AProVE.
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.