Hoare-Style Verification of Graph Programs

  • Authors:
  • Christopher M. Poskitt;Detlef Plump

  • Affiliations:
  • (Correspd.) (This author is grateful to be supported by a scholarship of the Engineering and Physical Sciences Research Council) Department of Computer Science, The University of York, Deramore La ...;Department of Computer Science, The University of York, Deramore Lane, York, YO10 5GH, United Kingdom, cposkitt@cs.york.ac.uk/ det@cs.york.ac.uk

  • Venue:
  • Fundamenta Informaticae - Recent Developments in the Theory of Graph Transformation, 2010
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

GP (for Graph Programs) is an experimental nondeterministic programming language for solving problems on graphs and graph-like structures. The language is based on graph transformation rules, allowing visual programming at a high level of abstraction. In particular, GP frees programmers from dealing with low-level data structures. In this paper, we present a Hoare-style proof system for verifying the partial correctness of (a subset of) graph programs. The pre- and post-conditions of the calculus are nested graph conditions with expressions, a formalism for specifying both structural graph properties and properties of labels. We show that our proof system is sound with respect to GP's operational semantics and give examples of its use.