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 条
  • [31] Event-B patterns and their tool support
    Thai Son Hoang
    Fuerst, Andreas
    Abrial, Jean-Raymond
    SOFTWARE AND SYSTEMS MODELING, 2013, 12 (02) : 229 - 244
  • [32] Event-B patterns and their tool support
    Thai Son Hoang
    Andreas Fürst
    Jean-Raymond Abrial
    Software & Systems Modeling, 2013, 12 : 229 - 244
  • [33] Consistency-preserving refactoring of refinement structures in Event-B models
    Kobayashi, Tsutomu
    Ishikawa, Fuyuki
    Honiden, Shinichi
    FORMAL ASPECTS OF COMPUTING, 2019, 31 (03) : 287 - 320
  • [34] Modeling of TCP Protocol in Event-B
    Wang, Xue-Jing
    Zhang, Hong
    INFORMATION TECHNOLOGY APPLICATIONS IN INDUSTRY, PTS 1-4, 2013, 263-266 : 1156 - 1159
  • [35] Event-B Patterns and Their Tool Support
    Hoang, Thai Son
    Fuerst, Andreas
    Abrial, Jean-Raymond
    SEFM 2009: SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, 2009, : 210 - 219
  • [36] Developing topology discovery in Event-B
    Hoang, Thai Son
    Kuruma, Hironobu
    Basin, David
    Abrial, Jean-Raymond
    SCIENCE OF COMPUTER PROGRAMMING, 2009, 74 (11-12) : 879 - 899
  • [37] Facilitating construction of safety cases from formal models in Event-B
    Prokhorova, Yuliya
    Laibinis, Linas
    Troubitsyna, Elena
    INFORMATION AND SOFTWARE TECHNOLOGY, 2015, 60 : 51 - 76
  • [38] Undertaking the Tokeneer Challenge in Event-B
    Rivera, Victor
    Bhattacharya, Sukriti
    Catano, Nestor
    2016 IEEE/ACM 4TH FME WORKSHOP ON FORMAL METHODS IN SOFTWARE ENGINEERING (FORMALISE), 2016, : 8 - 14
  • [39] Event-B Decomposition for Parallel Programs
    Hoang, Thai Son
    Abrial, Jean-Raymond
    ABSTRACT STATE MACHINES, ALLOY, B AND Z, PROCEEDINGS, 2010, 5977 : 319 - 333
  • [40] Verification of real-time properties based on Event-B models
    Zhao Jinfu
    Zhang Hong
    Wang Xuejing
    PROCEEDINGS OF THE 2015 INTERNATIONAL INDUSTRIAL INFORMATICS AND COMPUTER ENGINEERING CONFERENCE, 2015, : 91 - 94