author | wenzelm |
Wed, 11 Aug 2010 18:41:06 +0200 | |
changeset 38353 | d98baa2cf589 |
parent 38350 | 480b2de9927c |
child 38379 | 67d71449e85b |
permissions | -rw-r--r-- |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
1 |
(** Pure Isabelle **) |
0 | 2 |
|
26109
c69c3559355b
more elaborate structure Distribution (filled-in by makedist);
wenzelm
parents:
25953
diff
changeset
|
3 |
structure Distribution = (*filled-in by makedist*) |
c69c3559355b
more elaborate structure Distribution (filled-in by makedist);
wenzelm
parents:
25953
diff
changeset
|
4 |
struct |
32361
141e5151b918
clarified situation about unidentified repository versions -- in a distributed setting there is not "the" repository;
wenzelm
parents:
32187
diff
changeset
|
5 |
val version = "unidentified repository version"; |
27642
c0db1220b071
structure Distribution: swapped default for is_official;
wenzelm
parents:
27546
diff
changeset
|
6 |
val is_official = false; |
c0db1220b071
structure Distribution: swapped default for is_official;
wenzelm
parents:
27546
diff
changeset
|
7 |
val changelog = ""; |
26109
c69c3559355b
more elaborate structure Distribution (filled-in by makedist);
wenzelm
parents:
25953
diff
changeset
|
8 |
end; |
11835 | 9 |
|
23825
e0372eba47b7
simplified loading of ML files -- no static forward references;
wenzelm
parents:
23696
diff
changeset
|
10 |
(*if true then some tools will OMIT some proofs*) |
32738 | 11 |
val quick_and_dirty = Unsynchronized.ref false; |
23825
e0372eba47b7
simplified loading of ML files -- no static forward references;
wenzelm
parents:
23696
diff
changeset
|
12 |
|
12248 | 13 |
print_depth 10; |
0 | 14 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
15 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
16 |
(* library of general tools *) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
17 |
|
21396 | 18 |
use "General/basics.ML"; |
0 | 19 |
use "library.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
20 |
use "General/print_mode.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
21 |
use "General/alist.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
22 |
use "General/table.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
23 |
use "General/output.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
24 |
use "General/properties.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
25 |
use "General/markup.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
26 |
use "General/scan.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
27 |
use "General/source.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
28 |
use "General/symbol.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
29 |
use "General/seq.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
30 |
use "General/position.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
31 |
use "General/symbol_pos.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
32 |
use "General/antiquote.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
33 |
use "ML/ml_lex.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
34 |
use "ML/ml_parse.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
35 |
use "General/secure.ML"; |
32015
7101feb5247e
Support for copy-avoiding functions on pure values, at the cost of readability.
wenzelm
parents:
31476
diff
changeset
|
36 |
(*^^^^^ end of basic ML bootstrap ^^^^^*) |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
37 |
use "General/integer.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
38 |
use "General/stack.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
39 |
use "General/queue.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
40 |
use "General/heap.ML"; |
32015
7101feb5247e
Support for copy-avoiding functions on pure values, at the cost of readability.
wenzelm
parents:
31476
diff
changeset
|
41 |
use "General/same.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
42 |
use "General/ord_list.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
43 |
use "General/balanced_tree.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
44 |
use "General/graph.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
45 |
use "General/long_name.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
46 |
use "General/binding.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
47 |
use "General/name_space.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
48 |
use "General/path.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
49 |
use "General/url.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
50 |
use "General/buffer.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
51 |
use "General/file.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
52 |
use "General/xml.ML"; |
38266
492d377ecfe2
type XML.body as basic data representation language;
wenzelm
parents:
38150
diff
changeset
|
53 |
use "General/xml_data.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
54 |
use "General/yxml.ML"; |
22592 | 55 |
|
35628 | 56 |
use "General/sha1.ML"; |
57 |
if String.isPrefix "polyml" ml_system |
|
58 |
then use "General/sha1_polyml.ML" |
|
59 |
else (); |
|
60 |
||
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
61 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
62 |
(* concurrency within the ML runtime *) |
28120 | 63 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
64 |
use "Concurrent/simple_thread.ML"; |
32840 | 65 |
|
35014
a725ff6ead26
explicit representation of single-assignment variables;
wenzelm
parents:
33538
diff
changeset
|
66 |
use "Concurrent/single_assignment.ML"; |
a725ff6ead26
explicit representation of single-assignment variables;
wenzelm
parents:
33538
diff
changeset
|
67 |
if Multithreading.available then () |
a725ff6ead26
explicit representation of single-assignment variables;
wenzelm
parents:
33538
diff
changeset
|
68 |
else use "Concurrent/single_assignment_sequential.ML"; |
a725ff6ead26
explicit representation of single-assignment variables;
wenzelm
parents:
33538
diff
changeset
|
69 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
70 |
use "Concurrent/synchronized.ML"; |
32816
5db89f8d44f3
more official status of sequential implementations;
wenzelm
parents:
32815
diff
changeset
|
71 |
if Multithreading.available then () |
5db89f8d44f3
more official status of sequential implementations;
wenzelm
parents:
32815
diff
changeset
|
72 |
else use "Concurrent/synchronized_sequential.ML"; |
32840 | 73 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
74 |
use "Concurrent/mailbox.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
75 |
use "Concurrent/task_queue.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
76 |
use "Concurrent/future.ML"; |
32840 | 77 |
|
32815
1a5e364584ae
separate concurrent/sequential versions of lazy evaluation;
wenzelm
parents:
32738
diff
changeset
|
78 |
use "Concurrent/lazy.ML"; |
1a5e364584ae
separate concurrent/sequential versions of lazy evaluation;
wenzelm
parents:
32738
diff
changeset
|
79 |
if Multithreading.available then () |
1a5e364584ae
separate concurrent/sequential versions of lazy evaluation;
wenzelm
parents:
32738
diff
changeset
|
80 |
else use "Concurrent/lazy_sequential.ML"; |
32840 | 81 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
82 |
use "Concurrent/par_list.ML"; |
32815
1a5e364584ae
separate concurrent/sequential versions of lazy evaluation;
wenzelm
parents:
32738
diff
changeset
|
83 |
if Multithreading.available then () |
32816
5db89f8d44f3
more official status of sequential implementations;
wenzelm
parents:
32815
diff
changeset
|
84 |
else use "Concurrent/par_list_sequential.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
85 |
|
32840 | 86 |
use "Concurrent/cache.ML"; |
87 |
||
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
88 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
89 |
(* fundamental structures *) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
90 |
|
20075 | 91 |
use "name.ML"; |
0 | 92 |
use "term.ML"; |
29269
5c25a2012975
moved term order operations to structure TermOrd (cf. Pure/term_ord.ML);
wenzelm
parents:
29263
diff
changeset
|
93 |
use "term_ord.ML"; |
20507 | 94 |
use "term_subst.ML"; |
29263 | 95 |
use "old_term.ML"; |
14823
ebb8499d0fd2
moved print_mode to General/output.ML; load General/pretty.ML early;
wenzelm
parents:
14781
diff
changeset
|
96 |
use "General/pretty.ML"; |
28404 | 97 |
use "context.ML"; |
98 |
use "context_position.ML"; |
|
35949
65d8cfff417f
slightly more logical bootstrap order -- also helps to sort out proof terms extension;
wenzelm
parents:
35669
diff
changeset
|
99 |
use "sorts.ML"; |
65d8cfff417f
slightly more logical bootstrap order -- also helps to sort out proof terms extension;
wenzelm
parents:
35669
diff
changeset
|
100 |
use "type.ML"; |
65d8cfff417f
slightly more logical bootstrap order -- also helps to sort out proof terms extension;
wenzelm
parents:
35669
diff
changeset
|
101 |
use "logic.ML"; |
24235 | 102 |
use "Syntax/lexicon.ML"; |
103 |
use "Syntax/simple_syntax.ML"; |
|
24113 | 104 |
use "config.ML"; |
19 | 105 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
106 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
107 |
(* inner syntax *) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
108 |
|
22679 | 109 |
use "Syntax/ast.ML"; |
110 |
use "Syntax/syn_ext.ML"; |
|
111 |
use "Syntax/parser.ML"; |
|
112 |
use "Syntax/type_ext.ML"; |
|
113 |
use "Syntax/syn_trans.ML"; |
|
114 |
use "Syntax/mixfix.ML"; |
|
115 |
use "Syntax/printer.ML"; |
|
116 |
use "Syntax/syntax.ML"; |
|
117 |
||
27262 | 118 |
use "type_infer.ML"; |
31326
deddd77112b7
slightly later setup of ML and secure operations;
wenzelm
parents:
30834
diff
changeset
|
119 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
120 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
121 |
(* core of tactical proof system *) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
122 |
|
30559
e5987a7ac5df
turned structure NetRules into general Item_Net, which is loaded earlier;
wenzelm
parents:
30173
diff
changeset
|
123 |
use "net.ML"; |
e5987a7ac5df
turned structure NetRules into general Item_Net, which is loaded earlier;
wenzelm
parents:
30173
diff
changeset
|
124 |
use "item_net.ML"; |
18934 | 125 |
use "envir.ML"; |
18059 | 126 |
use "consts.ML"; |
24257 | 127 |
use "primitive_defs.ML"; |
27546 | 128 |
use "defs.ML"; |
0 | 129 |
use "sign.ML"; |
130 |
use "pattern.ML"; |
|
131 |
use "unify.ML"; |
|
1528 | 132 |
use "theory.ML"; |
24664 | 133 |
use "interpretation.ML"; |
11511 | 134 |
use "proofterm.ML"; |
0 | 135 |
use "thm.ML"; |
22361 | 136 |
use "more_thm.ML"; |
26279 | 137 |
use "facts.ML"; |
3986 | 138 |
use "pure_thy.ML"; |
0 | 139 |
use "drule.ML"; |
22233 | 140 |
use "morphism.ML"; |
19898 | 141 |
use "variable.ML"; |
24833 | 142 |
use "conv.ML"; |
32187 | 143 |
use "goal_display.ML"; |
32169 | 144 |
use "tactical.ML"; |
1582 | 145 |
use "search.ML"; |
21708 | 146 |
use "tactic.ML"; |
15006
107e4dfd3b96
Merging the meta-simplifier with the Provers-simplifier. Next step:
skalberg
parents:
14823
diff
changeset
|
147 |
use "meta_simplifier.ML"; |
19417 | 148 |
use "conjunction.ML"; |
20225 | 149 |
use "assumption.ML"; |
32089
568a23753e3a
moved pretty_goals etc. to Display_Goal (required by tracing tacticals);
wenzelm
parents:
32015
diff
changeset
|
150 |
use "display.ML"; |
17963 | 151 |
use "goal.ML"; |
0 | 152 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
153 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
154 |
(* Isar -- Intelligible Semi-Automated Reasoning *) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
155 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
156 |
(*proof context*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
157 |
use "Isar/object_logic.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
158 |
use "Isar/rule_cases.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
159 |
use "Isar/auto_bind.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
160 |
use "Isar/local_syntax.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
161 |
use "Isar/proof_context.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
162 |
use "Isar/local_defs.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
163 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
164 |
(*proof term operations*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
165 |
use "Proof/reconstruct.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
166 |
use "Proof/proof_syntax.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
167 |
use "Proof/proof_rewrite_rules.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
168 |
use "Proof/proofchecker.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
169 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
170 |
(*outer syntax*) |
36959
f5417836dbea
renamed structure OuterLex to Token and type token to Token.T, keeping legacy aliases for some time;
wenzelm
parents:
36955
diff
changeset
|
171 |
use "Isar/token.ML"; |
36949
080e85d46108
renamed structure OuterKeyword to Keyword and OuterParse to Parse, keeping the old names as legacy aliases for some time;
wenzelm
parents:
35949
diff
changeset
|
172 |
use "Isar/keyword.ML"; |
080e85d46108
renamed structure OuterKeyword to Keyword and OuterParse to Parse, keeping the old names as legacy aliases for some time;
wenzelm
parents:
35949
diff
changeset
|
173 |
use "Isar/parse.ML"; |
36951 | 174 |
use "Isar/parse_value.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
175 |
use "Isar/args.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
176 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
177 |
(*ML support*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
178 |
use "ML/ml_syntax.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
179 |
use "ML/ml_env.ML"; |
31476
c5d2899b6de9
moved Isar toplevel runtime support to runtime.ML, which is loaded early (before ml_compiler.ML);
wenzelm
parents:
31432
diff
changeset
|
180 |
use "Isar/runtime.ML"; |
33538
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
wenzelm
parents:
33374
diff
changeset
|
181 |
if ml_system = "polyml-5.3.0" |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
182 |
then use "ML/ml_compiler_polyml-5.3.ML" |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
183 |
else use "ML/ml_compiler.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
184 |
use "ML/ml_context.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
185 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
186 |
(*theory sources*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
187 |
use "Thy/thy_header.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
188 |
use "Thy/html.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
189 |
use "Thy/latex.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
190 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
191 |
(*basic proof engine*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
192 |
use "Isar/proof_display.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
193 |
use "Isar/attrib.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
194 |
use "ML/ml_antiquote.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
195 |
use "Isar/context_rules.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
196 |
use "Isar/skip_proof.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
197 |
use "Isar/method.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
198 |
use "Isar/proof.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
199 |
use "ML/ml_thms.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
200 |
use "Isar/element.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
201 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
202 |
(*derived theory and proof elements*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
203 |
use "Isar/calculation.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
204 |
use "Isar/obtain.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
205 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
206 |
(*local theories and targets*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
207 |
use "Isar/local_theory.ML"; |
38341
72dba5bd5f63
moved theory-level target operation fragements to Generic_Target; adjusted bootstrap order
haftmann
parents:
38307
diff
changeset
|
208 |
use "Isar/locale.ML"; |
38307
0028571ade2d
split off structure Generic_Target into separate file
haftmann
parents:
38150
diff
changeset
|
209 |
use "Isar/generic_target.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
210 |
use "Isar/overloading.ML"; |
35669
a91c7ed801b8
added ProofContext.tsig_of -- proforma version for local name space only, not logical content;
wenzelm
parents:
35628
diff
changeset
|
211 |
use "axclass.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
212 |
use "Isar/class_target.ML"; |
38350
480b2de9927c
renamed Theory_Target to the more appropriate Named_Target
haftmann
parents:
38343
diff
changeset
|
213 |
use "Isar/named_target.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
214 |
use "Isar/expression.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
215 |
use "Isar/class.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
216 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
217 |
use "simplifier.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
218 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
219 |
(*executable theory content*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
220 |
use "Isar/code.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
221 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
222 |
(*specifications*) |
36952
338c3f8229e4
renamed structure SpecParse to Parse_Spec, keeping the old name as alias for some time;
wenzelm
parents:
36951
diff
changeset
|
223 |
use "Isar/parse_spec.ML"; |
33374
8099185908a4
Rules that characterize functional/relational specifications.
wenzelm
parents:
32840
diff
changeset
|
224 |
use "Isar/spec_rules.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
225 |
use "Isar/specification.ML"; |
35626 | 226 |
use "Isar/typedecl.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
227 |
use "Isar/constdefs.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
228 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
229 |
(*toplevel transactions*) |
37949
48a874444164
moved management of auxiliary theory source files to Thy_Load -- as theory data instead of accidental loader state;
wenzelm
parents:
37782
diff
changeset
|
230 |
use "Thy/thy_load.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
231 |
use "Isar/proof_node.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
232 |
use "Isar/toplevel.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
233 |
|
38271
36187e8443dd
Isar_Document command input via native Isabelle_Process commands, using YXML and XML_Data representation;
wenzelm
parents:
38266
diff
changeset
|
234 |
(*theory documents*) |
37949
48a874444164
moved management of auxiliary theory source files to Thy_Load -- as theory data instead of accidental loader state;
wenzelm
parents:
37782
diff
changeset
|
235 |
use "Thy/present.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
236 |
use "Thy/term_style.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
237 |
use "Thy/thy_output.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
238 |
use "Thy/thy_syntax.ML"; |
38150
67fc24df3721
simplified/refined document model: collection of named nodes, without proper dependencies yet;
wenzelm
parents:
37949
diff
changeset
|
239 |
use "PIDE/document.ML"; |
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
240 |
use "old_goals.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
241 |
use "Isar/outer_syntax.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
242 |
use "Thy/thy_info.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
243 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
244 |
(*theory and proof operations*) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
245 |
use "Isar/rule_insts.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
246 |
use "Thy/thm_deps.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
247 |
use "Isar/isar_cmd.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
248 |
use "Isar/isar_syn.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
249 |
|
20207 | 250 |
use "subgoal.ML"; |
5834 | 251 |
|
13402 | 252 |
use "Proof/extraction.ML"; |
11511 | 253 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
254 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
255 |
(* Isabelle/Isar system *) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
256 |
|
30173
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
29269
diff
changeset
|
257 |
use "System/session.ML"; |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
29269
diff
changeset
|
258 |
use "System/isar.ML"; |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
29269
diff
changeset
|
259 |
use "System/isabelle_process.ML"; |
38271
36187e8443dd
Isar_Document command input via native Isabelle_Process commands, using YXML and XML_Data representation;
wenzelm
parents:
38266
diff
changeset
|
260 |
use "Isar/isar_document.ML"; |
30173
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
29269
diff
changeset
|
261 |
|
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
262 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
263 |
(* miscellaneous tools and packages for Pure Isabelle *) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
264 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
265 |
use "Tools/named_thms.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
266 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
267 |
use "Tools/xml_syntax.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
268 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
269 |
use "Tools/find_theorems.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
270 |
use "Tools/find_consts.ML"; |
17467 | 271 |
|
24455 | 272 |
use "codegen.ML"; |
273 |
||
31432
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
274 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
275 |
(* configuration for Proof General *) |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
276 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
277 |
use "ProofGeneral/pgip_types.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
278 |
use "ProofGeneral/pgml.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
279 |
use "ProofGeneral/pgip_markup.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
280 |
use "ProofGeneral/pgip_input.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
281 |
use "ProofGeneral/pgip_output.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
282 |
use "ProofGeneral/pgip.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
283 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
284 |
use "ProofGeneral/pgip_isabelle.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
285 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
286 |
use "ProofGeneral/preferences.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
287 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
288 |
use "ProofGeneral/pgip_parser.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
289 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
290 |
use "ProofGeneral/pgip_tests.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
291 |
|
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
292 |
use "ProofGeneral/proof_general_pgip.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
293 |
use "ProofGeneral/proof_general_emacs.ML"; |
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents:
31335
diff
changeset
|
294 |
|
16781 | 295 |
|
23825
e0372eba47b7
simplified loading of ML files -- no static forward references;
wenzelm
parents:
23696
diff
changeset
|
296 |
use "pure_setup.ML"; |
30639
fe40d740d7c1
ML/ml_test.ML: test of advanced ML compiler invocation in Poly/ML 5.3;
wenzelm
parents:
30559
diff
changeset
|
297 |