src/Pure/ROOT.ML
author wenzelm
Tue Aug 17 18:41:55 2010 +0200 (2010-08-17)
changeset 38470 484e483eb606
parent 38448 62d16c415019
child 38483 3d16bebee1d3
permissions -rw-r--r--
discontinued support for Poly/ML 5.0 and 5.1 versions;
     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/linear_set.ML";
    46 use "General/long_name.ML";
    47 use "General/binding.ML";
    48 use "General/name_space.ML";
    49 use "General/path.ML";
    50 use "General/url.ML";
    51 use "General/buffer.ML";
    52 use "General/file.ML";
    53 use "General/xml.ML";
    54 use "General/xml_data.ML";
    55 use "General/yxml.ML";
    56 
    57 use "General/sha1.ML";
    58 if String.isPrefix "polyml" ml_system
    59 then use "General/sha1_polyml.ML"
    60 else ();
    61 
    62 
    63 (* concurrency within the ML runtime *)
    64 
    65 use "Concurrent/simple_thread.ML";
    66 
    67 use "Concurrent/single_assignment.ML";
    68 if Multithreading.available then ()
    69 else use "Concurrent/single_assignment_sequential.ML";
    70 
    71 use "Concurrent/synchronized.ML";
    72 if Multithreading.available then ()
    73 else use "Concurrent/synchronized_sequential.ML";
    74 
    75 use "Concurrent/mailbox.ML";
    76 use "Concurrent/task_queue.ML";
    77 use "Concurrent/future.ML";
    78 
    79 use "Concurrent/lazy.ML";
    80 if Multithreading.available then ()
    81 else use "Concurrent/lazy_sequential.ML";
    82 
    83 use "Concurrent/par_list.ML";
    84 if Multithreading.available then ()
    85 else use "Concurrent/par_list_sequential.ML";
    86 
    87 use "Concurrent/cache.ML";
    88 
    89 
    90 (* fundamental structures *)
    91 
    92 use "name.ML";
    93 use "term.ML";
    94 use "term_ord.ML";
    95 use "term_subst.ML";
    96 use "old_term.ML";
    97 use "General/pretty.ML";
    98 use "context.ML";
    99 use "context_position.ML";
   100 use "sorts.ML";
   101 use "type.ML";
   102 use "logic.ML";
   103 use "Syntax/lexicon.ML";
   104 use "Syntax/simple_syntax.ML";
   105 use "config.ML";
   106 
   107 
   108 (* inner syntax *)
   109 
   110 use "Syntax/ast.ML";
   111 use "Syntax/syn_ext.ML";
   112 use "Syntax/parser.ML";
   113 use "Syntax/type_ext.ML";
   114 use "Syntax/syn_trans.ML";
   115 use "Syntax/mixfix.ML";
   116 use "Syntax/printer.ML";
   117 use "Syntax/syntax.ML";
   118 
   119 use "type_infer.ML";
   120 
   121 
   122 (* core of tactical proof system *)
   123 
   124 use "net.ML";
   125 use "item_net.ML";
   126 use "envir.ML";
   127 use "consts.ML";
   128 use "primitive_defs.ML";
   129 use "defs.ML";
   130 use "sign.ML";
   131 use "pattern.ML";
   132 use "unify.ML";
   133 use "theory.ML";
   134 use "interpretation.ML";
   135 use "proofterm.ML";
   136 use "thm.ML";
   137 use "more_thm.ML";
   138 use "facts.ML";
   139 use "pure_thy.ML";
   140 use "drule.ML";
   141 use "morphism.ML";
   142 use "variable.ML";
   143 use "conv.ML";
   144 use "goal_display.ML";
   145 use "tactical.ML";
   146 use "search.ML";
   147 use "tactic.ML";
   148 use "meta_simplifier.ML";
   149 use "conjunction.ML";
   150 use "assumption.ML";
   151 use "display.ML";
   152 use "goal.ML";
   153 
   154 
   155 (* Isar -- Intelligible Semi-Automated Reasoning *)
   156 
   157 (*proof context*)
   158 use "Isar/object_logic.ML";
   159 use "Isar/rule_cases.ML";
   160 use "Isar/auto_bind.ML";
   161 use "Isar/local_syntax.ML";
   162 use "Isar/proof_context.ML";
   163 use "Isar/local_defs.ML";
   164 
   165 (*proof term operations*)
   166 use "Proof/reconstruct.ML";
   167 use "Proof/proof_syntax.ML";
   168 use "Proof/proof_rewrite_rules.ML";
   169 use "Proof/proofchecker.ML";
   170 
   171 (*outer syntax*)
   172 use "Isar/token.ML";
   173 use "Isar/keyword.ML";
   174 use "Isar/parse.ML";
   175 use "Isar/parse_value.ML";
   176 use "Isar/args.ML";
   177 
   178 (*ML support*)
   179 use "ML/ml_syntax.ML";
   180 use "ML/ml_env.ML";
   181 use "Isar/runtime.ML";
   182 if member (op =) ["polyml-5.2", "polyml-5.2.1", "smlnj-110"] ml_system
   183 then use "ML/ml_compiler.ML"
   184 else use "ML/ml_compiler_polyml-5.3.ML";
   185 use "ML/ml_context.ML";
   186 
   187 (*theory sources*)
   188 use "Thy/thy_header.ML";
   189 use "Thy/html.ML";
   190 use "Thy/latex.ML";
   191 
   192 (*basic proof engine*)
   193 use "Isar/proof_display.ML";
   194 use "Isar/attrib.ML";
   195 use "ML/ml_antiquote.ML";
   196 use "Isar/context_rules.ML";
   197 use "Isar/skip_proof.ML";
   198 use "Isar/method.ML";
   199 use "Isar/proof.ML";
   200 use "ML/ml_thms.ML";
   201 use "Isar/element.ML";
   202 
   203 (*derived theory and proof elements*)
   204 use "Isar/calculation.ML";
   205 use "Isar/obtain.ML";
   206 
   207 (*local theories and targets*)
   208 use "Isar/local_theory.ML";
   209 use "Isar/locale.ML";
   210 use "Isar/generic_target.ML";
   211 use "Isar/overloading.ML";
   212 use "axclass.ML";
   213 use "Isar/class.ML";
   214 use "Isar/named_target.ML";
   215 use "Isar/expression.ML";
   216 use "Isar/class_declaration.ML";
   217 
   218 use "simplifier.ML";
   219 
   220 (*executable theory content*)
   221 use "Isar/code.ML";
   222 
   223 (*specifications*)
   224 use "Isar/parse_spec.ML";
   225 use "Isar/spec_rules.ML";
   226 use "Isar/specification.ML";
   227 use "Isar/typedecl.ML";
   228 use "Isar/constdefs.ML";
   229 
   230 (*toplevel transactions*)
   231 use "Thy/thy_load.ML";
   232 use "Isar/proof_node.ML";
   233 use "Isar/toplevel.ML";
   234 
   235 (*theory documents*)
   236 use "Thy/present.ML";
   237 use "Thy/term_style.ML";
   238 use "Thy/thy_output.ML";
   239 use "Thy/thy_syntax.ML";
   240 use "old_goals.ML";
   241 use "Isar/outer_syntax.ML";
   242 use "PIDE/document.ML";
   243 use "Thy/thy_info.ML";
   244 
   245 (*theory and proof operations*)
   246 use "Isar/rule_insts.ML";
   247 use "Thy/thm_deps.ML";
   248 use "Isar/isar_cmd.ML";
   249 use "Isar/isar_syn.ML";
   250 
   251 use "subgoal.ML";
   252 
   253 use "Proof/extraction.ML";
   254 
   255 
   256 (* Isabelle/Isar system *)
   257 
   258 use "System/session.ML";
   259 use "System/isabelle_process.ML";
   260 use "System/isar_document.ML";
   261 use "System/isar.ML";
   262 
   263 
   264 (* miscellaneous tools and packages for Pure Isabelle *)
   265 
   266 use "Tools/named_thms.ML";
   267 
   268 use "Tools/xml_syntax.ML";
   269 
   270 use "Tools/find_theorems.ML";
   271 use "Tools/find_consts.ML";
   272 
   273 use "codegen.ML";
   274 
   275 
   276 (* configuration for Proof General *)
   277 
   278 use "ProofGeneral/pgip_types.ML";
   279 use "ProofGeneral/pgml.ML";
   280 use "ProofGeneral/pgip_markup.ML";
   281 use "ProofGeneral/pgip_input.ML";
   282 use "ProofGeneral/pgip_output.ML";
   283 use "ProofGeneral/pgip.ML";
   284 
   285 use "ProofGeneral/pgip_isabelle.ML";
   286 
   287 use "ProofGeneral/preferences.ML";
   288 
   289 use "ProofGeneral/pgip_parser.ML";
   290 
   291 use "ProofGeneral/pgip_tests.ML";
   292 
   293 use "ProofGeneral/proof_general_pgip.ML";
   294 use "ProofGeneral/proof_general_emacs.ML";
   295 
   296 
   297 use "pure_setup.ML";
   298