From types to sets in Isabelle/HOL
Authors: Ondřej Kunčar and Andrei Popescu
Paper Information
| Title: | From types to sets in Isabelle/HOL |
| Authors: | Ondřej Kunčar and Andrei Popescu |
| Proceedings: | Isabelle 2014 Papers (Unrefereed) |
| Editors: | Tobias Nipkow, Lawrence Paulson and Makarius Wenzel |
| Keywords: | Isabelle, HOL, model, local typedef, internalization of type classes, consistency, Lifting, Transfer, type-based theorems, set-based theorems |
| Abstract: | ABSTRACT. HOL types are naturally interpreted as nonempty sets---this intuition is reflected in the type definition rule for the HOL-based systems (including Isabelle/HOL), where a new type can be defined whenever a nonempty set is exhibited. However, in HOL this definition mechanism cannot be applied inside proof contexts. We analyze some undesired consequences of this limitation and propose a more expressive type-definition rule that addresses it. The new expressive power opens the opportunity for a package that relativizes type-based statements to more flexible set-based variants---to streamline this process, we further implement a rule that transforms the implicit type-class constraints into explicit assumptions. Moreover, our tool is an interesting use case of Lifting and Transfer. |
| Pages: | 5 |
| Talk: | Jul 13 11:20 |
| Paper: | ![]() |
