{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,5]],"date-time":"2026-02-05T10:46:54Z","timestamp":1770288414918,"version":"3.49.0"},"reference-count":34,"publisher":"Cambridge University Press (CUP)","issue":"3","license":[{"start":{"date-parts":[[2018,5,15]],"date-time":"2018-05-15T00:00:00Z","timestamp":1526342400000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Math. Struct. Comp. Sci."],"published-print":{"date-parts":[[2019,3]]},"abstract":"<jats:p>Just like any other branch of mathematics, denotational semantics of programming languages should be formalised in type theory, but adapting traditional domain theoretic semantics, as originally formulated in classical set theory to type theory has proven challenging. This paper is part of a project on formulating denotational semantics in type theories with guarded recursion. This should have the benefit of not only giving simpler semantics and proofs of properties such as adequacy, but also hopefully in the future to scale to languages with advanced features, such as general references, outside the reach of traditional domain theoretic techniques.<\/jats:p><jats:p>Working in<jats:italic>Guarded Dependent Type Theory<\/jats:italic>(<jats:monospace>GDTT<\/jats:monospace>), we develop denotational semantics for Fixed Point Calculus (FPC), the simply typed lambda calculus extended with recursive types, modelling the recursive types of FPC using the guarded recursive types of<jats:monospace>GDTT<\/jats:monospace>. We prove soundness and computational adequacy of the model in<jats:monospace>GDTT<\/jats:monospace>using a logical relation between syntax and semantics constructed also using guarded recursive types. The denotational semantics is intensional in the sense that it counts the number of unfold-fold reductions needed to compute the value of a term, but we construct a relation relating the denotations of extensionally equal terms, i.e., pairs of terms that compute the same value in a different number of steps. Finally, we show how the denotational semantics of terms can be executed inside type theory and prove that executing the denotation of a boolean term computes the same value as the operational semantics of FPC.<\/jats:p>","DOI":"10.1017\/s0960129518000087","type":"journal-article","created":{"date-parts":[[2018,5,15]],"date-time":"2018-05-15T04:46:13Z","timestamp":1526359573000},"page":"465-510","source":"Crossref","is-referenced-by-count":7,"title":["Denotational semantics of recursive types in synthetic guarded domain theory"],"prefix":"10.1017","volume":"29","author":[{"given":"RASMUS E.","family":"M\u00d8GELBERG","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1513-0807","authenticated-orcid":false,"given":"MARCO","family":"PAVIOTTI","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"56","published-online":{"date-parts":[[2018,5,15]]},"reference":[{"key":"S0960129518000087_ref34","doi-asserted-by":"crossref","DOI":"10.7551\/mitpress\/3054.001.0001","volume-title":"The Formal Semantics of Programming Languages: An Introduction","author":"Winskel","year":"1993"},{"key":"S0960129518000087_ref33","unstructured":"Veltri N. (2017). A Type-Theoretical Study of Nontermination. Ph.D. Thesis."},{"key":"S0960129518000087_ref32","unstructured":"The Univalent Foundations Program. (2013). Homotopy Type Theory: Univalent Foundations of Mathematics, Institute for Advanced Study. Available at http:\/\/homotopytypetheory.org\/book."},{"key":"S0960129518000087_ref30","doi-asserted-by":"publisher","DOI":"10.1142\/6284"},{"key":"S0960129518000087_ref28","unstructured":"Rosolini G. (1986). Continuity and Effectiveness in Topoi. Ph.D. Thesis, University of Oxford."},{"key":"S0960129518000087_ref27","doi-asserted-by":"crossref","unstructured":"Reus B. (1996). Synthetic domain theory in type theory: Another logic of computable functions. In: Proceedings of the International Conference on Theorem Proving in Higher Order Logics (TPHOLs '96).","DOI":"10.1007\/BFb0105416"},{"key":"S0960129518000087_ref26","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1996.0052"},{"key":"S0960129518000087_ref25","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2015.12.020"},{"key":"S0960129518000087_ref23","unstructured":"M\u00f8gelberg R.E. and Paviotti M. (2016). Denotational semantics of recursive types in synthetic guarded domain theory. In: Proceedings of the 31st Annual ACM\/IEEE Symposium on Logic in Computer Science (LICS '16) 317\u2013326."},{"key":"S0960129518000087_ref20","unstructured":"Kapulkin C. and Lumsdaine P.L. (2012). The simplicial model of univalent foundations (after voevodsky). Unpublished manuscript, arXiv: 1211.2851."},{"key":"S0960129518000087_ref16","doi-asserted-by":"crossref","unstructured":"Danielsson N.A. (2012). Operational semantics using the partiality monad. In: Proceedings of the 17th ACM SIGPLAN International Conference on Functional Programming (ICFP '12) 127\u2013138.","DOI":"10.1145\/2364527.2364546"},{"key":"S0960129518000087_ref14","doi-asserted-by":"crossref","unstructured":"Chapman J. , Uustalu T. and Veltri N. (2015). Quotienting the delay monad by weak bisimilarity. In: Proceedings of the International Confederation for Thermal Analysis and Calorimetry (ICTAC '15).","DOI":"10.1007\/978-3-319-25150-9_8"},{"key":"S0960129518000087_ref12","unstructured":"Bizjak A. and M\u00f8gelberg R. E. (2015). A model of guarded recursion with clock synchronisation. In: Proceedings of Mathematical Foundations of Programming Semantics (MFPS '15)."},{"key":"S0960129518000087_ref22","unstructured":"M\u00f8gelberg R.E. (2014). A type theory for productive coprogramming via guarded recursion. In: Proceedings of the Joint Meeting of the 23rd EACSL Annual Conference on Computer Science Logic and the 29th Annual ACM\/IEEE Symposium on Logic in Computer Science (CSL-LICS '14)."},{"key":"S0960129518000087_ref11","doi-asserted-by":"crossref","unstructured":"Bizjak A. , Grathwohl H.B. , Clouston R. , M\u00f8gelberg R.E. and Birkedal L. (2016). Guarded dependent type theory with coinductive types. In: Proceedings of the 19th International Conference on Foundations of Software Science and Computation Structures (FoSSaCS '16).","DOI":"10.1007\/978-3-662-49630-5_2"},{"key":"S0960129518000087_ref15","unstructured":"Cohen C. , Coquand T. , Huber S. and M\u00f6rtberg A. (2015). Cubical type theory: A constructive interpretation of the univalence axiom. In: 21st International Conference on Types for Proofs and Programs (TYPES 2015), May 18\u201321, 2015, Tallinn, Estonia 5:1\u20135:34."},{"key":"S0960129518000087_ref18","unstructured":"Escard\u00f3 M.H. (1999). A metric model of PCF, Laboratory for Foundations of Computer Science, University of Edinburgh."},{"key":"S0960129518000087_ref31","doi-asserted-by":"crossref","unstructured":"Svendsen K. and Birkedal L. (2014). Impredicative concurrent abstract predicates. In: Proceedings of the 23rd European Symposium on Programming Languages and Systems (ESOP '14).","DOI":"10.1007\/978-3-642-54833-8_9"},{"key":"S0960129518000087_ref8","doi-asserted-by":"crossref","unstructured":"Birkedal L. , M\u00f8gelberg R. , Schwinghammer J. and St\u00f8vring K. (2012). First steps in synthetic guarded domain theory: Step-indexing in the topos of trees. In: Proceedings of the Logical Methods in Computer Science (LICS '12).","DOI":"10.2168\/LMCS-8(4:1)2012"},{"key":"S0960129518000087_ref13","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-1(2:1)2005"},{"key":"S0960129518000087_ref10","doi-asserted-by":"crossref","unstructured":"Bizjak A. , Birkedal L. and Miculan M. (2014). A model of countable nondeterminism in guarded type theory. In: Proceedings of International Conference on Rewriting Techniques and Applications (RTA\u2013TLCA'14) 108\u2013123.","DOI":"10.1007\/978-3-319-08918-8_8"},{"key":"S0960129518000087_ref29","doi-asserted-by":"crossref","unstructured":"Simpson A.K. (2002). Computational adequacy for recursive types in models of intuitionistic set theory. In: Proceedings of the 17th Annual IEEE Symposium on Logic in Computer Science (LICS '02) 287\u2013298.","DOI":"10.1109\/LICS.2002.1029837"},{"key":"S0960129518000087_ref24","doi-asserted-by":"crossref","unstructured":"Nakano H. (2000). A modality for recursion. In: Proceedings of the 15th Annual IEEE Symposium on Logic in Computer Science (LICS '00) 255\u2013266.","DOI":"10.1109\/LICS.2000.855774"},{"key":"S0960129518000087_ref21","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796807006326"},{"key":"S0960129518000087_ref3","doi-asserted-by":"crossref","unstructured":"Atkey R. and McBride C. (2013). Productive coprogramming with guarded recursion. In: Proceedings of the 6th International Conference on Pumps and Fans with Compressors and Wind Turbines (ICFP '13) 197\u2013208.","DOI":"10.1145\/2500365.2500597"},{"key":"S0960129518000087_ref17","doi-asserted-by":"crossref","unstructured":"Dockins R. (2014). Formalized, effective domain theory in Coq. In: Proceedings of the International Conference on Interactive Theorem Proving (ITP '14).","DOI":"10.1007\/978-3-319-08970-6_14"},{"key":"S0960129518000087_ref9","unstructured":"Birkedal L. and M\u00f8gelberg R.E. (2013). Intensional type theory with guarded recursive types qua fixed points on universes. In: Proceedings of the 28th Annual ACM\/IEEE Symposium on Logic in Computer Science (LICS '13) 213\u2013222."},{"key":"S0960129518000087_ref19","doi-asserted-by":"crossref","unstructured":"Hyland J.M.E. (1991). First steps in synthetic domain theory. In: Proceedings of the 1990 Como Category Theory Conference, Volume 1272 of Lecture Notes in Mathematics 131\u2013156.","DOI":"10.1007\/BFb0084217"},{"key":"S0960129518000087_ref4","doi-asserted-by":"crossref","unstructured":"Bahr P. , Grathwohl H.B. and M\u00f8gelberg R.E. (2017). The clocks are ticking: No more delays! In: Proceedings of the 32nd Annual ACM\/IEEE Symposium on Logic in Computer Science (LICS '17), Reykjavik, Iceland, June 20\u201323, 1\u201312.","DOI":"10.1109\/LICS.2017.8005097"},{"key":"S0960129518000087_ref1","doi-asserted-by":"crossref","unstructured":"Altenkirch T. , Capriotti P. , Dijkstra G. , Kraus N. and Forsberg F.N. (2018). Quotient inductive-inductive types. In: Proceedings of the 21st International Conference on Foundations of Software Science and Computation Structures (FOSSACS '18), Held as Part of the European Joint Conferences on Theory and Practice of Software (ETAPS '18), April 14\u201320, Thessaloniki, Greece 293\u2013310.","DOI":"10.1007\/978-3-319-89366-2_16"},{"key":"S0960129518000087_ref2","doi-asserted-by":"publisher","DOI":"10.1145\/504709.504712"},{"key":"S0960129518000087_ref5","unstructured":"Benton N. , Birkedal L. , Kennedy A. and Varming C. (2010). Formalizing domains, ultrametric spaces and semantics of programming languages. Unpublished manuscript."},{"key":"S0960129518000087_ref6","doi-asserted-by":"crossref","unstructured":"Benton N. , Kennedy A. and Varming C. (2009). Some domain theory and denotational semantics in Coq. In: Proceedings of the Theorem Proving in Higher Order Logics (TPHOLs '09).","DOI":"10.1007\/978-3-642-03359-9_10"},{"key":"S0960129518000087_ref7","unstructured":"Birkedal L. , Bizjak A. , Clouston R. , Grathwohl H.B. , Spitters B. and Vezzosi A. (2016). Guarded cubical type theory: Path equality for guarded recursion. In: Proceedings of the 25th EACSL Annual Conference on Computer Science Logic (CSL '16)."}],"container-title":["Mathematical Structures in Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0960129518000087","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,10,17]],"date-time":"2019-10-17T21:53:12Z","timestamp":1571349192000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0960129518000087\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2018,5,15]]},"references-count":34,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2019,3]]}},"alternative-id":["S0960129518000087"],"URL":"https:\/\/doi.org\/10.1017\/s0960129518000087","relation":{},"ISSN":["0960-1295","1469-8072"],"issn-type":[{"value":"0960-1295","type":"print"},{"value":"1469-8072","type":"electronic"}],"subject":[],"published":{"date-parts":[[2018,5,15]]}}}