preprint Open access

Normalization and continuation-passing-style interpretation of simply-typed call-by-need λ-calculus with control

  • HAL (Le Centre pour la Communication Scientifique Directe)
  • Centre National de la Recherche Scientifique
Research footprint

At a glance

Citations
0
References
0
Comments
0
Paper overview

Öz

Ariola et al defined a call-by-need λ-calculus with control, together with a sequent calculus presentation of it. They mechanically derive from the sequent calculus presentation a continuation-passing-style transformation simulating the reduction. In this paper, we consider the simply-typed version of the calculus and prove its normalization by means of a realizability interpretation. This justifies a posteriori the design choice of the translation, and is to be contrasted with Okasaki et al. semantics which is not normalizing even in the simply-typed case. Besides, we also present a type system for the target language of the continuation-passing-style translation. Furthermore, the call-by-need calculus we present makes use of an explicit environment to lazily store and share computations. We rephrase the calculus (as well as the translation) to use De Bruijn levels as pointers to this shared environment. This has the twofold benefit of solving a problem of α-conversion in Ariola et al calculus and of unveiling an interesting bit of computational content (within the continuation-passing-style translation) related to environment extensions.

Record transparency

Publication details

OpenAlex
W2741632973
Document type
preprint
Language
EN
Source
HAL (Le Centre pour la Communication Scientifique Directe)
Last metadata update
Community

Comments

Oturum Açın to join the discussion.

  1. No comments yet. Start the discussion.