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