Automated termination proofs for haskell by term rewriting

  • Authors:
  • Jürgen Giesl;Matthias Raffelsieper;Peter Schneider-Kamp;Stephan Swiderski;René Thiemann

  • Affiliations:
  • RWTH Aachen University, Aachen, Germany;TU Eindhoven, The Netherlands;University of Southern Denmark, Odense, M, Denmark;RWTH Aachen University, Aachen, Germany;University of Innsbruck, Innsbruck, Austria

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

There are many powerful techniques for automated termination analysis of term rewriting. However, up to now they have hardly been used for real programming languages. We present a new approach which permits the application of existing techniques from term rewriting to prove termination of most functions defined in Haskell programs. In particular, we show how termination techniques for ordinary rewriting can be used to handle those features of Haskell which are missing in term rewriting (e.g., lazy evaluation, polymorphic types, and higher-order functions). We implemented our results in the termination prover AProVE and successfully evaluated them on existing Haskell libraries.