Verifying total correctness of graph programs

GP 2 is an experimental nondeterministic programming language based on graph transformation rules, allowing for visual programming and the solving of graph problems at a high-level of abstraction. In previous work we demonstrated how to verify graph programs using a Hoare-style proof calculus, but o...

Full description

Saved in:
Bibliographic Details
Main Authors: POSKITT, Christopher M., PLUMP, Detlef
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2012
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/4916
https://ink.library.smu.edu.sg/context/sis_research/article/5919/viewcontent/PoskittPlump.GCM_ECEASST.2013.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-5919
record_format dspace
spelling sg-smu-ink.sis_research-59192020-02-13T07:00:28Z Verifying total correctness of graph programs POSKITT, Christopher M. PLUMP, Detlef GP 2 is an experimental nondeterministic programming language based on graph transformation rules, allowing for visual programming and the solving of graph problems at a high-level of abstraction. In previous work we demonstrated how to verify graph programs using a Hoare-style proof calculus, but only partial correctness was considered. In this paper, we add new proof rules and termination functions, which allow for proofs to additionally guarantee that program executions always terminate (weak total correctness), or that programs always terminate and do so without failure (total correctness). We show that the new proof rules are sound with respect to the operational semantics of GP 2, complete for termination, and demonstrate their use on some example programs. 2012-09-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/4916 info:doi/10.14279/tuj.eceasst.61.827 https://ink.library.smu.edu.sg/context/sis_research/article/5919/viewcontent/PoskittPlump.GCM_ECEASST.2013.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Graph theory Graph programs Hoare logic Termination Total correctness Verification Theory and Algorithms
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Graph theory
Graph programs
Hoare logic
Termination
Total correctness
Verification
Theory and Algorithms
spellingShingle Graph theory
Graph programs
Hoare logic
Termination
Total correctness
Verification
Theory and Algorithms
POSKITT, Christopher M.
PLUMP, Detlef
Verifying total correctness of graph programs
description GP 2 is an experimental nondeterministic programming language based on graph transformation rules, allowing for visual programming and the solving of graph problems at a high-level of abstraction. In previous work we demonstrated how to verify graph programs using a Hoare-style proof calculus, but only partial correctness was considered. In this paper, we add new proof rules and termination functions, which allow for proofs to additionally guarantee that program executions always terminate (weak total correctness), or that programs always terminate and do so without failure (total correctness). We show that the new proof rules are sound with respect to the operational semantics of GP 2, complete for termination, and demonstrate their use on some example programs.
format text
author POSKITT, Christopher M.
PLUMP, Detlef
author_facet POSKITT, Christopher M.
PLUMP, Detlef
author_sort POSKITT, Christopher M.
title Verifying total correctness of graph programs
title_short Verifying total correctness of graph programs
title_full Verifying total correctness of graph programs
title_fullStr Verifying total correctness of graph programs
title_full_unstemmed Verifying total correctness of graph programs
title_sort verifying total correctness of graph programs
publisher Institutional Knowledge at Singapore Management University
publishDate 2012
url https://ink.library.smu.edu.sg/sis_research/4916
https://ink.library.smu.edu.sg/context/sis_research/article/5919/viewcontent/PoskittPlump.GCM_ECEASST.2013.pdf
_version_ 1770575094456778752