You can import only HOL
, as in
theory Test_Theory imports HOL begin … end
I often do this to test and study Isabelle.
However, you are missing data type definitions and you probably need to import Datatype
(and maybe even Record
) to be able to write your List
theory.
theory Test_Theory imports HOL Datatype Record begin … end
Since both Datatype
and Record
import HOL
, you can simply:
theory Test_Theory imports Datatype Record begin … end
It is not easy to do without Main
theory, but not impossible. Just keep in mind that you will have to do without many widely used theorems and may have to write and prove your rights.
source share