Refinement Types as Proof Irrelevance

  • Authors:
  • William Lovas;Frank Pfenning

  • Affiliations:
  • Carnegie Mellon University, Pittsburgh, USA PA 15213;Carnegie Mellon University, Pittsburgh, USA PA 15213

  • Venue:
  • TLCA '09 Proceedings of the 9th International Conference on Typed Lambda Calculi and Applications
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Refinement types sharpen systems of simple and dependent types by offering expressive means to more precisely classify well-typed terms. Proof irrelevance provides a mechanism for selectively hiding the identities of terms in type theories. In this paper, we show that refinement types can be interpreted as predicates using proof irrelevance in the context of the logical framework LF, establishing a uniform relationship between two previously studied concepts in type theory. The interpretation and its correctness proof are surprisingly complex, lending credence to the idea that refinement types are a fundamental construct rather than just a convenient surface syntax for certain uses of proof irrelevance.