Affiliation:
1. CNRS and University Paris 7, 2 place Jussieu, F-75251 Paris Cedex 05
2. INRIA, Domaine de Voluceau, F-78153 Rocquencourt Cedex
Abstract
We present the μ -calculus, a syntax for λ-calculus + control operators exhibiting symmetries such as program/context and call-by-name/call-by-value. This calculus is derived from implicational Gentzen's sequent calculus
LK
, a key classical logical system in proof theory. Under the Curry-Howard correspondence between proofs and programs, we can see
LK
, or more precisely a formulation called
LK
μ
, as a syntax-directed system of simple types for μ -calculus. For μ -calculus, choosing a call-by-name or call-by-value discipline for reduction amounts to choosing one of the two possible symmetric orientations of a critical pair. Our analysis leads us to revisit the question of what is a natural syntax for call-by-value functional computation. We define a translation of λμ-calculus into μ -calculus and two dual translations back to λ-calculus, and we recover known CPS translations by composing these translations.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference20 articles.
1. A Symmetric Lambda Calculus for Classical Program Extraction
2. V. Danos 1999. Sequent Calculus and Continuation Passing Style Compilation. To appear in Proc. of the 11th Congress of Logic Methodology and Philosophy of Science held in Cracow Kluwer. V. Danos 1999. Sequent Calculus and Continuation Passing Style Compilation. To appear in Proc. of the 11th Congress of Logic Methodology and Philosophy of Science held in Cracow Kluwer.
Cited by
152 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Grokking the Sequent Calculus (Functional Pearl);Proceedings of the ACM on Programming Languages;2024-08-15
2. A Strong Bisimulation for a Classical Term Calculus;Logical Methods in Computer Science;2024-04-18
3. Galois connecting call-by-value and call-by-name;Logical Methods in Computer Science;2024-02-12
4. Ill-Typed Programs Don’t Evaluate;Proceedings of the ACM on Programming Languages;2024-01-05
5. Focusing Gentzen’s LK Proof System;Outstanding Contributions to Logic;2024