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