The substitution vanishes

  • Authors:
  • Armin Kühnemann;Andreas Maletti

  • Affiliations:
  • Institute for Theoretical Computer Science, Department of Computer Science, Dresden University of Technology, Dresden, Germany;Institute for Theoretical Computer Science, Department of Computer Science, Dresden University of Technology, Dresden, Germany

  • Venue:
  • AMAST'06 Proceedings of the 11th international conference on Algebraic Methodology and Software Technology
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Accumulation techniques were invented to transform functional programs, which intensively use append functions (like inefficient list reversal), into more efficient programs, which use accumulating parameters instead (like efficient list reversal). In this paper we present a generalized and automatic accumulation technique that also handles programs operating with unary functions on arbitrary tree structures and employing substitution functions on trees which may replace different designated symbols by different trees. We show that this transformation does not deteriorate the efficiency with respect to call-by-need reduction.