Monadic second-order incorrectness logic for GP 2

被引:6
|
作者
Poskitt, Christopher M. [1 ]
Plump, Detlef [2 ]
机构
[1] Singapore Management Univ, Sch Comp & Informat Syst, Singapore, Singapore
[2] Univ York, Dept Comp Sci, York, England
关键词
Program logics; Correctness proofs; Under-approximate reasoning; Monadic second-order logic; Graph transformation; GRAPH TRANSFORMATION SYSTEMS; VERIFICATION;
D O I
10.1016/j.jlamp.2022.100825
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Program logics typically reason about an over-approximation of program behaviour to prove the absence of bugs. Recently, program logics have been proposed that instead prove the presence of bugs by means of under-approximate reasoning, which has the promise of better scalability. In this paper, we present an under-approximate program logic for GP 2, a rule-based programming language for manipulating graphs. We define the proof rules of this program logic extensionally, i.e. independently of fixed assertion languages, then instantiate them with a morphism-based assertion language able to specify monadic second-order properties on graphs (e.g. path properties). We show how these proof rules can be used to reason deductively about the presence of forbidden graph structure or failing executions. Finally, we prove our 'incorrectness logic' to be sound, and our extensional proof rules to be relatively complete.(c) 2022 Elsevier Inc. All rights reserved.
引用
收藏
页数:29
相关论文
共 50 条
  • [1] Monadic Second-Order Logic with Arbitrary Monadic Predicates
    Fijalkow, Nathanael
    Paperman, Charles
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2014, PT I, 2014, 8634 : 279 - 290
  • [2] Monadic Second-Order Logic with Arbitrary Monadic Predicates
    Fijalkow, Nathanael
    Paperman, Charles
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2017, 18 (03)
  • [3] Quantitative Monadic Second-Order Logic
    Kreutzer, Stephan
    Riveros, Cristian
    2013 28TH ANNUAL IEEE/ACM SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2013, : 113 - 122
  • [4] Computability by monadic second-order logic
    Engelfriet, Joost
    INFORMATION PROCESSING LETTERS, 2021, 167
  • [5] Asymptotic Monadic Second-Order Logic
    Blumensath, Achim
    Carton, Olivier
    Colcombet, Thomas
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2014, PT I, 2014, 8634 : 87 - +
  • [6] Monadic Second-Order Logic on Finite Sequences
    D'Antoni, Loris
    Veanes, Margus
    ACM SIGPLAN NOTICES, 2017, 52 (01) : 232 - 245
  • [7] On the Parameterised Intractability of Monadic Second-Order Logic
    Kreutzer, Stephan
    COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2009, 5771 : 348 - 363
  • [8] Circle graphs and monadic second-order logic
    LaBRI, Université Bordeaux 1, CNRS, 351 Cours de la libération, 33405 Talence Cedex, France
    Journal of Applied Logic, 2008, 6 (03) : 416 - 442
  • [9] ON THE PARAMETERIZED INTRACTABILITY OF MONADIC SECOND-ORDER LOGIC
    Kreutzer, Stephan
    LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (01)
  • [10] On translations of temporal logic of actions into monadic second-order logic
    Rabinovich, A
    THEORETICAL COMPUTER SCIENCE, 1998, 193 (1-2) : 197 - 214