Verifying Graph Programs with Monadic Second-Order Logic

被引:3
|
作者
Wulandari, Gia S. [1 ,2 ]
Plump, Detlef [1 ]
机构
[1] Univ York, Dept Comp Sci, York, N Yorkshire, England
[2] Telkom Univ, Sch Comp, Bandung, Indonesia
来源
关键词
D O I
10.1007/978-3-030-78946-6_13
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To verify graph programs in the language GP 2, we present a monadic second-order logic with counting and a Hoare-style proof calculus. The logic has quantifiers for GP 2's attributes and for sets of nodes or edges. This allows to specify non-local graph properties such as connectedness, k-colourability, etc. We show how to construct a strongest liberal postcondition for a given graph transformation rule and a precondition. The proof rules establish the total correctness of graph programs and are shown to be sound. They allow to verify more programs than is possible with previous approaches. In particular, many programs with nested loops are covered by the calculus.
引用
收藏
页码:240 / 261
页数:22
相关论文
共 50 条
  • [1] NM Verifying Monadic Second-Order Properties of Graph Programs
    Poskitt, Christopher M.
    Plump, Detlef
    [J]. GRAPH TRANSFORMATION, 2014, 8571 : 33 - 48
  • [2] Graph operations and monadic second-order logic: A survey
    Courcelle, B
    [J]. LOGIC FOR PROGRAMMING AND AUTOMATED REASONING, PROCEEDINGS, 2000, 1955 : 20 - 24
  • [3] Monadic Second-Order Logic with Arbitrary Monadic Predicates
    Fijalkow, Nathanael
    Paperman, Charles
    [J]. ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2017, 18 (03)
  • [4] Monadic Second-Order Logic with Arbitrary Monadic Predicates
    Fijalkow, Nathanael
    Paperman, Charles
    [J]. MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2014, PT I, 2014, 8634 : 279 - 290
  • [5] Quantitative Monadic Second-Order Logic
    Kreutzer, Stephan
    Riveros, Cristian
    [J]. 2013 28TH ANNUAL IEEE/ACM SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2013, : 113 - 122
  • [6] Computability by monadic second-order logic
    Engelfriet, Joost
    [J]. INFORMATION PROCESSING LETTERS, 2021, 167
  • [7] Graph structure and Monadic Second-Order Logic: Language theoretical aspects
    Courcelle, Bruno
    [J]. AUTOMATA, LANGUAGES AND PROGRAMMING, PT 1, PROCEEDINGS, 2008, 5125 : 1 - 13
  • [8] Graph-Transformation Verification using Monadic Second-Order Logic
    Inaba, Kazuhiro
    Hidaka, Soichiro
    Hu, Zhenjiang
    Kato, Hiroyuki
    Nakano, Keisuke
    [J]. PPDP 11 - PROCEEDINGS OF THE 2011 SYMPOSIUM ON PRINCIPLES AND PRACTICES OF DECLARATIVE PROGRAMMING, 2011, : 17 - 28
  • [9] Asymptotic Monadic Second-Order Logic
    Blumensath, Achim
    Carton, Olivier
    Colcombet, Thomas
    [J]. MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2014, PT I, 2014, 8634 : 87 - +
  • [10] Automatic verification of pointer programs using monadic second-order logic
    Jensen, JL
    Jorgensen, ME
    Klarlund, N
    Schwartzbach, MI
    [J]. ACM SIGPLAN NOTICES, 1997, 32 (05) : 226 - 234