The authors introduce a control-flow refinement (CFR) technique for probabilistic integer programs (PIPs) and show how it can be combined with automated complexity analysis.
Key highlights:
The authors first provide the necessary preliminaries on PIPs and their semantics. They then introduce the CFR algorithm for PIPs, which iteratively refines the control-flow by introducing new labeled locations based on the program's guards and updates. The soundness of this approach is proven in Theorem 4.
The authors also discuss the runtime complexity of their CFR algorithm and demonstrate its benefits through an experimental evaluation using the KoAT tool. The results show that CFR enables KoAT to infer tighter bounds on the expected runtime complexity of probabilistic programs compared to the original version of KoAT and other state-of-the-art tools.
Vers une autre langue
à partir du contenu source
arxiv.org
Questions plus approfondies