src/Pure/ROOT.ML
author wenzelm
Sat, 06 Jun 2009 21:11:22 +0200
changeset 31476 c5d2899b6de9
parent 31432 9858f32f9569
child 32015 7101feb5247e
permissions -rw-r--r--
moved Isar toplevel runtime support to runtime.ML, which is loaded early (before ml_compiler.ML);
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     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
c69c3559355b more elaborate structure Distribution (filled-in by makedist);
wenzelm
parents: 25953
diff changeset
     5
  val version = "Isabelle 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
13d12b99b843 revert to proper version (!);
wenzelm
parents: 11759
diff changeset
     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*)
e0372eba47b7 simplified loading of ML files -- no static forward references;
wenzelm
parents: 23696
diff changeset
    11
val quick_and_dirty = ref false;
e0372eba47b7 simplified loading of ML files -- no static forward references;
wenzelm
parents: 23696
diff changeset
    12
12248
f059876ef1d3 print_depth 10;
wenzelm
parents: 11966
diff changeset
    13
print_depth 10;
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    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
afd8ba74313c added General/basics.ML;
wenzelm
parents: 20507
diff changeset
    18
use "General/basics.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    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";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    36
(*----- basic ML bootstrap finished -----*)
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";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    41
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
    42
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
    43
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
    44
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
    45
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
    46
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
    47
use "General/lazy.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";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    53
use "General/yxml.ML";
22592
97b5290a8c34 added print_mode (generic non-sense);
wenzelm
parents: 22361
diff changeset
    54
31432
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    55
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    56
(* concurrency within the ML runtime *)
28120
dd4297f5b495 added Concurrent/schedule.ML;
wenzelm
parents: 27642
diff changeset
    57
31432
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    58
use "Concurrent/simple_thread.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    59
use "Concurrent/synchronized.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    60
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
    61
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
    62
use "Concurrent/future.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    63
use "Concurrent/par_list.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    64
if Multithreading.available then () else use "Concurrent/par_list_dummy.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    65
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    66
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    67
(* fundamental structures *)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    68
20075
a7e183bfebef added name.ML;
wenzelm
parents: 19898
diff changeset
    69
use "name.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    70
use "term.ML";
29269
5c25a2012975 moved term order operations to structure TermOrd (cf. Pure/term_ord.ML);
wenzelm
parents: 29263
diff changeset
    71
use "term_ord.ML";
20507
bb68343f6f83 added Pure/term_subst.ML;
wenzelm
parents: 20225
diff changeset
    72
use "term_subst.ML";
29263
bf99ccf71b7c added old_term.ML;
wenzelm
parents: 29105
diff changeset
    73
use "old_term.ML";
24257
15a43b494878 use logic.ML earlier;
wenzelm
parents: 24235
diff changeset
    74
use "logic.ML";
14823
ebb8499d0fd2 moved print_mode to General/output.ML; load General/pretty.ML early;
wenzelm
parents: 14781
diff changeset
    75
use "General/pretty.ML";
28404
b906dd1de855 added context_position.ML;
wenzelm
parents: 28318
diff changeset
    76
use "context.ML";
b906dd1de855 added context_position.ML;
wenzelm
parents: 28318
diff changeset
    77
use "context_position.ML";
24235
aea5c389a2f5 added Syntax/simple_syntax.ML;
wenzelm
parents: 24113
diff changeset
    78
use "Syntax/lexicon.ML";
aea5c389a2f5 added Syntax/simple_syntax.ML;
wenzelm
parents: 24113
diff changeset
    79
use "Syntax/simple_syntax.ML";
24272
2f85bae2e2c2 tuned order;
wenzelm
parents: 24257
diff changeset
    80
use "sorts.ML";
2f85bae2e2c2 tuned order;
wenzelm
parents: 24257
diff changeset
    81
use "type.ML";
24113
ec9e75a46e16 renamed config_option.ML to config.ML;
wenzelm
parents: 24027
diff changeset
    82
use "config.ML";
19
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
    83
31432
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    84
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    85
(* inner syntax *)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    86
22679
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    87
use "Syntax/ast.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    88
use "Syntax/syn_ext.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    89
use "Syntax/parser.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    90
use "Syntax/type_ext.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    91
use "Syntax/syn_trans.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    92
use "Syntax/mixfix.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    93
use "Syntax/printer.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    94
use "Syntax/syntax.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    95
27262
5a5d7f55ec19 load type_infer.ML after Syntax module;
wenzelm
parents: 27254
diff changeset
    96
use "type_infer.ML";
31326
deddd77112b7 slightly later setup of ML and secure operations;
wenzelm
parents: 30834
diff changeset
    97
31432
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    98
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
    99
(* 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
   100
30559
e5987a7ac5df turned structure NetRules into general Item_Net, which is loaded earlier;
wenzelm
parents: 30173
diff changeset
   101
use "net.ML";
e5987a7ac5df turned structure NetRules into general Item_Net, which is loaded earlier;
wenzelm
parents: 30173
diff changeset
   102
use "item_net.ML";
18934
0342b7c21388 load envir.ML and logic.ML early;
wenzelm
parents: 18870
diff changeset
   103
use "envir.ML";
18059
ce6cff74931b added consts.ML;
wenzelm
parents: 17963
diff changeset
   104
use "consts.ML";
24257
15a43b494878 use logic.ML earlier;
wenzelm
parents: 24235
diff changeset
   105
use "primitive_defs.ML";
27546
726e8fa3e404 tuned order
haftmann
parents: 27262
diff changeset
   106
use "defs.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   107
use "sign.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   108
use "pattern.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   109
use "unify.ML";
1528
608dd813b437 Theories are now in theory.ML
paulson
parents: 1498
diff changeset
   110
use "theory.ML";
24664
4195de64fdb1 added interpretation.ML;
wenzelm
parents: 24574
diff changeset
   111
use "interpretation.ML";
11511
ec89f5cff390 Added new files for proof terms.
berghofe
parents: 11065
diff changeset
   112
use "proofterm.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   113
use "thm.ML";
22361
d8d96d0122a7 added more_thm.ML;
wenzelm
parents: 22233
diff changeset
   114
use "more_thm.ML";
26279
e8440c90c474 removed obsolete fact_index.ML;
wenzelm
parents: 26133
diff changeset
   115
use "facts.ML";
3986
d788dcb86930 added pure_thy.ML;
wenzelm
parents: 3971
diff changeset
   116
use "pure_thy.ML";
19589
wenzelm
parents: 19417
diff changeset
   117
use "display.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   118
use "drule.ML";
22233
c37d7404199b load morphism.ML later;
wenzelm
parents: 22108
diff changeset
   119
use "morphism.ML";
19898
b1d179e42713 added variable.ML;
wenzelm
parents: 19837
diff changeset
   120
use "variable.ML";
24833
9131433b19bb load variable.ML before conv.ML;
wenzelm
parents: 24664
diff changeset
   121
use "conv.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   122
use "tctical.ML";
1582
97a305db0c9e Updated for new file search.ML
paulson
parents: 1528
diff changeset
   123
use "search.ML";
21708
45e7491bea47 reorganized structure Tactic vs. MetaSimplifier;
wenzelm
parents: 21687
diff changeset
   124
use "tactic.ML";
15006
107e4dfd3b96 Merging the meta-simplifier with the Provers-simplifier. Next step:
skalberg
parents: 14823
diff changeset
   125
use "meta_simplifier.ML";
19417
3a9d25bdd7f4 added conjunction.ML;
wenzelm
parents: 19382
diff changeset
   126
use "conjunction.ML";
20225
4b8e42490e58 added Pure/assumption.ML;
wenzelm
parents: 20207
diff changeset
   127
use "assumption.ML";
17963
5574f676092c added goal.ML;
wenzelm
parents: 17927
diff changeset
   128
use "goal.ML";
24963
c04ec061ac2b load axclass.ML before Isar;
wenzelm
parents: 24833
diff changeset
   129
use "axclass.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   130
31432
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   131
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   132
(* 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
   133
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   134
(*proof context*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   135
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
   136
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
   137
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
   138
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
   139
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
   140
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
   141
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   142
(*proof term operations*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   143
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
   144
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
   145
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
   146
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
   147
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   148
(*outer syntax*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   149
use "Isar/outer_lex.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   150
use "Isar/outer_keyword.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   151
use "Isar/outer_parse.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   152
use "Isar/value_parse.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   153
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
   154
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   155
(*ML support*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   156
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
   157
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
   158
use "Isar/runtime.ML";
31432
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   159
if ml_system = "polyml-experimental"
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   160
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
   161
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
   162
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
   163
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   164
(*theory sources*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   165
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
   166
use "Thy/thy_load.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   167
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
   168
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
   169
use "Thy/present.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   170
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   171
(*basic proof engine*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   172
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
   173
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
   174
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
   175
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
   176
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
   177
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
   178
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
   179
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
   180
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
   181
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   182
(*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
   183
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
   184
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
   185
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   186
(*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
   187
use "Isar/local_theory.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   188
use "Isar/overloading.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   189
use "Isar/locale.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   190
use "Isar/class_target.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   191
use "Isar/theory_target.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   192
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
   193
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
   194
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   195
use "simplifier.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   196
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   197
(*executable theory content*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   198
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
   199
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   200
(*specifications*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   201
use "Isar/spec_parse.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   202
use "Isar/specification.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   203
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
   204
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   205
(*toplevel transactions*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   206
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
   207
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
   208
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   209
(*theory syntax*)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   210
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
   211
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
   212
use "Thy/thy_syntax.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   213
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
   214
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
   215
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
   216
use "Isar/isar_document.ML";
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   217
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   218
(*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
   219
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
   220
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
   221
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
   222
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
   223
20207
4c57e850e8d5 added Pure/subgoal.ML;
wenzelm
parents: 20075
diff changeset
   224
use "subgoal.ML";
5834
c6fea8488ce7 added Isar;
wenzelm
parents: 5684
diff changeset
   225
13402
e6e826bb8c3c Added program extraction module.
berghofe
parents: 13271
diff changeset
   226
use "Proof/extraction.ML";
11511
ec89f5cff390 Added new files for proof terms.
berghofe
parents: 11065
diff changeset
   227
31432
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
(* Isabelle/Isar system *)
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   230
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
   231
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
   232
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
   233
use "System/isabelle_process.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
   234
31432
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   235
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   236
(* 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
   237
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   238
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
   239
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   240
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
   241
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   242
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
   243
use "Tools/find_consts.ML";
17467
2e9f745924d0 removed obsolete BasisLibrary;
wenzelm
parents: 16980
diff changeset
   244
24455
cd8e14100c00 codegen.ML is now loaded in Pure again.
berghofe
parents: 24272
diff changeset
   245
use "codegen.ML";
cd8e14100c00 codegen.ML is now loaded in Pure again.
berghofe
parents: 24272
diff changeset
   246
31432
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   247
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   248
(* 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
   249
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   250
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
   251
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
   252
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
   253
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
   254
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
   255
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
   256
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   257
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
   258
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   259
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
   260
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   261
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
   262
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   263
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
   264
9858f32f9569 just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
wenzelm
parents: 31335
diff changeset
   265
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
   266
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
   267
16781
663235466562 - introduce Pure/Tools directory
obua
parents: 16435
diff changeset
   268
23825
e0372eba47b7 simplified loading of ML files -- no static forward references;
wenzelm
parents: 23696
diff changeset
   269
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
   270