{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T09:05:01Z","timestamp":1787043901211,"version":"build-2736575974"},"reference-count":102,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2022,12,31]],"date-time":"2022-12-31T00:00:00Z","timestamp":1672444800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"National Science Foundation","award":["1718713"],"award-info":[{"award-number":["1718713"]}]},{"DOI":"10.13039\/100000006","name":"Office of Naval Research","doi-asserted-by":"crossref","award":["N00014-17-1-2787"],"award-info":[{"award-number":["N00014-17-1-2787"]}],"id":[{"id":"10.13039\/100000006","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2022,12,31]]},"abstract":"<jats:p>Dedicated to Tony Hoare.<\/jats:p>\n          <jats:p>In a paper published in 1972, Hoare articulated the fundamental notions of hiding invariants and simulations. Hiding: invariants on encapsulated data representations need not be mentioned in specifications that comprise the API of a module. Simulation: correctness of a new data representation and implementation can be established by proving simulation between the old and new implementations using a coupling relation defined on the encapsulated state. These results were formalized semantically and for a simple model of state, though the paper claimed this could be extended to encompass dynamically allocated objects. In recent years, progress has been made toward formalizing the claim, for simulation, though mainly in semantic developments. In this article, hiding and simulation are combined with the idea in Hoare\u2019s 1969 paper: a logic of programs. For an object-based language with dynamic allocation, we introduce a relational Hoare logic with stateful frame conditions that formalizes encapsulation, hiding of invariants, and couplings that relate two implementations. Relations and other assertions are expressed in first-order logic. Specifications can express a wide range of relational properties such as conditional equivalence and noninterference with declassification. The proof rules facilitate relational reasoning by means of convenient alignments and are shown sound with respect to a conventional operational semantics. A derived proof rule for equivalence of linked programs directly embodies representation independence. Applicability to representative examples is demonstrated using an SMT-based implementation.<\/jats:p>","DOI":"10.1145\/3551497","type":"journal-article","created":{"date-parts":[[2022,8,1]],"date-time":"2022-08-01T11:48:21Z","timestamp":1659354501000},"page":"1-136","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["A Relational Program Logic with Data Abstraction and Dynamic Framing"],"prefix":"10.1145","volume":"44","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-9979-1292","authenticated-orcid":false,"given":"Anindya","family":"Banerjee","sequence":"first","affiliation":[{"name":"IMDEA Software Institute, Madrid, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2779-2071","authenticated-orcid":false,"given":"Ramana","family":"Nagasamudram","sequence":"additional","affiliation":[{"name":"Stevens Institute of Technology, Hoboken, New Jersey, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7634-6150","authenticated-orcid":false,"given":"David A.","family":"Naumann","sequence":"additional","affiliation":[{"name":"Stevens Institute of Technology, Hoboken, New Jersey, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5744-2609","authenticated-orcid":false,"given":"Mohammad","family":"Nikouei","sequence":"additional","affiliation":[{"name":"Stevens Institute of Technology, Hoboken, New Jersey, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,1,10]]},"reference":[{"key":"e_1_3_4_2_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796819000145"},{"key":"e_1_3_4_3_2","doi-asserted-by":"publisher","DOI":"10.1145\/1480881.1480925"},{"key":"e_1_3_4_4_2","doi-asserted-by":"publisher","DOI":"10.1145\/1111037.1111046"},{"key":"e_1_3_4_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/1314436.1314438"},{"key":"e_1_3_4_6_2","unstructured":"Timos Antonopoulos Eric Koskinen Ton Chanh Le Ramana Nagasamudram David A. Naumann and Minh Ngo. 2022. An algebra of alignment for relational verification. Retrieved from https:\/\/arxiv.org\/abs\/2202.04278."},{"key":"e_1_3_4_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-84882-745-5"},{"key":"e_1_3_4_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/1101821.1101824"},{"key":"e_1_3_4_9_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796804005453"},{"key":"e_1_3_4_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/2485981"},{"key":"e_1_3_4_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-36946-9_12"},{"key":"e_1_3_4_12_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.FSTTCS.2016.11"},{"key":"e_1_3_4_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/3174801"},{"key":"e_1_3_4_14_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2008.20"},{"key":"e_1_3_4_15_2","doi-asserted-by":"publisher","DOI":"10.1145\/2485982"},{"key":"e_1_3_4_16_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-018-0455-5"},{"key":"e_1_3_4_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-21437-0_17"},{"key":"e_1_3_4_18_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-35722-0_3"},{"key":"e_1_3_4_19_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jlamp.2016.05.004"},{"key":"e_1_3_4_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/CSFW.2004.17"},{"key":"e_1_3_4_21_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129511000193"},{"key":"e_1_3_4_22_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-10082-1_6"},{"key":"e_1_3_4_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009896"},{"key":"e_1_3_4_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/1040294.1040304"},{"key":"e_1_3_4_25_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-98047-8_3"},{"key":"e_1_3_4_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/964001.964003"},{"key":"e_1_3_4_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/2535838.2535869"},{"key":"e_1_3_4_28_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-22863-6_6"},{"key":"e_1_3_4_29_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-72019-3_5"},{"key":"e_1_3_4_30_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-30942-8_34"},{"key":"e_1_3_4_31_2","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-4(2:6)2008"},{"key":"e_1_3_4_32_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-018-9457-5"},{"key":"e_1_3_4_33_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-017-9431-7"},{"key":"e_1_3_4_34_2","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2014.12"},{"key":"e_1_3_4_35_2","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314596"},{"key":"e_1_3_4_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371070"},{"key":"e_1_3_4_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009892"},{"key":"e_1_3_4_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/1706299.1706323"},{"key":"e_1_3_4_39_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-17127-8_14"},{"key":"e_1_3_4_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/3324783"},{"key":"e_1_3_4_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/2642937.2642987"},{"key":"e_1_3_4_42_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jlamp.2021.100645"},{"key":"e_1_3_4_43_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10703-016-0243-x"},{"key":"e_1_3_4_44_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF00264278"},{"key":"e_1_3_4_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/3209108.3209174"},{"key":"e_1_3_4_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3131851.3131870"},{"key":"e_1_3_4_47_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00236-008-0075-2"},{"key":"e_1_3_4_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/3167090"},{"key":"e_1_3_4_49_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jlamp.2018.09.005"},{"key":"e_1_3_4_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/2187671.2187678"},{"key":"e_1_3_4_51_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-38574-2_20"},{"key":"e_1_3_4_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/363235.363259"},{"key":"e_1_3_4_53_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF00289507"},{"key":"e_1_3_4_54_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796818000151"},{"key":"e_1_3_4_55_2","doi-asserted-by":"publisher","DOI":"10.1007\/11813040_19"},{"key":"e_1_3_4_56_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-017-9433-5"},{"key":"e_1_3_4_57_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-31424-7_54"},{"key":"e_1_3_4_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/2491411.2491452"},{"issue":"4","key":"e_1_3_4_59_2","first-page":"1","article-title":"Program equivalence (dagstuhl seminar 18151)","volume":"8","author":"Lahiri Shuvendu K.","year":"2018","unstructured":"Shuvendu K. Lahiri, Andrzej S. Murawski, Ofer Strichman, and Mattias Ulbrich. 2018. Program equivalence (dagstuhl seminar 18151). Dagstuhl Reports 8, 4 (2018), 1\u201319.","journal-title":"Dagstuhl Reports"},{"key":"e_1_3_4_60_2","doi-asserted-by":"publisher","DOI":"10.1109\/CSF51468.2021.00012"},{"key":"e_1_3_4_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/1127878.1127884"},{"key":"e_1_3_4_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/2766446"},{"key":"e_1_3_4_63_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-17511-4_20"},{"key":"e_1_3_4_64_2","first-page":"4","volume-title":"Proceedings of the Usable Verification Workshop","author":"Leino K. Rustan M.","year":"2010","unstructured":"K. Rustan M. Leino and Micha\u0142 Moskal. 2010. Usable auto-active verification. In Proceedings of the Usable Verification Workshop, Thomas Ball, Natarajan Shankar, and Lenore Zuck (Eds.). 4 pages. Retrieved from http:\/\/fm.csl.sri.com\/UV10\/submissions\/uv2010_submission_20.pdf."},{"key":"e_1_3_4_65_2","doi-asserted-by":"publisher","DOI":"10.1145\/512529.512559"},{"key":"e_1_3_4_66_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371072"},{"key":"e_1_3_4_67_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-81688-9_37"},{"key":"e_1_3_4_68_2","doi-asserted-by":"publisher","DOI":"10.3233\/978-1-61499-810-5-104"},{"key":"e_1_3_4_69_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-44914-8_19"},{"key":"e_1_3_4_70_2","doi-asserted-by":"publisher","DOI":"10.1109\/LICS52264.2021.9470690"},{"key":"e_1_3_4_71_2","doi-asserted-by":"publisher","DOI":"10.1145\/2491522.2491523"},{"key":"e_1_3_4_72_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-54833-8_16"},{"key":"e_1_3_4_73_2","doi-asserted-by":"publisher","DOI":"10.1007\/11863908_18"},{"key":"e_1_3_4_74_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2007.02.004"},{"key":"e_1_3_4_75_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-61470-6_7"},{"key":"e_1_3_4_76_2","unstructured":"Mohammad Nikouei. 2019. A Logical Analysis of Relational Program Correctness . Ph. D. Dissertation. Stevens Institute of Technology."},{"key":"e_1_3_4_77_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-44802-0_1"},{"key":"e_1_3_4_78_2","doi-asserted-by":"publisher","DOI":"10.1145\/964001.964024"},{"key":"e_1_3_4_79_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF00268134"},{"key":"e_1_3_4_80_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-96145-3_9"},{"key":"e_1_3_4_81_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-39799-8_54"},{"key":"e_1_3_4_82_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-54862-8_9"},{"key":"e_1_3_4_83_2","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2008.16"},{"key":"e_1_3_4_84_2","doi-asserted-by":"publisher","DOI":"10.1145\/3158124"},{"key":"e_1_3_4_85_2","first-page":"513","volume-title":"Proceedings of the IFIP 9th World Computer Congress on Information Processing","author":"Reynolds John C.","year":"1983","unstructured":"John C. Reynolds. 1983. Types, abstraction and parametric polymorphism. In Proceedings of the IFIP 9th World Computer Congress on Information Processing, R. E. A. Mason (Ed.). North-Holland\/IFIP, 513\u2013523."},{"key":"e_1_3_4_86_2","doi-asserted-by":"publisher","DOI":"10.5555\/889016"},{"key":"e_1_3_4_87_2","first-page":"20","volume-title":"Proceedings of the FLoC Workshop on Run-Time Result Verification","author":"Rinard Martin","year":"1999","unstructured":"Martin Rinard and Darko Marinov. 1999. Credible compilation with pointers. In Proceedings of the FLoC Workshop on Run-Time Result Verification. 20 pages. Retrieved from https:\/\/people.csail.mit.edu\/rinard\/paper\/credibleCompilation.html."},{"key":"e_1_3_4_88_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-27940-9_25"},{"key":"e_1_3_4_89_2","doi-asserted-by":"publisher","DOI":"10.5555\/2011916"},{"key":"e_1_3_4_90_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-25540-4_9"},{"key":"e_1_3_4_91_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-03013-0_8"},{"key":"e_1_3_4_92_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-010-0148-1"},{"key":"e_1_3_4_93_2","doi-asserted-by":"publisher","DOI":"10.1145\/3209108.3209141"},{"key":"e_1_3_4_94_2","doi-asserted-by":"publisher","DOI":"10.1145\/2908080.2908092"},{"key":"e_1_3_4_95_2","doi-asserted-by":"publisher","DOI":"10.1145\/3276535"},{"key":"e_1_3_4_96_2","doi-asserted-by":"publisher","DOI":"10.1023\/A:1010000313106"},{"key":"e_1_3_4_97_2","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-8(3:22)2012"},{"key":"e_1_3_4_98_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-81685-8_35"},{"key":"e_1_3_4_99_2","volume-title":"Data Structures and Problem Solving Using Java","author":"Weiss Mark Allan","year":"2010","unstructured":"Mark Allan Weiss. 2010. Data Structures and Problem Solving Using Java, 4th ed. Addison-Wesley."},{"key":"e_1_3_4_100_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-54434-1_35"},{"key":"e_1_3_4_101_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2006.12.036"},{"key":"e_1_3_4_102_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-68237-0_5"},{"key":"e_1_3_4_103_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10703-005-3402-z"}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3551497","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3551497","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:00:25Z","timestamp":1750186825000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3551497"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,12,31]]},"references-count":102,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2022,12,31]]}},"alternative-id":["10.1145\/3551497"],"URL":"https:\/\/doi.org\/10.1145\/3551497","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,12,31]]},"assertion":[{"value":"2020-10-13","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-07-03","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-01-10","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}