author | wenzelm |
Thu, 21 Apr 2005 22:02:06 +0200 | |
changeset 15801 | d2f5ca3c048d |
parent 15597 | b5f5722ed703 |
child 15825 | 1576f9d3ffae |
permissions | -rw-r--r-- |
19 | 1 |
(* Title: Pure/ROOT.ML |
0 | 2 |
ID: $Id$ |
19 | 3 |
Author: Lawrence C Paulson, Cambridge University Computer Laboratory |
0 | 4 |
Copyright 1993 University of Cambridge |
5 |
||
4986 | 6 |
Root file for Pure Isabelle. |
0 | 7 |
*) |
8 |
||
9 |
val banner = "Pure Isabelle"; |
|
11835 | 10 |
val version = "Isabelle repository version"; (*filled in automatically!*) |
11 |
||
0 | 12 |
|
12248 | 13 |
print_depth 10; |
0 | 14 |
|
5684 | 15 |
(*fake hiding of private structures*) |
16 |
structure Hidden = struct end; |
|
4949 | 17 |
|
5017
786a17461ab9
moved table.ML, object.ML, seq.ML, name_space.ML to General;
wenzelm
parents:
5004
diff
changeset
|
18 |
(*basic tools*) |
0 | 19 |
use "library.ML"; |
5017
786a17461ab9
moved table.ML, object.ML, seq.ML, name_space.ML to General;
wenzelm
parents:
5004
diff
changeset
|
20 |
cd "General"; use "ROOT.ML"; cd ".."; |
14781 | 21 |
|
22 |
(*fundamental structures*) |
|
0 | 23 |
use "term.ML"; |
14823
ebb8499d0fd2
moved print_mode to General/output.ML; load General/pretty.ML early;
wenzelm
parents:
14781
diff
changeset
|
24 |
use "General/pretty.ML"; |
14781 | 25 |
use "sorts.ML"; |
26 |
use "type.ML"; |
|
19 | 27 |
|
4949 | 28 |
(*inner syntax module*) |
6178 | 29 |
cd "Syntax"; use "ROOT.ML"; cd ".."; |
0 | 30 |
|
11966 | 31 |
(*core system*) |
2960 | 32 |
use "type_infer.ML"; |
0 | 33 |
use "sign.ML"; |
34 |
use "envir.ML"; |
|
35 |
use "pattern.ML"; |
|
36 |
use "unify.ML"; |
|
37 |
use "net.ML"; |
|
38 |
use "logic.ML"; |
|
1528 | 39 |
use "theory.ML"; |
5004 | 40 |
use "theory_data.ML"; |
6178 | 41 |
use "context.ML"; |
11511 | 42 |
use "proofterm.ML"; |
0 | 43 |
use "thm.ML"; |
3986 | 44 |
use "display.ML"; |
13271 | 45 |
use "fact_index.ML"; |
3986 | 46 |
use "pure_thy.ML"; |
0 | 47 |
use "drule.ML"; |
48 |
use "tctical.ML"; |
|
1582 | 49 |
use "search.ML"; |
15006
107e4dfd3b96
Merging the meta-simplifier with the Provers-simplifier. Next step:
skalberg
parents:
14823
diff
changeset
|
50 |
use "meta_simplifier.ML"; |
0 | 51 |
use "tactic.ML"; |
52 |
||
11511 | 53 |
(*proof term operations*) |
11882 | 54 |
cd "Proof"; use "ROOT.ML"; cd ".."; |
11511 | 55 |
|
6178 | 56 |
(*theory system operations*) |
57 |
cd "Thy"; use "ROOT.ML"; cd ".."; |
|
73
075db6ac7f2f
delete_file now has type string -> unit in both NJ and POLY,
clasohm
parents:
19
diff
changeset
|
58 |
|
5834 | 59 |
(*the Isar subsystem*) |
6178 | 60 |
cd "Isar"; use "ROOT.ML"; cd ".."; |
5834 | 61 |
|
6693
fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
wenzelm
parents:
6365
diff
changeset
|
62 |
use "axclass.ML"; |
11511 | 63 |
use "codegen.ML"; |
13402 | 64 |
use "Proof/extraction.ML"; |
11511 | 65 |
|
15801 | 66 |
(*old goal package -- obsolete*) |
11966 | 67 |
use "goals.ML"; |
68 |
||
15481 | 69 |
(*the IsaPlanner subsystem*) |
70 |
cd "IsaPlanner"; use "ROOT.ML"; cd ".."; |
|
71 |
||
12778
3120e338ffae
Interface/proof_general.ML move to proof_general.ML;
wenzelm
parents:
12248
diff
changeset
|
72 |
(*configuration for Proof General*) |
3120e338ffae
Interface/proof_general.ML move to proof_general.ML;
wenzelm
parents:
12248
diff
changeset
|
73 |
use "proof_general.ML"; |
6693
fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
wenzelm
parents:
6365
diff
changeset
|
74 |
|
15801 | 75 |
(*the Pure theories*) |
76 |
use_thy "Pure"; structure Pure = struct val thy = theory "Pure" end; |
|
77 |
use_thy "CPure"; structure CPure = struct val thy = theory "CPure" end; |
|
78 |
||
5211 | 79 |
|
5568 | 80 |
(*several object-logics declare theories that hide basis library structures*) |
4209 | 81 |
structure BasisLibrary = |
82 |
struct |
|
6178 | 83 |
structure List = List; |
84 |
structure Option = Option; |
|
85 |
structure Bool = Bool; |
|
86 |
structure String = String; |
|
87 |
structure Int = Int; |
|
88 |
structure Real = Real; |
|
4209 | 89 |
end; |
90 |
||
6178 | 91 |
use "install_pp.ML"; |
6226 | 92 |
|
6237 | 93 |
val use = ThyInfo.use; |
6226 | 94 |
val cd = File.cd o Path.unpack; |
95 |
||
7938 | 96 |
ml_prompts "ML> " "ML# "; |
11511 | 97 |
|
11545 | 98 |
proofs := 0; |