Reproduce “Probabilistic Simple Types for Almost-Sure Termination (Extended Version)” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ugo Dal Lago, Willem Heijltjes
The authors introduce a probabilistic type system for loops that records lower bounds on outcome probabilities and requires each iteration to have a fixed, nonzero chance of exiting. They prove that a closed term’s type lower-bounds its termination probability, so total probability one guarantees almost-sure termination. This does not ensure finite expected runtime for higher-order terms.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.