English

Explicit Substitutions for Contextual Type Theory

Logic in Computer Science 2010-09-16 v1 Programming Languages

Abstract

In this paper, we present an explicit substitution calculus which distinguishes between ordinary bound variables and meta-variables. Its typing discipline is derived from contextual modal type theory. We first present a dependently typed lambda calculus with explicit substitutions for ordinary variables and explicit meta-substitutions for meta-variables. We then present a weak head normalization procedure which performs both substitutions lazily and in a single pass thereby combining substitution walks for the two different classes of variables. Finally, we describe a bidirectional type checking algorithm which uses weak head normalization and prove soundness.

Keywords

Cite

@article{arxiv.1009.2789,
  title  = {Explicit Substitutions for Contextual Type Theory},
  author = {Andreas Abel and Brigitte Pientka},
  journal= {arXiv preprint arXiv:1009.2789},
  year   = {2010}
}

Comments

In Proceedings LFMTP 2010, arXiv:1009.2189

R2 v1 2026-06-21T16:13:58.274Z