{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T00:47:37Z","timestamp":1794703657272,"version":"4.9.1"},"publisher-location":"Cham","reference-count":43,"publisher":"Springer International Publishing","isbn-type":[{"value":"9783030993351","type":"print"},{"value":"9783030993368","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,29]],"date-time":"2022-03-29T00:00:00Z","timestamp":1648512000000},"content-version":"vor","delay-in-days":87,"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>We study principles and models for reasoning inductively about properties of distributed systems, based on programmed atomic handlers equipped with contracts. We present the Why3-do library, leveraging a state of the art software verifier for reasoning about distributed systems based on our models. A number of examples involving invariants containing existential and nested quantifiers (including Dijsktra\u2019s self-stabilizing systems) illustrate how the library promotes contract-based modular development, abstraction barriers, and automated proofs.<\/jats:p>","DOI":"10.1007\/978-3-030-99336-8_5","type":"book-chapter","created":{"date-parts":[[2022,3,28]],"date-time":"2022-03-28T16:02:48Z","timestamp":1648483368000},"page":"114-142","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Why3-do: The Way of Harmonious Distributed System Proofs"],"prefix":"10.1007","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-8828-8843","authenticated-orcid":false,"given":"Cl\u00e1udio Belo","family":"Louren\u00e7o","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0892-3577","authenticated-orcid":false,"given":"Jorge Sousa","family":"Pinto","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2022,3,29]]},"reference":[{"key":"5_CR1","doi-asserted-by":"publisher","unstructured":"Abadi, M., Lamport, L.: The existence of refinement mappings. Theoretical Computer Science 82(2), 253\u2013284 (1991). https:\/\/doi.org\/10.1016\/0304-3975(91)90224-P","DOI":"10.1016\/0304-3975(91)90224-P"},{"key":"5_CR2","unstructured":"AdaCore and Altran UK Ltd: SPARK 2014 Reference Manual \u2013 Release 2020 (2020)"},{"key":"5_CR3","doi-asserted-by":"crossref","unstructured":"Altisen, K., Corbineau, P., Devismes, S.: A framework for certified self-stabilization. In: Albert, E., Lanese, I. (eds.) Formal Techniques for Distributed Objects, Components, and Systems. pp. 36\u201351. Springer International Publishing, Cham (2016)","DOI":"10.1007\/978-3-319-39570-8_3"},{"key":"5_CR4","unstructured":"Baier, C., Katoen, J.P.: Principles of Model Checking. The MIT Press (2008)"},{"key":"5_CR5","doi-asserted-by":"crossref","unstructured":"Barrett, C., Conway, C.L., Deters, M., Hadarean, L., Jovanovi\u0107, D., King, T., Reynolds, A., Tinelli, C.: CVC4. In: Gopalakrishnan, G., Qadeer, S. (eds.) Computer Aided Verification. pp. 171\u2013177. Springer Berlin Heidelberg, Berlin, Heidelberg (2011)","DOI":"10.1007\/978-3-642-22110-1_14"},{"key":"5_CR6","doi-asserted-by":"publisher","unstructured":"Brookes, S., O\u2019Hearn, P.W.: Concurrent separation logic. ACM SIGLOG News 3(3), 47\u201365 (Aug 2016). https:\/\/doi.org\/10.1145\/2984450.2984457","DOI":"10.1145\/2984450.2984457"},{"key":"5_CR7","doi-asserted-by":"publisher","unstructured":"Chang, E., Roberts, R.: An improved algorithm for decentralized extrema-finding in circular configurations of processes. Commun. ACM 22(5), 281\u2013283 (May 1979). https:\/\/doi.org\/10.1145\/359104.359108","DOI":"10.1145\/359104.359108"},{"key":"5_CR8","doi-asserted-by":"crossref","unstructured":"Chaudhuri, K., Doligez, D., Lamport, L., Merz, S.: Verifying safety properties with the TLA+ proof system. In: Giesl, J., H\u00e4hnle, R. (eds.) Automated Reasoning. pp. 142\u2013148. Springer Berlin Heidelberg, Berlin, Heidelberg (2010)","DOI":"10.1007\/978-3-642-14203-1_12"},{"key":"5_CR9","doi-asserted-by":"publisher","unstructured":"Chen, J., Abujarad, F., Kulkarni, S.: Towards scalable model checking of self-stabilizing programs. Journal of Parallel and Distributed Computing 73(4), 400\u2013410 (2013). https:\/\/doi.org\/10.1016\/j.jpdc.2012.12.009","DOI":"10.1016\/j.jpdc.2012.12.009"},{"key":"5_CR10","doi-asserted-by":"crossref","unstructured":"Clarke, E.M., Grumberg, O., Peled, D.: Model checking. MIT Press (2001)","DOI":"10.1016\/B978-044450813-3\/50026-6"},{"key":"5_CR11","unstructured":"Conchon, S., Coquereau, A., Iguernlala, M., Mebsout, A.: Alt-Ergo 2.2. In: SMT Workshop: International Workshop on Satisfiability Modulo Theories. Oxford, United Kingdom (Jul 2018)"},{"key":"5_CR12","doi-asserted-by":"crossref","unstructured":"Cousineau, D., Doligez, D., Lamport, L., Merz, S., Ricketts, D., Vanzetto, H.: TLA+ proofs. In: Giannakopoulou, D., M\u00e9ry, D. (eds.) FM 2012: Formal Methods. pp. 147\u2013154. Springer Berlin Heidelberg, Berlin, Heidelberg (2012)","DOI":"10.1007\/978-3-642-32759-9_14"},{"key":"5_CR13","doi-asserted-by":"publisher","unstructured":"Cuoq, P., Kirchner, F., Kosmatov, N., Prevosto, V., Signoles, J., Yakobowski, B.: Frama-C - A software analysis perspective. In: Eleftherakis, G., Hinchey, M., Holcombe, M. (eds.) Software Engineering and Formal Methods - 10th International Conference, SEFM 2012, Thessaloniki, Greece, October 1-5, 2012. Proceedings. Lecture Notes in Computer Science, vol.\u00a07504, pp. 233\u2013247. Springer (2012). https:\/\/doi.org\/10.1007\/978-3-642-33826-7_16","DOI":"10.1007\/978-3-642-33826-7_16"},{"key":"5_CR14","doi-asserted-by":"publisher","unstructured":"Desai, A., Phanishayee, A., Qadeer, S., Seshia, S.A.: Compositional programming and testing of dynamic distributed systems. Proc. ACM Program. Lang. 2(OOPSLA) (oct 2018). https:\/\/doi.org\/10.1145\/3276529","DOI":"10.1145\/3276529"},{"key":"5_CR15","doi-asserted-by":"publisher","unstructured":"Dijkstra, E.W.: Self-stabilizing systems in spite of distributed control. Commun. ACM 17(11), 643\u2013644 (Nov 1974). https:\/\/doi.org\/10.1145\/361179.361202","DOI":"10.1145\/361179.361202"},{"key":"5_CR16","doi-asserted-by":"crossref","unstructured":"Dijkstra, E.W., Scholten, C.S.: Predicate calculus and program semantics. Springer-Verlag New York, Inc., New York, NY, USA (1990)","DOI":"10.1007\/978-1-4612-3228-5"},{"key":"5_CR17","doi-asserted-by":"publisher","unstructured":"Filli\u00e2tre, J.: One logic to use them all. In: Bonacina, M.P. (ed.) Automated Deduction - CADE-24 - 24th International Conference on Automated Deduction, Lake Placid, NY, USA, June 9-14, 2013. Proceedings. Lecture Notes in Computer Science, vol.\u00a07898, pp. 1\u201320. Springer (2013). https:\/\/doi.org\/10.1007\/978-3-642-38574-2_1","DOI":"10.1007\/978-3-642-38574-2_1"},{"key":"5_CR18","doi-asserted-by":"crossref","unstructured":"Filli\u00e2tre, J.C., Paskevich, A.: Why3 \u2014 where programs meet provers. In: Felleisen, M., Gardner, P. (eds.) Proceedings of the 22nd European Symposium on Programming. Lecture Notes in Computer Science, vol.\u00a07792, pp. 125\u2013128. Springer (Mar 2013)","DOI":"10.1007\/978-3-642-37036-6_8"},{"key":"5_CR19","doi-asserted-by":"publisher","unstructured":"Fonseca, P., Zhang, K., Wang, X., Krishnamurthy, A.: An empirical study on the correctness of formally verified distributed systems. In: Proceedings of the Twelfth European Conference on Computer Systems. p. 328\u2013343. EuroSys\u201917, Association for Computing Machinery, New York, NY, USA (2017). https:\/\/doi.org\/10.1145\/3064176.3064183","DOI":"10.1145\/3064176.3064183"},{"key":"5_CR20","doi-asserted-by":"publisher","unstructured":"Hawblitzel, C., Howell, J., Kapritsos, M., Lorch, J.R., Parno, B., Roberts, M.L., Setty, S., Zill, B.: Ironfleet: Proving practical distributed systems correct. In: Proceedings of the 25th Symposium on Operating Systems Principles. p. 1\u201317. SOSP\u201915, Association for Computing Machinery, New York, NY, USA (2015). https:\/\/doi.org\/10.1145\/2815400.2815428","DOI":"10.1145\/2815400.2815428"},{"key":"5_CR21","doi-asserted-by":"crossref","unstructured":"Hoare, C.A.R.: An Axiomatic Basis For Computer Programming. Communications of the ACM 12, 576\u2013580 (1969)","DOI":"10.1145\/363235.363259"},{"key":"5_CR22","unstructured":"Huet, G., Kahn, G., Paulin-Mohring, C.: The Coq proof assistant : A tutorial : Version 6.1. Tech. rep., INRIA (07 1997)"},{"key":"5_CR23","doi-asserted-by":"publisher","unstructured":"Kalim, F., Palmskog, K., Mehar, J., Murali, A., Gupta, I., Madhusudan, P.: Kaizen: Building a performant blockchain system verified for consensus and integrity. In: 2019 Formal Methods in Computer Aided Design (FMCAD). pp. 96\u2013104 (2019). https:\/\/doi.org\/10.23919\/FMCAD.2019.8894248","DOI":"10.23919\/FMCAD.2019.8894248"},{"key":"5_CR24","doi-asserted-by":"crossref","unstructured":"Krogh-Jespersen, M., Timany, A., Ohlenbusch, M.E., Gregersen, S.O., Birkedal, L.: Aneris: A mechanised logic for modular reasoning about distributed systems. In: M\u00fcller, P. (ed.) Programming Languages and Systems. pp. 336\u2013365. Springer International Publishing, Cham (2020)","DOI":"10.1007\/978-3-030-44914-8_13"},{"key":"5_CR25","doi-asserted-by":"crossref","unstructured":"Lamport, L.: The temporal logic of actions. Tech. Rep.\u00a079, Digital Equipment Corporation (May 1994), aCM Transactions on Programming Languages and Systems 16","DOI":"10.1145\/177492.177726"},{"key":"5_CR26","doi-asserted-by":"crossref","unstructured":"Leino, R.: Dafny: An automatic program verifier for functional correctness. In: 16th International Conference, LPAR-16, Dakar, Senegal. pp. 348\u2013370. Springer Berlin Heidelberg (April 2010)","DOI":"10.1007\/978-3-642-17511-4_20"},{"key":"5_CR27","doi-asserted-by":"publisher","unstructured":"Lepers, B., Gouicem, R., Carver, D., Lozi, J.P., Palix, N., Aponte, M.V., Zwaenepoel, W., Sopena, J., Lawall, J., Muller, G.: Provable multicore schedulers with ipanema: Application to work conservation. In: Proceedings of the Fifteenth European Conference on Computer Systems. EuroSys\u201920, Association for Computing Machinery, New York, NY, USA (2020). https:\/\/doi.org\/10.1145\/3342195.3387544","DOI":"10.1145\/3342195.3387544"},{"key":"5_CR28","doi-asserted-by":"publisher","unstructured":"Louren\u00e7o, C.B., Pinto, J.S.: Why3-do: The way of harmonious distributed system proofs. ESOP 2022 Artifact (2022). https:\/\/doi.org\/10.5281\/zenodo.5914171","DOI":"10.5281\/zenodo.5914171"},{"key":"5_CR29","doi-asserted-by":"publisher","unstructured":"Ma, H., Goel, A., Jeannin, J.B., Kapritsos, M., Kasikci, B., Sakallah, K.A.: I4: Incremental inference of inductive invariants for verification of distributed protocols. In: Proceedings of the 27th ACM Symposium on Operating Systems Principles. p. 370\u2013384. SOSP \u201919, Association for Computing Machinery, New York, NY, USA (2019). https:\/\/doi.org\/10.1145\/3341301.3359651","DOI":"10.1145\/3341301.3359651"},{"key":"5_CR30","unstructured":"Merz, S.: On the verification of a self-stabilizing algorithm. Tech. rep., University of Munich (1998)"},{"key":"5_CR31","doi-asserted-by":"crossref","unstructured":"de\u00a0Moura, L., Bj\u00f8rner, N.: Z3: An Efficient SMT Solver, Lecture Notes in Computer Science, vol. 4963\/2008, pp. 337\u2013340. Springer Berlin (April 2008)","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"5_CR32","doi-asserted-by":"crossref","unstructured":"Newcombe, C.: Why amazon chose TLA+. In: Ait\u00a0Ameur, Y., Schewe, K.D. (eds.) Abstract State Machines, Alloy, B, TLA, VDM, and Z. pp. 25\u201339. Springer Berlin Heidelberg, Berlin, Heidelberg (2014)","DOI":"10.1007\/978-3-662-43652-3_3"},{"key":"5_CR33","doi-asserted-by":"publisher","unstructured":"Padon, O., Losa, G., Sagiv, M., Shoham, S.: Paxos made EPR: Decidable reasoning about distributed protocols. Proc. ACM Program. Lang. 1(OOPSLA) (Oct 2017). https:\/\/doi.org\/10.1145\/3140568","DOI":"10.1145\/3140568"},{"key":"5_CR34","doi-asserted-by":"publisher","unstructured":"Padon, O., McMillan, K.L., Panda, A., Sagiv, M., Shoham, S.: Ivy: Safety verification by interactive generalization. In: Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation. p. 614\u2013630. PLDI \u201916, Association for Computing Machinery, New York, NY, USA (2016). https:\/\/doi.org\/10.1145\/2908080.2908118","DOI":"10.1145\/2908080.2908118"},{"key":"5_CR35","doi-asserted-by":"crossref","unstructured":"Qadeer, S., Shankar, N.: Verifying a self-stabilizing mutual exclusion algorithm. In: Proceedings of the IFIP TC2\/WG2.2,2.3 International Conference on Programming Concepts and Methods. pp. 424\u2013443. PROCOMET \u201998, Chapman & Hall, Ltd. (1998)","DOI":"10.1007\/978-0-387-35358-6_27"},{"key":"5_CR36","unstructured":"Riazanov, A., Voronkov, A.: The design and implementation of VAMPIRE. AI Commun. 15(2-3), 91\u2013110 (2002)"},{"key":"5_CR37","unstructured":"Rognier, B.: Verify a smart contract with archetype. https:\/\/medium.com\/coinmonks\/verify-a-smart-contract-with-archetype-6e0ea548e2da (2019)"},{"key":"5_CR38","doi-asserted-by":"publisher","unstructured":"Schneider, M.: Self-stabilization. ACM Comput. Surv. 25(1), 45\u201367 (Mar 1993). https:\/\/doi.org\/10.1145\/151254.151256","DOI":"10.1145\/151254.151256"},{"key":"5_CR39","doi-asserted-by":"publisher","unstructured":"Sergey, I., Wilcox, J.R., Tatlock, Z.: Programming and proving with distributed protocols. Proc. ACM Program. Lang. 2(POPL) (Dec 2017). https:\/\/doi.org\/10.1145\/3158116","DOI":"10.1145\/3158116"},{"key":"5_CR40","unstructured":"Tolmach, P., Li, Y., Lin, S.W., Liu, Y., Li, Z.: A survey of smart contract formal specification and verification. ArXiv abs\/2008.02712 (2020)"},{"key":"5_CR41","doi-asserted-by":"crossref","unstructured":"Tsuchiya, T., ichi Nagano, S., Paidi, R.B., Kikuno, T.: Symbolic model checking for self-stabilizing algorithms. IEEE Trans. Parallel Distrib. Syst. 12(1), 81\u201395 (2001)","DOI":"10.1109\/71.899941"},{"key":"5_CR42","doi-asserted-by":"publisher","unstructured":"Wilcox, J.R., Woos, D., Panchekha, P., Tatlock, Z., Wang, X., Ernst, M.D., Anderson, T.: Verdi: A framework for implementing and formally verifying distributed systems. In: Proceedings of the 36th ACM SIGPLAN Conference on Programming Language Design and Implementation. p. 357\u2013368. PLDI \u201915, Association for Computing Machinery, New York, NY, USA (2015). https:\/\/doi.org\/10.1145\/2737924.2737958","DOI":"10.1145\/2737924.2737958"},{"key":"5_CR43","doi-asserted-by":"crossref","unstructured":"Yu, Y., Manolios, P., Lamport, L.: Model checking TLA+ specifications. In: Pierre, L., Kropf, T. (eds.) Correct Hardware Design and Verification Methods. pp. 54\u201366. Springer Berlin Heidelberg, Berlin, Heidelberg (1999)","DOI":"10.1007\/3-540-48153-2_6"}],"container-title":["Lecture Notes in Computer Science","Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-030-99336-8_5","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,11,15]],"date-time":"2024-11-15T00:06:47Z","timestamp":1731629207000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-030-99336-8_5"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022]]},"ISBN":["9783030993351","9783030993368"],"references-count":43,"URL":"https:\/\/doi.org\/10.1007\/978-3-030-99336-8_5","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-030-99336-8","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":"29 March 2022","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"ESOP","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"European Symposium on Programming","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":"5 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":"31","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"esop2022","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/etaps.org\/2022\/esop","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":"HotCRP","order":2,"name":"conference_management_system","label":"Conference Management System","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"64","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":"21","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":"0","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.5","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":"7","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)"}}]}}