{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,20]],"date-time":"2026-09-20T11:40:40Z","timestamp":1789904440564,"version":"4.0.1"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T00:00:00Z","timestamp":1503964800000},"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":[[2017,8,29]]},"abstract":"<jats:p>Relational program verification is a variant of program verification where one can reason about two programs and as a special case about two executions of a single program on different inputs. Relational program verification can be used for reasoning about a broad range of properties, including equivalence and refinement, and specialized notions such as continuity, information flow security or relative cost. In a higher-order setting, relational program verification can be achieved using relational refinement type systems, a form of refinement types where assertions have a relational interpretation. Relational refinement type systems excel at relating structurally equivalent terms but provide limited support for relating terms with very different structures.<\/jats:p>\n                  <jats:p>We present a logic, called Relational Higher Order Logic (RHOL), for proving relational properties of a simply typed \u03bb-calculus with inductive types and recursive definitions. RHOL retains the type-directed flavour of relational refinement type systems but achieves greater expressivity through rules which simultaneously reason about the two terms as well as rules which only contemplate one of the two terms. We show that RHOL has strong foundations, by proving an equivalence with higher-order logic (HOL), and leverage this equivalence to derive key meta-theoretical properties: subject reduction, admissibility of a transitivity rule and set-theoretical soundness. Moreover, we define sound embeddings for several existing relational type systems such as relational refinement types and type systems for dependency analysis and relative cost, and we verify examples that were out of reach of prior work.<\/jats:p>","DOI":"10.1145\/3110265","type":"journal-article","created":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T14:19:41Z","timestamp":1504016381000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":39,"title":["A relational logic for higher-order programs"],"prefix":"10.1145","volume":"1","author":[{"given":"Alejandro","family":"Aguirre","sequence":"first","affiliation":[{"name":"IMDEA Software Institute, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Gilles","family":"Barthe","sequence":"additional","affiliation":[{"name":"IMDEA Software Institute, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Marco","family":"Gaboardi","sequence":"additional","affiliation":[{"name":"University at Buffalo, USA \/ SUNY, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Deepak","family":"Garg","sequence":"additional","affiliation":[{"name":"MPI-SWS, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Pierre-Yves","family":"Strub","sequence":"additional","affiliation":[{"name":"\u00c9cole Polytechnique, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,8,29]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/292540.292555"},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/158511.158622"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45842-5_1"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.2178\/jsl\/1140641163"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.apal.2010.04.005"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(85)90056-0"},{"key":"e_1_2_2_7_1","volume-title":"Verifying relational properties of functional programs by first-order refinement. Science of Computer Programming","author":"Asada Kazuyuki","year":"2016","unstructured":"Kazuyuki Asada , Ryosuke Sato , and Naoki Kobayashi . 2016. Verifying relational properties of functional programs by first-order refinement. Science of Computer Programming ( 2016 ). Kazuyuki Asada, Ryosuke Sato, and Naoki Kobayashi. 2016. Verifying relational properties of functional programs by first-order refinement. Science of Computer Programming (2016)."},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-21437-0_17"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSFW.2004.17"},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2535838.2535847"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2676726.2677000"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1480881.1480894"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009896"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/2103656.2103670"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-68103-8_3"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/964001.964003"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2007.30"},{"key":"e_1_2_2_18_1","volume-title":"Deductive Verification with Relational Properties. In In Proc. of the 23th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS","author":"Blatter Lionel","year":"2017","unstructured":"Lionel Blatter , Nikolai Kosmatov , Pascale Le Gall , and Virgile Prevosto . 2017 . Deductive Verification with Relational Properties. In In Proc. of the 23th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2017), Uppsala, Sweden. To Appear. Lionel Blatter, Nikolai Kosmatov, Pascale Le Gall, and Virgile Prevosto. 2017. Deductive Verification with Relational Properties. In In Proc. of the 23th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2017), Uppsala, Sweden. To Appear."},{"key":"e_1_2_2_19_1","volume-title":"Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages, POPL 2017","author":"\u00c7i\u00e7ek Ezgi","year":"2017","unstructured":"Ezgi \u00c7i\u00e7ek , Gilles Barthe , Marco Gaboardi , Deepak Garg , and Jan Hoffmann . 2017 . Relational cost analysis . In Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages, POPL 2017 , Paris, France , January 18-20, 2017, Giuseppe Castagna and Andrew D. Gordon (Eds.). ACM, 316\u2013329. http:\/\/dl.acm.org\/citation.cfm?id=3009858 Ezgi \u00c7i\u00e7ek, Gilles Barthe, Marco Gaboardi, Deepak Garg, and Jan Hoffmann. 2017. Relational cost analysis. In Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages, POPL 2017, Paris, France, January 18-20, 2017, Giuseppe Castagna and Andrew D. Gordon (Eds.). ACM, 316\u2013329. http:\/\/dl.acm.org\/citation.cfm?id=3009858"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2008.7"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-7(2:16)2011"},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/1706299.1706323"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/964001.964025"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-15975-4_46"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/113445.113468"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2429069.2429113"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49630-5_1"},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49630-5_1"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129597002405"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/268946.268976"},{"key":"e_1_2_2_31_1","volume-title":"Categorical Logic and Type Theory. Number 141 in Studies in Logic and the Foundations of Mathematics. North Holland","author":"Jacobs B.","unstructured":"B. Jacobs . 1999. Categorical Logic and Type Theory. Number 141 in Studies in Logic and the Foundations of Mathematics. North Holland , Amsterdam . B. Jacobs. 1999. Categorical Logic and Type Theory. Number 141 in Studies in Logic and the Foundations of Mathematics. North Holland, Amsterdam."},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2676726.2676980"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009877"},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/2676726.2676970"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491522.2491523"},{"key":"e_1_2_2_36_1","volume-title":"Reasoning in Simple Type Theory: Festschrift in Honor of Peter B. Andrews on His 70th Birthday","author":"Pfenning Frank","unstructured":"Frank Pfenning . 2008. Church and Curry: Combining Intrinsic and Extrinsic Typing . In Reasoning in Simple Type Theory: Festschrift in Honor of Peter B. Andrews on His 70th Birthday , C.Benzm\u00fcller, C.Brown, J.Siekmann, and R.Statman (Eds.). College Publications , 303\u2013338. Frank Pfenning. 2008. Church and Curry: Combining Intrinsic and Extrinsic Typing. In Reasoning in Simple Type Theory: Festschrift in Honor of Peter B. Andrews on His 70th Birthday, C.Benzm\u00fcller, C.Brown, J.Siekmann, and R.Statman (Eds.). College Publications, 303\u2013338."},{"key":"e_1_2_2_37_1","unstructured":"Gordon Plotkin. 1973. Lambda-definability and logical relations. (1973).  Gordon Plotkin. 1973. Lambda-definability and logical relations. (1973)."},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(77)90044-5"},{"key":"e_1_2_2_39_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0037118"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/503272.503302"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/2908080.2908092"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1016\/s0019-9958(85)80001-2"},{"key":"e_1_2_2_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/2505879.2505895"},{"key":"e_1_2_2_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2837614.2837655"},{"key":"e_1_2_2_45_1","doi-asserted-by":"publisher","DOI":"10.2307\/2271658"},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1007\/11547662_24"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/2628136.2628161"},{"key":"e_1_2_2_48_1","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-1996-42-304"},{"key":"e_1_2_2_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/292540.292560"},{"key":"e_1_2_2_50_1","volume-title":"Relational separation logic. 375, 1-3","author":"Yang Hongseok","year":"2007","unstructured":"Hongseok Yang . 2007. Relational separation logic. 375, 1-3 ( 2007 ), 308\u2013334. Hongseok Yang. 2007. Relational separation logic. 375, 1-3 (2007), 308\u2013334."},{"key":"e_1_2_2_51_1","volume-title":"Formal Methods (Lecture Notes in Computer Science), Jorge Cu\u00e9llar","author":"Zaks Anna","unstructured":"Anna Zaks and Amir Pnueli . 2008. CoVaC: Compiler Validation by Program Analysis of the Cross-Product . In Formal Methods (Lecture Notes in Computer Science), Jorge Cu\u00e9llar , T. S. E. Maibaum, and Kaisa Sere (Eds.), Vol. 5014 . 35\u201351. Anna Zaks and Amir Pnueli. 2008. CoVaC: Compiler Validation by Program Analysis of the Cross-Product. In Formal Methods (Lecture Notes in Computer Science), Jorge Cu\u00e9llar, T. S. E. Maibaum, and Kaisa Sere (Eds.), Vol. 5014. 35\u201351."},{"key":"e_1_2_2_52_1","unstructured":"Noam Zeilberger. 2016. Principles of Type Refinement. (2016). http:\/\/noamz.org\/oplss16\/refinements- notes.pdf Notes for OPLSS 2016 school.  Noam Zeilberger. 2016. Principles of Type Refinement. (2016). http:\/\/noamz.org\/oplss16\/refinements- notes.pdf Notes for OPLSS 2016 school."}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110265","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3110265","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T00:38:44Z","timestamp":1750207124000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110265"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,8,29]]},"references-count":52,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2017,8,29]]}},"alternative-id":["10.1145\/3110265"],"URL":"https:\/\/doi.org\/10.1145\/3110265","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,8,29]]},"assertion":[{"value":"2017-08-29","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}