| author | wenzelm | 
| Thu, 18 Aug 2005 11:59:17 +0200 | |
| changeset 17117 | e2bed9e82454 | 
| parent 16980 | 79d6b391344b | 
| child 17467 | 2e9f745924d0 | 
| permissions | -rw-r--r-- | 
| 19 | 1 | (* Title: Pure/ROOT.ML | 
| 0 | 2 | ID: $Id$ | 
| 3 | ||
| 16842 | 4 | Pure Isabelle. | 
| 0 | 5 | *) | 
| 6 | ||
| 7 | val banner = "Pure Isabelle"; | |
| 11835 | 8 | val version = "Isabelle repository version"; (*filled in automatically!*) | 
| 9 | ||
| 0 | 10 | |
| 12248 | 11 | print_depth 10; | 
| 0 | 12 | |
| 5684 | 13 | (*fake hiding of private structures*) | 
| 14 | structure Hidden = struct end; | |
| 4949 | 15 | |
| 5017 
786a17461ab9
moved table.ML, object.ML, seq.ML, name_space.ML to General;
 wenzelm parents: 
5004diff
changeset | 16 | (*basic tools*) | 
| 0 | 17 | use "library.ML"; | 
| 5017 
786a17461ab9
moved table.ML, object.ML, seq.ML, name_space.ML to General;
 wenzelm parents: 
5004diff
changeset | 18 | cd "General"; use "ROOT.ML"; cd ".."; | 
| 14781 | 19 | |
| 20 | (*fundamental structures*) | |
| 0 | 21 | use "term.ML"; | 
| 14823 
ebb8499d0fd2
moved print_mode to General/output.ML; load General/pretty.ML early;
 wenzelm parents: 
14781diff
changeset | 22 | use "General/pretty.ML"; | 
| 14781 | 23 | use "sorts.ML"; | 
| 24 | use "type.ML"; | |
| 16435 | 25 | use "context.ML"; | 
| 16980 | 26 | use "compress.ML"; | 
| 19 | 27 | |
| 4949 | 28 | (*inner syntax module*) | 
| 6178 | 29 | cd "Syntax"; use "ROOT.ML"; cd ".."; | 
| 0 | 30 | |
| 15825 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 31 | (*core of tactical proof system*) | 
| 2960 | 32 | use "type_infer.ML"; | 
| 0 | 33 | use "sign.ML"; | 
| 34 | use "envir.ML"; | |
| 35 | use "pattern.ML"; | |
| 36 | use "unify.ML"; | |
| 37 | use "net.ML"; | |
| 38 | use "logic.ML"; | |
| 16108 
cf468b93a02e
Implement cycle-free overloading, so that definitions cannot harm consistency any more (except of course via interaction with axioms).
 obua parents: 
15825diff
changeset | 39 | use "defs.ML"; | 
| 1528 | 40 | use "theory.ML"; | 
| 11511 | 41 | use "proofterm.ML"; | 
| 0 | 42 | use "thm.ML"; | 
| 3986 | 43 | use "display.ML"; | 
| 13271 | 44 | use "fact_index.ML"; | 
| 3986 | 45 | use "pure_thy.ML"; | 
| 0 | 46 | use "drule.ML"; | 
| 47 | use "tctical.ML"; | |
| 1582 | 48 | use "search.ML"; | 
| 15006 
107e4dfd3b96
Merging the meta-simplifier with the Provers-simplifier.  Next step:
 skalberg parents: 
14823diff
changeset | 49 | use "meta_simplifier.ML"; | 
| 0 | 50 | use "tactic.ML"; | 
| 51 | ||
| 11511 | 52 | (*proof term operations*) | 
| 15825 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 53 | use "Proof/reconstruct.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 54 | use "Proof/proof_syntax.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 55 | use "Proof/proof_rewrite_rules.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 56 | use "Proof/proofchecker.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 57 | |
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 58 | (*theory auto loader database*) | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 59 | use "Thy/thy_load.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 60 | use "Thy/thy_info.ML"; | 
| 11511 | 61 | |
| 15825 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 62 | (*theory syntax -- old format*) | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 63 | use "Thy/thy_scan.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 64 | use "Thy/thy_parse.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 65 | use "Thy/thy_syn.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 66 | |
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 67 | (*theory syntax -- new format*) | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 68 | use "Isar/outer_lex.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 69 | |
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 70 | (*theory presentation*) | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 71 | use "Thy/html.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 72 | use "Thy/latex.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 73 | use "Thy/present.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 74 | use "Thy/thm_deps.ML"; | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 75 | |
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 76 | (*theorem database ML interface*) | 
| 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
 wenzelm parents: 
15801diff
changeset | 77 | use "Thy/thm_database.ML"; | 
| 73 
075db6ac7f2f
delete_file now has type string -> unit in both NJ and POLY,
 clasohm parents: 
19diff
changeset | 78 | |
| 16435 | 79 | (*the Isar system*) | 
| 6178 | 80 | cd "Isar"; use "ROOT.ML"; cd ".."; | 
| 5834 | 81 | |
| 6693 
fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
 wenzelm parents: 
6365diff
changeset | 82 | use "axclass.ML"; | 
| 11511 | 83 | use "codegen.ML"; | 
| 13402 | 84 | use "Proof/extraction.ML"; | 
| 11511 | 85 | |
| 15801 | 86 | (*old goal package -- obsolete*) | 
| 11966 | 87 | use "goals.ML"; | 
| 88 | ||
| 15481 | 89 | (*the IsaPlanner subsystem*) | 
| 90 | cd "IsaPlanner"; use "ROOT.ML"; cd ".."; | |
| 91 | ||
| 12778 
3120e338ffae
Interface/proof_general.ML move to proof_general.ML;
 wenzelm parents: 
12248diff
changeset | 92 | (*configuration for Proof General*) | 
| 
3120e338ffae
Interface/proof_general.ML move to proof_general.ML;
 wenzelm parents: 
12248diff
changeset | 93 | use "proof_general.ML"; | 
| 6693 
fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
 wenzelm parents: 
6365diff
changeset | 94 | |
| 16781 | 95 | cd "Tools"; use "ROOT.ML"; cd ".."; | 
| 96 | ||
| 15801 | 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 | ||
| 5211 | 100 | |
| 5568 | 101 | (*several object-logics declare theories that hide basis library structures*) | 
| 4209 | 102 | structure BasisLibrary = | 
| 103 | struct | |
| 6178 | 104 | structure List = List; | 
| 105 | structure Option = Option; | |
| 106 | structure Bool = Bool; | |
| 107 | structure String = String; | |
| 108 | structure Int = Int; | |
| 109 | structure Real = Real; | |
| 4209 | 110 | end; | 
| 111 | ||
| 6178 | 112 | use "install_pp.ML"; | 
| 6226 | 113 | |
| 6237 | 114 | val use = ThyInfo.use; | 
| 6226 | 115 | val cd = File.cd o Path.unpack; | 
| 116 | ||
| 7938 | 117 | ml_prompts "ML> " "ML# "; | 
| 11511 | 118 | |
| 11545 | 119 | proofs := 0; |