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] Computability by monadic second-order logic
    Engelfriet, Joost
    INFORMATION PROCESSING LETTERS, 2021, 167
  • [2] 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
  • [3] Monadic Second-Order Logic and Bisimulation Invariance for Coalgebras
    Enqvist, Sebastian
    Seifan, Fatemeh
    Venema, Yde
    2015 30TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2015, : 353 - 365
  • [4] Axiomatizations and Computability of Weighted Monadic Second-Order Logic
    Achilleos, Antonis
    Pedersen, Mathias Ruggaard
    2021 36TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2021,
  • [5] On the Decidability of Monadic Second-Order Logic with Arithmetic Predicates
    Berthe, Valerie
    Karimov, Toghrul
    Nieuwveld, Joris
    Ouaknine, Joel
    Vahanwala, Mihir
    Worrell, James
    PROCEEDINGS OF THE 39TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, LICS 2024, 2024,
  • [6] Linear delay enumeration and monadic second-order logic
    Courcelle, Bruno
    DISCRETE APPLIED MATHEMATICS, 2009, 157 (12) : 2675 - 2700
  • [7] Graph-Transformation Verification using Monadic Second-Order Logic
    Inaba, Kazuhiro
    Hidaka, Soichiro
    Hu, Zhenjiang
    Kato, Hiroyuki
    Nakano, Keisuke
    PPDP 11 - PROCEEDINGS OF THE 2011 SYMPOSIUM ON PRINCIPLES AND PRACTICES OF DECLARATIVE PROGRAMMING, 2011, : 17 - 28
  • [8] Where First-Order and Monadic Second-Order Logic Coincide
    Elberfeld, Michael
    Grohe, Martin
    Tantau, Till
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2016, 17 (04)
  • [9] Where First-Order and Monadic Second-Order Logic Coincide
    Elberfeld, Michael
    Grohe, Martin
    Tantau, Till
    2012 27TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2012, : 265 - 274
  • [10] On the coprimeness relation from the viewpoint of monadic second-order logic
    Speranski, S. O.
    Pakhomov, F. N.
    IZVESTIYA MATHEMATICS, 2022, 86 (06) : 1225 - 1239