{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,14]],"date-time":"2026-11-14T20:06:57Z","timestamp":1794686817011,"version":"4.9.1"},"publisher-location":"Cham","reference-count":28,"publisher":"Springer International Publishing","isbn-type":[{"value":"9783030887001","type":"print"},{"value":"9783030887018","type":"electronic"}],"license":[{"start":{"date-parts":[[2021,1,1]],"date-time":"2021-01-01T00:00:00Z","timestamp":1609459200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,10,22]],"date-time":"2021-10-22T00:00:00Z","timestamp":1634860800000},"content-version":"vor","delay-in-days":294,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2021]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Variants of Kleene algebra have been used to provide foundations of reasoning about programs, for instance by representing Hoare Logic (HL) in algebra. That work has generally emphasised program correctness, i.e., proving the absence of bugs. Recently, Incorrectness Logic (IL) has been advanced as a formalism for the dual problem: proving the presence of bugs. IL is intended to underpin the use of logic in program testing and static bug finding. Here, we use a Kleene algebra with diamond operators and countable joins of tests, which embeds IL, and which also is complete for reasoning about the image of the embedding. Next to embedding IL, the algebra is able to embed HL, and allows making connections between IL and HL specifications. In this sense, it unifies correctness and incorrectness reasoning in one formalism.<\/jats:p>","DOI":"10.1007\/978-3-030-88701-8_20","type":"book-chapter","created":{"date-parts":[[2021,10,21]],"date-time":"2021-10-21T19:06:25Z","timestamp":1634843185000},"page":"325-343","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":22,"title":["On Algebra of Program Correctness and\u00a0Incorrectness"],"prefix":"10.1007","author":[{"given":"Bernhard","family":"M\u00f6ller","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Peter","family":"O\u2019Hearn","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tony","family":"Hoare","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2021,10,22]]},"reference":[{"issue":"4","key":"20_CR1","doi-asserted-by":"publisher","first-page":"431","DOI":"10.1145\/357146.357150","volume":"3","author":"K Apt","year":"1981","unstructured":"Apt, K.: Ten years of Hoare\u2019s logic: a survey \u2013 part 1. ACM TOPLAS 3(4), 431\u2013483 (1981)","journal-title":"ACM TOPLAS"},{"key":"20_CR2","doi-asserted-by":"crossref","unstructured":"Asadi, A., Chatterjee, K., Fu, H., Goharshady, A., Mahdavi, M.: Polynomial reachability witnesses via Stellens\u00e4tze. In: PLDI (2021)","DOI":"10.1145\/3453483.3454076"},{"key":"20_CR3","doi-asserted-by":"publisher","first-page":"417","DOI":"10.1017\/S096012950000030X","volume":"3","author":"R Backhouse","year":"1993","unstructured":"Backhouse, R., van der Woude, J.: Demonic operators and monotype factors. Math. Struct. Comp. Sci. 3, 417\u2013433 (1993)","journal-title":"Math. Struct. Comp. Sci."},{"key":"20_CR4","doi-asserted-by":"crossref","unstructured":"Ball, T., Kupferman, O., Yorsh, G.: Abstraction for falsification. In: CAV, pp. 67\u201381 (2005)","DOI":"10.1007\/11513988_8"},{"key":"20_CR5","doi-asserted-by":"crossref","unstructured":"Brunn, T., M\u00f6ller, B., Russling, M.: Layered graph traversals and Hamiltonian path problems \u2013 an algebraic approach. Tech. Rep. 1997\u201308, Institute of Computer Science, University of Augsburg, December 1997. Revision in Jeuring, J. (ed.): Math. Prog. Constr. LNCS 1422, 96\u2013121. Springer (1998)","DOI":"10.1007\/BFb0054287"},{"issue":"3","key":"20_CR6","doi-asserted-by":"publisher","first-page":"47","DOI":"10.1145\/2984450.2984457","volume":"3","author":"S Brookes","year":"2016","unstructured":"Brookes, S., O\u2019Hearn, P.W.: Concurrent Separation Logic. ACM SIGLOG News 3(3), 47\u201365 (2016)","journal-title":"ACM SIGLOG News"},{"key":"20_CR7","doi-asserted-by":"crossref","unstructured":"Bruni, R., Giacobazzi, R., Gori, R., Ranzato, F.: A logic for locally complete abstract interpretations. In: LICS (2021)","DOI":"10.1109\/LICS52264.2021.9470608"},{"issue":"2","key":"20_CR8","doi-asserted-by":"publisher","first-page":"82","DOI":"10.1145\/2408776.2408795","volume":"65","author":"C Cadar","year":"2013","unstructured":"Cadar, C., Sen, K.: Symbolic execution for software testing: three decades later. CACM 65(2), 82\u201390 (2013)","journal-title":"CACM"},{"key":"20_CR9","doi-asserted-by":"publisher","first-page":"214","DOI":"10.1007\/BF00288686","volume":"1","author":"M Clint","year":"1972","unstructured":"Clint, M., Hoare, T.: Program proving: jumps and functions. Acta Informatica 1, 214\u2013224 (1972)","journal-title":"Acta Informatica"},{"key":"20_CR10","doi-asserted-by":"crossref","unstructured":"Cousot, P., Cousot, R.: Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In: POPL, pp. 238\u2013252 (1977)","DOI":"10.1145\/512950.512973"},{"key":"20_CR11","first-page":"93","volume":"1","author":"J Desharnais","year":"2004","unstructured":"Desharnais, J., M\u00f6ller, B., Struth, G.: Modal Kleene algebra and applications \u2013 a survey. J. Rel. Meth. Comp. Sci. 1, 93\u2013131 (2004)","journal-title":"J. Rel. Meth. Comp. Sci."},{"key":"20_CR12","doi-asserted-by":"publisher","first-page":"798","DOI":"10.1145\/1183278.1183285","volume":"7","author":"J Desharnais","year":"2006","unstructured":"Desharnais, J., M\u00f6ller, B., Struth, G.: Kleene algebra with domain. ACM TOCL 7, 798\u2013833 (2006)","journal-title":"ACM TOCL"},{"key":"20_CR13","doi-asserted-by":"crossref","unstructured":"Floyd, R.W.: Assigning meanings to programs. Mathematical aspects of computer science. In: Proceedings of Symposium on Applied Mathematics. vol. 19, pp. 19\u201332. AMS (1967)","DOI":"10.1090\/psapm\/019\/0235771"},{"key":"20_CR14","doi-asserted-by":"crossref","unstructured":"Godefroid, P.: Compositional dynamic test generation. In: POPL, pp 47\u201354 (2007)","DOI":"10.1145\/1190215.1190226"},{"key":"20_CR15","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-09237-4","volume-title":"First-Order Dynamic Logic","year":"1979","unstructured":"Harel, D. (ed.): First-Order Dynamic Logic. LNCS, vol. 68. Springer, Heidelberg (1979). https:\/\/doi.org\/10.1007\/3-540-09237-4"},{"issue":"10","key":"20_CR16","doi-asserted-by":"publisher","first-page":"576","DOI":"10.1145\/363235.363259","volume":"12","author":"CAR Hoare","year":"1969","unstructured":"Hoare, C.A.R.: An axiomatic basis for computer programming. CACM 12(10), 576\u2013580 (1969)","journal-title":"CACM"},{"issue":"10","key":"20_CR17","doi-asserted-by":"publisher","first-page":"30","DOI":"10.1145\/1562764.1562779","volume":"52","author":"T Hoare","year":"2009","unstructured":"Hoare, T.: Retrospective: an axiomatic basis for computer programming. CACM 52(10), 30\u201332 (2009)","journal-title":"CACM"},{"issue":"6","key":"20_CR18","doi-asserted-by":"publisher","first-page":"266","DOI":"10.1016\/j.jlap.2011.04.005","volume":"80","author":"T Hoare","year":"2011","unstructured":"Hoare, T., M\u00f6ller, B., Struth, G., Wehrman, I.: Concurrent Kleene algebra and its foundations. J. Log. Algebr. Program 80(6), 266\u2013296 (2011)","journal-title":"J. Log. Algebr. Program"},{"issue":"4\u20136","key":"20_CR19","doi-asserted-by":"publisher","first-page":"423","DOI":"10.1007\/s00165-012-0249-0","volume":"24","author":"T Hoare","year":"2012","unstructured":"Hoare, T., van Staden, S.: In praise of algebra. Formal Aspects Comput. 24(4\u20136), 423\u2013431 (2012)","journal-title":"Formal Aspects Comput."},{"key":"20_CR20","doi-asserted-by":"publisher","first-page":"381","DOI":"10.1023\/A:1008271805106","volume":"6","author":"M Hollenberg","year":"1997","unstructured":"Hollenberg, M.: An equational axiomatization of dynamic negation and relational composition. J. Logic Lang. Inf. 6, 381\u2013401 (1997)","journal-title":"J. Logic Lang. Inf."},{"key":"20_CR21","doi-asserted-by":"publisher","first-page":"366","DOI":"10.1006\/inco.1994.1037","volume":"110","author":"D Kozen","year":"1994","unstructured":"Kozen, D.: A completeness theorem for Kleene algebras and the algebra of regular events. Inf. Comp. 110, 366\u2013390 (1994)","journal-title":"Inf. Comp."},{"issue":"1","key":"20_CR22","doi-asserted-by":"publisher","first-page":"60","DOI":"10.1145\/343369.343378","volume":"1","author":"D Kozen","year":"2000","unstructured":"Kozen, D.: On Hoare logic and Kleene algebra with tests. ACM TOCL 1(1), 60\u201376 (2000)","journal-title":"ACM TOCL"},{"key":"20_CR23","doi-asserted-by":"publisher","first-page":"221","DOI":"10.1016\/j.tcs.2005.09.069","volume":"351","author":"B M\u00f6ller","year":"2006","unstructured":"M\u00f6ller, B., Struth, G.: Algebras of modal operators and partial correctness. TCS 351, 221\u2013239 (2006)","journal-title":"TCS"},{"issue":"2","key":"20_CR24","doi-asserted-by":"publisher","first-page":"86","DOI":"10.1145\/3211968","volume":"62","author":"PW O\u2019Hearn","year":"2019","unstructured":"O\u2019Hearn, P.W.: Separation logic. Commun. ACM 62(2), 86\u201395 (2019)","journal-title":"Commun. ACM"},{"key":"20_CR25","doi-asserted-by":"crossref","unstructured":"O\u2019Hearn, P.W.: Incorrectness logic. PACML(POPL) 4, 10:1\u201310:32 (2020)","DOI":"10.1145\/3371078"},{"key":"20_CR26","first-page":"225","volume":"2","author":"A Raad","year":"2020","unstructured":"Raad, A., Berdine, J., Dang, H.-H., Dreyer, D., O\u2019Hearn, P.W., Villard, J.: Local reasoning about the presence of bugs: incorrectness separation logic. CAV 2, 225\u2013252 (2020)","journal-title":"CAV"},{"key":"20_CR27","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"155","DOI":"10.1007\/978-3-642-24690-6_12","volume-title":"Software Engineering and Formal Methods","author":"E de Vries","year":"2011","unstructured":"de Vries, E., Koutavas, V.: Reverse Hoare logic. In: Barthe, G., Pardo, A., Schneider, G. (eds.) SEFM 2011. LNCS, vol. 7041, pp. 155\u2013171. Springer, Heidelberg (2011). https:\/\/doi.org\/10.1007\/978-3-642-24690-6_12"},{"key":"20_CR28","unstructured":"Rosenthal, K.: Quantales and their applications. In: Pitman Research Notes in Math, vol. 234 (1990)"}],"container-title":["Lecture Notes in Computer Science","Relational and Algebraic Methods in Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-030-88701-8_20","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2021,10,21]],"date-time":"2021-10-21T20:53:45Z","timestamp":1634849625000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-030-88701-8_20"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021]]},"ISBN":["9783030887001","9783030887018"],"references-count":28,"URL":"https:\/\/doi.org\/10.1007\/978-3-030-88701-8_20","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-030-88701-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":[[2021]]},"assertion":[{"value":"22 October 2021","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"RAMiCS","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Conference on Relational and Algebraic Methods in Computer Science","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Marseille","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"France","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2021","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2 November 2021","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"5 November 2021","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"19","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"ramics2021","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/ramics19.lis-lab.fr\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}