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