2014 · 124 citations · 17 references
ComputingComputer ScienceMathematicsFormal MethodsProbability TheoryStochastic ProcessesDeductive VerificationRandomized AlgorithmsRandomized ComputationTermination AnalysisType CheckingType SystemsAutomated Termination ProvingCompositional ReasoningLexicographic Ranking FunctionsProbabilistic ProgrammingProbabilistic Proof SystemsRanking FunctionsTermination Proofs
We propose a framework to prove almost sure termination for probabilistic programs with real valued variables. It is based on ranking supermartingales, a notion analogous to ranking functions on non-probabilistic programs. The framework is proven sound and complete for a meaningful class of programs involving randomization and bounded nondeterminism. We complement this foundational insigh by a practical proof methodology, based on sound conditions that enable compositional reasoning and are amenable to a direct implementation using modern theorem provers. This is integrated in a small dependent type system, to overcome the problem that lexicographic ranking functions fail when combined with randomization. Among others, this compositional methodology enables the verification of probabilistic programs outside the complete class that admits ranking supermartingales.
17
Choice Reviews Online · 1992 · 1.5K citations
Semantics of probabilistic programs
Dexter Kozen · Journal of Computer and System Sciences · 1981 · 507 citations
The size-change principle for program termination
Chin Soon Lee, Neil D. Jones, Amir M. Ben-Amram · 2001 · 379 citations · Full text
Andrew D. Gordon, Thomas A. Henzinger, Aditya V. Nori et al. · 2014 · 361 citations · Full text