Monadic second-order incorrectness logic for GP 2

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 p...

Full description

Saved in:
Bibliographic Details
Main Authors: POSKITT, Christopher M., PLUMP, Detlef
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2023
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/7335
https://ink.library.smu.edu.sg/context/sis_research/article/8338/viewcontent/mso_incorrectness_logic_jlamp23.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-8338
record_format dspace
spelling sg-smu-ink.sis_research-83382022-10-13T01:19:34Z Monadic second-order incorrectness logic for GP 2 POSKITT, Christopher M. PLUMP, Detlef 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. 2023-01-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/7335 info:doi/10.1016/j.jlamp.2022.100825 https://ink.library.smu.edu.sg/context/sis_research/article/8338/viewcontent/mso_incorrectness_logic_jlamp23.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 Program logics correctness proofs under-approximate reasoning monadic second-order logic graph transformation Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Program logics
correctness proofs
under-approximate reasoning
monadic second-order logic
graph transformation
Software Engineering
spellingShingle Program logics
correctness proofs
under-approximate reasoning
monadic second-order logic
graph transformation
Software Engineering
POSKITT, Christopher M.
PLUMP, Detlef
Monadic second-order incorrectness logic for GP 2
description 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.
format text
author POSKITT, Christopher M.
PLUMP, Detlef
author_facet POSKITT, Christopher M.
PLUMP, Detlef
author_sort POSKITT, Christopher M.
title Monadic second-order incorrectness logic for GP 2
title_short Monadic second-order incorrectness logic for GP 2
title_full Monadic second-order incorrectness logic for GP 2
title_fullStr Monadic second-order incorrectness logic for GP 2
title_full_unstemmed Monadic second-order incorrectness logic for GP 2
title_sort monadic second-order incorrectness logic for gp 2
publisher Institutional Knowledge at Singapore Management University
publishDate 2023
url https://ink.library.smu.edu.sg/sis_research/7335
https://ink.library.smu.edu.sg/context/sis_research/article/8338/viewcontent/mso_incorrectness_logic_jlamp23.pdf
_version_ 1770576314293551104