[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article
Free access

The duality of computation

Published: 01 September 2000 Publication History

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.

References

[1]
F. Barbanera and S. Berardi 1996. A symmetric A-calculus for classical" program extraction. Information and Computation 125, 103-117.
[2]
T. Crolard 1999. Typage des coroutines en logique soustractive. In Proc. Journees Francophones des Langages Applicatifs, Collection Didactique, INRIA (http://pauillac.inria.fr/j a99).
[3]
P.-L. Curien and H. Herbelin 1998. Computing with Abstract Bohm Trees. In Proceedings of the 3rd Fuji International Symposium on Functional and Logic Programming, Eds M. Sato & Y. Toyama, World Scientific, 20-39.
[4]
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.
[5]
V. Danos, J.-B. Joinet and H. Schellinx 1995. LKQ and LKT: sequent calculi for second order logic based upon dual linear decompositions of classical implication. In Advances in Linear Logic, Cambridge University Press, 211-224.
[6]
V. Danos, J.-B. Joinet and H. Schellinx 1997. A New Deconstructive Logic: Linear Logic. In Journal of Symbolic Logic 62(3), 755-807.
[7]
V. Danos and L. Regnier 1990. Machina ex deo, ou encore quelque chose a dire sur la machine de Krivine. Unpublished.
[8]
A. Filinski 1989. Declarative Continuations: An Investigation of Duality in Programming Language Semantics. In Proc. of Category Theory and Computer Science (CTCS), LNCS 389, 224{249.
[9]
G. Gentzen 1935. Investigations into logical deduction. E.g. in Gentzen collected works, EdM.E. Szabo, North Holland, 68 (1969).
[10]
J.-Y. Girard 1993. On the unity of logic. Annals of Pure and Applied Logic 59, 201-217.
[11]
Ph. de Groote 1994. On the relation between the A-calculus and the syntactic theory of control. In Proc. of the International Conference onLogic Programming and Automated Reasoning (LPAR), Lecture Notes in Computer Science 822, 31-43.
[12]
H. Herbelin 1994. A lambda-calculus structure isomorphic to sequent calculus structure. In Proc. of Computer Science Logic (CSL), Lecture Notes in Computer Science 933, 61-75.
[13]
H. Herbelin 1995. Sequents qu'on calcule, Th~ese de Doctorat, Universitie Paris 7.
[14]
K. Honda and N.Yoshida 1997. Game-theoretic analysis of call-by-value computation. In Proc. of International Colloquium on Automata Languages and Programs (ICALP), Lecture Notes in Computer Science 1256.
[15]
M. Hofmann and T. Streicher 1997. Continuation models are universal for A-calculus. In Proc. of Logic in Computer Science (LICS), 387-397.
[16]
O. Laurent 1999. Polarized proof-nets and A-calculus. Draft
[17]
C. H. L. Ong and C. A. Stewart 1997. A Curry-Howard Foundation for functional computation with control. In Proc. of ACM SIGPLAN-SIGACT Symposium on Principle of Programming Languages (POPL), Paris, ACM Press, January.
[18]
I. Ogata 1999. Constructive Classical Logic as CPS-calculus. To appear in International Journal of Foundations of Functional Programming.
[19]
M. Parigot 1992. A-calculus: An algorithmic interpretation of classical natural deduction. In Proc. of the International Conference on Logic Programming and Automated Reasoning (LPAR), St.Petersburg, Lecture Notes in Computer Science 624.
[20]
G. D. Plotkin 1975. Call-by-name, call-by-value and the lambda-calculus. Theoretical Computer Science 1, 125-159.

Cited By

View all
  • (2025)The Duality of λ-AbstractionProceedings of the ACM on Programming Languages10.1145/37048489:POPL(332-361)Online publication date: 9-Jan-2025
  • (2024)Grokking the Sequent Calculus (Functional Pearl)Proceedings of the ACM on Programming Languages10.1145/36746398:ICFP(395-425)Online publication date: 15-Aug-2024
  • (2024)Focusing Gentzen’s LK Proof SystemPeter Schroeder-Heister on Proof-Theoretic Semantics10.1007/978-3-031-50981-0_9(275-313)Online publication date: 13-Feb-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 35, Issue 9
Sept. 2000
291 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/357766
Issue’s Table of Contents
  • cover image ACM Conferences
    ICFP '00: Proceedings of the fifth ACM SIGPLAN international conference on Functional programming
    September 2000
    294 pages
    ISBN:1581132026
    DOI:10.1145/351240
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 2000
Published in SIGPLAN Volume 35, Issue 9

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)306
  • Downloads (Last 6 weeks)45
Reflects downloads up to 02 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2025)The Duality of λ-AbstractionProceedings of the ACM on Programming Languages10.1145/37048489:POPL(332-361)Online publication date: 9-Jan-2025
  • (2024)Grokking the Sequent Calculus (Functional Pearl)Proceedings of the ACM on Programming Languages10.1145/36746398:ICFP(395-425)Online publication date: 15-Aug-2024
  • (2024)Focusing Gentzen’s LK Proof SystemPeter Schroeder-Heister on Proof-Theoretic Semantics10.1007/978-3-031-50981-0_9(275-313)Online publication date: 13-Feb-2024
  • (2023)SpiroMask: Measuring Lung Function Using Consumer-Grade MasksACM Transactions on Computing for Healthcare10.1145/35701674:1(1-34)Online publication date: 27-Feb-2023
  • (2023)Multiple Temporal Pooling Mechanisms for Weakly Supervised Temporal Action LocalizationACM Transactions on Multimedia Computing, Communications, and Applications10.1145/356782819:3(1-19)Online publication date: 25-Feb-2023
  • (2023)A Optimized BERT for Multimodal Sentiment AnalysisACM Transactions on Multimedia Computing, Communications, and Applications10.1145/356612619:2s(1-12)Online publication date: 17-Feb-2023
  • (2023)Dual counterpart intuitionistic logicJournal of Logic and Computation10.1093/logcom/exad019Online publication date: 11-Sep-2023
  • (2022)Factoring differential operators over algebraic curves in positive characteristicACM Communications in Computer Algebra10.1145/3572867.357287656:2(60-63)Online publication date: 23-Nov-2022
  • (2022)FPS in actionACM Communications in Computer Algebra10.1145/3572867.357287356:2(46-50)Online publication date: 23-Nov-2022
  • (2022)Towards signature-based gröbner basis algorithms for computing the nondegenerate locus of a polynomial systemACM Communications in Computer Algebra10.1145/3572867.357287256:2(41-45)Online publication date: 23-Nov-2022
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media