{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T20:30:55Z","timestamp":1792787455381,"version":"4.5.0"},"reference-count":40,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA1","license":[{"start":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T00:00:00Z","timestamp":1775779200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"name":"Villum Foundation","award":["VIL73403"],"award-info":[{"award-number":["VIL73403"]}],"id":[{"id":"https:\/\/ror.org\/05nqkay65","id-type":"ROR","asserted-by":"crossref"}]},{"name":"Villum Foundation","award":["VIL25804"],"award-info":[{"award-number":["VIL25804"]}],"id":[{"id":"https:\/\/ror.org\/05nqkay65","id-type":"ROR","asserted-by":"crossref"}]},{"name":"European Research Council","award":["101096090"],"award-info":[{"award-number":["101096090"]}],"id":[{"id":"https:\/\/ror.org\/0472cxd90","id-type":"ROR","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,4,10]]},"abstract":"<jats:p>Mixed choice multiparty message passing is an expressive concurrency programming paradigm where components use non-determinism to choose between concurrent options for sending and receiving messages. This flexibility makes it possible to program advanced algorithms, such as leader election protocols, succinctly. We present Mixtris, a mechanised higher-order separation logic for reasoning about functional correctness of higher-order imperative programs with mixed choice multiparty message passing in a shared memory setting. Mixtris builds upon recent work on separation logic for (non-mixed choice) multiparty message-passing programs, by drawing inspiration from session type systems for mixed choice multiparty message-passing programs. Mixtris is the first program logic for mixed choice multiparty message passing. We prove soundness of Mixtris using a novel model of our mixed choice multiparty protocols. We demonstrate how Mixtris can be used to formally reason about challenging examples, including some leader election protocols such as Chang and Roberts\u2019s ring leader election protocol. All the results in the paper (both meta-theory and examples) have been formalised in the Rocq proof assistant on top of the Iris program logic framework.<\/jats:p>","DOI":"10.1145\/3798224","type":"journal-article","created":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T14:33:43Z","timestamp":1775831623000},"page":"681-706","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Mixtris: Mechanised Higher-Order Separation Logic for Mixed Choice Multiparty Message Passing"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6143-9031","authenticated-orcid":false,"given":"Jonas Kastberg","family":"Hinrichsen","sequence":"first","affiliation":[{"name":"Aalborg University, Copenhagen, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-8916-3093","authenticated-orcid":false,"given":"Iwan","family":"Qu\u00e9merais","sequence":"additional","affiliation":[{"name":"ENS-Lyon, Lyon, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1320-0098","authenticated-orcid":false,"given":"Lars","family":"Birkedal","sequence":"additional","affiliation":[{"name":"Aarhus University, Aarhus, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,4,10]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","unstructured":"Andrew W. Appel. 2001. Foundational Proof-Carrying Code. In LICS. doi:10.1109\/LICS.2001.932501","DOI":"10.1109\/LICS.2001.932501"},{"key":"e_1_3_1_3_2","doi-asserted-by":"crossref","unstructured":"Franco Barbanera and Mariangiola Dezani-Ciancaglini. 2025. Modular Multiparty Sessions with Mixed Choice. In DisCoTec.","DOI":"10.4204\/EPTCS.425.2"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","unstructured":"Gael N. Buckley and Abraham Silberschatz. 1983. An Effective Implementation for the Generalized Input-Output Construct of CSP. ACM Trans. Program. Lang. Syst. (1983). doi:10.1145\/69624.357208","DOI":"10.1145\/69624.357208"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","unstructured":"Giuseppe Castagna Mariangiola Dezani-Ciancaglini and Luca Padovani. 2012. On Global Types and Multi-Party Session. LMCS (2012). doi:10.2168\/LMCS-8(1:24)2012","DOI":"10.2168\/LMCS-8(1:24)2012"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/359104.359108"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","unstructured":"Cynthia Dwork Nancy A. Lynch and Larry J. Stockmeyer. 1988. Consensus in the presence of partial synchrony. J. ACM (1988). doi:10.1145\/42282.42283","DOI":"10.1145\/42282.42283"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","unstructured":"Simon J. Gay and Vasco Thudichum Vasconcelos. 2010. Linear type theory for asynchronous session types. JFP (2010). doi:10.1017\/S0956796809990268","DOI":"10.1017\/S0956796809990268"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","unstructured":"Leon Gondelman Jonas Kastberg Hinrichsen Mar\u00edo Pereira Amin Timany and Lars Birkedal. 2023. Verifying Reliable Network Components in a Distributed Separation Logic with Dependent Separation Protocols. ICFP (2023). doi:10.1145\/3607859","DOI":"10.1145\/3607859"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","unstructured":"Ruben Hamers and Sung-Shik Jongmans. 2020. Discourje: Runtime Verification of Communication Protocols in Clojure. In TACAS. doi:10.1007\/978-3-030-45190-5_15","DOI":"10.1007\/978-3-030-45190-5_15"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","unstructured":"Jonas Kastberg Hinrichsen Jesper Bengtson and Robbert Krebbers. 2022. Actris 2.0: Asynchronous Session-Type Based Reasoning in Separation Logic. LMCS (2022). doi:10.46298\/lmcs-18(2:16)2022","DOI":"10.46298\/lmcs-18(2:16)2022"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","unstructured":"Jonas Kastberg Hinrichsen Jules Jacobs and Robbert Krebbers. 2024. Multris: Functional Verification of Multiparty Message Passing in Separation Logic. OOPSLA (2024). doi:10.1145\/3689762","DOI":"10.1145\/3689762"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","unstructured":"Jonas Kastberg Hinrichsen Dani\u00ebl Louwrink Robbert Krebbers and Jesper Bengtson. 2021. Machine-checked semantic session typing. In CPP. doi:10.1145\/3437992.3439914","DOI":"10.1145\/3437992.3439914"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","unstructured":"Jonas Kastberg Hinrichsen Iwan Qu\u00e9merais and Lars Birkedal. 2026. Rocq Mechanisation of \u201cMixtris: Mechanised Higher-Order Separation Logic for Mixed Choice Multiparty Message Passing\u201d. doi:10.5281\/zenodo.18749895","DOI":"10.5281\/zenodo.18749895"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","unstructured":"Jules Jacobs Stephanie Balzer and Robbert Krebbers. 2022. Multiparty GV: Functional Multiparty Session Types with Certified Deadlock Freedom. ICFP (2022). doi:10.1145\/3547638","DOI":"10.1145\/3547638"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","unstructured":"Jules Jacobs Jonas Kastberg Hinrichsen and Robbert Krebbers. 2024. Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing. POPL (2024). doi:10.1145\/3632889","DOI":"10.1145\/3632889"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","unstructured":"Sung-Shik Jongmans and Francisco Ferreira. 2023. Synthetic Behavioural Typing: Sound Regular Multiparty Sessions via Implicit Local Types (Pearl\/Brave New Idea). In ECOOP. doi:10.4230\/LIPICS.ECOOP.2023.42","DOI":"10.4230\/LIPICS.ECOOP.2023.42"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","unstructured":"Sung-Shik Jongmans and Nobuko Yoshida. 2020. Exploring Type-Level Bisimilarity towards More Expressive Multiparty Session Types. In ESOP. doi:10.1007\/978-3-030-44914-8_10","DOI":"10.1007\/978-3-030-44914-8_10"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","unstructured":"Ralf Jung Robbert Krebbers Lars Birkedal and Derek Dreyer. 2016. Higher-order ghost state. In ICFP. doi:10.1145\/2951913.2951943","DOI":"10.1145\/2951913.2951943"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","unstructured":"Ralf Jung Robbert Krebbers Jacques-Henri Jourdan Ales Bizjak Lars Birkedal and Derek Dreyer. 2018. Iris from the ground up: A modular foundation for higher-order concurrent separation logic. JFP (2018). doi:10.1017\/S0956796818000151","DOI":"10.1017\/S0956796818000151"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","unstructured":"Ralf Jung David Swasey Filip Sieczkowski Kasper Svendsen Aaron Turon Lars Birkedal and Derek Dreyer. 2015. Iris: Monoids and Invariants as an Orthogonal Basis for Concurrent Reasoning. In POPL. doi:10.1145\/2676726.2676980","DOI":"10.1145\/2676726.2676980"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-55599-4_135"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","unstructured":"Robbert Krebbers Jacques-Henri Jourdan Ralf Jung Joseph Tassarotti Jan-Oliver Kaiser Amin Timany Arthur Chargu\u00e9raud and Derek Dreyer. 2018. MoSeL: A General Extensible Modal Framework for Interactive Proofs in Separation Logic. ICFP (2018). doi:10.1145\/3236772","DOI":"10.1145\/3236772"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","unstructured":"Rupak Majumdar Madhavan Mukund Felix Stutz and Damien Zufferey. 2021. Generalising Projection in Asynchronous Multiparty Session Types. In CONCUR. doi:10.4230\/LIPICS.CONCUR.2021.35","DOI":"10.4230\/LIPICS.CONCUR.2021.35"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","unstructured":"Robin Milner Joachim Parrow and David Walker. 1992. A Calculus of Mobile Processes I and II. Inf. Comput. (1992). doi:10.1016\/0890-5401(92)90008-4","DOI":"10.1016\/0890-5401(92)90008-4"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","unstructured":"Uwe Nestmann. 2000. What is a \"Good\" Encoding of Guarded Choice? Inf. Comput. (2000). doi:10.1006\/INCO.1999.2822","DOI":"10.1006\/INCO.1999.2822"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","unstructured":"Catuscia Palamidessi. 2003. Comparing The Expressive Power Of The Synchronous And Asynchronous Pi-Calculi. Math. Struct. Comput. Sci. (2003). doi:10.1017\/S0960129503004043","DOI":"10.1017\/S0960129503004043"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","unstructured":"Catuscia Palamidessi and Oltea Mihaela Herescu. 2005. A randomized encoding of the Pi-calculus with mixed choice. Theor. Comput. Sci. (2005). doi:10.1016\/J.TCS.2004.11.020","DOI":"10.1016\/J.TCS.2004.11.020"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","unstructured":"Jonah Pears Laura Bocchi and Andy King. 2023. Safe Asynchronous Mixed-Choice for Timed Interactions. In COORDINATION. doi:10.1007\/978-3-031-35361-1_12","DOI":"10.1007\/978-3-031-35361-1_12"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","unstructured":"Kirstin Peters and Uwe Nestmann. 2012. Is It a \"Good\" Encoding of Mixed Choice?. In FOSSACS. doi:10.1007\/978-3-642-28729-9_14","DOI":"10.1007\/978-3-642-28729-9_14"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","unstructured":"Kirstin Peters and Nobuko Yoshida. 2024. Separation and Encodability in Mixed Choice Multiparty Sessions. In LICS (LICS \u201924). doi:10.1145\/3661814.3662085","DOI":"10.1145\/3661814.3662085"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","unstructured":"John H. Reppy Claudio V. Russo and Yingqi Xiao. 2009. Parallel concurrent ML. In ICFP. doi:10.1145\/1596550.1596588","DOI":"10.1145\/1596550.1596588"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","unstructured":"Alceste Scalas and Nobuko Yoshida. 2019. Less is more: multiparty session types revisited. POPL (2019). doi:10.1145\/3290343","DOI":"10.1145\/3290343"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","unstructured":"Kasper Svendsen Lars Birkedal and Matthew J. Parkinson. 2013. Modular Reasoning about Separation of Concurrent Data Structures. In ESOP. doi:10.1007\/978-3-642-37036-6_11","DOI":"10.1007\/978-3-642-37036-6_11"},{"key":"e_1_3_1_35_2","unstructured":"The Clojure Team. 2025. https:\/\/clojure.org."},{"key":"e_1_3_1_36_2","unstructured":"The Go Team. 2025. https:\/\/go.dev\/."},{"key":"e_1_3_1_37_2","unstructured":"The Iris Team. 2025. https:\/\/gitlab.mpi-sws.org\/iris\/iris\/blob\/master\/docs\/heap_lang.md."},{"key":"e_1_3_1_38_2","unstructured":"The Rocq Team. 2025. https:\/\/rocq-prover.org\/."},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","unstructured":"Bent Thomsen Lone Leth Thomsen and Tsung-Min Kuo. 1996. A Facile Tutorial. In CONCUR. doi:10.1007\/3-540-61604-7_61","DOI":"10.1007\/3-540-61604-7_61"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","unstructured":"Yih-Kuen Tsay and Rajive L. Bagrodia. 1994. Fault-Tolerant Algorithms for Fair Interprocess Synchronization. IEEE Trans. Parallel Distributed Syst. (1994). doi:10.1109\/71.296319","DOI":"10.1109\/71.296319"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","unstructured":"Philip Wadler. 2012. Propositions as sessions. In ICFP. doi:10.1145\/2364527.2364568","DOI":"10.1145\/2364527.2364568"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3798224","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T11:21:58Z","timestamp":1790421718000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3798224"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,10]]},"references-count":40,"journal-issue":{"issue":"OOPSLA1","published-print":{"date-parts":[[2026,4,10]]}},"alternative-id":["10.1145\/3798224"],"URL":"https:\/\/doi.org\/10.1145\/3798224","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4,10]]},"assertion":[{"value":"2025-10-09","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-02-17","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-10","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}