forked from HOL-Theorem-Prover/HOL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtempScript.sml
51 lines (37 loc) · 2.64 KB
/
tempScript.sml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
(*---------------------------------------------------------------------------*
* tempScript.sml: *
* *
* A template theory script suitable for Holmake. If you are going to use it *
* for theory "x", you must change the name of this file to "xScript.sml", *
* and the argument to "new_theory" below must be changed to be "x". *
*---------------------------------------------------------------------------*)
(*---------------------------------------------------------------------------*
* First, make standard environment available. *
*---------------------------------------------------------------------------*)
open HolKernel Parse boolLib;
(*---------------------------------------------------------------------------*
* Next, bring in extra tools used. For example, if you were going to use *
* bossLib, then while you were working interactively, you may have to *
* execute *
* *
load "bossLib"; *
* *
* before executing *
* *
open bossLib; *
* *
* However, when using the batch compiler, the call to "load" isn't allowed. *
* *
* The following opening of bossLib is only for example. You should only *
* refer to modules that are used. *
*---------------------------------------------------------------------------*)
open bossLib;
(*---------------------------------------------------------------------------*
* Create the theory. *
*---------------------------------------------------------------------------*)
val _ = new_theory "temp";
< THIS AREA INTENTIONALLY LEFT BLANK: YOUR STUFF GOES HERE! >
(*---------------------------------------------------------------------------*
* Write the theory to disk. *
*---------------------------------------------------------------------------*)
val _ = export_theory();