Hostname: page-component-77f85d65b8-grvzd Total loading time: 0 Render date: 2026-04-18T09:19:39.748Z Has data issue: false hasContentIssue false

Normalization by evaluation for modal dependent type theory

Published online by Cambridge University Press:  02 October 2023

JASON Z. S. HU
Affiliation:
School of Computer Science, McGill University, Montréal, Canada (e-mail: zhong.s.hu@mail.mcgill.ca)
JUNYOUNG JANG
Affiliation:
School of Computer Science, McGill University, Montréal, Canada (e-mail: junyoung.jang@mail.mcgill.ca)
BRIGITTE PIENTKA
Affiliation:
School of Computer Science, McGill University, Montréal, Canada (e-mail: bpientka@cs.mcgill.ca)
Rights & Permissions [Opens in a new window]

Abstract

We present the Kripke-style modal type theory, Mint, which combines dependent types and the necessity modality. It extends the Kripke-style modal lambda-calculus by Pfenning and Davies to the full Martin-Löf type theory. As such it encompasses dependently typed variants of system K, T, K4, and S4. Further, Mint seamlessly supports a full universe hierarchy, usual inductive types, and large eliminations. In this paper, we give a modular sound and complete normalization-by-evaluation (NbE) proof for Mint based on an untyped domain model, which applies to all four aforementioned modal systems without modification. This NbE proof yields a normalization algorithm for Mint, which can be directly implemented. To further strengthen our results, our models and the NbE proof are fully mechanized in Agda and we extract a Haskell implementation of our NbE algorithm from it.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Fig. 1. Selected rules for Mint.

Submit a response

Discussions

No Discussions have been published for this article.