Characterizing minimal semantics-preserving slices of predicate-linear, free, liberal program schemas

From MaRDI portal
Publication:649588

DOI10.1016/J.JLAP.2011.04.009zbMATH Open1231.68107arXiv1705.09615OpenAlexW2138160985MaRDI QIDQ649588FDOQ649588


Authors: Sebastian Danicic, Robert M. Hierons, Michael R. Laurence Edit this on Wikidata


Publication date: 2 December 2011

Published in: The Journal of Logic and Algebraic Programming (Search for Journal in Brave)

Abstract: A program schema defines a class of programs, all of which have identical statement structure, but whose functions and predicates may differ. A schema thus defines an entire class of programs according to how its symbols are interpreted. A subschema of a schema is obtained from a schema by deleting some of its statements. We prove that given a schema S which is predicate-linear, free and liberal, such that the true and false parts of every if predicate satisfy a simple additional condition, and a slicing criterion defined by the final value of a given variable after execution of any program defined by S, the minimal subschema of S which respects this slicing criterion contains all the function and predicate symbols `needed' by the variable according to the data dependence and control dependence relations used in program slicing, which is the symbol set given by Weiser's static slicing algorithm. Thus this algorithm gives predicate-minimal slices for classes of programs represented by schemas satisfying our set of conditions. We also give an example to show that the corresponding result with respect to the slicing criterion defined by termination behaviour is incorrect. This complements a result by the authors in which S was required to be function-linear, instead of predicate-linear.


Full work available at URL: https://arxiv.org/abs/1705.09615




Recommendations




Cites Work


Cited In (3)





This page was built for publication: Characterizing minimal semantics-preserving slices of predicate-linear, free, liberal program schemas

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q649588)