کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
431204 1441258 2012 20 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Generating counterexamples for quantitative safety specifications in probabilistic B
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Generating counterexamples for quantitative safety specifications in probabilistic B
چکیده انگلیسی

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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: The Journal of Logic and Algebraic Programming - Volume 81, Issue 1, January 2012, Pages 26-45