Electronic Proceedings in Theoretical Computer Science (Jul 2015)

Gluing together Proof Environments: Canonical extensions of LF Type Theories featuring Locks

  • Furio Honsell,
  • Luigi Liquori,
  • Petar Maksimović,
  • Ivan Scagnetto

DOI
https://doi.org/10.4204/EPTCS.185.1
Journal volume & issue
Vol. 185, no. Proc. LFMTP 2015
pp. 3 – 17

Abstract

Read online

We present two extensions of the LF Constructive Type Theory featuring monadic locks. A lock is a monadic type construct that captures the effect of an external call to an oracle. Such calls are the basic tool for gluing together diverse Type Theories and proof development environments. The oracle can be invoked either to check that a constraint holds or to provide a suitable witness. The systems are presented in the canonical style developed by the CMU School. The first system, CLLFP, is the canonical version of the system LLFP, presented earlier by the authors. The second system, CLLFP?, features the possibility of invoking the oracle to obtain a witness satisfying a given constraint. We discuss encodings of Fitch-Prawitz Set theory, call-by-value lambda-calculi, and systems of Light Linear Logic. Finally, we show how to use Fitch-Prawitz Set Theory to define a type system that types precisely the strongly normalizing terms.