CHATTERJEE, Krishnendu, Petr NOVOTNÝ a Djordje ŽIKELIĆ. Stochastic Invariants for Probabilistic Termination. In Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages (POPL). New York, NY, USA: ACM, 2017, s. 145-160. ISSN 0362-1340. Dostupné z: https://dx.doi.org/10.1145/3009837.3009873.
Další formáty:   BibTeX LaTeX RIS
Základní údaje
Originální název Stochastic Invariants for Probabilistic Termination
Autoři CHATTERJEE, Krishnendu, Petr NOVOTNÝ a Djordje ŽIKELIĆ.
Vydání New York, NY, USA, Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages (POPL), od s. 145-160, 16 s. 2017.
Nakladatel ACM
Další údaje
Originální jazyk angličtina
Typ výsledku Stať ve sborníku
Utajení není předmětem státního či obchodního tajemství
Impakt faktor Impact factor: 0.335 v roce 2016
ISSN 0362-1340
Doi http://dx.doi.org/10.1145/3009837.3009873
UT WoS 000408311200013
Klíčová slova anglicky Probabilistic Programs; Termination; Martingales; Concentration
Příznaky Mezinárodní význam, Recenzováno
Změnil Změnil: doc. RNDr. Petr Novotný, Ph.D., učo 172743. Změněno: 26. 9. 2019 09:34.
Anotace
Termination is one of the basic liveness properties, and we study the termination problem for probabilistic programs with real-valued variables. Previous works focused on the qualitative problem that asks whether an input program terminates with probability 1 (almost-sure termination). A powerful approach for this qualitative problem is the notion of ranking supermartingales with respect to a given set of invariants. The quantitative problem (probabilistic termination) asks for bounds on the termination probability, and this problem has not been addressed yet. A fundamental and conceptual drawback of the existing approaches to address probabilistic termination is that even though the supermartingales consider the probabilistic behaviour of the programs, the invariants are obtained completely ignoring the probabilistic aspect (i.e., the invariants are obtained considering all behaviours with no information about the probability). In this work we address the probabilistic termination problem for linear-arithmetic probabilistic programs with nondeterminism. We formally define the notion of stochastic invariants, which are constraints along with a probability bound that the constraints hold. We introduce a concept of repulsing supermartingales. First, we show that repulsing supermartingales can be used to obtain bounds on the probability of the stochastic invariants. Second, we show the effectiveness of repulsing supermartingales in the following three ways: (1) With a combination of ranking and repulsing supermartingales we can compute lower bounds on the probability of termination; (2) repulsing supermartingales provide witnesses for refutation of almost-sure termination; and (3) with a combination of ranking and repulsing supermartingales we can establish persistence properties of probabilistic programs. Along with our conceptual contributions, we establish the following computational results: First, the synthesis of a stochastic invariant which supports some ranking supermartingale and at the same time admits a repulsing supermartingale can be achieved via reduction to the existential first-order theory of reals, which generalizes existing results from the non-probabilistic setting. Second, given a program with "strict invariants" (e.g., obtained via abstract interpretation) and a stochastic invariant, we can check in polynomial time whether there exists a linear repulsing supermartingale w.r.t. the stochastic invariant (via reduction to LP). We also present experimental evaluation of our approach on academic examples.
VytisknoutZobrazeno: 1. 5. 2024 19:51