Hostname: page-component-76d6cb85b7-lrvh5 Total loading time: 0 Render date: 2026-07-09T21:53:37.768Z Has data issue: false hasContentIssue false

Semantic analysis of normalisation by evaluation for typed lambda calculus

Published online by Cambridge University Press:  22 November 2022

Marcelo Fiore*
Affiliation:
Department of Computer Science and Technology, University of Cambridge, Cambridge CB3 0FD, UK
Rights & Permissions [Opens in a new window]

Abstract

This paper studies normalisation by evaluation for typed lambda calculus from a categorical and algebraic viewpoint. The first part of the paper analyses the lambda definability result of Jung and Tiuryn via Kripke logical relations and shows how it can be adapted to unify definability and normalisation, yielding an extensional normalisation result. In the second part of the paper, the analysis is refined further by considering intensional Kripke relations (in the form of Artin–Wraith glueing) and shown to provide a function for normalising terms, casting normalisation by evaluation in the context of categorical glueing. The technical development includes an algebraic treatment of the syntax and semantics of the typed lambda calculus that allows the definition of the normalisation function to be given within a simply typed metatheory. A normalisation-by-evaluation program in a dependently typed functional programming language is synthesised.

Information

Type
Paper
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 (http://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), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Well-typed terms.

Figure 1

Figure 2. Neutral and normal terms.