pith. sign in

arxiv: 1701.04089 · v1 · pith:RDTK4WGDnew · submitted 2017-01-15 · 💻 cs.PL · cs.LO

Probabilistic Termination by Monadic Affine Sized Typing (Long Version)

classification 💻 cs.PL cs.LO
keywords programssizedtypeswithoutaffinealmostmonadicprobabilistic
0
0 comments X
read the original abstract

We introduce a system of monadic affine sized types, which substantially generalise usual sized types, and allows this way to capture probabilistic higher-order programs which terminate almost surely. Going beyond plain, strong normalisation without losing soundness turns out to be a hard task, which cannot be accomplished without a richer, quantitative notion of types, but also without imposing some affinity constraints. The proposed type system is powerful enough to type classic examples of probabilistically terminating programs such as random walks. The way typable programs are proved to be almost surely terminating is based on reducibility, but requires a substantial adaptation of the technique.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.