Open this publication in new window or tab >>2022 (English)In: 13th International Conference on Interactive Theorem Proving (ITP 2022), Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing , 2022, Vol. 237, article id 15Conference paper, Published paper (Refereed)
Abstract [en]
Non-terminating (dependencies of) definitions can lead to logical contradictions, for example when defining a boolean constant as its own negation. Some proof assistants thus detect and disallow non-terminating definitions. Termination is generally undecidable when constants may have different definitions at different type instances, which is called (ad-hoc) overloading. The Isabelle/HOL proof assistant supports overloading of constant definitions, but relies on an unclear foundation for this critical termination check. With this paper we aim to close this gap: we present a mechanised proof that, for restricted overloading, non-terminating definitions are of a detectable cyclic shape, and we describe a mechanised algorithm with its correctness proof. In addition we demonstrate this cyclicity checker on parts of the Isabelle/HOL main library. Furthermore, we introduce the first-ever formally verified kernel of a proof assistant for higher-order logic with overloaded definitions. All our results are formalised in the HOL4 theorem prover.
Place, publisher, year, edition, pages
Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing, 2022
Series
Leibniz International Proceedings in Informatics, LIPIcs, ISSN 1868-8969 ; 237
Keywords
ad-hoc overloading, cyclicity, definitions, Isabelle/HOL, non-termination
National Category
Natural Language Processing
Identifiers
urn:nbn:se:kth:diva-317525 (URN)10.4230/LIPIcs.ITP.2022.15 (DOI)001515575200015 ()2-s2.0-85136278762 (Scopus ID)
Conference
13th International Conference on Interactive Theorem Proving, ITP 2022, 7 August 2022 through 10 August 2022, Haifa, Israel
Note
QC 20220913
Part of proceedings: ISBN 978-395977252-5
2022-09-132022-09-132025-12-08Bibliographically approved