Skip to main content

A Universal Embedding for the Higher Order Structure of Computational Effects

  • Conference paper
  • First Online:
Typed Lambda Calculi and Applications (TLCA 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2701))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. R. Blackwell, G.M. Kelly, and A.J. Power. Two-dimensional monad theory. J. Pure Appl. Algebra, 59:1–41, 1989.

    Article  MATH  MathSciNet  Google Scholar 

  2. E. Cheng, M. Hyland, and A.J. Power. Pseudo-distributive laws. Submitted.

    Google Scholar 

  3. 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.

    Article  MathSciNet  Google Scholar 

  4. 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.

    Google Scholar 

  5. Guen Bin Im and G.M. Kelly. A universal property of the convolution monoidal structure. J. Pure Appl. Algebra, 43:75–88, 1986.

    Article  MATH  MathSciNet  Google Scholar 

  6. A. Joyal, M. Nielsen, and G. Winskel. Bisimulation from open maps. Information and Computation, 127: 164–185, 1996.

    Article  MATH  MathSciNet  Google Scholar 

  7. G.M. Kelly. Basic concepts of enriched category theory, volume 64 of London Mathematical Society Lecture Notes Series, Cambridge University Press, 1982.

    Google Scholar 

  8. 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.

    Chapter  Google Scholar 

  9. P.B. Levy, A.J. Power, and H. Thielecke. Modelling environments in call-by-value programming languages. Theoretical Computer Science, to appear.

    Google Scholar 

  10. 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.

    Google Scholar 

  11. E. Moggi. Notions of computation and monads. Information and Computation, 93:55–92, 1991.

    Article  MATH  MathSciNet  Google Scholar 

  12. 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.

    Google Scholar 

  13. P.W. O’Hearn and D.J. Pym. The logic of bunched implications. Bull. Symbolic Logic 5:215–403, 1999.

    Article  MATH  MathSciNet  Google Scholar 

  14. 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.

    Chapter  Google Scholar 

  15. 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.

    Google Scholar 

  16. G.D. Plotkin and A.J. Power. Algebraic operations and generic effects. Applied Categorical Structures, to appear.

    Google Scholar 

  17. A.J. Power. Premonoidal categories as categories with algebraic structure. Theoretical Computer Science, 278:303–321, 2002.

    Article  MATH  MathSciNet  Google Scholar 

  18. 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.

    Google Scholar 

  19. 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.

    Article  MATH  MathSciNet  Google Scholar 

  20. 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.

    Chapter  Google Scholar 

  21. 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.

    Google Scholar 

  22. 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.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics