Skip to main content

On the symmetry of sequentiality

  • Conference paper
  • First Online:
Mathematical Foundations of Programming Semantics (MFPS 1993)

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

Abstract

We offer a symmetric account of sequentiality, by means of symmetric algorithms, which are pairs of sequential functions, mapping input data to output data, and output exploration trees to input exploration trees, respectively. We use the framework of sequential data structures, a reformulation of a class of Kahn-Plotkin's concrete data structures. In sequential data structures, data are constructed by alternating questions and answers. Sequential data structures and symmetric algorithms are the objects and morphisms of a symmetric monoidal closed category, which is also cartesian, and is such that the unit is terminal. Our category is a full subcategory of categories of games considered by Lamarche, and by Abramsky-Jagadeesan, respectively.

Following Lamarche, we construct a comonad corresponding to contraction. We define this comonad via an adjunction between the category of symmetric algorithms and the “old” cartesian closed category of sequential algorithms, defined in the late seventies by the author and Gérard Berry. Thus sequential algorithms model not only typed λ-calculus, but also intuitionistic affine logic, with connectives ⊗, 1, ⊸, x, and τ.

This work, while finding its roots in the study of sequentiality, presents striking correspondences with game-theoretic concepts, introduced by Blass in the early seventies in a very different context. The aim of the present work is to offer a systematic connection between sequentiality and games. Also, the notion of symmetric algorithm appears to be new.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. S. Abramsky, R. Jagadeesan, New foundations for the geometry of interaction, in Proc. of Seventh Annual Symposium on Logic in Computer Science, Santa-Cruz (1992).

    Google Scholar 

  2. S. Abramsky, R. Jagadeesan, Games and full completeness for multiplicative linear logic, Technical report DoC 92/24, Imperial College (1992).

    Google Scholar 

  3. M. Barr, *-Autonomous categories and linear logic, Mathematical Structures in Computer Science 1 (1991).

    Google Scholar 

  4. G. Berry, Stable models of typed lambda-calculi, in Proc. 5th Int. Coll. on Automata, Languages and Programming, Lect. Notes in Comp. Sci. 62, 72–89, Springer (1978).

    Google Scholar 

  5. G. Berry, P.-L. Curien, Sequential algorithms on concrete data structures, Theoretical Computer Science 20, 265–321 (1982).

    Google Scholar 

  6. G. Berry, P.-L. Curien, Theory and practice of sequential algorithms, in Algebraic Methods in Semantics, J. Reynolds and M. Nivat eds, Cambridge University Press, 35–88 (1985).

    Google Scholar 

  7. G. Berry, P.-L. Curien, J.-J. Lévy, Full abstraction of sequential languages: the state of the art, in Algebraic Methods in Semantics, J. Reynolds and M. Nivat eds, Cambridge University Press, 89–131 (1985).

    Google Scholar 

  8. A. Blass, Degrees of indeterminacy of games, Fundamenta Mathematicae LXXVII, 151–166 (1972).

    Google Scholar 

  9. A. Blass, A game semantics for linear logic, Annals of Pure and Applied Logic 56, 183–220 (1992).

    Google Scholar 

  10. A. Bucciarelli, T. Ehrhard, A theory of sequentiality, to appear in Theoretical Computer Science.

    Google Scholar 

  11. R. Cartwright, M. Felleisen, Observable sequentiality and full abstraction, in Proc. 19th ACM Symposium on Principles of Programming Languages, Albuquerque (1992).

    Google Scholar 

  12. R. Cartwright, P.-L. Curien, M. Felleisen, Fully abstract models of observably sequential languages, to appear in Information and Computation.

    Google Scholar 

  13. J.H. Conway, On numbers and games, London Mathematical Society Monographs, vol. 6, Academic Press (1976).

    Google Scholar 

  14. P.-L. Curien, Categorical combinators, sequential algorithms and functional programming, Pitman (1986), revised edition, Birkhaüser (1993).

    Google Scholar 

  15. P.-L. Curien, Observable algorithms on concrete data structures, in Proc. Seventh Annual Symposium on Logic in Computer Science, Santa-Cruz (1992).

    Google Scholar 

  16. V. Danos, Une application de la logique linéaire à l'étude des processus de normalisation (principalement du λ-calcul), Thèse de Doctorat, Université Paris VII (1990).

    Google Scholar 

  17. J.-Y. Girard, Linear logic, Theoretical Computer Science 50 (1), 1–102 (1987).

    Google Scholar 

  18. J.-Y. Girard, Towards a geometry of interaction, in Categories in Computer Science and Logic, J.W. Gray and A. Scedrov eds, Contemporary Mathematics 92, 69–108 (1989).

    Google Scholar 

  19. C. Gunter, Semantics of Programming Languages, Structures and techniques, MIT Press (1992).

    Google Scholar 

  20. C. Gunter, D. Scott, Semantic domains, Chapter in Handbook of Theoretical Computer Science, Vol. B, J. van Leeuwen ed., MIT Press/Elsevier (1990).

    Google Scholar 

  21. J.M.E. Hyland, C.-H. L. Ong, Fair games and full completeness for multiplicative linear logic without the MIX-rule, manuscript (1993).

    Google Scholar 

  22. A. Joyal, Remarques sur la théorie des jeux à deux personnes, Gazette des Sciences Mathématiques du Québec 1(4) (1977).

    Google Scholar 

  23. G. Kahn, G.D. Plotkin, Concrete Domains, in Boehm Festschrift, Special Volume of Theoretical Computer Science, to appear (1993).

    Google Scholar 

  24. R. Kanneganti, R. Cartwright, M. Felleisen, SPCF: its model, calculus, and computational power, REX Workshop on Semantics and Concurrency, Lecture Notes in Comput. Sci. 526, 131–151, Springer (1992).

    Google Scholar 

  25. Y. Lafont, T. Streicher, Games semantics for linear logic, in Proc. Sixth Annual Symposium on Logic in Computer Science, Amsterdam (1991).

    Google Scholar 

  26. F. Lamarche, Sequentiality, games and linear logic, manuscript (1992).

    Google Scholar 

  27. F. Lamarche, Games, additives and correctness criteria, manuscript (1992).

    Google Scholar 

  28. P. Malacaria, V. Régnier, Some results on the interpretation of λ-calculus in operator algebras, in Proc. Sixth Annual Symposium on Logic in Computer Science, Amsterdam (1991).

    Google Scholar 

  29. G.D. Plotkin, The category of complete partial orders: a tool for making meanings, lecture notes, Universita di Pisa (1978); extended, University of Edinburgh (1981).

    Google Scholar 

  30. L. Régnier, Lambda-calcul et réseaux, Thèse de Doctorat, Université Paris VII (1992).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Stephen Brookes Michael Main Austin Melton Michael Mislove David Schmidt

Rights and permissions

Reprints and permissions

Copyright information

© 1994 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Curien, PL. (1994). On the symmetry of sequentiality. In: Brookes, S., Main, M., Melton, A., Mislove, M., Schmidt, D. (eds) Mathematical Foundations of Programming Semantics. MFPS 1993. Lecture Notes in Computer Science, vol 802. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58027-1_2

Download citation

  • DOI: https://doi.org/10.1007/3-540-58027-1_2

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-58027-0

  • Online ISBN: 978-3-540-48419-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics