Adjunction for garbage collection with application to graph rewriting

  • Authors:
  • D. Duval;R. Echahed;F. Prost

  • Affiliations:
  • LJK, Grenoble, France;LIG, Grenoble, France;LIG, Grenoble, France

  • Venue:
  • RTA'07 Proceedings of the 18th international conference on Term rewriting and applications
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We investigate garbage collection of unreachable parts of rooted graphs from a categorical point of view. First, we define this task as the right adjoint of an inclusion functor. We also show that garbage collection may be stated via a left adjoint, hence preserving colimits, followed by two right adjoints. These three adjoints cope well with the different phases of a traditional garbage collector. Consequently, our results should naturally help to better formulate graph transformation steps in order to get rid of garbage (unwanted nodes). We illustrate this point on a particular class of graph rewriting systems based on a double pushout approach and featuring edge redirection. Our approach gives a neat rewriting step akin to the one on terms, where garbage never appears in the reduced term.