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