Automated termination analysis of polynomial probabilistic programs

From MaRDI portal
Publication:2233477

DOI10.1007/978-3-030-72019-3_18zbMATH Open1473.68053arXiv2010.03444OpenAlexW3144365821WikidataQ124212480 ScholiaQ124212480MaRDI QIDQ2233477FDOQ2233477


Authors: Marcel Moosbrugger, Ezio Bartocci, Laura Kovács, Joost-Pieter Katoen Edit this on Wikidata


Publication date: 18 October 2021

Abstract: The termination behavior of probabilistic programs depends on the outcomes of random assignments. Almost sure termination (AST) is concerned with the question whether a program terminates with probability one on all possible inputs. Positive almost sure termination (PAST) focuses on termination in a finite expected number of steps. This paper presents a fully automated approach to the termination analysis of probabilistic while-programs whose guards and expressions are polynomial expressions. As proving (positive) AST is undecidable in general, existing proof rules typically provide sufficient conditions. These conditions mostly involve constraints on supermartingales. We consider four proof rules from the literature and extend these with generalizations of existing proof rules for (P)AST. We automate the resulting set of proof rules by effectively computing asymptotic bounds on polynomials over the program variables. These bounds are used to decide the sufficient conditions - including the constraints on supermartingales - of a proof rule. Our software tool Amber can thus check AST, PAST, as well as their negations for a large class of polynomial probabilistic programs, while carrying out the termination reasoning fully with polynomial witnesses. Experimental results show the merits of our generalized proof rules and demonstrate that Amber can handle probabilistic programs that are out of reach for other state-of-the-art tools.


Full work available at URL: https://arxiv.org/abs/2010.03444




Recommendations




Cites Work


Cited In (14)





This page was built for publication: Automated termination analysis of polynomial probabilistic programs

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2233477)