src/Pure/ROOT.ML
author wenzelm
Mon Feb 26 23:18:26 2007 +0100 (2007-02-26)
changeset 22361 d8d96d0122a7
parent 22233 c37d7404199b
child 22592 97b5290a8c34
permissions -rw-r--r--
added more_thm.ML;
     1 (*  Title:      Pure/ROOT.ML
     2     ID:         $Id$
     3 
     4 Pure Isabelle.
     5 *)
     6 
     7 val banner = "Pure Isabelle";
     8 val version = "Isabelle repository version";    (*filled in automatically!*)
     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 (*fake hiding of private structures*)
    16 structure Hidden = struct end;
    17 
    18 (*basic tools*)
    19 use "General/basics.ML";
    20 use "library.ML";
    21 cd "General"; use "ROOT.ML"; cd "..";
    22 
    23 (*fundamental structures*)
    24 use "name.ML";
    25 use "term.ML";
    26 use "term_subst.ML";
    27 use "General/pretty.ML";
    28 use "sorts.ML";
    29 use "type.ML";
    30 use "context.ML";
    31 use "compress.ML";
    32 
    33 (*inner syntax module*)
    34 cd "Syntax"; use "ROOT.ML"; cd "..";
    35 use "General/ml_syntax.ML";
    36 
    37 (*core of tactical proof system*)
    38 use "envir.ML";
    39 use "logic.ML";
    40 use "type_infer.ML";
    41 use "consts.ML";
    42 use "sign.ML";
    43 use "pattern.ML";
    44 use "unify.ML";
    45 use "net.ML";
    46 use "defs.ML";
    47 use "theory.ML";
    48 use "proofterm.ML";
    49 use "thm.ML";
    50 use "more_thm.ML";
    51 use "fact_index.ML";
    52 use "pure_thy.ML";
    53 use "display.ML";
    54 use "drule.ML";
    55 use "morphism.ML";
    56 use "variable.ML";
    57 use "tctical.ML";
    58 use "search.ML";
    59 use "tactic.ML";
    60 use "meta_simplifier.ML";
    61 use "conjunction.ML";
    62 use "assumption.ML";
    63 use "goal.ML";
    64 
    65 (*proof term operations*)
    66 use "Proof/reconstruct.ML";
    67 use "Proof/proof_syntax.ML";
    68 use "Proof/proof_rewrite_rules.ML";
    69 use "Proof/proofchecker.ML";
    70 
    71 (*the main Isar system*)
    72 cd "Isar"; use "ROOT.ML"; cd "..";
    73 use "subgoal.ML";
    74 
    75 use "Proof/extraction.ML";
    76 
    77 cd "Tools"; use "ROOT.ML"; cd "..";
    78 
    79 (*configuration for Proof General*)
    80 cd "ProofGeneral"; use "ROOT.ML"; cd "..";
    81 
    82 use_thy "Pure";
    83 structure Pure = struct val thy = theory "Pure" end;
    84 
    85 Context.add_setup
    86  (Theory.del_modesyntax Syntax.default_mode Syntax.appl_syntax #>
    87   Theory.add_syntax Syntax.applC_syntax);
    88 use_thy "CPure";
    89 structure CPure = struct val thy = theory "CPure" end;
    90 
    91 (*final ML setup*)
    92 use "install_pp.ML";
    93 val use = ThyInfo.use;
    94 val cd = File.cd o Path.explode;
    95 ml_prompts "ML> " "ML# ";
    96 
    97 proofs := 0;