Automatic Generation of Moment-Based Invariants for Prob-Solvable Loops

被引:33
作者
Bartocci, Ezio [1 ]
Kovacs, Laura [1 ,2 ]
Stankovic, Miroslav [1 ]
机构
[1] TU Wien, Vienna, Austria
[2] Chalmers, Gothenburg, Sweden
来源
AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2019) | 2019年 / 11781卷
基金
奥地利科学基金会;
关键词
D O I
10.1007/978-3-030-31784-3_15
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
One of the main challenges in the analysis of probabilistic programs is to compute invariant properties that summarise loop behaviours. Automation of invariant generation is still at its infancy and most of the times targets only expected values of the program variables, which is insufficient to recover the full probabilistic program behaviour. We present a method to automatically generate moment-based invariants of a subclass of probabilistic programs, called Prob-solvable loops, with polynomial assignments over random variables and parametrised distributions. We combine methods from symbolic summation and statistics to derive invariants as valid properties over higher-order moments, such as expected values or variances, of program variables. We successfully evaluated our work on several examples where full automation for computing higher-order moments and invariants over program variables was not yet possible.
引用
收藏
页码:255 / 276
页数:22
相关论文
共 29 条
[1]  
Baier C, 2008, PRINCIPLES OF MODEL CHECKING, P1
[2]   Synthesizing Probabilistic Invariants via Doob's Decomposition [J].
Barthe, Gilles ;
Espitau, Thomas ;
Ferrer Fioriti, Luis Maria ;
Hsu, Justin .
COMPUTER AIDED VERIFICATION, (CAV 2016), PT I, 2016, 9779 :43-61
[3]  
Batz Kevin, 2018, Programming Languages and Systems. 27th European Symposium on Programming, ESOP 2018, held as part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2018. Proceedings: LNCS 10801, P186, DOI 10.1007/978-3-319-89884-1_7
[4]   Uncertainty Propagation Using Probabilistic Affine Forms and Concentration of Measure Inequalities [J].
Bouissou, Olivier ;
Goubault, Eric ;
Putot, Sylvie ;
Chakarov, Aleksandar ;
Sankaranarayanan, Sriram .
TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS (TACAS 2016), 2016, 9636 :225-243
[5]   Expectation invariants for probabilistic program loops as fixed points [J].
Chakarov, Aleksandar ;
Sankaranarayanan, Sriram .
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8723 :85-100
[6]  
Chatterjee K., 2019, PLDI
[7]   Counterexample-Guided Polynomial Loop Invariant Generation by Lagrange Interpolation [J].
Chen, Yu-Fang ;
Hong, Chih-Duo ;
Wang, Bow-Yaw ;
Zhang, Lijun .
COMPUTER AIDED VERIFICATION, PT I, 2015, 9206 :658-674
[8]   A STORM is Coming: A Modern Probabilistic Model Checker [J].
Dehnert, Christian ;
Junges, Sebastian ;
Katoen, Joost-Pieter ;
Volk, Matthias .
COMPUTER AIDED VERIFICATION (CAV 2017), PT II, 2017, 10427 :592-600
[9]   Finding Polynomial Loop Invariants for Probabilistic Programs [J].
Feng, Yijun ;
Zhang, Lijun ;
Jansen, David N. ;
Zhan, Naijun ;
Xia, Bican .
AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2017), 2017, 10482 :400-416
[10]   Termination of Nondeterministic Probabilistic Programs [J].
Fu, Hongfei ;
Chatterjee, Krishnendu .
VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2019, 2019, 11388 :468-490