src/Pure/ROOT.ML
author berghofe
Thu Apr 21 19:12:03 2005 +0200 (2005-04-21)
changeset 15797 a63605582573
parent 15597 b5f5722ed703
child 15801 d2f5ca3c048d
permissions -rw-r--r--
- Eliminated nodup_vars check.
- Unification and matching functions now check types of term variables / sorts
of type variables when applying a substitution.
- Thm.instantiate now takes (ctyp * ctyp) list instead of (indexname * ctyp) list
as argument, to allow for proper instantiation of theorems containing
type variables with same name but different sorts.
     1 (*  Title:      Pure/ROOT.ML
     2     ID:         $Id$
     3     Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
     4     Copyright   1993  University of Cambridge
     5 
     6 Root file for Pure Isabelle.
     7 *)
     8 
     9 val banner = "Pure Isabelle";
    10 val version = "Isabelle repository version";    (*filled in automatically!*)
    11 
    12 
    13 print_depth 10;
    14 
    15 (*fake hiding of private structures*)
    16 structure Hidden = struct end;
    17 
    18 (*basic tools*)
    19 use "library.ML";
    20 cd "General"; use "ROOT.ML"; cd "..";
    21 
    22 (*fundamental structures*)
    23 use "term.ML";
    24 use "General/pretty.ML";
    25 use "sorts.ML";
    26 use "type.ML";
    27 
    28 (*inner syntax module*)
    29 cd "Syntax"; use "ROOT.ML"; cd "..";
    30 
    31 (*core 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 "theory.ML";
    40 use "theory_data.ML";
    41 use "context.ML";
    42 use "proofterm.ML";
    43 use "thm.ML";
    44 use "display.ML";
    45 use "fact_index.ML";
    46 use "pure_thy.ML";
    47 use "drule.ML";
    48 use "tctical.ML";
    49 use "search.ML";
    50 use "meta_simplifier.ML";
    51 use "tactic.ML";
    52 
    53 (*proof term operations*)
    54 cd "Proof"; use "ROOT.ML"; cd "..";
    55 
    56 (*theory system operations*)
    57 cd "Thy"; use "ROOT.ML"; cd "..";
    58 
    59 (*the Isar subsystem*)
    60 cd "Isar"; use "ROOT.ML"; cd "..";
    61 
    62 use "axclass.ML";
    63 use "codegen.ML";
    64 use "Proof/extraction.ML";
    65 
    66 (*old-style goal package*)
    67 use "goals.ML";
    68 
    69 (*the IsaPlanner subsystem*)
    70 cd "IsaPlanner"; use "ROOT.ML"; cd "..";
    71 
    72 (*configuration for Proof General*)
    73 use "proof_general.ML";
    74 
    75 (*final Pure theory setup*)
    76 use "pure.ML";
    77 
    78 (*several object-logics declare theories that hide basis library structures*)
    79 structure BasisLibrary =
    80 struct
    81   structure List = List;
    82   structure Option = Option;
    83   structure Bool = Bool;
    84   structure String = String;
    85   structure Int = Int;
    86   structure Real = Real;
    87 end;
    88 
    89 use "install_pp.ML";
    90 
    91 val use = ThyInfo.use;
    92 val cd = File.cd o Path.unpack;
    93 
    94 ml_prompts "ML> " "ML# ";
    95 
    96 proofs := 0;