{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T19:51:39Z","timestamp":1794772299127,"version":"4.9.1"},"publisher-location":"Cham","reference-count":34,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783031572456","type":"print"},{"value":"9783031572463","type":"electronic"}],"license":[{"start":{"date-parts":[[2024,1,1]],"date-time":"2024-01-01T00:00:00Z","timestamp":1704067200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,4,4]],"date-time":"2024-04-04T00:00:00Z","timestamp":1712188800000},"content-version":"vor","delay-in-days":94,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2024]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Session subtyping answers the question of whether a program in a communicating system can be safely substituted for another, when their communication behaviours are described by session types. Asynchronous session subtyping is undecidable, hence the interest in devising sound, although incomplete, subtyping algorithms. State-of-the-art algorithms are formulated in terms of a data-structure called input trees. We show how input trees can be replaced by sets of traces, which opens up opportunities for applying techniques abstract interpretation techniques to the problem of asynchronous session subtyping. Sets of traces can be relaxed (enlarged) whilst still allowing subtyping to be observed, and one can choose relaxations that can be finitely represented, even when the input trees are arbitrarily large. We instantiate this strategy using regular expressions and show that it allows subtyping to be mechanically proven for communication patterns that were previously out of reach.<\/jats:p>","DOI":"10.1007\/978-3-031-57246-3_12","type":"book-chapter","created":{"date-parts":[[2024,4,3]],"date-time":"2024-04-03T10:03:43Z","timestamp":1712138623000},"page":"207-226","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":6,"title":["Asynchronous Subtyping by Trace Relaxation"],"prefix":"10.1007","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7177-9395","authenticated-orcid":false,"given":"Laura","family":"Bocchi","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5806-4822","authenticated-orcid":false,"given":"Andy","family":"King","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7613-621X","authenticated-orcid":false,"given":"Maurizio","family":"Murgia","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,4,4]]},"reference":[{"key":"12_CR1","doi-asserted-by":"crossref","unstructured":"Bartoletti, M., Murgia, M., Scalas, A., Zunino, R.: Verifiable Abstractions for Contract-oriented Systems. J. Log. Algebraic Methods Program. 86(1), 159\u2013207 (2017)","DOI":"10.1016\/j.jlamp.2015.10.005"},{"key":"12_CR2","doi-asserted-by":"crossref","unstructured":"Bocchi, L., Chen, T., Demangeon, R., Honda, K., Yoshida, N.: Monitoring Networks through Multiparty Session Types. Theoretical Computer Science 669, 33\u201358 (2017), https:\/\/doi.org\/10.1016\/j.tcs.2017.02.009","DOI":"10.1016\/j.tcs.2017.02.009"},{"key":"12_CR3","doi-asserted-by":"publisher","unstructured":"Bourdoncle, F.: Efficient Chaotic Iteration Strategies with Widenings. In: Formal Methods in Programming and Their Applications. Lecture Notes in Computer Science, vol.\u00a0735, pp. 128\u2013141. Springer-Verlag (1993). https:\/\/doi.org\/10.1007\/BFb0039704","DOI":"10.1007\/BFb0039704"},{"key":"12_CR4","unstructured":"Bravetti, M., Carbone, M., Lange, J., Yoshida, N., Zavattaro, G.: A Sound Algorithm for Asychronous Session Subtyping. In: International Conference on Concurrency Theory. LIPIcs, vol.\u00a0140, pp. 38:1\u201338:16. Schloss Dagstuhl, Leibniz-Zentrum f\u00fcr Informatik (2019), http:\/\/dx.doi.org\/10.4230\/LIPIcs.CONCUR.2019.38"},{"key":"12_CR5","doi-asserted-by":"publisher","unstructured":"Bravetti, M., Carbone, M., Lange, J., Yoshida, N., Zavattaro, G.: A Sound Algorithm for Asychronous Session Subtyping and its Implementation. Logical Methods in Computer Science 17(1), 1\u201335 (2021). https:\/\/doi.org\/10.23638\/LMCS-17(1:20)2021","DOI":"10.23638\/LMCS-17(1:20)2021"},{"key":"12_CR6","doi-asserted-by":"crossref","unstructured":"Bravetti, M., Carbone, M., Zavattaro, G.: Undecidability of Asynchronous Session Subtyping. Information and Computation 256, 300\u2013320 (2017), https:\/\/doi.org\/10.1016\/j.ic.2017.07.010","DOI":"10.1016\/j.ic.2017.07.010"},{"key":"12_CR7","doi-asserted-by":"crossref","unstructured":"Bravetti, M., Carbone, M., Zavattaro, G.: On the Boundary between Decidability and Undecidability of Asynchronous Session Subtyping. Theoretical Computer Science 722, 19\u201351 (2018), https:\/\/doi.org\/10.1016\/j.tcs.2018.02.010","DOI":"10.1016\/j.tcs.2018.02.010"},{"key":"12_CR8","doi-asserted-by":"publisher","unstructured":"Bravetti, M., Lange, J., Zavattaro, G.: Fair Refinement for Asynchronous Session Types. In: Foundations of Software Science and Computation Structures. Lecture Notes in Computer Science, vol. 12650, pp. 144\u2013163. Springer-Verlag (2021). https:\/\/doi.org\/10.1007\/978-3-030-71995-1_8","DOI":"10.1007\/978-3-030-71995-1_8"},{"key":"12_CR9","unstructured":"Bravetti, M., Zavattaro, G.: A Foundational Theory of Contracts for Multi-party Service Composition. Fundamenta Informaticae 89(4), 451\u2013478 (2008)"},{"key":"12_CR10","doi-asserted-by":"publisher","unstructured":"Chen, T.C., Dezani-Ciancaglini, M., Scalas, A., Yoshida, N.: On the Preciseness of Subtyping in Session Types. Logical Methods in Computer Science 13(2), 1\u201361 (2017). https:\/\/doi.org\/10.23638\/LMCS-13(2:12)2017","DOI":"10.23638\/LMCS-13(2:12)2017"},{"key":"12_CR11","doi-asserted-by":"publisher","unstructured":"Chen, T.C., Dezani-Ciancaglini, M., Yoshida, N.: On the Preciseness of Subtyping in Session Types. In: Principles and Practice of Declarative Programming. pp. 135\u2013146. ACM Press (2014). https:\/\/doi.org\/10.1145\/2643135.2643138","DOI":"10.1145\/2643135.2643138"},{"key":"12_CR12","doi-asserted-by":"publisher","unstructured":"Choi, T., Lee, O., Kim, H., Doh, K.: A Practical String Analyzer by the Widening Approach. In: Asian Symposium on Programming and Systems. Lecture Notes in Computer Science, vol.\u00a04279, pp. 374\u2013388. Springer-Verlag (2006). https:\/\/doi.org\/10.1007\/11924661_23","DOI":"10.1007\/11924661_23"},{"key":"12_CR13","doi-asserted-by":"publisher","unstructured":"Christensen, A.S., Moller, A., Schwartzbach, M.I.: Precise Analysis of String Expressions. In: Static Analysis Symposium. Lecture Notes in Computer Science, vol.\u00a02694, pp. 1\u201318. Springer-Verlag (2003). https:\/\/doi.org\/10.1007\/3-540-44898-5_1","DOI":"10.1007\/3-540-44898-5_1"},{"key":"12_CR14","doi-asserted-by":"crossref","unstructured":"Costantini, G., Ferrara, P., Cortesi, A.: A Suite of Abstract Domains for Static Analysis of String Values. Software Practice and Experience 45, 245\u2013287 (2015)","DOI":"10.1002\/spe.2218"},{"key":"12_CR15","doi-asserted-by":"publisher","unstructured":"Cousot, P., Cousot, R.: Abstract Interpretation: A Unified Lattice Model for Static Analysis of Programs by Construction or Approximation of Fixpoints. In: Principles of Programming Languages. pp. 238\u2013252. ACM Press (1977), https:\/\/doi.org\/10.1145\/512950.512973","DOI":"10.1145\/512950.512973"},{"key":"12_CR16","doi-asserted-by":"publisher","unstructured":"Cousot, P., Cousot, R.: Comparing the Galois connection and Widening\/Narrowing approaches to Abstract Interpretation. In: Programming Language Implementation and Logic Programming. pp. 269\u2013295. No.\u00a0631 in Lecture Notes in Computer Science, Springer-Verlag (1992), https:\/\/doi.org\/10.1007\/3-540-55844-6_142","DOI":"10.1007\/3-540-55844-6_142"},{"key":"12_CR17","doi-asserted-by":"publisher","unstructured":"Cutner, Z., Yoshida, N., Vassor, M.: Deadlock-Free Asynchronous Message Reordering in Rust with Multiparty Session Types. In: Symposium on Principles and Practice of Parallel Programming. pp. 246\u2013261. ACM Press (2022). https:\/\/doi.org\/10.1145\/3503221.3508404","DOI":"10.1145\/3503221.3508404"},{"key":"12_CR18","doi-asserted-by":"publisher","unstructured":"Demangeon, R., Honda, K.: Full Abstraction in a Subtyped pi-Calculus with Linear Types. In: International Conference on Concurrency Theory. Lecture Notes in Computer Science, vol.\u00a06901, pp. 280\u2013296. Springer-Verlag (2011). https:\/\/doi.org\/10.1007\/978-3-642-23217-6_19","DOI":"10.1007\/978-3-642-23217-6_19"},{"key":"12_CR19","doi-asserted-by":"publisher","unstructured":"Deni\u00e9lou, P.M., Yoshida, N.: Multiparty Compatibility in Communicating Automata: Characterisation and Synthesis of Global Session Types. In: International Colloquium on Automata, Languages and Programming. Lecture Notes in Computer Science, vol.\u00a07966, pp. 174\u2013186. Springer-Verlag (2013). https:\/\/doi.org\/10.1007\/978-3-642-39212-2_18","DOI":"10.1007\/978-3-642-39212-2_18"},{"key":"12_CR20","doi-asserted-by":"crossref","unstructured":"Gay, S., Hole, M.: Types and Subtypes for Client-Server Interactions. In: European Symposium on Programming. Lecture Notes in Computer Science, vol.\u00a01576, pp. 74\u201390. Springer-Verlag (1999)","DOI":"10.1007\/3-540-49099-X_6"},{"key":"12_CR21","doi-asserted-by":"publisher","unstructured":"Gay, S., Hole, M.: Subtyping for Session Types in the Pi Calculus. Acta Informatica 42, 191\u2013225 (2005). https:\/\/doi.org\/10.1007\/s00236-005-0177-z","DOI":"10.1007\/s00236-005-0177-z"},{"key":"12_CR22","doi-asserted-by":"publisher","unstructured":"Ghilezan, S., Pantovic, J., Prokic, I., Scalas, A., Yoshida, N.: Precise Subtyping for Asynchronous Multiparty Sessions. Proc. ACM Program. Lang. 5(POPL), 1\u201328 (2021). https:\/\/doi.org\/10.1145\/3434297","DOI":"10.1145\/3434297"},{"key":"12_CR23","doi-asserted-by":"publisher","unstructured":"Honda, K., Vasconcelos, V.T., Kubo, M.: Language Primitives and Type Disciplines for Structured Communication-based Programming. In: European Symposium on Programming. Lecture Notes in Computer Science, vol.\u00a01381, pp. 22\u2013138. Springer-Verlag (1998). https:\/\/doi.org\/10.1007\/BFb0053567","DOI":"10.1007\/BFb0053567"},{"key":"12_CR24","doi-asserted-by":"publisher","unstructured":"Hu, R., Yoshida, N.: Hybrid Session Verification Through Endpoint API Generation. In: Formal Aspects of Software Engineering. Lecture Notes in Computer Science, vol.\u00a09633, pp. 401\u2013418. Springer-Verlag (2016). https:\/\/doi.org\/10.1007\/978-3-662-49665-7_24","DOI":"10.1007\/978-3-662-49665-7_24"},{"key":"12_CR25","doi-asserted-by":"publisher","unstructured":"Hu, R., Yoshida, N., Honda, K.: Session-Based Distributed Programming in Java. In: European Conference on Object-Oriented Programming. Lecture Notes in Computer Science, vol.\u00a05142, pp. 516\u2013541. Springer-Verlag (2008). https:\/\/doi.org\/10.1007\/978-3-540-70592-5_22","DOI":"10.1007\/978-3-540-70592-5_22"},{"key":"12_CR26","doi-asserted-by":"publisher","unstructured":"Lagaillardie, N., Neykova, R., Yoshida, N.: Stay Safe Under Panic: Affine Rust Programming with Multiparty Session Types. In: European Conference on Object-Oriented Programming. vol.\u00a0222, pp. 4:1\u20134:29. Schloss Dagstuhl, Leibniz-Zentrum f\u00fcr Informatik (2022). https:\/\/doi.org\/10.4230\/LIPIcs.ECOOP.2022.4","DOI":"10.4230\/LIPIcs.ECOOP.2022.4"},{"key":"12_CR27","doi-asserted-by":"crossref","unstructured":"Lange, J., Yoshida, N.: On the Undecidability of Asynchronous Session Subtyping. In: Foundations of Software Science and Computation Structures. Lecture Notes in Computer Science, vol. 10203, pp. 441\u2013457. Springer-Verlag (2017), https:\/\/link.springer.com\/chapter\/10.1007\/978-3-662-54458-7_26","DOI":"10.1007\/978-3-662-54458-7_26"},{"key":"12_CR28","doi-asserted-by":"publisher","unstructured":"Lindley, S., Morris, J.G.: Embedding session types in Haskell. In: International Symposium on Haskell. pp. 133\u2013145. ACM Press (2016). https:\/\/doi.org\/10.1145\/2976002.2976018","DOI":"10.1145\/2976002.2976018"},{"key":"12_CR29","doi-asserted-by":"publisher","unstructured":"Mostrous, D., Yoshida, N., Honda, K.: Global Principal Typing in Partially Commutative Asynchronous Sessions. In: European Symposium on Programming. Lecture Notes in Computer Science, vol.\u00a05502, pp. 316\u2013332. Springer-Verlag (2009). https:\/\/doi.org\/10.1007\/978-3-642-00590-9_23","DOI":"10.1007\/978-3-642-00590-9_23"},{"key":"12_CR30","doi-asserted-by":"publisher","unstructured":"Neykova, R., Hu, R., Yoshida, N., Abdeljallal, F.: A Session Type Provider: Compile-time API Generation of Distributed Protocols with Interaction Refinements in F#. In: Compiler Construction. pp. 128\u2013138. ACM Press (2018). https:\/\/doi.org\/10.1145\/3178372.3179495","DOI":"10.1145\/3178372.3179495"},{"key":"12_CR31","doi-asserted-by":"publisher","unstructured":"Ng, N., Yoshida, N., Honda, K.: Multiparty Session C: Safe Parallel Programming with Message Optimisation. In: Objects, Models, Components, Patterns. Lecture Notes in Computer Science, vol.\u00a07304, pp. 202\u2013218. Springer-Verlag (2012). https:\/\/doi.org\/10.1007\/978-3-642-30561-0_15","DOI":"10.1007\/978-3-642-30561-0_15"},{"key":"12_CR32","doi-asserted-by":"publisher","unstructured":"Orchard, D., Yoshida, N.: Session Types with Linearity in Haskell. In: Behavioural Types: from Theory to Tools. pp. 219\u2013241. River Publishers (2017). https:\/\/doi.org\/10.13052\/rp-9788793519817","DOI":"10.13052\/rp-9788793519817"},{"key":"12_CR33","doi-asserted-by":"publisher","unstructured":"Padovani, L.: Fair subtyping for multi-party session types. In: Coordination Models and Languages. Lecture Notes in Computer Science, vol.\u00a06721, pp. 127\u2013141. Springer-Verlag (2011). https:\/\/doi.org\/10.1007\/978-3-642-21464-6_9","DOI":"10.1007\/978-3-642-21464-6_9"},{"key":"12_CR34","doi-asserted-by":"publisher","unstructured":"Takeuchi, K., Honda, K., Kubo, M.: An Interaction-based Language and its Typing System. In: Parallel Architectures and Languages Europe. Lecture Notes in Computer Science, vol.\u00a0817, pp. 398\u2013413. Springer-Verlag (1994). https:\/\/doi.org\/10.1007\/3-540-58184-7_118","DOI":"10.1007\/3-540-58184-7_118"}],"container-title":["Lecture Notes in Computer Science","Tools and Algorithms for the Construction and Analysis of Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-031-57246-3_12","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,4,3]],"date-time":"2024-04-03T10:08:06Z","timestamp":1712138886000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-031-57246-3_12"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024]]},"ISBN":["9783031572456","9783031572463"],"references-count":34,"URL":"https:\/\/doi.org\/10.1007\/978-3-031-57246-3_12","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-031-57246-3","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024]]},"assertion":[{"value":"4 April 2024","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"TACAS","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Conference on Tools and Algorithms for the Construction and Analysis of Systems","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Luxembourg City","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Luxembourg","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2024","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"6 April 2024","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"11 April 2024","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"30","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"tacas2024","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/etaps.org\/2024\/conferences\/tacas\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Double-blind","order":1,"name":"type","label":"Type","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"EasyChair","order":2,"name":"conference_management_system","label":"Conference Management System","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"159","order":3,"name":"number_of_submissions_sent_for_review","label":"Number of Submissions Sent for Review","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"53","order":4,"name":"number_of_full_papers_accepted","label":"Number of Full Papers Accepted","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"16","order":5,"name":"number_of_short_papers_accepted","label":"Number of Short Papers Accepted","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"33% - The value is computed by the equation \"Number of Full Papers Accepted \/ Number of Submissions Sent for Review * 100\" and then rounded to a whole number.","order":6,"name":"acceptance_rate_of_full_papers","label":"Acceptance Rate of Full Papers","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"3","order":7,"name":"average_number_of_reviews_per_paper","label":"Average Number of Reviews per Paper","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"10","order":8,"name":"average_number_of_papers_per_reviewer","label":"Average Number of Papers per Reviewer","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"Yes","order":9,"name":"external_reviewers_involved","label":"External Reviewers Involved","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}}]}}