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