{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:09:28Z","timestamp":1784196568424,"version":"3.55.0"},"reference-count":47,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2025,8,5]]},"abstract":"<jats:p>Consistency guarantees among concurrently executing transactions in local- and distributed systems, commonly referred to as isolation levels, have been formalized in a number of models. Thus far, no model can reason about executable implementations of databases or local transaction libraries providing weak isolation levels. Weak isolation levels are characterized by being highly concurrent and, unlike their stronger counter part serializability, they are not equivalent to the consistency guarantees provided by a transaction library implemented using a global lock. Industrial-strength databases almost exclusively implement weak isolation levels as their default level. This calls for formalism as numerous bugs violating isolation have been detected in these databases.<\/jats:p>\n                  <jats:p>\n                    In this paper, we formalize three weak isolation levels in separation logic, namely\n                    <jats:italic toggle=\"yes\">read uncommitted, read committed, and snapshot isolation.<\/jats:italic>\n                    We define modular separation logic specifications that are independent of the underlying transaction library implementation. Historically, isolation levels have been specified using examples of executions between concurrent transactions that are not allowed to occur, and we demonstrate that our specifications correctly prohibit such examples. To show that our specifications are realizable, we formally verify that an executable implementation of a key-value database running the multi-version concurrency control algorithm from the original snapshot isolation paper satisfies our specification of snapshot isolation. Moreover, we prove implications between the specifications\u2014snapshot isolation implies read committed and read committed implies read uncommitted\u2014and thus the verification effort of the database serves as proof that all of our specifications are realizable. All results are mechanized in the Rocq proof assistant on top of the Iris separation logic framework.\n                  <\/jats:p>","DOI":"10.1145\/3747515","type":"journal-article","created":{"date-parts":[[2025,8,5]],"date-time":"2025-08-05T16:56:02Z","timestamp":1754412962000},"page":"306-340","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Reasoning about Weak Isolation Levels in Separation Logic"],"prefix":"10.1145","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-6587-5590","authenticated-orcid":false,"given":"Anders","family":"Alnor Mathiasen","sequence":"first","affiliation":[{"name":"Aarhus University, Aarhus, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8262-6397","authenticated-orcid":false,"given":"L\u00e9on","family":"Gondelman","sequence":"additional","affiliation":[{"name":"Aalborg University, Aalborg, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-6141-5624","authenticated-orcid":false,"given":"L\u00e9on","family":"Ducruet","sequence":"additional","affiliation":[{"name":"Aarhus University, Aarhus, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2237-851X","authenticated-orcid":false,"given":"Amin","family":"Timany","sequence":"additional","affiliation":[{"name":"Aarhus University, Aarhus, Denmark"}],"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":[[2025,8,5]]},"reference":[{"key":"e_1_3_2_2_1","unstructured":"A. Adya. 1999. Weak Consistency: A Generalized Theory and Optimistic Implementations for Distributed Transactions. Technical Report. USA."},{"key":"e_1_3_2_3_1","doi-asserted-by":"publisher","unstructured":"A. Adya B. Liskov and P. O'Neil. 2000. Generalized isolation level definitions. In Proceedings of 16th International Conference on Data Engineering (Cat. No.00CB37073) 67\u201378. doi:10.1109\/ICDE.2000.839388","DOI":"10.1109\/ICDE.2000.839388"},{"key":"e_1_3_2_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/568271.223785"},{"key":"e_1_3_2_5_1","unstructured":"Lars Birkedal and Ale\u0161 Bizjak. 2017. Lecture Notes on Iris: Higher-Order Concurrent Separation Log. http:\/\/iris-project.org\/tutorial-pdfs\/iris-lecture-notes.pdf. (2017)."},{"key":"e_1_3_2_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3473586"},{"key":"e_1_3_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3485546"},{"key":"e_1_3_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3591243"},{"key":"e_1_3_2_9_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-28869-2_4"},{"key":"e_1_3_2_10_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CONCUR.2015.58"},{"key":"e_1_3_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/3152396"},{"key":"e_1_3_2_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3341301.3359632"},{"key":"e_1_3_2_13_1","first-page":"423","volume-title":"15th USENIX Symposium on Operating Systems Design and Implementation (OSDI 21)","author":"Chajed Tej","year":"2021","unstructured":"Tej Chajed, Joseph Tassarotti, Mark Theng, Ralf Jung, M. Frans Kaashoek, and Nickolai Zeldovich. 2021. GoJournal: a verified, concurrent, crash-safe journaling system. In 15th USENIX Symposium on Operating Systems Design and Implementation (OSDI 21). USENIX Association, 423\u2013439. https:\/\/www.usenix.org\/conference\/osdi21\/presentation\/chajed"},{"key":"e_1_3_2_14_1","first-page":"447","volume-title":"16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22)","author":"Chajed Tej","year":"2022","unstructured":"Tej Chajed, Joseph Tassarotti, Mark Theng, M. Frans Kaashoek, and Nickolai Zeldovich. 2022. Verifying the DaisyNFS concurrent and crash-safe file system with sequential reasoning. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22). USENIX Association, Carlsbad, CA, 447\u2013463. https:\/\/www.usenix.org\/conference\/osdi22\/presentation\/chajed"},{"key":"e_1_3_2_15_1","first-page":"871","volume-title":"17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23)","author":"Chang Yun-Sheng","year":"2023","unstructured":"Yun-Sheng Chang, Ralf Jung, Upamanyu Sharma, Joseph Tassarotti, M. Frans Kaashoek, and Nickolai Zeldovich. 2023. Verifying vMVCC, a high-performance transaction library using multi-version concurrency control. In 17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23). USENIX Association, Boston, MA, 871\u2013886. https:\/\/www.usenix.org\/conference\/osdi23\/presentation\/chang"},{"key":"e_1_3_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491245"},{"key":"e_1_3_2_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3087801.3087802"},{"key":"e_1_3_2_18_1","doi-asserted-by":"publisher","DOI":"10.5555\/1182635.1164189"},{"key":"e_1_3_2_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/38713.38742"},{"key":"e_1_3_2_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/3434323"},{"key":"e_1_3_2_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3607859"},{"key":"e_1_3_2_22_1","unstructured":"Jepsen. 2025. Jepsen Analyses. https:\/\/jepsen.io\/analyses Accessed 2025-02-21."},{"key":"e_1_3_2_23_1","doi-asserted-by":"publisher","unstructured":"Ralf Jung Robbert Krebbers Lars Birkedal and Derek Dreyer. 2016. Higher-order ghost state. In Proceedings of the 21st ACM SIGPLAN International Conference on Functional Programming ICFP 2016 Nara Japan September 18-22 2016. 256\u2013269. doi:10.1145\/2951913.2951943","DOI":"10.1145\/2951913.2951943"},{"key":"e_1_3_2_24_1","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. J. Funct. Program. 28 (2018) e20. doi:10.1017\/S0956796818000151","DOI":"10.1017\/S0956796818000151"},{"key":"e_1_3_2_25_1","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 Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages POPL 2015 Mumbai India January 15-17 2015. 637\u2013650. doi:10.1145\/2676726.2676980","DOI":"10.1145\/2676726.2676980"},{"key":"e_1_3_2_26_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2017.17"},{"key":"e_1_3_2_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158115"},{"key":"e_1_3_2_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3582302.3582304"},{"key":"e_1_3_2_29_1","doi-asserted-by":"publisher","unstructured":"Morten Krogh-Jespersen Amin Timany Marit Edna Ohlenbusch Simon Oddershede Gregersen and Lars Birkedal. 2020. Aneris: A Mechanised Logic for Modular Reasoning about Distributed Systems. In Programming Languages and Systems - 29th European Symposium on Programming ESOP 2020 Held as Part of the European Joint Conferences on Theory and Practice of Software ETAPS 2020 Dublin Ireland April 25-30 2020 Proceedings. 336\u2013365. doi:10.1007\/978-3-030-44914-8_13","DOI":"10.1007\/978-3-030-44914-8_13"},{"key":"e_1_3_2_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-57318-6_25"},{"key":"e_1_3_2_31_1","unstructured":"Butler W. Lampson and Howard E. Sturgis. 1981. Crash Recovery in a Distributed Data Storage System. https:\/\/api.semanticscholar.org\/CorpusID:263889622"},{"key":"e_1_3_2_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/3527324"},{"key":"e_1_3_2_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3689742"},{"key":"e_1_3_2_34_1","doi-asserted-by":"publisher","unstructured":"Alnor Ahror Mathiasen L\u00e9on Gondelman L\u00e9on Ducruet Amin Timany and Lars Birkedal. 2025. Reasoning about Weak Isolation Levels in Separation Logic Artifact. 10.5281\/zenodo.15626657","DOI":"10.5281\/zenodo.15626657"},{"key":"e_1_3_2_35_1","unstructured":"MicrosoftSQL. 2025. MicrosoftSQL documentation. https:\/\/learn.microsoft.com\/en-us\/dotnet\/framework\/data\/adonet\/sql\/snapshot-isolation-in-sql-server Accessed 2025-06-02."},{"key":"e_1_3_2_36_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2023.22"},{"key":"e_1_3_2_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563351"},{"key":"e_1_3_2_38_1","unstructured":"Oracle. 2025. Oracle documentation. https:\/\/docs.oracle.com\/en\/database\/other-databases\/timesten\/22.1\/introduction\/transaction-isolation.html#GUID-7272EB20-51D6-412C-B25D-58986B3668C8 Accessed 2025-06-02."},{"key":"e_1_3_2_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/322154.322158"},{"key":"e_1_3_2_40_1","unstructured":"PostgreSQL. 2025. PostgreSQL documentation. https:\/\/www.postgresql.org\/docs\/7.2\/xact-read-committed.html Accessed 2025-06-02."},{"key":"e_1_3_2_41_1","doi-asserted-by":"publisher","unstructured":"Azalea Raad Ori Lahav and Viktor Vafeiadis. 2019. On the Semantics of Snapshot Isolation: 20th International Conference VMCAI 2019 Cascais Portugal January 13-15 2019 Proceedings. 1\u201323. doi:10.1007\/978-3-030-11245-5_1","DOI":"10.1007\/978-3-030-11245-5_1"},{"key":"e_1_3_2_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3600006.3613172"},{"key":"e_1_3_2_43_1","first-page":"43","volume-title":"Software Engineering and Formal Methods. SEFM 2020 Collocated Workshops: ASYDE, CIMMA, and CoSim-CPS, Amsterdam, The Netherlands, September 14-15, 2020, Revised Selected Papers","author":"Soethout Tim","year":"2020","unstructured":"Tim Soethout, Tijs van der Stom, and Jurgen J. Vinju. 2020. Automated Validation of State-Based Client-Centric Isolation with TLA+. In Software Engineering and Formal Methods. SEFM 2020 Collocated Workshops: ASYDE, CIMMA, and CoSim-CPS, Amsterdam, The Netherlands, September 14-15, 2020, Revised Selected Papers (Amsterdam, The Netherlands). Springer-Verlag, Berlin, Heidelberg, 43\u201357. doi:110.1007\/978-3-030-67220-1_4"},{"key":"e_1_3_2_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/3632851"},{"key":"e_1_3_2_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/2660193.2660243"},{"key":"e_1_3_2_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/2509136.2509532"},{"key":"e_1_3_2_47_1","unstructured":"Shale Xiong. 2020. Parametric Operational Semantics for Consistency Models. PhD thesis. Imperial College London."},{"key":"e_1_3_2_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/3552326.3567492"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3747515","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:00:08Z","timestamp":1784196008000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3747515"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,8,5]]},"references-count":47,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2025,8,5]]}},"alternative-id":["10.1145\/3747515"],"URL":"https:\/\/doi.org\/10.1145\/3747515","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,8,5]]},"assertion":[{"value":"2025-02-27","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-06-27","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-05","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}