src/Pure/ROOT.ML
author wenzelm
Thu Nov 16 01:07:39 2006 +0100 (2006-11-16)
changeset 21396 afd8ba74313c
parent 20507 bb68343f6f83
child 21475 ec0d1cf0eb35
permissions -rw-r--r--
added General/basics.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 
    36 (*core of tactical proof system*)
    37 use "envir.ML";
    38 use "logic.ML";
    39 use "type_infer.ML";
    40 use "consts.ML";
    41 use "sign.ML";
    42 use "pattern.ML";
    43 use "unify.ML";
    44 use "net.ML";
    45 use "defs.ML";
    46 use "theory.ML";
    47 use "proofterm.ML";
    48 use "thm.ML";
    49 use "fact_index.ML";
    50 use "pure_thy.ML";
    51 use "display.ML";
    52 use "drule.ML";
    53 use "variable.ML";
    54 use "tctical.ML";
    55 use "search.ML";
    56 use "meta_simplifier.ML";
    57 use "conjunction.ML";
    58 use "assumption.ML";
    59 use "goal.ML";
    60 use "tactic.ML";
    61 
    62 (*proof term operations*)
    63 use "Proof/reconstruct.ML";
    64 use "Proof/proof_syntax.ML";
    65 use "Proof/proof_rewrite_rules.ML";
    66 use "Proof/proofchecker.ML";
    67 
    68 (*theory auto loader database*)
    69 use "Thy/thy_load.ML";
    70 use "Thy/thy_info.ML";
    71 
    72 (*theory syntax*)
    73 use "Isar/outer_lex.ML";
    74 
    75 (*the Isar system*)
    76 cd "Isar"; use "ROOT.ML"; cd "..";
    77 use "subgoal.ML";
    78 
    79 use "Proof/extraction.ML";
    80 
    81 cd "Tools"; use "ROOT.ML"; cd "..";
    82 
    83 (*configuration for Proof General*)
    84 (use |> setmp proofs 1 |> setmp quick_and_dirty true) "proof_general.ML";
    85 
    86 use_thy "Pure";
    87 structure Pure = struct val thy = theory "Pure" end;
    88 
    89 Context.add_setup
    90  (Theory.del_modesyntax Syntax.default_mode Syntax.appl_syntax #>
    91   Theory.add_syntax Syntax.applC_syntax);
    92 use_thy "CPure";
    93 structure CPure = struct val thy = theory "CPure" end;
    94 
    95 (*final ML setup*)
    96 use "install_pp.ML";
    97 val use = ThyInfo.use;
    98 val cd = File.cd o Path.unpack;
    99 ml_prompts "ML> " "ML# ";
   100 
   101 proofs := 0;