English

Incorrectness Logic for Graph Programs

Logic in Computer Science 2022-03-15 v3

Abstract

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 a nondeterministic graph programming language, and show how it can be used to reason deductively about program incorrectness, whether defined by the presence of forbidden graph structure or by finitely failing executions. We prove this incorrectness logic to be sound and complete, and speculate on some possible future applications of it.

Keywords

Cite

@article{arxiv.2105.04501,
  title  = {Incorrectness Logic for Graph Programs},
  author = {Christopher M. Poskitt},
  journal= {arXiv preprint arXiv:2105.04501},
  year   = {2022}
}

Comments

Accepted by the 14th International Conference on Graph Transformation (ICGT 2021)