Formalized metatheory with terms represented by an indexed family of types

  • Authors:
  • Robin Adams

  • Affiliations:
  • Royal Holloway, University of London

  • Venue:
  • TYPES'04 Proceedings of the 2004 international conference on Types for Proofs and Programs
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

It is possible to represent the terms of a syntax with binding constructors by a family of types, indexed by the free variables that may occur. This approach has been used several times for the study of syntax and substitution, but never for the formalization of the metatheory of a typing system. We describe a recent formalization of the metatheory of Pure Type Systems in Coq as an example of such a formalization. In general, careful thought is required as to how each definition and theorem should be stated, usually in an unfamiliar ‘big-step' form; but, once the correct form has been found, the proofs are very elegant and direct.