src/Pure/ROOT.ML
author wenzelm
Sat Sep 01 00:20:22 2001 +0200 (2001-09-01)
changeset 11545 0b56d9c90dcf
parent 11511 ec89f5cff390
child 11759 56c80e542e44
permissions -rw-r--r--
final proofs := 0;
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";
berghofe@11511
    10
val version = "Isabelle repository";
clasohm@0
    11
clasohm@0
    12
print_depth 1;
clasohm@0
    13
wenzelm@6178
    14
(*global flags*)
wenzelm@6178
    15
val print_mode = ref ([]: string list);
oheimb@6164
    16
wenzelm@5684
    17
(*fake hiding of private structures*)
wenzelm@5684
    18
structure Hidden = struct end;
wenzelm@4949
    19
wenzelm@5017
    20
(*basic tools*)
clasohm@0
    21
use "library.ML";
wenzelm@5017
    22
cd "General"; use "ROOT.ML"; cd "..";
clasohm@0
    23
use "term.ML";
wenzelm@19
    24
wenzelm@4949
    25
(*inner syntax module*)
wenzelm@6178
    26
cd "Syntax"; use "ROOT.ML"; cd "..";
clasohm@0
    27
wenzelm@4949
    28
(*main system*)
wenzelm@2960
    29
use "sorts.ML";
wenzelm@2960
    30
use "type_infer.ML";
clasohm@0
    31
use "type.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";
paulson@1528
    38
use "theory.ML";
wenzelm@5004
    39
use "theory_data.ML";
wenzelm@6178
    40
use "context.ML";
berghofe@11511
    41
use "proofterm.ML";
clasohm@0
    42
use "thm.ML";
wenzelm@3986
    43
use "display.ML";
wenzelm@3986
    44
use "pure_thy.ML";
clasohm@0
    45
use "drule.ML";
berghofe@10413
    46
use "meta_simplifier.ML";
wenzelm@5244
    47
use "locale.ML";
clasohm@0
    48
use "tctical.ML";
paulson@1582
    49
use "search.ML";
clasohm@0
    50
use "tactic.ML";
clasohm@0
    51
use "goals.ML";
clasohm@0
    52
berghofe@11511
    53
(*proof term operations*)
berghofe@11511
    54
cd "Proof";
berghofe@11511
    55
use "reconstruct.ML";
berghofe@11511
    56
use "proof_syntax.ML";
berghofe@11511
    57
use "proof_rewrite_rules.ML";
berghofe@11511
    58
use "proofchecker.ML";
berghofe@11511
    59
cd "..";
berghofe@11511
    60
wenzelm@6178
    61
(*theory system operations*)
wenzelm@6178
    62
cd "Thy"; use "ROOT.ML"; cd "..";
clasohm@73
    63
wenzelm@5834
    64
(*the Isar subsystem*)
wenzelm@6178
    65
cd "Isar"; use "ROOT.ML"; cd "..";
wenzelm@5834
    66
wenzelm@6693
    67
use "axclass.ML";
wenzelm@6693
    68
berghofe@11511
    69
(*code generator*)
berghofe@11511
    70
use "codegen.ML";
berghofe@11511
    71
wenzelm@6693
    72
(*external interfaces*)
wenzelm@6693
    73
cd "Interface"; use "ROOT.ML"; cd "..";
wenzelm@6693
    74
wenzelm@6178
    75
(*final Pure theory setup*)
wenzelm@5211
    76
use "pure.ML";
wenzelm@5211
    77
paulson@5568
    78
(*several object-logics declare theories that hide basis library structures*)
wenzelm@4209
    79
structure BasisLibrary =
wenzelm@4209
    80
struct
wenzelm@6178
    81
  structure List = List;
wenzelm@6178
    82
  structure Option = Option;
wenzelm@6178
    83
  structure Bool = Bool;
wenzelm@6178
    84
  structure String = String;
wenzelm@6178
    85
  structure Int = Int;
wenzelm@6178
    86
  structure Real = Real;
wenzelm@4209
    87
end;
wenzelm@4209
    88
wenzelm@6178
    89
use "install_pp.ML";
wenzelm@6226
    90
wenzelm@6237
    91
val use = ThyInfo.use;
wenzelm@6226
    92
val cd = File.cd o Path.unpack;
wenzelm@6226
    93
wenzelm@3508
    94
print_depth 8;
wenzelm@7938
    95
ml_prompts "ML> " "ML# ";
berghofe@11511
    96
wenzelm@11545
    97
proofs := 0;