Cargando…

Automated Termination Analysis of Polynomial Probabilistic Programs

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...

Descripción completa

Detalles Bibliográficos
Autores principales: Moosbrugger, Marcel, Bartocci, Ezio, Katoen, Joost-Pieter, Kovács, Laura
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984538/
http://dx.doi.org/10.1007/978-3-030-72019-3_18
_version_ 1783668086204792832
author Moosbrugger, Marcel
Bartocci, Ezio
Katoen, Joost-Pieter
Kovács, Laura
author_facet Moosbrugger, Marcel
Bartocci, Ezio
Katoen, Joost-Pieter
Kovács, Laura
author_sort Moosbrugger, Marcel
collection PubMed
description 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.
format Online
Article
Text
id pubmed-7984538
institution National Center for Biotechnology Information
language English
publishDate 2021
record_format MEDLINE/PubMed
spelling pubmed-79845382021-03-23 Automated Termination Analysis of Polynomial Probabilistic Programs Moosbrugger, Marcel Bartocci, Ezio Katoen, Joost-Pieter Kovács, Laura Programming Languages and Systems Article 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. 2021-03-23 /pmc/articles/PMC7984538/ http://dx.doi.org/10.1007/978-3-030-72019-3_18 Text en © The Author(s) 2021 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
spellingShingle Article
Moosbrugger, Marcel
Bartocci, Ezio
Katoen, Joost-Pieter
Kovács, Laura
Automated Termination Analysis of Polynomial Probabilistic Programs
title Automated Termination Analysis of Polynomial Probabilistic Programs
title_full Automated Termination Analysis of Polynomial Probabilistic Programs
title_fullStr Automated Termination Analysis of Polynomial Probabilistic Programs
title_full_unstemmed Automated Termination Analysis of Polynomial Probabilistic Programs
title_short Automated Termination Analysis of Polynomial Probabilistic Programs
title_sort automated termination analysis of polynomial probabilistic programs
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984538/
http://dx.doi.org/10.1007/978-3-030-72019-3_18
work_keys_str_mv AT moosbruggermarcel automatedterminationanalysisofpolynomialprobabilisticprograms
AT bartocciezio automatedterminationanalysisofpolynomialprobabilisticprograms
AT katoenjoostpieter automatedterminationanalysisofpolynomialprobabilisticprograms
AT kovacslaura automatedterminationanalysisofpolynomialprobabilisticprograms