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;
wenzelm@19
     1
(*  Title:      Pure/ROOT.ML
clasohm@0
     2
    ID:         $Id$
clasohm@0
     3
wenzelm@16842
     4
Pure Isabelle.
clasohm@0
     5
*)
clasohm@0
     6
clasohm@0
     7
val banner = "Pure Isabelle";
wenzelm@11835
     8
val version = "Isabelle repository version";    (*filled in automatically!*)
wenzelm@11835
     9
clasohm@0
    10
wenzelm@12248
    11
print_depth 10;
clasohm@0
    12
wenzelm@5684
    13
(*fake hiding of private structures*)
wenzelm@5684
    14
structure Hidden = struct end;
wenzelm@4949
    15
wenzelm@5017
    16
(*basic tools*)
clasohm@0
    17
use "library.ML";
wenzelm@5017
    18
cd "General"; use "ROOT.ML"; cd "..";
wenzelm@14781
    19
wenzelm@14781
    20
(*fundamental structures*)
clasohm@0
    21
use "term.ML";
wenzelm@14823
    22
use "General/pretty.ML";
wenzelm@14781
    23
use "sorts.ML";
wenzelm@14781
    24
use "type.ML";
wenzelm@16435
    25
use "context.ML";
wenzelm@19
    26
wenzelm@4949
    27
(*inner syntax module*)
wenzelm@6178
    28
cd "Syntax"; use "ROOT.ML"; cd "..";
clasohm@0
    29
wenzelm@15825
    30
(*core of tactical proof system*)
wenzelm@2960
    31
use "type_infer.ML";
clasohm@0
    32
use "sign.ML";
clasohm@0
    33
use "envir.ML";
clasohm@0
    34
use "pattern.ML";
clasohm@0
    35
use "unify.ML";
clasohm@0
    36
use "net.ML";
clasohm@0
    37
use "logic.ML";
obua@16108
    38
use "defs.ML";
paulson@1528
    39
use "theory.ML";
berghofe@11511
    40
use "proofterm.ML";
clasohm@0
    41
use "thm.ML";
wenzelm@3986
    42
use "display.ML";
wenzelm@13271
    43
use "fact_index.ML";
wenzelm@3986
    44
use "pure_thy.ML";
clasohm@0
    45
use "drule.ML";
clasohm@0
    46
use "tctical.ML";
paulson@1582
    47
use "search.ML";
skalberg@15006
    48
use "meta_simplifier.ML";
clasohm@0
    49
use "tactic.ML";
clasohm@0
    50
berghofe@11511
    51
(*proof term operations*)
wenzelm@15825
    52
use "Proof/reconstruct.ML";
wenzelm@15825
    53
use "Proof/proof_syntax.ML";
wenzelm@15825
    54
use "Proof/proof_rewrite_rules.ML";
wenzelm@15825
    55
use "Proof/proofchecker.ML";
wenzelm@15825
    56
wenzelm@15825
    57
(*theory auto loader database*)
wenzelm@15825
    58
use "Thy/thy_load.ML";
wenzelm@15825
    59
use "Thy/thy_info.ML";
berghofe@11511
    60
wenzelm@15825
    61
(*theory syntax -- old format*)
wenzelm@15825
    62
use "Thy/thy_scan.ML";
wenzelm@15825
    63
use "Thy/thy_parse.ML";
wenzelm@15825
    64
use "Thy/thy_syn.ML";
wenzelm@15825
    65
wenzelm@15825
    66
(*theory syntax -- new format*)
wenzelm@15825
    67
use "Isar/outer_lex.ML";
wenzelm@15825
    68
wenzelm@15825
    69
(*theory presentation*)
wenzelm@15825
    70
use "Thy/html.ML";
wenzelm@15825
    71
use "Thy/latex.ML";
wenzelm@15825
    72
use "Thy/present.ML";
wenzelm@15825
    73
use "Thy/thm_deps.ML";
wenzelm@15825
    74
wenzelm@15825
    75
(*theorem database ML interface*)
wenzelm@15825
    76
use "Thy/thm_database.ML";
clasohm@73
    77
wenzelm@16435
    78
(*the Isar system*)
wenzelm@6178
    79
cd "Isar"; use "ROOT.ML"; cd "..";
wenzelm@5834
    80
wenzelm@6693
    81
use "axclass.ML";
berghofe@11511
    82
use "codegen.ML";
berghofe@13402
    83
use "Proof/extraction.ML";
berghofe@11511
    84
wenzelm@15801
    85
(*old goal package -- obsolete*)
wenzelm@11966
    86
use "goals.ML";
wenzelm@11966
    87
paulson@15481
    88
(*the IsaPlanner subsystem*)
paulson@15481
    89
cd "IsaPlanner"; use "ROOT.ML"; cd "..";
paulson@15481
    90
wenzelm@12778
    91
(*configuration for Proof General*)
wenzelm@12778
    92
use "proof_general.ML";
wenzelm@6693
    93
obua@16781
    94
cd "Tools"; use "ROOT.ML"; cd "..";
obua@16781
    95
wenzelm@15801
    96
use_thy "Pure"; structure Pure = struct val thy = theory "Pure" end;
wenzelm@15801
    97
use_thy "CPure"; structure CPure = struct val thy = theory "CPure" end;
wenzelm@15801
    98
wenzelm@5211
    99
paulson@5568
   100
(*several object-logics declare theories that hide basis library structures*)
wenzelm@4209
   101
structure BasisLibrary =
wenzelm@4209
   102
struct
wenzelm@6178
   103
  structure List = List;
wenzelm@6178
   104
  structure Option = Option;
wenzelm@6178
   105
  structure Bool = Bool;
wenzelm@6178
   106
  structure String = String;
wenzelm@6178
   107
  structure Int = Int;
wenzelm@6178
   108
  structure Real = Real;
wenzelm@4209
   109
end;
wenzelm@4209
   110
wenzelm@6178
   111
use "install_pp.ML";
wenzelm@6226
   112
wenzelm@6237
   113
val use = ThyInfo.use;
wenzelm@6226
   114
val cd = File.cd o Path.unpack;
wenzelm@6226
   115
wenzelm@7938
   116
ml_prompts "ML> " "ML# ";
berghofe@11511
   117
wenzelm@11545
   118
proofs := 0;