Affiliation:
1. University of Sheffield, UK
2. University of Copenhagen, Denmark
Abstract
Relativizing statements in Higher-Order Logic (HOL) from types to sets is useful for improving productivity when working with HOL-based interactive theorem provers such as HOL4, HOL Light and Isabelle/HOL. This paper provides the first comprehensive definition and study of types-to-sets relativization in HOL, done in the more general form of types-to-PERs (partial equivalence relations). We prove that, for a large practical fragment of HOL which includes container types such as datatypes and codatatypes, types-to-PERs relativization is admissible, in that the provability of the original, type-based statement implies the provability of its relativized, PER-based counterpart. Our results also imply the admissibility of a previously proposed axiomatic extension of HOL with local type definitions. We have implemented types-to-PERs relativization as an Isabelle tool that performs relativization of HOL theorems on demand.
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference64 articles.
1. A PER model of polymorphism and recursive types
2. Containers: Constructing strictly positive types
3. Introducing HOL Zero
4. Stuart F. Allen . 1987. A Non-Type-Theoretic Semantics for Type-Theoretic Language. Ph. D. Dissertation . Cornell University , USA. Stuart F. Allen. 1987. A Non-Type-Theoretic Semantics for Type-Theoretic Language. Ph. D. Dissertation. Cornell University, USA.
5. Setoid Type Theory—A Syntactic Translation