Backward trace slicing for conditional rewrite theories

  • Authors:
  • María Alpuente;Demis Ballis;Francisco Frechina;Daniel Romero

  • Affiliations:
  • DSIC-ELP, Universitat Politècnica de València, Valencia, Spain;DIMI, Università degli Studi di Udine, Udine, Italy;DSIC-ELP, Universitat Politècnica de València, Valencia, Spain;DSIC-ELP, Universitat Politècnica de València, Valencia, Spain

  • Venue:
  • LPAR'12 Proceedings of the 18th international conference on Logic for Programming, Artificial Intelligence, and Reasoning
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we present a trace slicing technique for rewriting logic that is suitable for analyzing complex, textually-large system computations in rewrite theories that may contain conditional equations and/or rules. Given a conditional execution trace T and a slicing criterion for the trace (i.e., a set of positions that we want to observe in the final state of the trace), we traverse T from back to front, and at each rewrite step, we incrementally compute the origins of the observed positions, which is done by inductively processing the conditions of the applied equations and rules. During the traversal, we also carry a boolean compatibility condition that is needed for the executability of the processed rewrite steps. At the end of the traversal, the trace slice is obtained by filtering out the irrelevant data that do not contribute to the criterion of interest.