English

Runtime Analysis of Probabilistic Programs with Unbounded Recursion

Logic in Computer Science 2012-06-01 v2 Formal Languages and Automata Theory

Abstract

We study termination time and recurrence time in programs with unbounded recursion, which are either randomized or operate on some statistically quantified inputs. As the underlying formal model for such programs we use probabilistic pushdown automata (pPDA) which are equivalent to probabilistic recursive state machines. We obtain tail bounds for the distribution of termination time for pPDA. We also study the recurrence time for probabilistic recursive programs that are not supposed to terminate (such as system daemons, network servers, etc.). Typically, such programs react to certain requests generated by their environment, and hence operate in finite request-service cycles. We obtain bounds for the frequency of long request-service cycles.

Keywords

Cite

@article{arxiv.1007.1710,
  title  = {Runtime Analysis of Probabilistic Programs with Unbounded Recursion},
  author = {Tomas Brazdil and Stefan Kiefer and Antonin Kucera and Ivana Hutarova Varekova},
  journal= {arXiv preprint arXiv:1007.1710},
  year   = {2012}
}
R2 v1 2026-06-21T15:46:41.771Z