错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Probabilistic Loop Synthesis from Sequences of Moments

  • Miroslav Stankovič,
  • Ezio Bartocci

摘要

Probabilistic program synthesis consists in automatically creating programs generating random values adhering to specified distributions. We consider here the family of probabilistic programs with a potentially non-terminating loop and with linear updates drawing from iteration-independent univariate distributions. We develop an algorithm to synthesise a probabilistic loop given as property the closed-form expressions of the first three statistical moments in the number of loop iterations. Our approach supports random draws from Gaussian, discrete, or a combination of discrete and continuous distributions. We illustrate the effectiveness of our method through various examples.