SMT Solvers for Validation of B and Event-B Models

被引:16
作者
Krings, Sebastian [1 ]
Leuschel, Michael [1 ]
机构
[1] Univ Dusseldorf, Inst Informat, Univ Str 1, D-40225 Dusseldorf, Germany
来源
INTEGRATED FORMAL METHODS (IFM 2016) | 2016年 / 9681卷
关键词
B-Method; Event-B; SMT; Animation;
D O I
10.1007/978-3-319-33693-0_23
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present an integration of the constraint solving kernel of the ProB model checker with the SMT solver Z3. We apply the combined solver to B and Event-B predicates, featuring higher-order datatypes and constructs like set comprehensions. To do so we rely on the finite set logic of Z3 and provide a new translation from B to Z3, better suited for constraint solving. Predicates can then be solved by the two solvers working hand in hand: constraints are set up in both solvers simultaneously and (intermediate) results are transferred. We thus combine a constraint logic programming based solver with a DPLL(T) based solver into a single procedure. The improved constraint solver finds application in many validation tasks, from animation of implicit specifications, to test case generation, bounded and symbolic model checking on to disproving of proof obligations. We conclude with an empirical evaluation of our approach focusing on two dimensions: comparing low and high-level encodings of B as well as comparing pure ProB to ProB combined with Z3.
引用
收藏
页码:361 / 375
页数:15
相关论文
共 50 条
  • [41] A CSP Approach to Control in Event-B
    Schneider, Steve
    Treharne, Helen
    Wehrheim, Heike
    INTEGRATED FORMAL METHODS, 2010, 6396 : 260 - +
  • [42] Towards the Composition of Specifications in Event-B
    Silva, Renato
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2011, 280 : 81 - 93
  • [43] Automatic Flow Analysis for Event-B
    Bendisposto, Jens
    Leuschel, Michael
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, 2011, 6603 : 50 - 64
  • [44] BUILDING SPECIFICATIONS IN THE EVENT-B INSTITUTION
    Farrell, Marie
    Monahan, Rosemary
    Power, James F.
    LOGICAL METHODS IN COMPUTER SCIENCE, 2021, 18 (04) : 4:1 - 4:55
  • [45] The behavioural semantics of Event-B refinement
    Schneider, Steve
    Treharne, Helen
    Wehrheim, Heike
    FORMAL ASPECTS OF COMPUTING, 2014, 26 (02) : 251 - 280
  • [46] Utilizing Event-B for domain engineering: a critical analysis
    Mashkoor, Atif
    Jacquot, Jean-Pierre
    REQUIREMENTS ENGINEERING, 2011, 16 (03) : 191 - 207
  • [47] Modelling Hybrid Programs with Event-B
    Afendi, Meryem
    Laleau, Regine
    Mammar, Amel
    RIGOROUS STATE-BASED METHODS, ABZ 2020, 2020, 12071 : 139 - 154
  • [48] Generating Hierarchical State Based Representation From Event-B Models
    Chaudhari, Dipak L.
    Damani, Om P.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2011, 280 : 35 - 46
  • [49] Analysis of DSR Protocol in Event-B
    Mery, Dominique
    Singh, Neeraj Kumar
    STABILIZATION, SAFETY, AND SECURITY OF DISTRIBUTED SYSTEMS, 2011, 6976 : 401 - 415
  • [50] On the purpose of Event-B proof obligations
    Hallerstede, Stefan
    FORMAL ASPECTS OF COMPUTING, 2011, 23 (01) : 133 - 150