src/Pure/ROOT.ML
author wenzelm
Wed Sep 21 20:33:44 2016 +0200 (2016-09-21)
changeset 63932 6040db6b929d
parent 63806 c54a53ef1873
child 64304 96bc94c87a81
permissions -rw-r--r--
more tight implementation of symbol explode operation (without support for raw symbols);
wenzelm@62912
     1
chapter "Isabelle/Pure bootstrap";
wenzelm@62508
     2
wenzelm@62902
     3
ML_file "ML/ml_name_space.ML";
wenzelm@62883
     4
wenzelm@62883
     5
wenzelm@62912
     6
section "Bootstrap phase 0: Poly/ML setup";
wenzelm@62508
     7
wenzelm@62943
     8
ML_file "ML/ml_pervasive.ML";
wenzelm@62902
     9
ML_file "ML/ml_system.ML";
wenzelm@62902
    10
ML_file "System/distribution.ML";
wenzelm@62508
    11
wenzelm@62918
    12
ML_file "General/basics.ML";
wenzelm@63932
    13
ML_file "General/symbol_explode.ML";
wenzelm@62508
    14
wenzelm@62902
    15
ML_file "Concurrent/multithreading.ML";
wenzelm@62902
    16
ML_file "Concurrent/unsynchronized.ML";
wenzelm@62918
    17
ML_file "Concurrent/synchronized.ML";
wenzelm@62918
    18
ML_file "Concurrent/counter.ML";
wenzelm@62508
    19
wenzelm@62902
    20
ML_file "ML/ml_heap.ML";
wenzelm@62902
    21
ML_file "ML/ml_profiling.ML";
wenzelm@62902
    22
ML_file "ML/ml_print_depth0.ML";
wenzelm@62902
    23
ML_file "ML/ml_pretty.ML";
wenzelm@62902
    24
ML_file "ML/ml_compiler0.ML";
wenzelm@62508
    25
wenzelm@62508
    26
wenzelm@62912
    27
section "Bootstrap phase 1: towards ML within position context";
wenzelm@62508
    28
wenzelm@62912
    29
subsection "Library of general tools";
wenzelm@31432
    30
wenzelm@62902
    31
ML_file "library.ML";
wenzelm@62902
    32
ML_file "General/print_mode.ML";
wenzelm@62902
    33
ML_file "General/alist.ML";
wenzelm@62902
    34
ML_file "General/table.ML";
wenzelm@43684
    35
wenzelm@62902
    36
ML_file "General/random.ML";
wenzelm@63806
    37
ML_file "General/value.ML";
wenzelm@62902
    38
ML_file "General/properties.ML";
wenzelm@62902
    39
ML_file "General/output.ML";
wenzelm@62902
    40
ML_file "PIDE/markup.ML";
wenzelm@62902
    41
ML_file "General/scan.ML";
wenzelm@62902
    42
ML_file "General/source.ML";
wenzelm@62902
    43
ML_file "General/symbol.ML";
wenzelm@62902
    44
ML_file "General/position.ML";
wenzelm@62902
    45
ML_file "General/symbol_pos.ML";
wenzelm@62902
    46
ML_file "General/input.ML";
wenzelm@62902
    47
ML_file "General/antiquote.ML";
wenzelm@62902
    48
ML_file "ML/ml_lex.ML";
wenzelm@62902
    49
ML_file "ML/ml_compiler1.ML";
wenzelm@56288
    50
wenzelm@59054
    51
wenzelm@62912
    52
section "Bootstrap phase 2: towards ML within Isar context";
wenzelm@56288
    53
wenzelm@62912
    54
subsection "Library of general tools";
wenzelm@56288
    55
wenzelm@62902
    56
ML_file "General/integer.ML";
wenzelm@62902
    57
ML_file "General/stack.ML";
wenzelm@62902
    58
ML_file "General/queue.ML";
wenzelm@62902
    59
ML_file "General/heap.ML";
wenzelm@62902
    60
ML_file "General/same.ML";
wenzelm@62902
    61
ML_file "General/ord_list.ML";
wenzelm@62902
    62
ML_file "General/balanced_tree.ML";
wenzelm@62902
    63
ML_file "General/linear_set.ML";
wenzelm@62902
    64
ML_file "General/buffer.ML";
wenzelm@62902
    65
ML_file "General/pretty.ML";
wenzelm@63209
    66
ML_file "General/rat.ML";
wenzelm@62902
    67
ML_file "PIDE/xml.ML";
wenzelm@62902
    68
ML_file "General/path.ML";
wenzelm@62902
    69
ML_file "General/url.ML";
wenzelm@62902
    70
ML_file "General/file.ML";
wenzelm@62902
    71
ML_file "General/long_name.ML";
wenzelm@62902
    72
ML_file "General/binding.ML";
wenzelm@62902
    73
ML_file "General/socket_io.ML";
wenzelm@62902
    74
ML_file "General/seq.ML";
wenzelm@62902
    75
ML_file "General/timing.ML";
wenzelm@62902
    76
ML_file "General/sha1.ML";
wenzelm@35628
    77
wenzelm@62902
    78
ML_file "PIDE/yxml.ML";
wenzelm@62902
    79
ML_file "PIDE/document_id.ML";
wenzelm@44698
    80
wenzelm@62902
    81
ML_file "General/change_table.ML";
wenzelm@62902
    82
ML_file "General/graph.ML";
wenzelm@49560
    83
wenzelm@60911
    84
wenzelm@62912
    85
subsection "Fundamental structures";
wenzelm@60911
    86
wenzelm@62902
    87
ML_file "name.ML";
wenzelm@62902
    88
ML_file "term.ML";
wenzelm@62902
    89
ML_file "context.ML";
wenzelm@62902
    90
ML_file "context_position.ML";
wenzelm@62902
    91
ML_file "System/options.ML";
wenzelm@62902
    92
ML_file "config.ML";
wenzelm@51947
    93
wenzelm@31432
    94
wenzelm@62912
    95
subsection "Concurrency within the ML runtime";
wenzelm@28120
    96
wenzelm@62902
    97
ML_file "ML/exn_properties.ML";
wenzelm@50911
    98
wenzelm@62902
    99
ML_file "ML/ml_statistics.ML";
wenzelm@50255
   100
wenzelm@62902
   101
ML_file "Concurrent/thread_data_virtual.ML";
wenzelm@62902
   102
ML_file "Concurrent/standard_thread.ML";
wenzelm@62902
   103
ML_file "Concurrent/single_assignment.ML";
wenzelm@59054
   104
wenzelm@62902
   105
ML_file "Concurrent/par_exn.ML";
wenzelm@62902
   106
ML_file "Concurrent/task_queue.ML";
wenzelm@62902
   107
ML_file "Concurrent/future.ML";
wenzelm@62902
   108
ML_file "Concurrent/event_timer.ML";
wenzelm@62902
   109
ML_file "Concurrent/timeout.ML";
wenzelm@62902
   110
ML_file "Concurrent/lazy.ML";
wenzelm@62902
   111
ML_file "Concurrent/par_list.ML";
wenzelm@31432
   112
wenzelm@62902
   113
ML_file "Concurrent/mailbox.ML";
wenzelm@62902
   114
ML_file "Concurrent/cache.ML";
wenzelm@32840
   115
wenzelm@62902
   116
ML_file "PIDE/active.ML";
wenzelm@50500
   117
wenzelm@31432
   118
wenzelm@62912
   119
subsection "Inner syntax";
wenzelm@31432
   120
wenzelm@62902
   121
ML_file "Syntax/type_annotation.ML";
wenzelm@62902
   122
ML_file "Syntax/term_position.ML";
wenzelm@62902
   123
ML_file "Syntax/lexicon.ML";
wenzelm@62902
   124
ML_file "Syntax/ast.ML";
wenzelm@62902
   125
ML_file "Syntax/syntax_ext.ML";
wenzelm@62902
   126
ML_file "Syntax/parser.ML";
wenzelm@62902
   127
ML_file "Syntax/syntax_trans.ML";
wenzelm@62902
   128
ML_file "Syntax/mixfix.ML";
wenzelm@62902
   129
ML_file "Syntax/printer.ML";
wenzelm@62902
   130
ML_file "Syntax/syntax.ML";
wenzelm@22679
   131
wenzelm@31432
   132
wenzelm@62912
   133
subsection "Core of tactical proof system";
wenzelm@31432
   134
wenzelm@62902
   135
ML_file "term_ord.ML";
wenzelm@62902
   136
ML_file "term_subst.ML";
wenzelm@62902
   137
ML_file "term_xml.ML";
wenzelm@62902
   138
ML_file "General/completion.ML";
wenzelm@62902
   139
ML_file "General/name_space.ML";
wenzelm@62902
   140
ML_file "sorts.ML";
wenzelm@62902
   141
ML_file "type.ML";
wenzelm@62902
   142
ML_file "logic.ML";
wenzelm@62902
   143
ML_file "Syntax/simple_syntax.ML";
wenzelm@62902
   144
ML_file "net.ML";
wenzelm@62902
   145
ML_file "item_net.ML";
wenzelm@62902
   146
ML_file "envir.ML";
wenzelm@62902
   147
ML_file "consts.ML";
wenzelm@62902
   148
ML_file "primitive_defs.ML";
wenzelm@62902
   149
ML_file "sign.ML";
wenzelm@62902
   150
ML_file "defs.ML";
wenzelm@62902
   151
ML_file "term_sharing.ML";
wenzelm@62902
   152
ML_file "pattern.ML";
wenzelm@62902
   153
ML_file "unify.ML";
wenzelm@62902
   154
ML_file "theory.ML";
wenzelm@62902
   155
ML_file "proofterm.ML";
wenzelm@62902
   156
ML_file "thm.ML";
wenzelm@62902
   157
ML_file "more_pattern.ML";
wenzelm@62902
   158
ML_file "more_unify.ML";
wenzelm@62902
   159
ML_file "more_thm.ML";
wenzelm@62902
   160
ML_file "facts.ML";
wenzelm@62902
   161
ML_file "global_theory.ML";
wenzelm@62902
   162
ML_file "pure_thy.ML";
wenzelm@62902
   163
ML_file "drule.ML";
wenzelm@62902
   164
ML_file "morphism.ML";
wenzelm@62902
   165
ML_file "variable.ML";
wenzelm@62902
   166
ML_file "conv.ML";
wenzelm@62902
   167
ML_file "goal_display.ML";
wenzelm@62902
   168
ML_file "tactical.ML";
wenzelm@62902
   169
ML_file "search.ML";
wenzelm@62902
   170
ML_file "tactic.ML";
wenzelm@62902
   171
ML_file "raw_simplifier.ML";
wenzelm@62902
   172
ML_file "conjunction.ML";
wenzelm@62902
   173
ML_file "assumption.ML";
clasohm@0
   174
wenzelm@31432
   175
wenzelm@62912
   176
subsection "Isar -- Intelligible Semi-Automated Reasoning";
wenzelm@31432
   177
wenzelm@56303
   178
(*ML support and global execution*)
wenzelm@62902
   179
ML_file "ML/ml_syntax.ML";
wenzelm@62902
   180
ML_file "ML/ml_env.ML";
wenzelm@62902
   181
ML_file "ML/ml_options.ML";
wenzelm@62902
   182
ML_file "ML/ml_print_depth.ML";
wenzelm@62902
   183
ML_file_no_debug "ML/exn_debugger.ML";
wenzelm@62902
   184
ML_file_no_debug "Isar/runtime.ML";
wenzelm@62902
   185
ML_file "PIDE/execution.ML";
wenzelm@62902
   186
ML_file "ML/ml_compiler.ML";
wenzelm@49041
   187
wenzelm@62902
   188
ML_file "skip_proof.ML";
wenzelm@62902
   189
ML_file "goal.ML";
wenzelm@49041
   190
wenzelm@63639
   191
(*outer syntax*)
wenzelm@63639
   192
ML_file "Isar/keyword.ML";
wenzelm@63639
   193
ML_file "Isar/token.ML";
wenzelm@63639
   194
ML_file "Isar/parse.ML";
wenzelm@63639
   195
ML_file "Thy/thy_header.ML";
wenzelm@63639
   196
wenzelm@31432
   197
(*proof context*)
wenzelm@62902
   198
ML_file "Isar/object_logic.ML";
wenzelm@62902
   199
ML_file "Isar/rule_cases.ML";
wenzelm@62902
   200
ML_file "Isar/auto_bind.ML";
wenzelm@62902
   201
ML_file "type_infer.ML";
wenzelm@62902
   202
ML_file "Syntax/local_syntax.ML";
wenzelm@62902
   203
ML_file "Isar/proof_context.ML";
wenzelm@62902
   204
ML_file "type_infer_context.ML";
wenzelm@62902
   205
ML_file "Syntax/syntax_phases.ML";
wenzelm@62902
   206
ML_file "Isar/args.ML";
wenzelm@31432
   207
wenzelm@57926
   208
(*theory specifications*)
wenzelm@63639
   209
ML_file "Isar/local_defs.ML";
wenzelm@62902
   210
ML_file "Isar/local_theory.ML";
wenzelm@63090
   211
ML_file "Isar/entity.ML";
wenzelm@62902
   212
ML_file "PIDE/command_span.ML";
wenzelm@62902
   213
ML_file "Thy/thy_syntax.ML";
wenzelm@62902
   214
ML_file "Thy/markdown.ML";
wenzelm@62902
   215
ML_file "Thy/html.ML";
wenzelm@62902
   216
ML_file "Thy/latex.ML";
wenzelm@31432
   217
wenzelm@56203
   218
(*ML with context and antiquotations*)
wenzelm@62902
   219
ML_file "ML/ml_context.ML";
wenzelm@62902
   220
ML_file "ML/ml_antiquotation.ML";
wenzelm@62902
   221
ML_file "ML/ml_compiler2.ML";
wenzelm@56434
   222
wenzelm@56288
   223
wenzelm@62912
   224
section "Bootstrap phase 3: towards theory Pure and final ML toplevel setup";
wenzelm@56203
   225
wenzelm@31432
   226
(*basic proof engine*)
wenzelm@62902
   227
ML_file "par_tactical.ML";
wenzelm@62902
   228
ML_file "Isar/proof_display.ML";
wenzelm@62902
   229
ML_file "Isar/attrib.ML";
wenzelm@62902
   230
ML_file "Isar/context_rules.ML";
wenzelm@62902
   231
ML_file "Isar/method.ML";
wenzelm@62902
   232
ML_file "Isar/proof.ML";
wenzelm@62902
   233
ML_file "Isar/element.ML";
wenzelm@62902
   234
ML_file "Isar/obtain.ML";
wenzelm@62902
   235
ML_file "Isar/subgoal.ML";
wenzelm@62902
   236
ML_file "Isar/calculation.ML";
wenzelm@31432
   237
wenzelm@31432
   238
(*local theories and targets*)
wenzelm@62902
   239
ML_file "Isar/locale.ML";
wenzelm@62902
   240
ML_file "Isar/generic_target.ML";
wenzelm@62902
   241
ML_file "Isar/overloading.ML";
wenzelm@62902
   242
ML_file "axclass.ML";
wenzelm@62902
   243
ML_file "Isar/class.ML";
wenzelm@62902
   244
ML_file "Isar/named_target.ML";
wenzelm@62902
   245
ML_file "Isar/expression.ML";
wenzelm@62902
   246
ML_file "Isar/interpretation.ML";
wenzelm@62902
   247
ML_file "Isar/class_declaration.ML";
wenzelm@62902
   248
ML_file "Isar/bundle.ML";
wenzelm@62902
   249
ML_file "Isar/experiment.ML";
wenzelm@31432
   250
wenzelm@62902
   251
ML_file "simplifier.ML";
wenzelm@62902
   252
ML_file "Tools/plugin.ML";
wenzelm@31432
   253
wenzelm@31432
   254
(*executable theory content*)
wenzelm@62902
   255
ML_file "Isar/code.ML";
wenzelm@31432
   256
wenzelm@31432
   257
(*specifications*)
wenzelm@62902
   258
ML_file "Isar/spec_rules.ML";
wenzelm@62902
   259
ML_file "Isar/specification.ML";
wenzelm@63064
   260
ML_file "Isar/parse_spec.ML";
wenzelm@62902
   261
ML_file "Isar/typedecl.ML";
wenzelm@31432
   262
wenzelm@31432
   263
(*toplevel transactions*)
wenzelm@62902
   264
ML_file "Isar/proof_node.ML";
wenzelm@62902
   265
ML_file "Isar/toplevel.ML";
wenzelm@31432
   266
wenzelm@56206
   267
(*proof term operations*)
wenzelm@62902
   268
ML_file "Proof/reconstruct.ML";
wenzelm@62902
   269
ML_file "Proof/proof_syntax.ML";
wenzelm@62902
   270
ML_file "Proof/proof_rewrite_rules.ML";
wenzelm@62902
   271
ML_file "Proof/proof_checker.ML";
wenzelm@62902
   272
ML_file "Proof/extraction.ML";
wenzelm@56206
   273
wenzelm@62584
   274
(*Isabelle system*)
wenzelm@62911
   275
ML_file "System/bash.ML";
wenzelm@62902
   276
ML_file "System/isabelle_system.ML";
wenzelm@62584
   277
wenzelm@62845
   278
wenzelm@38271
   279
(*theory documents*)
wenzelm@62902
   280
ML_file "Thy/term_style.ML";
wenzelm@62902
   281
ML_file "Isar/outer_syntax.ML";
wenzelm@62902
   282
ML_file "Thy/thy_output.ML";
wenzelm@62902
   283
ML_file "Thy/document_antiquotations.ML";
wenzelm@62902
   284
ML_file "General/graph_display.ML";
wenzelm@62902
   285
ML_file "Thy/present.ML";
wenzelm@62902
   286
ML_file "pure_syn.ML";
wenzelm@62902
   287
ML_file "PIDE/command.ML";
wenzelm@62902
   288
ML_file "PIDE/query_operation.ML";
wenzelm@62902
   289
ML_file "PIDE/resources.ML";
wenzelm@62902
   290
ML_file "Thy/thy_info.ML";
wenzelm@62902
   291
ML_file "PIDE/session.ML";
wenzelm@62902
   292
ML_file "PIDE/protocol_message.ML";
wenzelm@62902
   293
ML_file "PIDE/document.ML";
wenzelm@31432
   294
wenzelm@31432
   295
(*theory and proof operations*)
wenzelm@62902
   296
ML_file "Isar/isar_cmd.ML";
wenzelm@31432
   297
wenzelm@31432
   298
wenzelm@62912
   299
subsection "Isabelle/Isar system";
wenzelm@31432
   300
wenzelm@62902
   301
ML_file "System/command_line.ML";
wenzelm@62902
   302
ML_file "System/system_channel.ML";
wenzelm@62902
   303
ML_file "System/message_channel.ML";
wenzelm@62902
   304
ML_file "System/isabelle_process.ML";
wenzelm@62902
   305
ML_file "System/invoke_scala.ML";
wenzelm@62902
   306
ML_file "PIDE/protocol.ML";
wenzelm@62930
   307
ML_file "General/output_primitives_virtual.ML";
wenzelm@30173
   308
wenzelm@31432
   309
wenzelm@62912
   310
subsection "Miscellaneous tools and packages for Pure Isabelle";
wenzelm@31432
   311
wenzelm@62902
   312
ML_file "ML/ml_pp.ML";
wenzelm@62902
   313
ML_file "ML/ml_antiquotations.ML";
wenzelm@62902
   314
ML_file "ML/ml_thms.ML";
wenzelm@62902
   315
ML_file "ML/ml_file.ML";
wenzelm@62849
   316
wenzelm@62902
   317
ML_file "Tools/build.ML";
wenzelm@62902
   318
ML_file "Tools/named_thms.ML";
wenzelm@62902
   319
ML_file "Tools/print_operation.ML";
wenzelm@62902
   320
ML_file "Tools/bibtex.ML";
wenzelm@62902
   321
ML_file "Tools/rail.ML";
wenzelm@62902
   322
ML_file "Tools/rule_insts.ML";
wenzelm@62902
   323
ML_file "Tools/thm_deps.ML";
wenzelm@62902
   324
ML_file "Tools/thy_deps.ML";
wenzelm@62902
   325
ML_file "Tools/class_deps.ML";
wenzelm@62902
   326
ML_file "Tools/find_theorems.ML";
wenzelm@62902
   327
ML_file "Tools/find_consts.ML";
wenzelm@62902
   328
ML_file "Tools/simplifier_trace.ML";
wenzelm@62902
   329
ML_file_no_debug "Tools/debugger.ML";
wenzelm@62902
   330
ML_file "Tools/named_theorems.ML";
wenzelm@62902
   331
ML_file "Tools/jedit.ML";