On lexicographic proof rules for probabilistic termination
We consider the almost-sure (a.s.) termination problem for probabilistic programs, which are a stochastic extension of classical imperative programs. Lexicographic ranking functions provide a sound and practical approach for termination of non-probabilistic programs, and their extension to probabili...
Saved in:
Main Authors: | , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2025
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/9069 https://ink.library.smu.edu.sg/context/sis_research/article/10072/viewcontent/3585391.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-10072 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-100722024-08-01T15:25:02Z On lexicographic proof rules for probabilistic termination CHATTERJEE, Krishnendu GOHARSHADY, Ehsan Kafshdar NOVOTNÝ, Petr ZÁREVUCKÝ, Jiří ZIKELIC, Dorde We consider the almost-sure (a.s.) termination problem for probabilistic programs, which are a stochastic extension of classical imperative programs. Lexicographic ranking functions provide a sound and practical approach for termination of non-probabilistic programs, and their extension to probabilistic programs is achieved via lexicographic ranking supermartingales (LexRSMs). However, LexRSMs introduced in the previous work have a limitation that impedes their automation: all of their components have to be non-negative in all reachable states. This might result in a LexRSM not existing even for simple terminating programs. Our contributions are twofold. First, we introduce a generalization of LexRSMs that allows for some components to be negative. This standard feature of non-probabilistic termination proofs was hitherto not known to be sound in the probabilistic setting, as the soundness proof requires a careful analysis of the underlying stochastic process. Second, we present polynomial-time algorithms using our generalized LexRSMs for proving a.s. termination in broad classes of linear-arithmetic programs. 2025-06-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/9069 info:doi/10.1145/3585391 https://ink.library.smu.edu.sg/context/sis_research/article/10072/viewcontent/3585391.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Probabilistic programs termination martingales Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Probabilistic programs termination martingales Software Engineering |
spellingShingle |
Probabilistic programs termination martingales Software Engineering CHATTERJEE, Krishnendu GOHARSHADY, Ehsan Kafshdar NOVOTNÝ, Petr ZÁREVUCKÝ, Jiří ZIKELIC, Dorde On lexicographic proof rules for probabilistic termination |
description |
We consider the almost-sure (a.s.) termination problem for probabilistic programs, which are a stochastic extension of classical imperative programs. Lexicographic ranking functions provide a sound and practical approach for termination of non-probabilistic programs, and their extension to probabilistic programs is achieved via lexicographic ranking supermartingales (LexRSMs). However, LexRSMs introduced in the previous work have a limitation that impedes their automation: all of their components have to be non-negative in all reachable states. This might result in a LexRSM not existing even for simple terminating programs. Our contributions are twofold. First, we introduce a generalization of LexRSMs that allows for some components to be negative. This standard feature of non-probabilistic termination proofs was hitherto not known to be sound in the probabilistic setting, as the soundness proof requires a careful analysis of the underlying stochastic process. Second, we present polynomial-time algorithms using our generalized LexRSMs for proving a.s. termination in broad classes of linear-arithmetic programs. |
format |
text |
author |
CHATTERJEE, Krishnendu GOHARSHADY, Ehsan Kafshdar NOVOTNÝ, Petr ZÁREVUCKÝ, Jiří ZIKELIC, Dorde |
author_facet |
CHATTERJEE, Krishnendu GOHARSHADY, Ehsan Kafshdar NOVOTNÝ, Petr ZÁREVUCKÝ, Jiří ZIKELIC, Dorde |
author_sort |
CHATTERJEE, Krishnendu |
title |
On lexicographic proof rules for probabilistic termination |
title_short |
On lexicographic proof rules for probabilistic termination |
title_full |
On lexicographic proof rules for probabilistic termination |
title_fullStr |
On lexicographic proof rules for probabilistic termination |
title_full_unstemmed |
On lexicographic proof rules for probabilistic termination |
title_sort |
on lexicographic proof rules for probabilistic termination |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2025 |
url |
https://ink.library.smu.edu.sg/sis_research/9069 https://ink.library.smu.edu.sg/context/sis_research/article/10072/viewcontent/3585391.pdf |
_version_ |
1814047722938826752 |