The duality of computation. Herbelin, H. & Curien, P. In Fifth ACM SIGPLAN International Conference on Functional Programming : ICFP '00, volume 35/9, of SIGPLAN Notice, pages 233–243, Montréal, Canada, September, 2000. ACM. Issue: 9
The duality of computation [link]Paper  abstract   bibtex   
We present the lambda-bar-mu-mu-tilde-calculus, a syntax for lambda-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-mu-mu-tilde, as a syntax-directed system of simple types for lambda-bar-mu-mu-tilde-calculus. For lambda-bar-mu-mu-tilde-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 lambda-mu-calculus into lambda-bar-mu-mu-tilde-calculus and two dual translations back to lambda-calculus, and we recover known CPS translations by composing these translations.
@inproceedings{Herbelin_Curien:2000,
	address = {Montréal, Canada},
	series = {{SIGPLAN} {Notice}},
	title = {The duality of computation},
	volume = {35/9},
	url = {https://hal.inria.fr/inria-00156377},
	abstract = {We present the lambda-bar-mu-mu-tilde-calculus, a syntax for lambda-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-mu-mu-tilde, as a syntax-directed system of simple types for lambda-bar-mu-mu-tilde-calculus. For lambda-bar-mu-mu-tilde-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 lambda-mu-calculus into lambda-bar-mu-mu-tilde-calculus and two dual translations back to lambda-calculus, and we recover known CPS translations by composing these translations.},
	urldate = {2021-03-03},
	booktitle = {Fifth {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming} : {ICFP} '00},
	publisher = {ACM},
	author = {Herbelin, Hugo and Curien, Pierre-Louis},
	month = sep,
	year = {2000},
	note = {Issue: 9},
	keywords = {CPS-translations, Curry-Howard-de Bruijn proof-as-program correspondence, call-by-name, call-by-value, duality, lambda-calculus, sequent calculus},
	pages = {233--243},
}

Downloads: 0