src/Pure/ROOT.ML
author wenzelm
Thu Oct 01 22:39:06 2009 +0200 (2009-10-01)
changeset 32840 75dff0bd4d5d
parent 32816 5db89f8d44f3
child 33374 8099185908a4
permissions -rw-r--r--
Concurrently cached values.
wenzelm@31432
     1
(** Pure Isabelle **)
clasohm@0
     2
wenzelm@26109
     3
structure Distribution =     (*filled-in by makedist*)
wenzelm@26109
     4
struct
wenzelm@32361
     5
  val version = "unidentified repository version";
wenzelm@27642
     6
  val is_official = false;
wenzelm@27642
     7
  val changelog = "";
wenzelm@26109
     8
end;
wenzelm@11835
     9
wenzelm@23825
    10
(*if true then some tools will OMIT some proofs*)
wenzelm@32738
    11
val quick_and_dirty = Unsynchronized.ref false;
wenzelm@23825
    12
wenzelm@12248
    13
print_depth 10;
clasohm@0
    14
wenzelm@31432
    15
wenzelm@31432
    16
(* library of general tools *)
wenzelm@31432
    17
wenzelm@21396
    18
use "General/basics.ML";
clasohm@0
    19
use "library.ML";
wenzelm@31432
    20
use "General/print_mode.ML";
wenzelm@31432
    21
use "General/alist.ML";
wenzelm@31432
    22
use "General/table.ML";
wenzelm@31432
    23
use "General/output.ML";
wenzelm@31432
    24
use "General/properties.ML";
wenzelm@31432
    25
use "General/markup.ML";
wenzelm@31432
    26
use "General/scan.ML";
wenzelm@31432
    27
use "General/source.ML";
wenzelm@31432
    28
use "General/symbol.ML";
wenzelm@31432
    29
use "General/seq.ML";
wenzelm@31432
    30
use "General/position.ML";
wenzelm@31432
    31
use "General/symbol_pos.ML";
wenzelm@31432
    32
use "General/antiquote.ML";
wenzelm@31432
    33
use "ML/ml_lex.ML";
wenzelm@31432
    34
use "ML/ml_parse.ML";
wenzelm@31432
    35
use "General/secure.ML";
wenzelm@32015
    36
(*^^^^^ end of basic ML bootstrap ^^^^^*)
wenzelm@31432
    37
use "General/integer.ML";
wenzelm@31432
    38
use "General/stack.ML";
wenzelm@31432
    39
use "General/queue.ML";
wenzelm@31432
    40
use "General/heap.ML";
wenzelm@32015
    41
use "General/same.ML";
wenzelm@31432
    42
use "General/ord_list.ML";
wenzelm@31432
    43
use "General/balanced_tree.ML";
wenzelm@31432
    44
use "General/graph.ML";
wenzelm@31432
    45
use "General/long_name.ML";
wenzelm@31432
    46
use "General/binding.ML";
wenzelm@31432
    47
use "General/name_space.ML";
wenzelm@31432
    48
use "General/path.ML";
wenzelm@31432
    49
use "General/url.ML";
wenzelm@31432
    50
use "General/buffer.ML";
wenzelm@31432
    51
use "General/file.ML";
wenzelm@31432
    52
use "General/xml.ML";
wenzelm@31432
    53
use "General/yxml.ML";
wenzelm@22592
    54
wenzelm@31432
    55
wenzelm@31432
    56
(* concurrency within the ML runtime *)
wenzelm@28120
    57
wenzelm@31432
    58
use "Concurrent/simple_thread.ML";
wenzelm@32840
    59
wenzelm@31432
    60
use "Concurrent/synchronized.ML";
wenzelm@32816
    61
if Multithreading.available then ()
wenzelm@32816
    62
else use "Concurrent/synchronized_sequential.ML";
wenzelm@32840
    63
wenzelm@31432
    64
use "Concurrent/mailbox.ML";
wenzelm@31432
    65
use "Concurrent/task_queue.ML";
wenzelm@31432
    66
use "Concurrent/future.ML";
wenzelm@32840
    67
wenzelm@32815
    68
use "Concurrent/lazy.ML";
wenzelm@32815
    69
if Multithreading.available then ()
wenzelm@32815
    70
else use "Concurrent/lazy_sequential.ML";
wenzelm@32840
    71
wenzelm@31432
    72
use "Concurrent/par_list.ML";
wenzelm@32815
    73
if Multithreading.available then ()
wenzelm@32816
    74
else use "Concurrent/par_list_sequential.ML";
wenzelm@31432
    75
wenzelm@32840
    76
use "Concurrent/cache.ML";
wenzelm@32840
    77
wenzelm@31432
    78
wenzelm@31432
    79
(* fundamental structures *)
wenzelm@31432
    80
wenzelm@20075
    81
use "name.ML";
clasohm@0
    82
use "term.ML";
wenzelm@29269
    83
use "term_ord.ML";
wenzelm@20507
    84
use "term_subst.ML";
wenzelm@29263
    85
use "old_term.ML";
wenzelm@24257
    86
use "logic.ML";
wenzelm@14823
    87
use "General/pretty.ML";
wenzelm@28404
    88
use "context.ML";
wenzelm@28404
    89
use "context_position.ML";
wenzelm@24235
    90
use "Syntax/lexicon.ML";
wenzelm@24235
    91
use "Syntax/simple_syntax.ML";
wenzelm@24272
    92
use "sorts.ML";
wenzelm@24272
    93
use "type.ML";
wenzelm@24113
    94
use "config.ML";
wenzelm@19
    95
wenzelm@31432
    96
wenzelm@31432
    97
(* inner syntax *)
wenzelm@31432
    98
wenzelm@22679
    99
use "Syntax/ast.ML";
wenzelm@22679
   100
use "Syntax/syn_ext.ML";
wenzelm@22679
   101
use "Syntax/parser.ML";
wenzelm@22679
   102
use "Syntax/type_ext.ML";
wenzelm@22679
   103
use "Syntax/syn_trans.ML";
wenzelm@22679
   104
use "Syntax/mixfix.ML";
wenzelm@22679
   105
use "Syntax/printer.ML";
wenzelm@22679
   106
use "Syntax/syntax.ML";
wenzelm@22679
   107
wenzelm@27262
   108
use "type_infer.ML";
wenzelm@31326
   109
wenzelm@31432
   110
wenzelm@31432
   111
(* core of tactical proof system *)
wenzelm@31432
   112
wenzelm@30559
   113
use "net.ML";
wenzelm@30559
   114
use "item_net.ML";
wenzelm@18934
   115
use "envir.ML";
wenzelm@18059
   116
use "consts.ML";
wenzelm@24257
   117
use "primitive_defs.ML";
haftmann@27546
   118
use "defs.ML";
clasohm@0
   119
use "sign.ML";
clasohm@0
   120
use "pattern.ML";
clasohm@0
   121
use "unify.ML";
paulson@1528
   122
use "theory.ML";
wenzelm@24664
   123
use "interpretation.ML";
berghofe@11511
   124
use "proofterm.ML";
clasohm@0
   125
use "thm.ML";
wenzelm@22361
   126
use "more_thm.ML";
wenzelm@26279
   127
use "facts.ML";
wenzelm@3986
   128
use "pure_thy.ML";
clasohm@0
   129
use "drule.ML";
wenzelm@22233
   130
use "morphism.ML";
wenzelm@19898
   131
use "variable.ML";
wenzelm@24833
   132
use "conv.ML";
wenzelm@32187
   133
use "goal_display.ML";
wenzelm@32169
   134
use "tactical.ML";
paulson@1582
   135
use "search.ML";
wenzelm@21708
   136
use "tactic.ML";
skalberg@15006
   137
use "meta_simplifier.ML";
wenzelm@19417
   138
use "conjunction.ML";
wenzelm@20225
   139
use "assumption.ML";
wenzelm@32089
   140
use "display.ML";
wenzelm@17963
   141
use "goal.ML";
wenzelm@24963
   142
use "axclass.ML";
clasohm@0
   143
wenzelm@31432
   144
wenzelm@31432
   145
(* Isar -- Intelligible Semi-Automated Reasoning *)
wenzelm@31432
   146
wenzelm@31432
   147
(*proof context*)
wenzelm@31432
   148
use "Isar/object_logic.ML";
wenzelm@31432
   149
use "Isar/rule_cases.ML";
wenzelm@31432
   150
use "Isar/auto_bind.ML";
wenzelm@31432
   151
use "Isar/local_syntax.ML";
wenzelm@31432
   152
use "Isar/proof_context.ML";
wenzelm@31432
   153
use "Isar/local_defs.ML";
wenzelm@31432
   154
wenzelm@31432
   155
(*proof term operations*)
wenzelm@31432
   156
use "Proof/reconstruct.ML";
wenzelm@31432
   157
use "Proof/proof_syntax.ML";
wenzelm@31432
   158
use "Proof/proof_rewrite_rules.ML";
wenzelm@31432
   159
use "Proof/proofchecker.ML";
wenzelm@31432
   160
wenzelm@31432
   161
(*outer syntax*)
wenzelm@31432
   162
use "Isar/outer_lex.ML";
wenzelm@31432
   163
use "Isar/outer_keyword.ML";
wenzelm@31432
   164
use "Isar/outer_parse.ML";
wenzelm@31432
   165
use "Isar/value_parse.ML";
wenzelm@31432
   166
use "Isar/args.ML";
wenzelm@31432
   167
wenzelm@31432
   168
(*ML support*)
wenzelm@31432
   169
use "ML/ml_syntax.ML";
wenzelm@31432
   170
use "ML/ml_env.ML";
wenzelm@31476
   171
use "Isar/runtime.ML";
wenzelm@31432
   172
if ml_system = "polyml-experimental"
wenzelm@31432
   173
then use "ML/ml_compiler_polyml-5.3.ML"
wenzelm@31432
   174
else use "ML/ml_compiler.ML";
wenzelm@31432
   175
use "ML/ml_context.ML";
wenzelm@31432
   176
wenzelm@31432
   177
(*theory sources*)
wenzelm@31432
   178
use "Thy/thy_header.ML";
wenzelm@31432
   179
use "Thy/thy_load.ML";
wenzelm@31432
   180
use "Thy/html.ML";
wenzelm@31432
   181
use "Thy/latex.ML";
wenzelm@31432
   182
use "Thy/present.ML";
wenzelm@31432
   183
wenzelm@31432
   184
(*basic proof engine*)
wenzelm@31432
   185
use "Isar/proof_display.ML";
wenzelm@31432
   186
use "Isar/attrib.ML";
wenzelm@31432
   187
use "ML/ml_antiquote.ML";
wenzelm@31432
   188
use "Isar/context_rules.ML";
wenzelm@31432
   189
use "Isar/skip_proof.ML";
wenzelm@31432
   190
use "Isar/method.ML";
wenzelm@31432
   191
use "Isar/proof.ML";
wenzelm@31432
   192
use "ML/ml_thms.ML";
wenzelm@31432
   193
use "Isar/element.ML";
wenzelm@31432
   194
wenzelm@31432
   195
(*derived theory and proof elements*)
wenzelm@31432
   196
use "Isar/calculation.ML";
wenzelm@31432
   197
use "Isar/obtain.ML";
wenzelm@31432
   198
wenzelm@31432
   199
(*local theories and targets*)
wenzelm@31432
   200
use "Isar/local_theory.ML";
wenzelm@31432
   201
use "Isar/overloading.ML";
wenzelm@31432
   202
use "Isar/locale.ML";
wenzelm@31432
   203
use "Isar/class_target.ML";
wenzelm@31432
   204
use "Isar/theory_target.ML";
wenzelm@31432
   205
use "Isar/expression.ML";
wenzelm@31432
   206
use "Isar/class.ML";
wenzelm@31432
   207
wenzelm@31432
   208
use "simplifier.ML";
wenzelm@31432
   209
wenzelm@31432
   210
(*executable theory content*)
wenzelm@31432
   211
use "Isar/code.ML";
wenzelm@31432
   212
wenzelm@31432
   213
(*specifications*)
wenzelm@31432
   214
use "Isar/spec_parse.ML";
wenzelm@31432
   215
use "Isar/specification.ML";
wenzelm@31432
   216
use "Isar/constdefs.ML";
wenzelm@31432
   217
wenzelm@31432
   218
(*toplevel transactions*)
wenzelm@31432
   219
use "Isar/proof_node.ML";
wenzelm@31432
   220
use "Isar/toplevel.ML";
wenzelm@31432
   221
wenzelm@31432
   222
(*theory syntax*)
wenzelm@31432
   223
use "Thy/term_style.ML";
wenzelm@31432
   224
use "Thy/thy_output.ML";
wenzelm@31432
   225
use "Thy/thy_syntax.ML";
wenzelm@31432
   226
use "old_goals.ML";
wenzelm@31432
   227
use "Isar/outer_syntax.ML";
wenzelm@31432
   228
use "Thy/thy_info.ML";
wenzelm@31432
   229
use "Isar/isar_document.ML";
wenzelm@31432
   230
wenzelm@31432
   231
(*theory and proof operations*)
wenzelm@31432
   232
use "Isar/rule_insts.ML";
wenzelm@31432
   233
use "Thy/thm_deps.ML";
wenzelm@31432
   234
use "Isar/isar_cmd.ML";
wenzelm@31432
   235
use "Isar/isar_syn.ML";
wenzelm@31432
   236
wenzelm@20207
   237
use "subgoal.ML";
wenzelm@5834
   238
berghofe@13402
   239
use "Proof/extraction.ML";
berghofe@11511
   240
wenzelm@31432
   241
wenzelm@31432
   242
(* Isabelle/Isar system *)
wenzelm@31432
   243
wenzelm@30173
   244
use "System/session.ML";
wenzelm@30173
   245
use "System/isar.ML";
wenzelm@30173
   246
use "System/isabelle_process.ML";
wenzelm@30173
   247
wenzelm@31432
   248
wenzelm@31432
   249
(* miscellaneous tools and packages for Pure Isabelle *)
wenzelm@31432
   250
wenzelm@31432
   251
use "Tools/named_thms.ML";
wenzelm@31432
   252
wenzelm@31432
   253
use "Tools/xml_syntax.ML";
wenzelm@31432
   254
wenzelm@31432
   255
use "Tools/find_theorems.ML";
wenzelm@31432
   256
use "Tools/find_consts.ML";
wenzelm@17467
   257
berghofe@24455
   258
use "codegen.ML";
berghofe@24455
   259
wenzelm@31432
   260
wenzelm@31432
   261
(* configuration for Proof General *)
wenzelm@31432
   262
wenzelm@31432
   263
use "ProofGeneral/pgip_types.ML";
wenzelm@31432
   264
use "ProofGeneral/pgml.ML";
wenzelm@31432
   265
use "ProofGeneral/pgip_markup.ML";
wenzelm@31432
   266
use "ProofGeneral/pgip_input.ML";
wenzelm@31432
   267
use "ProofGeneral/pgip_output.ML";
wenzelm@31432
   268
use "ProofGeneral/pgip.ML";
wenzelm@31432
   269
wenzelm@31432
   270
use "ProofGeneral/pgip_isabelle.ML";
wenzelm@31432
   271
wenzelm@31432
   272
use "ProofGeneral/preferences.ML";
wenzelm@31432
   273
wenzelm@31432
   274
use "ProofGeneral/pgip_parser.ML";
wenzelm@31432
   275
wenzelm@31432
   276
use "ProofGeneral/pgip_tests.ML";
wenzelm@31432
   277
wenzelm@31432
   278
use "ProofGeneral/proof_general_pgip.ML";
wenzelm@31432
   279
use "ProofGeneral/proof_general_emacs.ML";
wenzelm@31432
   280
obua@16781
   281
wenzelm@23825
   282
use "pure_setup.ML";
wenzelm@30639
   283