Published on Fri Nov 05 2021

Model Checking Temporal Properties of Recursive Probabilistic Programs

See More ...

Probabilistic pushdown automata (pPDA) are a standard operational model for programming languages involving discrete random choices, procedures, and returns. Temporal properties are useful for gaining insight into the chronological order of events during program execution. Existing approaches in the literature have focused mostly on -regular and LTL properties. In this paper, we study the model checking problem of pPDA against -visibly pushdown languages that can be described by specification logics such as CaRet and are strictly more expressive than -regular properties. With these logical formulae, it is possible to specify properties that explicitly take the structured computations arising from procedural programs into account. For example, CaRet is able to match procedure calls with their corresponding future returns, and thus allows to express fundamental program properties like total and partial correctness.