Implementation Techniques for Inductive Types in Plastic

  • Authors:
  • Paul Callaghan;Zhaohui Luo

  • Affiliations:
  • -;-

  • Venue:
  • TYPES '99 Selected papers from the International Workshop on Types for Proofs and Programs
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

In the context of Plastic, a proof assistant for a variant of Martin-Löf's Logical Framework LF with explicitly typed λ-abstractions, we outline the technique used for implementing inductive types from their declarations. This form of inductive types gives rise to a problem of non-linear pattern matching; we propose this match can be ignored in well-typed terms, and outline a proof of this. The paper then explains how the inductive types are realised inside the reduction mechanisms of Plastic, and briefly considers optimisations for inductive types.