{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T00:47:46Z","timestamp":1794703666693,"version":"4.9.1"},"publisher-location":"Cham","reference-count":23,"publisher":"Springer International Publishing","isbn-type":[{"value":"9783030995232","type":"print"},{"value":"9783030995249","type":"electronic"}],"license":[{"start":{"date-parts":[[2022,1,1]],"date-time":"2022-01-01T00:00:00Z","timestamp":1640995200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2022,3,30]],"date-time":"2022-03-30T00:00:00Z","timestamp":1648598400000},"content-version":"vor","delay-in-days":88,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2022]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Theories and tools based on multiparty session types offer correctness guarantees for concurrent programs that communicate using message-passing. These guarantees usually come at the cost of an intrinsically top-down approach, which requires the communication behaviour of the entire program to be specified as a global type.<\/jats:p>\n                  <jats:p>\n                    This paper introduces : an OCaml library that supports the development of\n                    <jats:italic>correct<\/jats:italic>\n                    message-passing programs without having to write any types. The library utilises the meta-programming facilities of OCaml to automatically infer the session types of concurrent programs and verify their compatibility (\n                    <jats:italic>k<\/jats:italic>\n                    -MC\u00a0[15]). Well-typed programs, written with , do not lead to communication errors and cannot get stuck.\n                  <\/jats:p>","DOI":"10.1007\/978-3-030-99524-9_20","type":"book-chapter","created":{"date-parts":[[2022,3,29]],"date-time":"2022-03-29T02:14:55Z","timestamp":1648520095000},"page":"379-386","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":7,"title":["Kmclib: Automated Inference and Verification of Session Types from OCaml Programs"],"prefix":"10.1007","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1602-8473","authenticated-orcid":false,"given":"Keigo","family":"Imai","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9697-1378","authenticated-orcid":false,"given":"Julien","family":"Lange","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2755-7728","authenticated-orcid":false,"given":"Rumyana","family":"Neykova","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2022,3,30]]},"reference":[{"key":"20_CR1","doi-asserted-by":"publisher","unstructured":"Brand, D., Zafiropulo, P.: On communicating finite-state machines. J. ACM 30(2), 323\u2013342 (1983). https:\/\/doi.org\/10.1145\/322374.322380","DOI":"10.1145\/322374.322380"},{"key":"20_CR2","doi-asserted-by":"crossref","unstructured":"Castro, D., Hu, R., Jongmans, S., Ng, N., Yoshida, N.: Distributed programming using role-parametric session types in Go: statically-typed endpoint apis for dynamically-instantiated communication structures. PACMPL 3(POPL), 29:1\u201329:30 (2019), https:\/\/dl.acm.org\/citation.cfm?id=3290342","DOI":"10.1145\/3290342"},{"key":"20_CR3","doi-asserted-by":"publisher","unstructured":"Dilley, N., Lange, J.: Automated Verification of Go Programs via Bounded Model Checking. In: 36th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2021, Melbourne, Australia, November 15-19, 2021. pp. 1016\u20131027. IEEE (2021). https:\/\/doi.org\/10.1109\/ASE51524.2021.9678571","DOI":"10.1109\/ASE51524.2021.9678571"},{"key":"20_CR4","doi-asserted-by":"publisher","unstructured":"Harvey, P., Fowler, S., Dardha, O., J.\u00a0Gay, S.: Multiparty Session Types for Safe Runtime Adaptation in an Actor Language. In: M\u00f8ller, A., Sridharan, M. (eds.) 35th European Conference on Object-Oriented Programming (ECOOP 2021). Leibniz International Proceedings in Informatics (LIPIcs), vol.\u00a0194, p.\u00a030. Schloss Dagstuhl \u2013 Leibniz-Zentrum f\u00fcr Informatik, Dagstuhl, Germany (2021). https:\/\/doi.org\/10.4230\/LIPIcs.ECOOP.2021.12","DOI":"10.4230\/LIPIcs.ECOOP.2021.12"},{"key":"20_CR5","doi-asserted-by":"publisher","unstructured":"Honda, K., Yoshida, N., Carbone, M.: Multiparty asynchronous session types. In: POPL 2008. pp. 273\u2013284 (2008). https:\/\/doi.org\/10.1145\/1328438.1328472","DOI":"10.1145\/1328438.1328472"},{"key":"20_CR6","doi-asserted-by":"publisher","unstructured":"Hu, R., Yoshida, N.: Hybrid session verification through endpoint API generation. In: FASE 2016. pp. 401\u2013418 (2016). https:\/\/doi.org\/10.1007\/978-3-662-49665-7_24","DOI":"10.1007\/978-3-662-49665-7_24"},{"key":"20_CR7","unstructured":"Imai, K., Lange, J., Neykova, R.: kmclib: Automated inference and verification of session types (extended version). CoRR abs\/2111.12147 (2021), https:\/\/arxiv.org\/abs\/2111.12147"},{"key":"20_CR8","unstructured":"Imai, K., Lange, J., Neykova, R.: kmclib: A communication library with static guarantee on concurrency (2022), https:\/\/github.com\/keigoi\/kmclib"},{"key":"20_CR9","doi-asserted-by":"publisher","unstructured":"Imai, K., Lange, J., Neykova, R.: Kmclib: Artifact for the TACAS 2022 paper (2022). https:\/\/doi.org\/10.5281\/zenodo.5887544","DOI":"10.5281\/zenodo.5887544"},{"key":"20_CR10","doi-asserted-by":"publisher","unstructured":"Imai, K., Neykova, R., Yoshida, N., Yuen, S.: Multiparty session programming with global protocol combinators. In: Hirschfeld, R., Pape, T. (eds.) 34th European Conference on Object-Oriented Programming, ECOOP 2020, November 15-17, 2020, Berlin, Germany (Virtual Conference). LIPIcs, vol.\u00a0166, pp. 9:1\u20139:30. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik (2020). https:\/\/doi.org\/10.4230\/LIPIcs.ECOOP.2020.9","DOI":"10.4230\/LIPIcs.ECOOP.2020.9"},{"key":"20_CR11","doi-asserted-by":"publisher","unstructured":"Jhala, R., Majumdar, R.: Software model checking. ACM Comput. Surv. 41(4) (Oct 2009). https:\/\/doi.org\/10.1145\/1592434.1592438","DOI":"10.1145\/1592434.1592438"},{"key":"20_CR12","doi-asserted-by":"publisher","unstructured":"Kouzapas, D., Dardha, O., Perera, R., Gay, S.J.: Typechecking protocols with Mungo and StMungo. In: PPDP 2016. pp. 146\u2013159 (2016). https:\/\/doi.org\/10.1145\/2967973.2968595","DOI":"10.1145\/2967973.2968595"},{"key":"20_CR13","doi-asserted-by":"publisher","unstructured":"Lange, J., Ng, N., Toninho, B., Yoshida, N.: Fencing off Go: liveness and safety for channel-based programming. In: Castagna, G., Gordon, A.D. (eds.) Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages, POPL 2017, Paris, France, January 18-20, 2017. pp. 748\u2013761. ACM (2017). https:\/\/doi.org\/10.1145\/3009837.3009847","DOI":"10.1145\/3009837.3009847"},{"key":"20_CR14","doi-asserted-by":"publisher","unstructured":"Lange, J., Ng, N., Toninho, B., Yoshida, N.: A static verification framework for message passing in Go using behavioural types. In: Chaudron, M., Crnkovic, I., Chechik, M., Harman, M. (eds.) Proceedings of the 40th International Conference on Software Engineering, ICSE 2018, Gothenburg, Sweden, May 27 - June 03, 2018. pp. 1137\u20131148. ACM (2018). https:\/\/doi.org\/10.1145\/3180155.3180157","DOI":"10.1145\/3180155.3180157"},{"key":"20_CR15","doi-asserted-by":"publisher","unstructured":"Lange, J., Yoshida, N.: Verifying asynchronous interactions via communicating session automata. In: Dillig, I., Tasiran, S. (eds.) Computer Aided Verification - 31st International Conference, CAV 2019, New York City, NY, USA, July 15-18, 2019, Proceedings, Part I. Lecture Notes in Computer Science, vol. 11561, pp. 97\u2013117. Springer (2019). https:\/\/doi.org\/10.1007\/978-3-030-25540-4_6","DOI":"10.1007\/978-3-030-25540-4_6"},{"key":"20_CR16","doi-asserted-by":"publisher","unstructured":"Miu, A., Ferreira, F., Yoshida, N., Zhou, F.: Generating Interactive WebSocket Applications in TypeScript. Electronic Proceedings in Theoretical Computer Science 314, 12\u201322 (2020). https:\/\/doi.org\/10.4204\/EPTCS.314.2","DOI":"10.4204\/EPTCS.314.2"},{"key":"20_CR17","doi-asserted-by":"publisher","unstructured":"Neykova, R., Hu, R., Yoshida, N., Abdeljallal, F.: A Session Type Provider: Compile-time API Generation for Distributed Protocols with Interaction Refinements in F$$\\sharp $$. In: Dubach, C., Xue, J. (eds.) Proceedings of the 27th International Conference on Compiler Construction, CC 2018, February 24-25, 2018, Vienna, Austria. pp. 128\u2013138. ACM (2018). https:\/\/doi.org\/10.1145\/3178372.3179495","DOI":"10.1145\/3178372.3179495"},{"key":"20_CR18","doi-asserted-by":"publisher","unstructured":"Ng, N., de\u00a0Figueiredo\u00a0Coutinho, J.G., Yoshida, N.: Protocols by default - safe MPI code generation based on session types. In: CC 2015. pp. 212\u2013232 (2015). https:\/\/doi.org\/10.1007\/978-3-662-46663-6_11","DOI":"10.1007\/978-3-662-46663-6_11"},{"key":"20_CR19","doi-asserted-by":"publisher","unstructured":"Perera, R., Lange, J., Gay, S.J.: Multiparty compatibility for concurrent objects. In: PLACES 2016. pp. 73\u201382 (2016). https:\/\/doi.org\/10.4204\/EPTCS.211.8","DOI":"10.4204\/EPTCS.211.8"},{"key":"20_CR20","doi-asserted-by":"publisher","unstructured":"Scalas, A., Dardha, O., Hu, R., Yoshida, N.: A linear decomposition of multiparty sessions for safe distributed programming. In: ECOOP 2017. pp. 24:1\u201324:31 (2017). https:\/\/doi.org\/10.4230\/LIPIcs.ECOOP.2017.24","DOI":"10.4230\/LIPIcs.ECOOP.2017.24"},{"key":"20_CR21","doi-asserted-by":"publisher","unstructured":"Sivaramakrishnan, K.C., Dolan, S., White, L., Jaffer, S., Kelly, T., Sahoo, A., Parimala, S., Dhiman, A., Madhavapeddy, A.: Retrofitting parallelism onto ocaml. Proc. ACM Program. Lang. 4(ICFP), 113:1\u2013113:30 (2020). https:\/\/doi.org\/10.1145\/3408995","DOI":"10.1145\/3408995"},{"key":"20_CR22","doi-asserted-by":"publisher","unstructured":"Yoshida, N., Hu, R., Neykova, R., Ng, N.: The Scribble protocol language. In: Abadi, M., Lluch-Lafuente, A. (eds.) Trustworthy Global Computing - 8th International Symposium, TGC 2013, Buenos Aires, Argentina, August 30-31, 2013, Revised Selected Papers. Lecture Notes in Computer Science, vol.\u00a08358, pp. 22\u201341. Springer (2013). https:\/\/doi.org\/10.1007\/978-3-319-05119-2_3","DOI":"10.1007\/978-3-319-05119-2_3"},{"key":"20_CR23","doi-asserted-by":"publisher","unstructured":"Zhou, F., Ferreira, F., Hu, R., Neykova, R., Yoshida, N.: Statically verified refinements for multiparty protocols. Proc. ACM Program. Lang. 4(OOPSLA), 148:1\u2013148:30 (2020). https:\/\/doi.org\/10.1145\/3428216","DOI":"10.1145\/3428216"}],"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-030-99524-9_20","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,3,29]],"date-time":"2022-03-29T02:22:54Z","timestamp":1648520574000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-030-99524-9_20"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022]]},"ISBN":["9783030995232","9783030995249"],"references-count":23,"URL":"https:\/\/doi.org\/10.1007\/978-3-030-99524-9_20","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-030-99524-9","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022]]},"assertion":[{"value":"30 March 2022","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":"Munich","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Germany","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2022","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2 April 2022","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"7 April 2022","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"28","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"tacas2022","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/etaps.org\/2022\/tacas","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Single-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":"46","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":"4","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":"29% - 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)"}},{"value":"16 tool papers of the affiliated competition SV-Comp and 1 paper consisting of the competition report are also included in the proceedings","order":10,"name":"additional_info_on_review_process","label":"Additional Info on Review Process","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}}]}}