Consistency of the theory of contexts

  • Authors:
  • Anna Bucalo;Furio Honsell;Marino Miculan;Ivan Scagnetto;Martin Hoffman

  • Affiliations:
  • Department of Mathematics and Computer Science, University of Udine, Italy email: miculan@dimi.uniud.it;Department of Mathematics and Computer Science, University of Udine, Italy email: miculan@dimi.uniud.it;Department of Mathematics and Computer Science, University of Udine, Italy email: miculan@dimi.uniud.it;Department of Mathematics and Computer Science, University of Udine, Italy email: miculan@dimi.uniud.it;Institut für Informatik, Ludwig-Maximilians-Universität, München, Germany

  • Venue:
  • Journal of Functional Programming
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Theory of Contexts is a type-theoretic axiomatization aiming to give a metalogical account of the fundamental notions of variable and context as they appear in Higher Order Abstract Syntax. In this paper, we prove that this theory is consistent by building a model based on functor categories. By means of a suitable notion of forcing, we prove that this model validates Classical Higher Order Logic, the Theory of Contexts, and also (parametrised) structural induction and recursion principles over contexts. Our approach, which we present in full detail, should also be useful for reasoning on other models based on functor categories. Moreover, the construction could also be adopted, and possibly generalized, for validating other theories of names and binders.