{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T21:06:50Z","timestamp":1770239210785,"version":"3.49.0"},"reference-count":48,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2024,8,15]],"date-time":"2024-08-15T00:00:00Z","timestamp":1723680000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001459","name":"Ministry of Education, Singapore","doi-asserted-by":"crossref","award":["MOET-MOET32021-0001"],"award-info":[{"award-number":["MOET-MOET32021-0001"]}],"id":[{"id":"10.13039\/501100001459","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/501100001459","name":"Ministry of Education, Singapore","doi-asserted-by":"crossref","award":["Academic Research Fund Tier 1 (FY2023)"],"award-info":[{"award-number":["Academic Research Fund Tier 1 (FY2023)"]}],"id":[{"id":"10.13039\/501100001459","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2024,8,15]]},"abstract":"<jats:p>Programming with user-defined effects and effect handlers has many practical use cases involving imperative effects. Additionally, it is natural and powerful to use multi-shot effect handlers for non-deterministic or probabilistic programs that allow backtracking to compute a comprehensive outcome. Existing works for verifying effect handlers are restricted in one of three ways: i) permitting multi-shot continuations under pure setting; ii) allowing heap manipulation for only one-shot continuations; or iii) allowing multi-shot continuations with heap-manipulation but under a restricted frame rule.<\/jats:p>\n                  <jats:p>\n                    This work proposes a novel calculus called\n                    <jats:italic toggle=\"yes\">Effectful Specification Logic (ESL)<\/jats:italic>\n                    to support unrestricted effect handlers, where zero-\/one-\/multi-shot continuations can co-exist with imperative effects and higher-order constructs.\n                    <jats:italic toggle=\"yes\">ESL<\/jats:italic>\n                    captures behaviors in stages, and provides precise models to support invoked effects, handlers and continuations. To show its feasibility, we prototype an automated verification system for this novel specification logic, prove its soundness, report on useful case studies, and present experimental results. With this proposal, we have provided an extended specification logic that is capable of modeling arbitrary imperative higher-order programs with algebraic effects and continuation-enabled handlers.\n                  <\/jats:p>","DOI":"10.1145\/3674656","type":"journal-article","created":{"date-parts":[[2024,8,15]],"date-time":"2024-08-15T12:49:04Z","timestamp":1723726144000},"page":"909-937","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Specification and Verification for Unrestricted Algebraic Effects and Handling"],"prefix":"10.1145","volume":"8","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9760-5895","authenticated-orcid":false,"given":"Yahui","family":"Song","sequence":"first","affiliation":[{"name":"National University of Singapore, Singapore, Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3279-5827","authenticated-orcid":false,"given":"Darius","family":"Foo","sequence":"additional","affiliation":[{"name":"National University of Singapore, Singapore, Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9660-5682","authenticated-orcid":false,"given":"Wei-Ngan","family":"Chin","sequence":"additional","affiliation":[{"name":"National University of Singapore, Singapore, Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2024,8,15]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jlamp.2014.02.001"},{"key":"e_1_3_1_3_1","unstructured":"Andrej Bauer and Matija Pretnar. 2020. Eff. http:\/\/www.eff-lang.org\/."},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3136000.3136007"},{"key":"e_1_3_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428194"},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1007\/11554554_8"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/231379.231395"},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1480881.1480917"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2048147.2048152"},{"key":"e_1_3_1_10_1","unstructured":"Olivier Danvy. 2006. An analytical approach to program as data objects."},{"key":"e_1_3_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1462166.1462167"},{"key":"e_1_3_1_12_1","volume-title":"Proof of Programs with Effect Handlers. (Preuve de Programmes avec Effect Handlers)","author":"Vilhena Paulo de","year":"2022","unstructured":"Paulo de Vilhena. 2022. Proof of Programs with Effect Handlers. (Preuve de Programmes avec Effect Handlers). Ph. D. Dissertation. Paris Cit\u00e9 University, France. https:\/\/tel.archives-ouvertes.fr\/tel-03891381"},{"key":"e_1_3_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3434314"},{"key":"e_1_3_1_14_1","doi-asserted-by":"publisher","DOI":"10.46298\/LMCS-19(4:5)2023"},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/2500365.2500593"},{"key":"e_1_3_1_16_1","volume-title":"Staged Specifications for Automated Verification of Higher-Order Imperative Programs","author":"Foo Darius","year":"2023","unstructured":"Darius Foo, Yahui Song, and Wei-Ngan Chin. 2023. Staged Specifications for Automated Verification of Higher-Order Imperative Programs. Technical Report. National University of Singapore. DOI:arxiv-2308.00988."},{"key":"e_1_3_1_17_1","volume-title":"FM 2024: Formal Methods - 26th International Symposium on Formal Methods, Milan, Italy, Sept 9-13, 2024. Proceedings (Lecture Notes in Computer Science)","author":"Foo Darius","year":"2024","unstructured":"Darius Foo, Yahui Song, and Wei-Ngan Chin. 2024. Staged Specifications for Automated Verification of Higher-Order Imperative Programs. In FM 2024: Formal Methods - 26th International Symposium on Formal Methods, Milan, Italy, Sept 9-13, 2024. Proceedings (Lecture Notes in Computer Science). Springer."},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.ECOOP.2020.23"},{"key":"e_1_3_1_19_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-02768-1_22"},{"key":"e_1_3_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/2500365.2500590"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-57761-2_8"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3633280"},{"key":"e_1_3_1_23_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796820000271"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3236771"},{"key":"e_1_3_1_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-08867-9_4"},{"key":"e_1_3_1_26_1","unstructured":"Daan Leijen. 2012. Koka. https:\/\/www.microsoft.com\/en-us\/research\/project\/koka\/."},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","unstructured":"Daan Leijen. 2014. Koka: Programming with Row Polymorphic Effect Types. In Proceedings 5th Workshop on Mathematically Structured Functional Programming MSFP@ETAPS 2014 Grenoble France 12 April 2014 (EPTCS Vol. 153) Paul Blain Levy and Neel Krishnaswami(Eds.). 100\u07dd126. https:\/\/doi.org\/10.4204\/EPTCS.153.8 10.4204\/EPTCS.153.8","DOI":"10.4204\/EPTCS.153.8"},{"key":"e_1_3_1_28_1","unstructured":"Daan Leijen. 2016. Algebraic effects for functional programming. Technical Report. Technical Report. 15 pages. https:\/\/www.microsoft.com\/en-us\/research...."},{"key":"e_1_3_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3122975.3122977"},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3093333.3009897"},{"key":"e_1_3_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2034773.2034786"},{"key":"e_1_3_1_32_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.1989.39155"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","unstructured":"Minh Nguyen Roly Perera Meng Wang and Nicolas Wu. 2022.Modular probabilistic models via algebraic effects. Proc. ACM Program. Lang. 6 ICFP (2022) 381\u07dd410. https:\/\/doi.org\/10.1145\/3547635 10.1145\/3547635","DOI":"10.1145\/3547635"},{"key":"e_1_3_1_34_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-81688-9_31"},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","unstructured":"Luna Phipps- Costin Andreas Rossberg Arjun Guha Daan Leijen Daniel Hillerstr\u00f6m K. C. Sivaramakrishnan Matija Pretnar and Sam Lindley. 2023. Continuing WebAssembly with Effect Handlers. CoRR abs\/2308.08347 (2023). https:\/\/doi.org\/10.48550\/ARXIV.2308.08347 10.48550\/ARXIV.2308.08347 arXiv:2308.08347","DOI":"10.48550\/ARXIV.2308.08347"},{"key":"e_1_3_1_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-39799-8_54"},{"key":"e_1_3_1_37_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2008.45"},{"key":"e_1_3_1_38_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-00590-9_7"},{"key":"e_1_3_1_39_1","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-9(4:23)2013"},{"key":"e_1_3_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/3571264"},{"key":"e_1_3_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3453483.3454039"},{"key":"e_1_3_1_42_1","doi-asserted-by":"publisher","unstructured":"Tiago Soares and M\u00e1rio Pereira. 2023. A Framework for the Automated Verification of Algebraic Effects and Handlers (extended version). CoRR abs\/2302.01265 (2023). https:\/\/doi.org\/10.48550\/ARXIV.2302.01265 10.48550\/ARXIV.2302.01265 arXiv:2302.01265","DOI":"10.48550\/ARXIV.2302.01265"},{"key":"e_1_3_1_43_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-21037-2_5"},{"key":"e_1_3_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/3341709"},{"key":"e_1_3_1_45_1","unstructured":"TR. 2024. Technical Report. https:\/\/github.com\/hipsleek\/Heifer\/blob\/StagedSL\/docs\/ICFP2024_TR.pdf."},{"key":"e_1_3_1_46_1","unstructured":"Turbolift. 2024. Turbolift. https:\/\/marcinzh.github.io\/turbolift\/."},{"key":"e_1_3_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/91556.91592"},{"key":"e_1_3_1_48_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-71389-0_26"},{"key":"e_1_3_1_49_1","doi-asserted-by":"publisher","unstructured":"Zenodo. 2024. Benchmark and Source Code. https:\/\/doi.org\/10.5281\/zenodo.11363460 10.5281\/zenodo.11363460.","DOI":"10.5281\/zenodo.11363460"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3674656","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3674656","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T07:50:40Z","timestamp":1770191440000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3674656"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,8,15]]},"references-count":48,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2024,8,15]]}},"alternative-id":["10.1145\/3674656"],"URL":"https:\/\/doi.org\/10.1145\/3674656","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,8,15]]},"assertion":[{"value":"2024-02-28","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-06-18","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-08-15","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}