{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T07:47:47Z","timestamp":1790927267972,"version":"4.1.0"},"reference-count":63,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2023,6,6]],"date-time":"2023-06-06T00:00:00Z","timestamp":1686009600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2023,6,6]]},"abstract":"<jats:p>Conflict-Free Replicated Data Types (CRDTs) are a recent approach for keeping replicated data consistent while guaranteeing the absence of conflicts among replicas. For correct operation, CRDTs rely on a merge function that is commutative, associative and idempotent. Ensuring that such algebraic properties are satisfied by implementations, however, is left to the programmer, resulting in a process that is complex and error-prone. While techniques based on testing, automatic verification of a model, and mechanized or handwritten proofs are available, we lack an approach that is able to verify such properties on concrete CRDT implementations.<\/jats:p>\n          <jats:p>In this paper, we present Propel, a programming language with a type system that captures the algebraic properties required by a correct CRDT implementation. The Propel type system deduces such properties by case analysis and induction: sum types guide the case analysis and algebraic properties in function types enable induction for free. Propel\u2019s key feature is its capacity to reason about algebraic properties (a) in terms of rewrite rules and (b) to derive the equality or inequality of expressions from the properties. We provide an implementation of Propel as a Scala embedding, we implement several CRDTs, verify them with Propel and compare the verification process with four state-of-the-art verification tools. Our evaluation shows that Propel is able to automatically deduce the properties that are relevant for common CRDT implementations found in open-source libraries even in cases in which competitors timeout.<\/jats:p>","DOI":"10.1145\/3591276","type":"journal-article","created":{"date-parts":[[2023,6,6]],"date-time":"2023-06-06T20:06:24Z","timestamp":1686081984000},"page":"1365-1388","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":15,"title":["Type-Checking CRDT Convergence"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0009-0000-5042-1207","authenticated-orcid":false,"given":"George","family":"Zakhour","sequence":"first","affiliation":[{"name":"University of St. Gallen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1288-1485","authenticated-orcid":false,"given":"Pascal","family":"Weisenburger","sequence":"additional","affiliation":[{"name":"University of St. Gallen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9324-8894","authenticated-orcid":false,"given":"Guido","family":"Salvaneschi","sequence":"additional","affiliation":[{"name":"University of St. Gallen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,6,6]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/1508244.1508273"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jpdc.2017.08.003"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-14805-8_4"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-89960-2_7"},{"key":"e_1_2_1_5_1","volume-title":"Reference implementations of state-based CRDTs that offer deltas for all mutations.. https:\/\/github.com\/CBaquero\/delta-enabled-crdts Last accessed on","author":"Baquero Carlos","year":"2023","unstructured":"Carlos Baquero . 2014. Reference implementations of state-based CRDTs that offer deltas for all mutations.. https:\/\/github.com\/CBaquero\/delta-enabled-crdts Last accessed on 6 Apr 2023 Carlos Baquero. 2014. Reference implementations of state-based CRDTs that offer deltas for all mutations.. https:\/\/github.com\/CBaquero\/delta-enabled-crdts Last accessed on 6 Apr 2023"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-99524-9_24"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-22110-1_14"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1007\/11737414_9"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129503004122"},{"key":"e_1_2_1_10_1","unstructured":"Annette Bieniusa Marek Zawirski Nuno Pregui\u00e7a Marc Shapiro Carlos Baquero Valter Balegas and S\u00e9rgio Duarte. 2012. An Optimized Conflict-free Replicated Set. arxiv:1210.3368. \t\t\t\t  Annette Bieniusa Marek Zawirski Nuno Pregui\u00e7a Marc Shapiro Carlos Baquero Valter Balegas and S\u00e9rgio Duarte. 2012. An Optimized Conflict-free Replicated Set. arxiv:1210.3368."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-03359-9_6"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1016\/0898-1221(94)00215-7"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/11554554_8"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-35182-2_25"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/351240.351266"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.29007\/3qwr"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-20615-8_23"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-13977-2_3"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1016\/B978-044450813-3\/50016-3"},{"key":"e_1_2_1_20_1","unstructured":"Thierry Coquand and G\u00e9rard Huet. 1986. The Calculus of Constructions. \t\t\t\t  Thierry Coquand and G\u00e9rard Huet. 1986. The Calculus of Constructions."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133956.3133998"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/67544.66963"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-60579-7_3"},{"key":"e_1_2_1_25_1","unstructured":"Samuel G\u00e9lineau. 2010. Commutative Composition: a conservative approach to aspect weaving. https:\/\/escholarship.mcgill.ca\/concern\/theses\/gq67jr62t \t\t\t\t  Samuel G\u00e9lineau. 2010. Commutative Composition: a conservative approach to aspect weaving. https:\/\/escholarship.mcgill.ca\/concern\/theses\/gq67jr62t"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-53518-6_8"},{"key":"e_1_2_1_27_1","volume-title":"Experimental CRDT-implementations for the JVM.. https:\/\/github.com\/netopyr\/wurmloch-crdt Last accessed on","author":"Heinrichs Michael","year":"2023","unstructured":"Michael Heinrichs . 2017. Experimental CRDT-implementations for the JVM.. https:\/\/github.com\/netopyr\/wurmloch-crdt Last accessed on 6 Apr 2023 Michael Heinrichs. 2017. Experimental CRDT-implementations for the JVM.. https:\/\/github.com\/netopyr\/wurmloch-crdt Last accessed on 6 Apr 2023"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/268946.268976"},{"key":"e_1_2_1_29_1","volume-title":"Thomas","author":"Johnson Paul R.","year":"1975","unstructured":"Paul R. Johnson and Robert H . Thomas . 1975 . The Maintenance of Duplicate Databases. Internet Requests for Comments . https:\/\/www.rfc-editor.org\/rfc\/rfc677.txt Paul R. Johnson and Robert H. Thomas. 1975. The Maintenance of Duplicate Databases. Internet Requests for Comments. https:\/\/www.rfc-editor.org\/rfc\/rfc677.txt"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523731"},{"key":"e_1_2_1_31_1","volume-title":"https:\/\/github.com\/automerge\/automerge Last accessed on","author":"Kleppmann Martin","year":"2023","unstructured":"Martin Kleppmann . 2017. Automerge. https:\/\/github.com\/automerge\/automerge Last accessed on 6 Apr 2023 Martin Kleppmann. 2017. Automerge. https:\/\/github.com\/automerge\/automerge Last accessed on 6 Apr 2023"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2017.2697382"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563336"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428284"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10489-017-0954-8"},{"key":"e_1_2_1_36_1","volume-title":"Prototype implementation of Conflict-free Replicated Data Types (CRDTs) in Erlang.. https:\/\/github.com\/lasp-lang\/types Last accessed on","author":"Meiklejohn Christopher","year":"2023","unstructured":"Christopher Meiklejohn . 2016. Prototype implementation of Conflict-free Replicated Data Types (CRDTs) in Erlang.. https:\/\/github.com\/lasp-lang\/types Last accessed on 6 Apr 2023 Christopher Meiklejohn. 2016. Prototype implementation of Conflict-free Replicated Data Types (CRDTs) in Erlang.. https:\/\/github.com\/lasp-lang\/types Last accessed on 6 Apr 2023"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-25543-5_26"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-44914-8_20"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-19890-3_55"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45949-9"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/277830.277870"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-46081-8_5"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/800194.805852"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1109\/32.713327"},{"key":"e_1_2_1_45_1","volume-title":"A collection of well-tested, serializable CRDTs for Rust.. https:\/\/github.com\/rust-crdt\/rust-crdt Last accessed on","author":"Rusu David","year":"2023","unstructured":"David Rusu . 2016. A collection of well-tested, serializable CRDTs for Rust.. https:\/\/github.com\/rust-crdt\/rust-crdt Last accessed on 6 Apr 2023 David Rusu. 2016. A collection of well-tested, serializable CRDTs for Rust.. https:\/\/github.com\/rust-crdt\/rust-crdt Last accessed on 6 Apr 2023"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/JSAC.2002.806121"},{"key":"e_1_2_1_47_1","doi-asserted-by":"crossref","unstructured":"Marc Shapiro Nuno Pregui\u00e7a Carlos Baquero and Marek Zawirski. 2011. A Comprehensive Study of Convergent and Commutative Replicated Data Types. https:\/\/hal.inria.fr\/inria-00555588 \t\t\t\t  Marc Shapiro Nuno Pregui\u00e7a Carlos Baquero and Marek Zawirski. 2011. A Comprehensive Study of Convergent and Commutative Replicated Data Types. https:\/\/hal.inria.fr\/inria-00555588","DOI":"10.1007\/978-3-642-24550-3_29"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-24550-3_29"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-81688-9_6"},{"key":"e_1_2_1_50_1","volume-title":"Zeno: A tool for the automatic verification of algebraic properties of functional programs.","author":"Sonnex Willam","year":"2011","unstructured":"Willam Sonnex , Sophia Drossopoulou , and Susan Eisenbach . 2011 . Zeno: A tool for the automatic verification of algebraic properties of functional programs. Willam Sonnex, Sophia Drossopoulou, and Susan Eisenbach. 2011. Zeno: A tool for the automatic verification of algebraic properties of functional programs."},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-28756-5_28"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-36576-1_27"},{"key":"e_1_2_1_53_1","volume-title":"An example implementations of various CRDTs.. https:\/\/github.com\/Horusiath\/crdt-examples Last accessed on","author":"Sypytkowski Bartosz","year":"2023","unstructured":"Bartosz Sypytkowski . 2018. An example implementations of various CRDTs.. https:\/\/github.com\/Horusiath\/crdt-examples Last accessed on 6 Apr 2023 Bartosz Sypytkowski. 2018. An example implementations of various CRDTs.. https:\/\/github.com\/Horusiath\/crdt-examples Last accessed on 6 Apr 2023"},{"key":"e_1_2_1_54_1","volume-title":"Conditional Lemma Discovery and Recursion Induction in Hipster. Electronic Communications of the EASST, 72","author":"Valbuena Irene Lobo","year":"2015","unstructured":"Irene Lobo Valbuena and Moa Johansson . 2015. Conditional Lemma Discovery and Recursion Induction in Hipster. Electronic Communications of the EASST, 72 ( 2015 ). Irene Lobo Valbuena and Moa Johansson. 2015. Conditional Lemma Discovery and Recursion Induction in Hipster. Electronic Communications of the EASST, 72 (2015)."},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/2628136.2628161"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158141"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/1435417.1435432"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/3408976"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-32254-2_12"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1145\/277650.277732"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-30048-7_35"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.7817421"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-43613-4_3"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3591276","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3591276","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:47:20Z","timestamp":1750178840000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3591276"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,6]]},"references-count":63,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2023,6,6]]}},"alternative-id":["10.1145\/3591276"],"URL":"https:\/\/doi.org\/10.1145\/3591276","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,6]]},"assertion":[{"value":"2023-06-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}