Checking Conservativity of Overloaded Definitions in Higher-Order Logic
Overloading in the context of higher-order logic has been used for some time now. We define what we mean by Higher-Order Logic with Conservative Overloading (HOLCO). HOLCO captures how overloading is actually applied by the users of Isabelle.
We show that checking whether definitions obey the rules of HOLCO is not even semi-decidable.
The undecidability proof reveals strong ties between our problem and the dependency pair method by Arts and Giesl for proving termination of TRSs via the notion overloading TRS. The dependency graph of overloading TRSs can be computed exactly. We exploit this by providing an algorithm that checks the conservativity of definitions based on the dependency pair method and a simple form of linear polynomial interpretation; the algorithm also uses the strategy of Hirokawa and Middeldorp of recursively calculating the strongly connected components of the dependency graph. The algorithm is powerful enough to deal with all overloaded definitions that the author has encountered so far in practice.
An implementation of this algorithm is available as part of a package that adds conservative overloading to Isabelle. This package also allows to delegate the conservativity check to external tools like the Tyrolean Termination Tool or the Automated Program Verification Environment.
KeywordsDependency Graph Theory Extension Cyclic Component Type Constructor Dependency Pair
Unable to display preview. Download preview PDF.
- 1.Obua, S.: Conservative Overloading in Higher-Order Logic. Technical Report, Institut für Informatik, Technische Universität München (2006), http://www4.in.tum.de/~obua/checkdefs
- 5.Baader, F., Nipkow, T.: Term Rewriting and All That. Cambridge U.P., NewYork (1998)Google Scholar
- 6.Terese: Term Rewriting Systems. Cambridge U.P., New York (2003)Google Scholar
- 10.The HOL System Description, http://hol.sourceforge.net/
- 11.Harrison, J.: The HOL Light theorem prover, http://www.cl.cam.ac.uk/~jrh/hol-light/
- 16.Project Bali, http://isabelle.in.tum.de/Bali
- 18.Giesl, J.: Generating Polynomial Orderings for Termination Proofs. In: Hsiang, J. (ed.) RTA 1995. LNCS, vol. 914, pp. 426–431. Springer, Heidelberg (1995)Google Scholar