src/Pure/ROOT.ML
author wenzelm
Thu Jul 14 19:28:24 2005 +0200 (2005-07-14)
changeset 16842 5979c46853d1
parent 16781 663235466562
child 16980 79d6b391344b
permissions -rw-r--r--
tuned;
     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 
    11 print_depth 10;
    12 
    13 (*fake hiding of private structures*)
    14 structure Hidden = struct end;
    15 
    16 (*basic tools*)
    17 use "library.ML";
    18 cd "General"; use "ROOT.ML"; cd "..";
    19 
    20 (*fundamental structures*)
    21 use "term.ML";
    22 use "General/pretty.ML";
    23 use "sorts.ML";
    24 use "type.ML";
    25 use "context.ML";
    26 
    27 (*inner syntax module*)
    28 cd "Syntax"; use "ROOT.ML"; cd "..";
    29 
    30 (*core of tactical proof system*)
    31 use "type_infer.ML";
    32 use "sign.ML";
    33 use "envir.ML";
    34 use "pattern.ML";
    35 use "unify.ML";
    36 use "net.ML";
    37 use "logic.ML";
    38 use "defs.ML";
    39 use "theory.ML";
    40 use "proofterm.ML";
    41 use "thm.ML";
    42 use "display.ML";
    43 use "fact_index.ML";
    44 use "pure_thy.ML";
    45 use "drule.ML";
    46 use "tctical.ML";
    47 use "search.ML";
    48 use "meta_simplifier.ML";
    49 use "tactic.ML";
    50 
    51 (*proof term operations*)
    52 use "Proof/reconstruct.ML";
    53 use "Proof/proof_syntax.ML";
    54 use "Proof/proof_rewrite_rules.ML";
    55 use "Proof/proofchecker.ML";
    56 
    57 (*theory auto loader database*)
    58 use "Thy/thy_load.ML";
    59 use "Thy/thy_info.ML";
    60 
    61 (*theory syntax -- old format*)
    62 use "Thy/thy_scan.ML";
    63 use "Thy/thy_parse.ML";
    64 use "Thy/thy_syn.ML";
    65 
    66 (*theory syntax -- new format*)
    67 use "Isar/outer_lex.ML";
    68 
    69 (*theory presentation*)
    70 use "Thy/html.ML";
    71 use "Thy/latex.ML";
    72 use "Thy/present.ML";
    73 use "Thy/thm_deps.ML";
    74 
    75 (*theorem database ML interface*)
    76 use "Thy/thm_database.ML";
    77 
    78 (*the Isar system*)
    79 cd "Isar"; use "ROOT.ML"; cd "..";
    80 
    81 use "axclass.ML";
    82 use "codegen.ML";
    83 use "Proof/extraction.ML";
    84 
    85 (*old goal package -- obsolete*)
    86 use "goals.ML";
    87 
    88 (*the IsaPlanner subsystem*)
    89 cd "IsaPlanner"; use "ROOT.ML"; cd "..";
    90 
    91 (*configuration for Proof General*)
    92 use "proof_general.ML";
    93 
    94 cd "Tools"; use "ROOT.ML"; cd "..";
    95 
    96 use_thy "Pure"; structure Pure = struct val thy = theory "Pure" end;
    97 use_thy "CPure"; structure CPure = struct val thy = theory "CPure" end;
    98 
    99 
   100 (*several object-logics declare theories that hide basis library structures*)
   101 structure BasisLibrary =
   102 struct
   103   structure List = List;
   104   structure Option = Option;
   105   structure Bool = Bool;
   106   structure String = String;
   107   structure Int = Int;
   108   structure Real = Real;
   109 end;
   110 
   111 use "install_pp.ML";
   112 
   113 val use = ThyInfo.use;
   114 val cd = File.cd o Path.unpack;
   115 
   116 ml_prompts "ML> " "ML# ";
   117 
   118 proofs := 0;