Unfolding Abstract Datatypes

  • Authors:
  • Jeremy Gibbons

  • Affiliations:
  • Computing Laboratory, Oxford University,

  • Venue:
  • MPC '08 Proceedings of the 9th international conference on Mathematics of Program Construction
  • Year:
  • 2008

Quantified Score

Hi-index 0.09

Visualization

Abstract

We argue that abstract datatypes-- with public interfaces hiding private implementations -- represent a form of codatarather than ordinary data, and hence that proof methods for corecursiveprograms are the appropriate techniques to use for reasoning with them. In particular, we show that the universal properties of unfold operators are perfectly suited for the task. We illustrate with solutions to two problems the solution to a problem in the recent literature.