arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Artificial Intelligence

Derivation and Use of Induction Schemes in Higher-Order Logic

See on the map

Abstract

Abstract. We discuss how to formally derive induction schemes for recursively defined functions in higher order logic. The functions are able to be defined using ML-style pattern-matching, and the induction schemes are also phrased in terms of these patterns. As part of the TFL system, this facility is portable: it has been incorporated into both the HOL and Isabelle systems. 1 Introduction In a previous paper [12], we argued that the built-in functions of higher-order logic provide a convenient, albeit ultimately limited, representation of pure functional programs. We also showed how total recursive functions, described by pattern-matching style recursion equations, could be defined by using a wellfounded recursion operator, with the input recursion equations being re-derived as logical consequences of the definition. Here our intent is to examine the other side of the coin: how can one reliably produce a customized induction theorem for each recursive definition? Our approach to induction follows that of Boyer and Moore [3], in which the structure of the recursive definition is used as a basis on which to construct the induction theorem. This is in contrast to the structural induction approach, which has been used with success in many applications [9]. At times, however, structural induction is insufficient, and our examples include some illustrative instances. Having more than one kind of applicable induction can mean confusion: which induction theorem to use when? We do not have anything conclusive to say about this issue, but we will at least discuss our experiences with this.

More like this