TL;DR
This paper introduces a new semantics and proof system for analyzing the termination probability of higher-order probabilistic programs with continuous distributions, enabling more precise and broader termination analysis.
Contribution
It presents a novel trace-based semantics for probabilistic programs, proves the complexity of almost-sure termination, and develops a compositional type system and proof method for non-affine recursive programs.
Findings
Deciding almost-sure termination is $ ext{Pi}^0_2$-complete.
The semantics can compute arbitrarily tight lower bounds on termination probability.
Prototype tools for lower bounds and termination verification have been implemented.
Abstract
We study termination of higher-order probabilistic functional programs with recursion, stochastic conditioning and sampling from continuous distributions. Reasoning about the termination probability of programs with continuous distributions is hard, because the enumeration of terminating executions cannot provide any non-trivial bounds. We present a new operational semantics based on traces of intervals, which is sound and complete with respect to the standard sampling-based semantics, in which (countable) enumeration can provide arbitrarily tight lower bounds. Consequently we obtain the first proof that deciding almost-sure termination (AST) for programs with continuous distributions is -complete. We also provide a compositional representation of our semantics in terms of an intersection type system. In the second part, we present a method of proving AST for non-affine…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
