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