首页 | 本学科首页   官方微博 | 高级检索  
     


Generating counterexamples for quantitative safety specifications in probabilistic B
Authors:Ukachukwu Ndukwu
Affiliation:Department of Computing, Macquarie University, NSW 2109 Sydney, Australia
Abstract:Probabilistic annotations generalise standard Hoare Logic 20] to quantitative properties of probabilistic programs. They can be used to express critical expected values over program variables that must be maintained during program execution. As for standard program development, probabilistic assertions can be checked mechanically relative to an appropriate program semantics. In the case that a mechanical prover is unable to complete such validity checks then a counterexample to show that the annotation is incorrect can provide useful diagnostic information. In this paper, we provide a definition of counterexamples as failure traces for probabilistic assertions within the context of the pB language 19], an extension of the standard B method 1] to cope with probabilistic programs. In addition, we propose algorithmic techniques to find counterexamples where they exist, and suggest a ranking mechanism to return ‘the most useful diagnostic information’ to the pB developer to aid the resolution of the problem.
Keywords:Probabilistic B  Expectations  Quantitative safety  Failures  Counterexamples
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号