Lune

CAV2025Top-tier venue

On the Almost-Sure Termination of Probabilistic Counter Programs

Sergei Novozhilov, Mingqi Yang, Mingshuai Chen, Zhiyang Li, Jianwei Yin

Abstract

Abstract This paper introduces k -d PCPs – the class of probabilistic counter programs with k∈Nk \in \mathbb {N} k ∈ N counter variables inducing possibly infinite-state Markov chains. We show that the universal (positive) almost-sure termination problem is undecidable for k -d PCPs in general, yet decidable for 1-d PCPs. We present an efficient decision procedure for the latter leveraging the technique of Markov chain finitization . Moreover, we identify several classes of k -d PCPs that are reducible to 1-d PCPs – thus their termination properties can be inferred automatically. Experiments demonstrate that our decision procedure can certify (positive) almost-sure termination – without resorting to invariants or supermartingales – of non-trivial probabilistic programs beyond the scope of existing tools.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Positive Almost-Sure Termination: Complexity and Proof Rules cites Sound and Complete Certificates for Quantitative Termination Analysis of Probabilistic Programs
  • Lower Bounds for Possibly Divergent Probabilistic Programs cites Sound and Complete Certificates for Quantitative Termination Analysis of Probabilistic Programs
  • Sound and Complete Proof Rules for Probabilistic Termination cites Sound and Complete Certificates for Quantitative Termination Analysis of Probabilistic Programs
  • Sound and Complete Proof Rules for Probabilistic Termination cites Positive Almost-Sure Termination: Complexity and Proof Rules
  • Sound and Complete Proof Rules for Probabilistic Termination cites Lower Bounds for Possibly Divergent Probabilistic Programs
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on5

  1. Scaling exact inference for discrete probabilistic programsSteven Holtzen, Guy Van den Broeck, Todd D. MillsteinOOPSLA 2020 · 85 citations
  2. Sound and Complete Certificates for Quantitative Termination Analysis of Probabilistic ProgramsKrishnendu Chatterjee, Amir Kafshdar Goharshady, Tobias Meggendorfer, Dorde ZikelicCAV 2022 · 30 citations
  3. Sound and Complete Proof Rules for Probabilistic TerminationRupak Majumdar, V. R. SathiyanarayanaPOPL 2025 · 16 citations
  4. Lower Bounds for Possibly Divergent Probabilistic ProgramsShenghua Feng, Mingshuai Chen, Han Su, Benjamin Lucien Kaminski et al.OOPSLA 2023 · 14 citations
  5. Positive Almost-Sure Termination: Complexity and Proof RulesRupak Majumdar, V. R. SathiyanarayanaPOPL 2024 · 12 citations

Related papers

  1. Proving almost-sure termination by omega-regular decompositionJianhui Chen, Fei HePLDI 2020 · 19 citations
  2. On Lexicographic Proof Rules for Probabilistic TerminationKrishnendu Chatterjee, Ehsan Kafshdar Goharshady, Petr Novotný, Jiri Zárevúcky et al.FM 2021 · 11 citations
  3. Does a Program Yield the Right Distribution? - Verifying Probabilistic Programs via Generating FunctionsMingshuai Chen, Joost-Pieter Katoen, Lutz Klinkenberg, Tobias WinklerCAV 2022 · 14 citations
  4. Learning Probabilistic Termination ProofsAlessandro Abate, Mirco Giacobbe, Diptarko RoyCAV 2021 · 26 citations
  5. On Higher-Order Probabilistic Verification via the Weighted Relational Model of Linear LogicUgo Dal Lago, Guido Fiorillo, Paolo PistoneLICS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines