{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,19]],"date-time":"2026-09-19T15:48:42Z","timestamp":1789832922993,"version":"4.0.1"},"reference-count":64,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2017,12,27]],"date-time":"2017-12-27T00:00:00Z","timestamp":1514332800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100001659","name":"Deutsche Forschungsgemeinschaft","doi-asserted-by":"publisher","award":["Ni 491\/13-3"],"award-info":[{"award-number":["Ni 491\/13-3"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100000266","name":"Engineering and Physical Sciences Research Council","doi-asserted-by":"publisher","award":["EP\/N019547\/1"],"award-info":[{"award-number":["EP\/N019547\/1"]}],"id":[{"id":"10.13039\/501100000266","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2018,1]]},"abstract":"<jats:p>Definitions are traditionally considered to be a safe mechanism for introducing concepts on top of a logic known to be consistent. In contrast to arbitrary axioms, definitions should in principle be treatable as a form of abbreviation, and thus compiled away from the theory without losing provability. In particular, definitions should form a conservative extension of the pure logic. These properties are crucial for modern interactive theorem provers, since they ensure the consistency of the logic, as well as a valid environment for total\/certified functional programming.<\/jats:p><jats:p>We prove these properties, namely, safety and conservativity, for Higher-Order Logic (HOL), a logic implemented in several mainstream theorem provers and relied upon by thousands of users. Some unique features of HOL, such as the requirement to give non-emptiness proofs when defining new types and the impossibility to unfold type definitions, make the proof of these properties, and also the very formulation of safety, nontrivial.<\/jats:p><jats:p>Our study also factors in the essential variation of HOL definitions featured by Isabelle\/HOL, a popular member of the HOL-based provers family. The current work improves on recent results which showed a weaker property, consistency of Isabelle\/HOL's definitions.<\/jats:p>","DOI":"10.1145\/3158112","type":"journal-article","created":{"date-parts":[[2017,12,29]],"date-time":"2017-12-29T14:21:49Z","timestamp":1514557309000},"page":"1-26","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":12,"title":["Safety and conservativity of definitions in HOL and Isabelle\/HOL"],"prefix":"10.1145","volume":"2","author":[{"given":"Ond\u0159ej","family":"Kun\u010dar","sequence":"first","affiliation":[{"name":"TU Munich, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Andrei","family":"Popescu","sequence":"additional","affiliation":[{"name":"Middlesex University, UK \/ Institute of Mathematics at Romanian Academy, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,12,27]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2007.33"},{"key":"e_1_2_2_2_1","volume-title":"ICMS \u201910","author":"Adams Mark"},{"key":"e_1_2_2_3_1","doi-asserted-by":"crossref","unstructured":"Wolfgang Ahrendt Bernhard Beckert Richard Bubel Reiner H\u00e4hnle Peter H. Schmitt and Mattias Ulbrich (Eds.). 2016. Deductive Software Verification - The KeY Book - From Theory to Practice. Springer. Wolfgang Ahrendt Bernhard Beckert Richard Bubel Reiner H\u00e4hnle Peter H. Schmitt and Mattias Ulbrich (Eds.). 2016. Deductive Software Verification - The KeY Book - From Theory to Practice. Springer.","DOI":"10.1007\/978-3-319-49812-6"},{"key":"e_1_2_2_4_1","doi-asserted-by":"crossref","unstructured":"Thorsten Altenkirch. 1993. Proving Strong Normalization of CC by Modifying Realizability Semantics. In TYPES. 3\u201318. Thorsten Altenkirch. 1993. Proving Strong Normalization of CC by Modifying Realizability Semantics. In TYPES. 3\u201318.","DOI":"10.1007\/3-540-58085-9_70"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-08970-6_34"},{"key":"e_1_2_2_6_1","unstructured":"R. D. Arthan. 2004. Some Mathematical Case Studies in ProofPower\u2013HOL. In TPHOLs. R. D. Arthan. 2004. Some Mathematical Case Studies in ProofPower\u2013HOL. In TPHOLs."},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-22438-6_7"},{"key":"e_1_2_2_8_1","article-title":"Sets in Coq","volume":"3","author":"Barras Bruno","year":"2010","journal-title":"Journal of Formalized Reasoning"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-07964-5"},{"key":"e_1_2_2_10_1","first-page":"93","article-title":"Truly Modular (Co)datatypes for Isabelle\/HOL","volume":"8558","author":"Blanchette Jasmin Christian","year":"2014","journal-title":"ITP"},{"key":"e_1_2_2_11_1","doi-asserted-by":"crossref","unstructured":"Ana Bove Peter Dybjer and Ulf Norell. 2009. A Brief Overview of Agda\u2014A Functional Language with Dependent Types. In TPHOLs. Ana Bove Peter Dybjer and Ulf Norell. 2009. A Brief Overview of Agda\u2014A Functional Language with Dependent Types. In TPHOLs.","DOI":"10.1007\/978-3-642-03359-9_6"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.2307\/2266170"},{"key":"e_1_2_2_13_1","volume-title":"Workshop on Logical Frameworks.","author":"Coquand Thierry","year":"1990"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2006.8"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/317636.317906"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/289423.289459"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.5555\/2958031.2958110"},{"key":"e_1_2_2_18_1","volume-title":"Pre-proceedings of LSFA 2017","author":"Gengelbach Arve","year":"2017"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-66107-0_16"},{"key":"e_1_2_2_21_1","volume-title":"HOL: A Theorem Proving Environment for Higher Order Logic","author":"Gordon M. J. C.","year":"1993"},{"key":"e_1_2_2_22_1","doi-asserted-by":"crossref","unstructured":"Florian Haftmann and Makarius Wenzel. 2006. Constructive Type Classes in Isabelle.. In TYPES. 160\u2013174. Florian Haftmann and Makarius Wenzel. 2006. Constructive Type Classes in Isabelle.. In TYPES. 160\u2013174.","DOI":"10.1007\/978-3-540-74464-1_11"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0031814"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/11814771_17"},{"key":"e_1_2_2_25_1","doi-asserted-by":"crossref","unstructured":"John Harrison. 2009. HOL Light: An Overview. In TPHOLs. 60\u201366. John Harrison. 2009. HOL Light: An Overview. In TPHOLs. 60\u201366.","DOI":"10.1007\/978-3-642-03359-9_4"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.2307\/2267044"},{"key":"e_1_2_2_27_1","unstructured":"Isabelle. 2016. The Isabelle Library. (2016). https:\/\/isabelle.in.tum.de\/dist\/library\/HOL\/index.html . Isabelle. 2016. The Isabelle Library. (2016). https:\/\/isabelle.in.tum.de\/dist\/library\/HOL\/index.html ."},{"key":"e_1_2_2_28_1","volume-title":"Computer-Aided Reasoning: An Approach","author":"Kaufmann Matt"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1743546.1743574"},{"key":"e_1_2_2_30_1","unstructured":"Gerwin Klein Tobias Nipkow Larry Paulson and Ren\u00e9 Thiemann (eds.). 2016. Isabelle\u2019s Archive of Formal Proofs. (2016). Gerwin Klein Tobias Nipkow Larry Paulson and Ren\u00e9 Thiemann (eds.). 2016. Isabelle\u2019s Archive of Formal Proofs. (2016)."},{"key":"e_1_2_2_32_1","doi-asserted-by":"crossref","unstructured":"Ramana Kumar Rob Arthan Magnus O. Myreen and Scott Owens. 2014. HOL with Definitions: Semantics Soundness and a Verified Implementation. In ITP. 308\u2013324. Ramana Kumar Rob Arthan Magnus O. Myreen and Scott Owens. 2014. HOL with Definitions: Semantics Soundness and a Verified Implementation. In ITP. 308\u2013324.","DOI":"10.1007\/978-3-319-08970-6_20"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-015-9357-x"},{"key":"e_1_2_2_34_1","doi-asserted-by":"crossref","unstructured":"Ond\u0159ej Kun\u010dar. 2015. Correctness of Isabelle\u2019s Cyclicity Checker: Implementability of Overloading in Proof Assistants. In CPP. 85\u201394. Ond\u0159ej Kun\u010dar. 2015. Correctness of Isabelle\u2019s Cyclicity Checker: Implementability of Overloading in Proof Assistants. In CPP. 85\u201394.","DOI":"10.1145\/2676724.2693175"},{"key":"e_1_2_2_35_1","doi-asserted-by":"crossref","unstructured":"Ond\u0159ej Kun\u010dar and Andrei Popescu. 2015. A Consistent Foundation for Isabelle\/HOL. In ITP. 234\u2013252. Ond\u0159ej Kun\u010dar and Andrei Popescu. 2015. A Consistent Foundation for Isabelle\/HOL. In ITP. 234\u2013252.","DOI":"10.1007\/978-3-319-22102-1_16"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-43144-4_13"},{"key":"e_1_2_2_37_1","doi-asserted-by":"crossref","unstructured":"Ond\u0159ej Kun\u010dar and Andrei Popescu. 2017a. Comprehending Isabelle\/HOL\u2019s Consistency. In ESOP. 724\u2013749. Ond\u0159ej Kun\u010dar and Andrei Popescu. 2017a. Comprehending Isabelle\/HOL\u2019s Consistency. In ESOP. 724\u2013749.","DOI":"10.1007\/978-3-662-54434-1_27"},{"key":"e_1_2_2_38_1","unstructured":"Ond\u0159ej Kun\u010dar and Andrei Popescu. 2017b. Safety and Conservativity of Definitions in HOL and Isabelle\/HOL: Extended Version. (2017). www.andreipopescu.uk\/pdf\/popl2018_extended.pdf . Ond\u0159ej Kun\u010dar and Andrei Popescu. 2017b. Safety and Conservativity of Definitions in HOL and Isabelle\/HOL: Extended Version. (2017). www.andreipopescu.uk\/pdf\/popl2018_extended.pdf ."},{"key":"e_1_2_2_39_1","unstructured":"Ond\u0159ej Kun\u010dar and Andrei Popescu. 2017c. Safety and Conservativity of Definitions in HOL and Isabelle\/HOL: Isabelle\/HOL Implementation. (2017). http:\/\/www21.in.tum.de\/~kuncar\/documents\/unf.html . Ond\u0159ej Kun\u010dar and Andrei Popescu. 2017c. Safety and Conservativity of Definitions in HOL and Isabelle\/HOL: Isabelle\/HOL Implementation. (2017). http:\/\/www21.in.tum.de\/~kuncar\/documents\/unf.html ."},{"key":"e_1_2_2_40_1","volume-title":"Dafny: An Automatic Program Verifier for Functional Correctness. In LPAR (Dakar). 348\u2013370.","author":"Leino K. Rustan M.","year":"2010"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-11957-6_23"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4612-3658-0_9"},{"key":"e_1_2_2_43_1","volume-title":"Myreen and Jared Davis","author":"Magnus","year":"2014"},{"key":"e_1_2_2_44_1","volume-title":"Concrete Semantics - With Isabelle\/HOL","author":"Nipkow Tobias"},{"key":"e_1_2_2_45_1","volume-title":"LNCS","volume":"2283","author":"Nipkow Tobias","year":"2002"},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1007\/3540543961_1"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30142-4_18"},{"key":"e_1_2_2_48_1","doi-asserted-by":"publisher","DOI":"10.1007\/11805618_16"},{"key":"e_1_2_2_49_1","unstructured":"Sam Owre and Natarajan Shankar. 1999. The Formal Semantics of PVS. (1999). SRI technical report. http:\/\/www.csl.sri.com\/ papers\/csl- 97- 2\/ . Sam Owre and Natarajan Shankar. 1999. The Formal Semantics of PVS. (1999). SRI technical report. http:\/\/www.csl.sri.com\/ papers\/csl- 97- 2\/ ."},{"key":"e_1_2_2_50_1","doi-asserted-by":"crossref","unstructured":"Lawrence C. Paulson. 1990. A formulation of the simple theory of types (for Isabelle). In COLOG-88. 246\u2013274. Lawrence C. Paulson. 1990. A formulation of the simple theory of types (for Isabelle). In COLOG-88. 246\u2013274.","DOI":"10.1007\/3-540-52335-9_58"},{"key":"e_1_2_2_51_1","doi-asserted-by":"crossref","unstructured":"Lawrence C. Paulson. 2010. Three Years of Experience with Sledgehammer a Practical Link between Automatic and Interactive Theorem Provers. In PAAR. 1\u201310. Lawrence C. Paulson. 2010. Three Years of Experience with Sledgehammer a Practical Link between Automatic and Interactive Theorem Provers. In PAAR. 1\u201310.","DOI":"10.29007\/tnfd"},{"key":"e_1_2_2_52_1","volume-title":"System Description: Twelf - A Meta-Logical Framework for Deductive Systems. In CADE. 202\u2013206.","author":"Pfenning Frank","year":"1999"},{"key":"e_1_2_2_53_1","volume-title":"Beluga: A Framework for Programming and Reasoning with Deductive Systems (System Description). In IJCAR. 15\u201321.","author":"Pientka Brigitte","year":"2010"},{"key":"e_1_2_2_54_1","volume-title":"Introduction to HOL: A Theorem Proving Environment for Higher Order Logic","author":"Pitts A.","year":"1993"},{"key":"e_1_2_2_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/2034773.2034819"},{"key":"e_1_2_2_56_1","volume-title":"Osborn","author":"Popescu Andrei","year":"2010"},{"key":"e_1_2_2_57_1","volume-title":"Abstraction and Parametric Polymorphism. In IFIP Congress. 513\u2013523","author":"Reynolds John C.","year":"1983"},{"key":"e_1_2_2_58_1","doi-asserted-by":"crossref","volume-title":"Foundations of Algebraic Specification and Formal Software Development","author":"Sannella Donald","DOI":"10.1007\/978-3-642-17336-3"},{"key":"e_1_2_2_59_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-71067-7_6"},{"key":"e_1_2_2_60_1","doi-asserted-by":"crossref","unstructured":"Dmitriy Traytel Andrei Popescu and Jasmin Christian Blanchette. 2012. Foundational Compositional (Co)datatypes for Higher-Order Logic: Category Theory Applied to Theorem Proving. In LICS. 596\u2013605. Dmitriy Traytel Andrei Popescu and Jasmin Christian Blanchette. 2012. Foundational Compositional (Co)datatypes for Higher-Order Logic: Category Theory Applied to Theorem Proving. In LICS. 596\u2013605.","DOI":"10.1109\/LICS.2012.75"},{"key":"e_1_2_2_61_1","first-page":"751","article-title":"Total Functional Programming","volume":"10","author":"Turner D. A.","year":"2004","journal-title":"J. UCS"},{"key":"e_1_2_2_62_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0028402"},{"key":"e_1_2_2_63_1","doi-asserted-by":"crossref","unstructured":"Markus Wenzel. 1999. Isar - A Generic Interpretative Approach to Readable Formal Proof Documents. In TPHOLs. 167\u2013184. Markus Wenzel. 1999. Isar - A Generic Interpretative Approach to Readable Formal Proof Documents. In TPHOLs. 167\u2013184.","DOI":"10.1007\/3-540-48256-3_12"},{"key":"e_1_2_2_64_1","volume-title":"System description: Isabelle\/jEdit","author":"Wenzel Makarius","year":"2014"},{"key":"e_1_2_2_65_1","doi-asserted-by":"crossref","unstructured":"Freek Wiedijk. 2009. Stateless HOL. In TYPES. 47\u201361. Freek Wiedijk. 2009. Stateless HOL. In TYPES. 47\u201361.","DOI":"10.4204\/EPTCS.53.4"},{"key":"e_1_2_2_66_1","volume-title":"Archived at https:\/\/lists.cam.ac.uk\/pipermail\/ cl- isabelle- users\/2015- September\/thread.html","author":"Wolff Burkhart","year":"2015"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3158112","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3158112","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,29]],"date-time":"2025-06-29T09:15:42Z","timestamp":1751188542000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3158112"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,12,27]]},"references-count":64,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2018,1]]}},"alternative-id":["10.1145\/3158112"],"URL":"https:\/\/doi.org\/10.1145\/3158112","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,12,27]]},"assertion":[{"value":"2017-12-27","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}