{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,19]],"date-time":"2026-06-19T18:17:18Z","timestamp":1781893038669,"version":"3.54.5"},"reference-count":40,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2021,1,4]],"date-time":"2021-01-04T00:00:00Z","timestamp":1609718400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100010661","name":"Horizon 2020 Framework Programme","doi-asserted-by":"publisher","award":["683289"],"award-info":[{"award-number":["683289"]}],"id":[{"id":"10.13039\/100010661","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2021,1,4]]},"abstract":"<jats:p>\n                    Step-indexed logical relations are an extremely useful technique for building operational-semantics-based models and program logics for realistic, richly-typed programming languages. They have proven to be indispensable for modeling features like\n                    <jats:italic toggle=\"yes\">higher-order state<\/jats:italic>\n                    , which many languages support but which were difficult to accommodate using traditional denotational models. However, the conventional wisdom is that, because they only support reasoning about finite traces of computation, (unary) step-indexed models are only good for proving\n                    <jats:italic toggle=\"yes\">safety<\/jats:italic>\n                    properties like \u201cwell-typed programs don\u2019t go wrong\u201d. There has consequently been very little work on using step-indexing to establish\n                    <jats:italic toggle=\"yes\">liveness<\/jats:italic>\n                    properties, in particular termination.\n                  <\/jats:p>\n                  <jats:p>\n                    In this paper, we show that step-indexing can in fact be used to prove termination of well-typed programs\u2014even in the presence of dynamically-allocated, shared, mutable, higher-order state\u2014so long as one\u2019s type system enforces disciplined use of such state. Specifically, we consider a language with asynchronous channels, inspired by promises in JavaScript, in which higher-order state is used to implement communication, and linearity is used to ensure termination. The key to our approach is to generalize from natural number step-indexing to\n                    <jats:italic toggle=\"yes\">transfinite step-indexing<\/jats:italic>\n                    , which enables us to compute termination bounds for program expressions in a compositional way. Although transfinite step-indexing has been proposed previously, we are the first to apply this technique to reasoning about termination in the presence of higher-order state.\n                  <\/jats:p>","DOI":"10.1145\/3434294","type":"journal-article","created":{"date-parts":[[2021,1,4]],"date-time":"2021-01-04T12:34:24Z","timestamp":1609763664000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":9,"title":["Transfinite step-indexing for termination"],"prefix":"10.1145","volume":"5","author":[{"given":"Simon","family":"Spies","sequence":"first","affiliation":[{"name":"MPI-SWS, Germany \/ University of Cambridge, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Neel","family":"Krishnaswami","sequence":"additional","affiliation":[{"name":"University of Cambridge, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Derek","family":"Dreyer","sequence":"additional","affiliation":[{"name":"MPI-SWS, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,1,4]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/1709093.1709094"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1086365.1086376"},{"key":"e_1_2_1_3_1","unstructured":"Amal Jamil Ahmed. 2004. Semantics of types for mutable state. Ph.D. Dissertation. Princeton University."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/504709.504712"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3341713"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-08918-8_8"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ic"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-35182-2_19"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2535838.2535881"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796899003342"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49498-1_8"},{"key":"e_1_2_1_12_1","volume-title":"Dagstuhl Seminar Proceedings. Schloss Dagstuhl-Leibniz-Zentrum f\u00fcr Informatik.","author":"Dockins Robert","year":"2010","unstructured":"Robert Dockins and Aquinas Hobor. 2010. A theory of termination via indirection. In Dagstuhl Seminar Proceedings. Schloss Dagstuhl-Leibniz-Zentrum f\u00fcr Informatik."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","unstructured":"Derek Dreyer Amal Ahmed and Lars Birkedal. 2011. Logical step-indexed logical relations. Logical Methods in Computer Science 7 2 : 16 ( 2011 ). https:\/\/doi.org\/10.2168\/LMCS-7( 2 :16) 2011 10.2168\/LMCS-7(2:16)2011","DOI":"10.2168\/LMCS-7("},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/1706299.1706323"},{"key":"e_1_2_1_16_1","volume-title":"International Conference on Parallel Processing. 263-272","author":"Friedman Daniel","year":"1976","unstructured":"Daniel Friedman and David Wise. 1976. The impact of applicative programming on multiprocessing. In International Conference on Parallel Processing. 263-272."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-60178-3_83"},{"key":"e_1_2_1_18_1","volume-title":"Proofs and types","author":"Girard Jean-Yves","unstructured":"Jean-Yves Girard, Paul Taylor, and Yves Lafont. 1989. Proofs and types. Cambridge University Press."},{"key":"e_1_2_1_19_1","unstructured":"Gerhard Hessenberg. 1906. Grundbegrife der Mengenlehre. Vol. 1. Vandenhoeck & Ruprecht."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/2103776.2103783"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","unstructured":"Wolfgang Jeltsch. 2012. Towards a common categorical semantics for linear-time temporal logic and functional reactive programming. Electronic Notes in Theoretical Computer Science 286 ( 2012 ) 229-242. https:\/\/doi.org\/10.1016\/j.entcs. 2012. 08.015 10.1016\/j.entcs.2012.08.015","DOI":"10.1016\/j.entcs"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/2428116.2428128"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","unstructured":"Ralf Jung Jacques-Henri Jourdan Robbert Krebbers and Derek Dreyer. 2018a. RustBelt: Securing the foundations of the Rust programming language. PACMPL 2 POPL Article 66 ( 2018 ). https:\/\/doi.org\/10.1145\/3158154 10.1145\/3158154","DOI":"10.1145\/3158154"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","unstructured":"Ralf Jung Robbert Krebbers Jacques-Henri Jourdan Ale\u0161 Bizjak Lars Birkedal and Derek Dreyer. 2018b. Iris from the ground up: A modular foundation for higher-order concurrent separation logic. Journal of Functional Programming 28 ( 2018 ). https:\/\/doi.org\/10.1017\/S0956796818000151 10.1017\/S0956796818000151","DOI":"10.1017\/S0956796818000151"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/2676726.2676980"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2500365.2500588"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/2398856.2364536"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/6.4.308"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-21691-6_13"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-17184-1_1"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1007\/11417170_22"},{"key":"e_1_2_1_33_1","volume-title":"Proceedings of the IFIP 9th World Computer Congress. 513-523","author":"Reynolds John C","year":"1983","unstructured":"John C Reynolds. 1983. Types, abstraction and parametric polymorphism. In Information Processing 83, Proceedings of the IFIP 9th World Computer Congress. 513-523."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","unstructured":"Jan Schwinghammer Ale\u0161 Bizjak and Lars Birkedal. 2013. Step-indexed relational reasoning for countable nondeterminism. Logical Methods in Computer Science 9 ( 2013 ). https:\/\/doi.org\/10.2168\/LMCS-9( 4 :4) 2013 10.2168\/LMCS-9(4:4)2013","DOI":"10.2168\/LMCS-9("},{"key":"e_1_2_1_35_1","doi-asserted-by":"crossref","unstructured":"Simon Spies Neel Krishnaswami and Derek Dreyer. 2021. Transfinite step-indexing for termination. Technical Report. https:\/\/plv.mpi-sws.org\/transfinite-step-indexing\/termination\/","DOI":"10.1145\/3434294"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-54833-8_9"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49498-1_28"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.2307\/2271658"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/2480359.2429111"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ic"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3434294","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3434294","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,19]],"date-time":"2026-06-19T07:27:36Z","timestamp":1781854056000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3434294"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,4]]},"references-count":40,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2021,1,4]]}},"alternative-id":["10.1145\/3434294"],"URL":"https:\/\/doi.org\/10.1145\/3434294","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,1,4]]},"assertion":[{"value":"2021-01-04","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}