Abstract
We give a universal embedding of the semantics for the first order fragment of the computational λ-calculus into a semantics for the whole calculus. In category theoretic terms, which are the terms of the paper, this means we give a universal embedding of every small Freyd-category into a closed Freyd-category. The universal property characterises the embedding as the free completion of the Freyd-category as ca [→, Set]-enriched category under conical colimits. This embedding extends the usual Yoneda embedding of a small category with finite products into its free cocompletion, i.e., the usual category theoretic embedding of a model of the first order fragment of the simply typed λ-calculus into a model for the whole calculus, and similarly for the linear λ-calculus. It agrees with an embedding previously given in an ad hoc way without a universal property, so it shows the definitiveness of that construction.
This work is supported by AIST Japan, and by EPSRC grant GR/M56333: The structure of programming languages: syntax and semantics.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
R. Blackwell, G.M. Kelly, and A.J. Power. Two-dimensional monad theory. J. Pure Appl. Algebra, 59:1–41, 1989.
E. Cheng, M. Hyland, and A.J. Power. Pseudo-distributive laws. Submitted.
B.J. Day. On closed categories of functors. In Midwest Category Seminar Reports IV, volume 137 of Lectures Notes in Mathematics, pages 1–38, 1970.
M. Fiore, G.D. Plotkin, and D. Turi. Abstract syntax and variable binding. In Proceedings of 14th Symposium on Ligic in Computer Science, pages 214–224, IEEE Computer Society Press, 1999.
Guen Bin Im and G.M. Kelly. A universal property of the convolution monoidal structure. J. Pure Appl. Algebra, 43:75–88, 1986.
A. Joyal, M. Nielsen, and G. Winskel. Bisimulation from open maps. Information and Computation, 127: 164–185, 1996.
G.M. Kelly. Basic concepts of enriched category theory, volume 64 of London Mathematical Society Lecture Notes Series, Cambridge University Press, 1982.
Y. Kinoshita and A.J. Power. Data-refinement in call-by-value languages. In Proceedings of Computer Science Logic, in volume 1683 of Lecture Notes in Computer Science, pages 562–576, 1999.
P.B. Levy, A.J. Power, and H. Thielecke. Modelling environments in call-by-value programming languages. Theoretical Computer Science, to appear.
E. Moggi. Computational lambda-calculus and monads. In Proceedings of 4th Symposium on Logic in Computer Science, pages 14–32, IEEE Computer Society Press, 1989.
E. Moggi. Notions of computation and monads. Information and Computation, 93:55–92, 1991.
M. Nygaard and G. Winskel. Linearity in Process Languages. In Proceedings of 17th Symposium on Logic in Computer Science, pages 433–444, IEEE Computer Society Press, 2002.
P.W. O’Hearn and D.J. Pym. The logic of bunched implications. Bull. Symbolic Logic 5:215–403, 1999.
G.D. Plotkin and A.J. Power. Adequacy for algebraic effects. In Proceedings of Foundations of Software Science and Compuation Structures, in volume 2030 of Lecture Notes in Computer Science, pages 1–24, 2001.
G.D. Plotkin and A.J. Power. Semantics for algebraic operations. In Proceedings of Mathematical Foundations of Programming Semantics, in volume 45 of Electronic Notes in Theoretical Computer Science, 2001.
G.D. Plotkin and A.J. Power. Algebraic operations and generic effects. Applied Categorical Structures, to appear.
A.J. Power. Premonoidal categories as categories with algebraic structure. Theoretical Computer Science, 278:303–321, 2002.
A.J. Power. Models for the computational λ-calculus. In Proceedings of 1st Irish Conferenence on Mathematical Foundations of Computer Science and Information Technology, in volume 40 of Electronic Notes in Theoretical Computer Science, 40, 2001.
A.J. Power and E.P. Robinson. Premonoidal categories and notions of computation. In: Proc. LDPL 96, Math Structures in Computer Science 7:453–468, 1997.
Miki Tanaka. Abstract syntax and variable binding for linear binders. In Proceedings of 25th Mathematical Foundations of Computer Science, in volume 1893 of Lecture Notes in Computer Science, pages 670–679, 2000.
Hayo Thielecke. Continuation passing style and self-adjointness. In Proceedings 2nd ACM SIGPLAN Workshop on Continuations, number NS-96-13 in BRICS Notes Series, December 1996.
Hayo Thielecke. Continuations semantics and self-adjointness. In Proceedings of 13th Conference on Mathematical Foundations of Programming Semantics, in volume 6 of Electronic Notes in Theoretical Computer Science.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Power, J. (2003). A Universal Embedding for the Higher Order Structure of Computational Effects. In: Hofmann, M. (eds) Typed Lambda Calculi and Applications. TLCA 2003. Lecture Notes in Computer Science, vol 2701. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44904-3_21
Download citation
DOI: https://doi.org/10.1007/3-540-44904-3_21
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40332-6
Online ISBN: 978-3-540-44904-1
eBook Packages: Springer Book Archive