skip to main content
10.1145/3209108.3209206acmconferencesArticle/Chapter ViewAbstractPublication PageslicsConference Proceedingsconference-collections
research-article
Open Access

Extensional and Intensional Semantic Universes: A Denotational Model of Dependent Types

Authors Info & Claims
Published:09 July 2018Publication History

ABSTRACT

We describe a dependent type theory, and a denotational model for it, that incorporates both intensional and extensional semantic universes. In the former, terms and types are interpreted as strategies on certain graph games, which are concrete data structures of a generalized form, and in the latter as stable functions on event domains.

The concrete data structures themselves form an event domain, with which we may interpret an (extensional) universe type of (intensional) types. A dependent game corresponds to a stable function into this domain; we use its trace to define dependent product and sum constructions as it captures precisely how unfolding moves combine with the dependency to shape the possible interaction in the game. Since each strategy computes a stable function on CDS states, we can lift typing judgements from the intensional to the extensional setting, giving an expressive type theory with recursively defined type families and type operators.

We define an operational semantics for intensional terms, giving a functional programming language based on our type theory, and prove that our semantics for it is computationally adequate. By extending it with a simple non-local control operator on intensional terms, we can precisely characterize behaviour in the intensional model. We demonstrate this by proving full abstraction and full completeness results.

References

  1. Samson Abramsky and Radha Jagadeesan. 1994. Games and Full Completeness for Multiplicative Linear Logic. Journal of Symbolic Logic 59, 2 (1994), 543--574. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Samson Abramsky and Radha Jagadeesan. 2005. A game semantics for generic polymorphism. Annals of Pure and Applied Logic 133, 1-3 (2005), 3--37.Google ScholarGoogle ScholarCross RefCross Ref
  3. Samson Abramsky, Radha Jagadeesan, and Pasquale Malacaria. 2000. Full Abstraction for PCF. Information and Computation 163, 2 (2000), 409--470. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Samson Abramsky, Radha Jagadeesan, and Matthijs Vákár. 2015. Games for Dependent Types. In 42nd International Colloquium on Automata, Languages, and Programming. Springer, 31--43. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Thorsten Altenkirch, Conor McBride, and James McKinna. 2005. Why dependent types matter. (2005). http://www.e-pig.org/downloads/ydtm.pdf.Google ScholarGoogle Scholar
  6. Roberto Amadio and Pierre-Louis Curien. 1998. Domains and Lambda-Calculi. Cambridge Tracts in Theoretical Computer Science, Vol. 46. Cambridge University Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Henk Barendregt. 1992. Lambda Calculi with Types. In Handbook of Logic in Computer Science. Vol. 2. Oxford University Press, 117--309. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Gérard Berry. 1976. Bottom-Up Computation of Recursive Programs. Informatique Théorique et Applications 10, 1 (1976), 47--82.Google ScholarGoogle Scholar
  9. Gérard Berry. 1978. Stable Models of Typed lambda-Calculi. In 5th Colloquium on Automata, Languages and Programming. Springer, 72--89. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Gérard Berry and Pierre-Louis Curien. 1982. Sequential Algorithms on Concrete Data Structures. Theoretical Computer Science 20, 3 (1982), 265--321.Google ScholarGoogle ScholarCross RefCross Ref
  11. Robert Cartwright, Pierre-Louis Curien, and Matthias Felleisen. 1994. Fully Abstract Semantics for Observably Sequential Languages. Information and Computation 111, 2 (1994), 297--401. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Pierre Clairambault. 2009. Least and Greatest Fixpoints in Game Semantics. In 12th International Conference on Foundations Of Software Science And Computational Structures (Lecture Notes in Computer Science). Springer, 16--31.Google ScholarGoogle Scholar
  13. Pierre Clairambault and Peter Dybjer. 2014. The biequivalence of locally cartesian closed categories and Martin-Löf type theories. Mathematical Structures in Computer Science 24, 6 (2014).Google ScholarGoogle Scholar
  14. Pierre-Louis Curien. 1992. Observable Algorithms on Concrete Data Structures. In 7th Annual Symposium on Logic in Computer Science. IEEE Computer Society, 432--443.Google ScholarGoogle Scholar
  15. Peter Dybjer. 1995. Internal Type Theory. In International Workshop on Types for Proofs and Programs, Selected Papers. Springer, 120--134. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Hugo Herbelin. 2005. On the Degeneracy of Sigma-Types in Presence of Computational Classical Logic. In 7th International Conference on Typed Lambda Calculi and Applications (Lecture Notes in Mathematics). Springer, 209--220. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Martin Hofmann and Thomas Streicher. 1998. The Groupoid Interpretation of Type Theory. In Twenty-Five Years of Constructive Type Theory, Proceedings of a Congress held in Venice, October 1995 (Oxford Logic Guides). Oxford University Press, 83--111.Google ScholarGoogle Scholar
  18. Martin Hyland and Luke Ong. 2000. On Full Abstraction for PCF: I, II, and III. Information and Computation 163, 2 (2000), 285--408. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Martin Hyland and Andrea Schalk. 2002. Games on Graphs and Sequentially Realizable Functionals. In 17th IEEE Symposium on Logic in Computer Science. IEEE Computer Society, 257--264. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Gilles Kahn and Gordon D. Plotkin. 1993. Concrete Domains. Theoretical Computer Science 121, 1&2 (1993), 187--277. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Gilles Kahn and Gordon D. Plotkin. 1993. Concrete Domains. Theoretical Computer Science 121, 1&2 (1993), 187--277. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. James Laird. 2013. Game semantics for a polymorphic programming language. journal of the ACM 60, 4 (2013), 29. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Ralph Loader. 2001. Finitary PCF is not decidable. Theoretical Computer Science 266, 1-2 (2001), 341--364. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Per Martin-Löf. 1982. Constructive mathematics and computer programming. In Studies in Logic and the Foundations of Mathematics. Vol. 104. Elsevier, 153--175.Google ScholarGoogle Scholar
  25. Per Martin-Löf. 1984. Intuitionistic Type Theory. Bibliopolis.Google ScholarGoogle Scholar
  26. Guy McCusker. 1998. Games and full abstraction for a functional metalanguage with recursive types. Springer.Google ScholarGoogle Scholar
  27. Erik Palmgren. 1993. An Information System Interpretation of Martin-Löf's Partial Type Theory with Universes. Information and Computation 106, 1 (1993), 26--60. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Erik Palmgren and Viggo Stoltenberg-Hansen. 1990. Domain Interpretations of Martin-Löf's Partial Type Theory. Annals of Pure and Applied Logic 48, 2 (1990), 135--196.Google ScholarGoogle ScholarCross RefCross Ref
  29. Erik Palmgren and Viggo Stoltenberg-Hansen. 1990. Domain Interpretations of Martin-Löf's Partial Type Theory. Annals of Pure and Applied Logic 48, 2 (1990), 135--196.Google ScholarGoogle ScholarCross RefCross Ref
  30. Andrew M. Pitts. 1996. Relational Properties of Domains. Information and Computation 127, 2 (1996), 66--90.Google ScholarGoogle ScholarCross RefCross Ref
  31. Daniele Varacca, Hagen Völzer, and Glynn Winskel. 2004. Probabilistic Event Structures and Domains. In 15th International Conference on Concurrency Theory. Springer, 481--496.Google ScholarGoogle Scholar
  32. Glynn Winskel. 1980. Events in computation. Ph.D. Dissertation. University of Edinburgh.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    LICS '18: Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science
    July 2018
    960 pages
    ISBN:9781450355834
    DOI:10.1145/3209108

    Copyright © 2018 Owner/Author

    This work is licensed under a Creative Commons Attribution International 4.0 License.

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 9 July 2018

    Check for updates

    Qualifiers

    • research-article
    • Research
    • Refereed limited

    Acceptance Rates

    Overall Acceptance Rate143of386submissions,37%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader