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 条
  • [21] Quantifying over Trees in Monadic Second-Order Logic
    Benerecetti, Massimo
    Bozzelli, Laura
    Mogavero, Fabio
    Peron, Adriano
    2023 38TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, LICS, 2023,
  • [22] Graph operations and monadic second-order logic: A survey
    Courcelle, B
    LOGIC FOR PROGRAMMING AND AUTOMATED REASONING, PROCEEDINGS, 2000, 1955 : 20 - 24
  • [23] Verifying Graph Programs with Monadic Second-Order Logic
    Wulandari, Gia S.
    Plump, Detlef
    GRAPH TRANSFORMATION, ICGT 2021, 2021, 12741 : 240 - 261
  • [24] Sequentiality, monadic second-order logic and tree automata
    Comon, H
    INFORMATION AND COMPUTATION, 2000, 157 (1-2) : 25 - 51
  • [25] Linear delay enumeration and monadic second-order logic
    Courcelle, Bruno
    DISCRETE APPLIED MATHEMATICS, 2009, 157 (12) : 2675 - 2700
  • [26] Monadic second-order logic, tree automata, and constraint logic programming
    Morawietz, F
    MATHEMATICS OF SYNTACTIC STRUCTURE: TREES AND THEIR LOGICS, 1999, 44 : 41 - 81
  • [27] Where First-Order and Monadic Second-Order Logic Coincide
    Elberfeld, Michael
    Grohe, Martin
    Tantau, Till
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2016, 17 (04)
  • [28] The complexity of first-order and monadic second-order logic revisited
    Frick, M
    Grohe, M
    17TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2002, : 215 - 224
  • [29] 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
  • [30] The complexity of first-order and monadic second-order logic revisited
    Frick, M
    Grohe, M
    ANNALS OF PURE AND APPLIED LOGIC, 2004, 130 (1-3) : 3 - 31