src/Pure/ROOT.ML
author wenzelm
Tue Sep 29 11:49:22 2009 +0200 (2009-09-29)
changeset 32738 15bb09ca0378
parent 32736 f126e68d003d
child 32815 1a5e364584ae
permissions -rw-r--r--
explicit indication of Unsynchronized.ref;
     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/lazy.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/yxml.ML";
    55 
    56 
    57 (* concurrency within the ML runtime *)
    58 
    59 use "Concurrent/simple_thread.ML";
    60 use "Concurrent/synchronized.ML";
    61 if Multithreading.available then () else use "Concurrent/synchronized_dummy.ML";
    62 use "Concurrent/mailbox.ML";
    63 use "Concurrent/task_queue.ML";
    64 use "Concurrent/future.ML";
    65 use "Concurrent/par_list.ML";
    66 if Multithreading.available then () else use "Concurrent/par_list_dummy.ML";
    67 
    68 
    69 (* fundamental structures *)
    70 
    71 use "name.ML";
    72 use "term.ML";
    73 use "term_ord.ML";
    74 use "term_subst.ML";
    75 use "old_term.ML";
    76 use "logic.ML";
    77 use "General/pretty.ML";
    78 use "context.ML";
    79 use "context_position.ML";
    80 use "Syntax/lexicon.ML";
    81 use "Syntax/simple_syntax.ML";
    82 use "sorts.ML";
    83 use "type.ML";
    84 use "config.ML";
    85 
    86 
    87 (* inner syntax *)
    88 
    89 use "Syntax/ast.ML";
    90 use "Syntax/syn_ext.ML";
    91 use "Syntax/parser.ML";
    92 use "Syntax/type_ext.ML";
    93 use "Syntax/syn_trans.ML";
    94 use "Syntax/mixfix.ML";
    95 use "Syntax/printer.ML";
    96 use "Syntax/syntax.ML";
    97 
    98 use "type_infer.ML";
    99 
   100 
   101 (* core of tactical proof system *)
   102 
   103 use "net.ML";
   104 use "item_net.ML";
   105 use "envir.ML";
   106 use "consts.ML";
   107 use "primitive_defs.ML";
   108 use "defs.ML";
   109 use "sign.ML";
   110 use "pattern.ML";
   111 use "unify.ML";
   112 use "theory.ML";
   113 use "interpretation.ML";
   114 use "proofterm.ML";
   115 use "thm.ML";
   116 use "more_thm.ML";
   117 use "facts.ML";
   118 use "pure_thy.ML";
   119 use "drule.ML";
   120 use "morphism.ML";
   121 use "variable.ML";
   122 use "conv.ML";
   123 use "goal_display.ML";
   124 use "tactical.ML";
   125 use "search.ML";
   126 use "tactic.ML";
   127 use "meta_simplifier.ML";
   128 use "conjunction.ML";
   129 use "assumption.ML";
   130 use "display.ML";
   131 use "goal.ML";
   132 use "axclass.ML";
   133 
   134 
   135 (* Isar -- Intelligible Semi-Automated Reasoning *)
   136 
   137 (*proof context*)
   138 use "Isar/object_logic.ML";
   139 use "Isar/rule_cases.ML";
   140 use "Isar/auto_bind.ML";
   141 use "Isar/local_syntax.ML";
   142 use "Isar/proof_context.ML";
   143 use "Isar/local_defs.ML";
   144 
   145 (*proof term operations*)
   146 use "Proof/reconstruct.ML";
   147 use "Proof/proof_syntax.ML";
   148 use "Proof/proof_rewrite_rules.ML";
   149 use "Proof/proofchecker.ML";
   150 
   151 (*outer syntax*)
   152 use "Isar/outer_lex.ML";
   153 use "Isar/outer_keyword.ML";
   154 use "Isar/outer_parse.ML";
   155 use "Isar/value_parse.ML";
   156 use "Isar/args.ML";
   157 
   158 (*ML support*)
   159 use "ML/ml_syntax.ML";
   160 use "ML/ml_env.ML";
   161 use "Isar/runtime.ML";
   162 if ml_system = "polyml-experimental"
   163 then use "ML/ml_compiler_polyml-5.3.ML"
   164 else use "ML/ml_compiler.ML";
   165 use "ML/ml_context.ML";
   166 
   167 (*theory sources*)
   168 use "Thy/thy_header.ML";
   169 use "Thy/thy_load.ML";
   170 use "Thy/html.ML";
   171 use "Thy/latex.ML";
   172 use "Thy/present.ML";
   173 
   174 (*basic proof engine*)
   175 use "Isar/proof_display.ML";
   176 use "Isar/attrib.ML";
   177 use "ML/ml_antiquote.ML";
   178 use "Isar/context_rules.ML";
   179 use "Isar/skip_proof.ML";
   180 use "Isar/method.ML";
   181 use "Isar/proof.ML";
   182 use "ML/ml_thms.ML";
   183 use "Isar/element.ML";
   184 
   185 (*derived theory and proof elements*)
   186 use "Isar/calculation.ML";
   187 use "Isar/obtain.ML";
   188 
   189 (*local theories and targets*)
   190 use "Isar/local_theory.ML";
   191 use "Isar/overloading.ML";
   192 use "Isar/locale.ML";
   193 use "Isar/class_target.ML";
   194 use "Isar/theory_target.ML";
   195 use "Isar/expression.ML";
   196 use "Isar/class.ML";
   197 
   198 use "simplifier.ML";
   199 
   200 (*executable theory content*)
   201 use "Isar/code.ML";
   202 
   203 (*specifications*)
   204 use "Isar/spec_parse.ML";
   205 use "Isar/specification.ML";
   206 use "Isar/constdefs.ML";
   207 
   208 (*toplevel transactions*)
   209 use "Isar/proof_node.ML";
   210 use "Isar/toplevel.ML";
   211 
   212 (*theory syntax*)
   213 use "Thy/term_style.ML";
   214 use "Thy/thy_output.ML";
   215 use "Thy/thy_syntax.ML";
   216 use "old_goals.ML";
   217 use "Isar/outer_syntax.ML";
   218 use "Thy/thy_info.ML";
   219 use "Isar/isar_document.ML";
   220 
   221 (*theory and proof operations*)
   222 use "Isar/rule_insts.ML";
   223 use "Thy/thm_deps.ML";
   224 use "Isar/isar_cmd.ML";
   225 use "Isar/isar_syn.ML";
   226 
   227 use "subgoal.ML";
   228 
   229 use "Proof/extraction.ML";
   230 
   231 
   232 (* Isabelle/Isar system *)
   233 
   234 use "System/session.ML";
   235 use "System/isar.ML";
   236 use "System/isabelle_process.ML";
   237 
   238 
   239 (* miscellaneous tools and packages for Pure Isabelle *)
   240 
   241 use "Tools/named_thms.ML";
   242 
   243 use "Tools/xml_syntax.ML";
   244 
   245 use "Tools/find_theorems.ML";
   246 use "Tools/find_consts.ML";
   247 
   248 use "codegen.ML";
   249 
   250 
   251 (* configuration for Proof General *)
   252 
   253 use "ProofGeneral/pgip_types.ML";
   254 use "ProofGeneral/pgml.ML";
   255 use "ProofGeneral/pgip_markup.ML";
   256 use "ProofGeneral/pgip_input.ML";
   257 use "ProofGeneral/pgip_output.ML";
   258 use "ProofGeneral/pgip.ML";
   259 
   260 use "ProofGeneral/pgip_isabelle.ML";
   261 
   262 use "ProofGeneral/preferences.ML";
   263 
   264 use "ProofGeneral/pgip_parser.ML";
   265 
   266 use "ProofGeneral/pgip_tests.ML";
   267 
   268 use "ProofGeneral/proof_general_pgip.ML";
   269 use "ProofGeneral/proof_general_emacs.ML";
   270 
   271 
   272 use "pure_setup.ML";
   273