author  wenzelm 
Wed, 04 Apr 2007 00:13:13 +0200  
changeset 22592  97b5290a8c34 
parent 22361  d8d96d0122a7 
child 22679  68cd69a388e2 
permissions  rwrr 
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 

12248  10 
print_depth 10; 
0  11 

5684  12 
(*fake hiding of private structures*) 
13 
structure Hidden = struct end; 

4949  14 

5017
786a17461ab9
moved table.ML, object.ML, seq.ML, name_space.ML to General;
wenzelm
parents:
5004
diff
changeset

15 
(*basic tools*) 
21396  16 
use "General/basics.ML"; 
0  17 
use "library.ML"; 
22592  18 

19 
(*generic nonsense*) 

20 
val quick_and_dirty = ref false; 

21 
val print_mode = ref ([]: string list); 

22 
fun print_mode_active s = member (op =) (! print_mode) s; 

23 

5017
786a17461ab9
moved table.ML, object.ML, seq.ML, name_space.ML to General;
wenzelm
parents:
5004
diff
changeset

24 
cd "General"; use "ROOT.ML"; cd ".."; 
14781  25 

26 
(*fundamental structures*) 

20075  27 
use "name.ML"; 
0  28 
use "term.ML"; 
20507  29 
use "term_subst.ML"; 
14823
ebb8499d0fd2
moved print_mode to General/output.ML; load General/pretty.ML early;
wenzelm
parents:
14781
diff
changeset

30 
use "General/pretty.ML"; 
14781  31 
use "sorts.ML"; 
32 
use "type.ML"; 

16435  33 
use "context.ML"; 
16980  34 
use "compress.ML"; 
19  35 

4949  36 
(*inner syntax module*) 
6178  37 
cd "Syntax"; use "ROOT.ML"; cd ".."; 
21475  38 
use "General/ml_syntax.ML"; 
0  39 

15825
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents:
15801
diff
changeset

40 
(*core of tactical proof system*) 
18934  41 
use "envir.ML"; 
42 
use "logic.ML"; 

2960  43 
use "type_infer.ML"; 
18059  44 
use "consts.ML"; 
0  45 
use "sign.ML"; 
46 
use "pattern.ML"; 

47 
use "unify.ML"; 

48 
use "net.ML"; 

16108
cf468b93a02e
Implement cyclefree overloading, so that definitions cannot harm consistency any more (except of course via interaction with axioms).
obua
parents:
15825
diff
changeset

49 
use "defs.ML"; 
1528  50 
use "theory.ML"; 
11511  51 
use "proofterm.ML"; 
0  52 
use "thm.ML"; 
22361  53 
use "more_thm.ML"; 
13271  54 
use "fact_index.ML"; 
3986  55 
use "pure_thy.ML"; 
19589  56 
use "display.ML"; 
0  57 
use "drule.ML"; 
22233  58 
use "morphism.ML"; 
19898  59 
use "variable.ML"; 
0  60 
use "tctical.ML"; 
1582  61 
use "search.ML"; 
21708  62 
use "tactic.ML"; 
15006
107e4dfd3b96
Merging the metasimplifier with the Proverssimplifier. Next step:
skalberg
parents:
14823
diff
changeset

63 
use "meta_simplifier.ML"; 
19417  64 
use "conjunction.ML"; 
20225  65 
use "assumption.ML"; 
17963  66 
use "goal.ML"; 
0  67 

11511  68 
(*proof term operations*) 
15825
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents:
15801
diff
changeset

69 
use "Proof/reconstruct.ML"; 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents:
15801
diff
changeset

70 
use "Proof/proof_syntax.ML"; 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents:
15801
diff
changeset

71 
use "Proof/proof_rewrite_rules.ML"; 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents:
15801
diff
changeset

72 
use "Proof/proofchecker.ML"; 
1576f9d3ffae
added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents:
15801
diff
changeset

73 

22108  74 
(*the main Isar system*) 
6178  75 
cd "Isar"; use "ROOT.ML"; cd ".."; 
20207  76 
use "subgoal.ML"; 
5834  77 

13402  78 
use "Proof/extraction.ML"; 
11511  79 

17467  80 
cd "Tools"; use "ROOT.ML"; cd ".."; 
81 

12778
3120e338ffae
Interface/proof_general.ML move to proof_general.ML;
wenzelm
parents:
12248
diff
changeset

82 
(*configuration for Proof General*) 
21941  83 
cd "ProofGeneral"; use "ROOT.ML"; cd ".."; 
16781  84 

18991
0ded3b842878
use proof_general.ML: setmp quick_and_dirty captures default value;
wenzelm
parents:
18934
diff
changeset

85 
use_thy "Pure"; 
0ded3b842878
use proof_general.ML: setmp quick_and_dirty captures default value;
wenzelm
parents:
18934
diff
changeset

86 
structure Pure = struct val thy = theory "Pure" end; 
18837  87 

88 
Context.add_setup 

89 
(Theory.del_modesyntax Syntax.default_mode Syntax.appl_syntax #> 

90 
Theory.add_syntax Syntax.applC_syntax); 

18991
0ded3b842878
use proof_general.ML: setmp quick_and_dirty captures default value;
wenzelm
parents:
18934
diff
changeset

91 
use_thy "CPure"; 
0ded3b842878
use proof_general.ML: setmp quick_and_dirty captures default value;
wenzelm
parents:
18934
diff
changeset

92 
structure CPure = struct val thy = theory "CPure" end; 
15801  93 

17467  94 
(*final ML setup*) 
6178  95 
use "install_pp.ML"; 
6237  96 
val use = ThyInfo.use; 
21858
05f57309170c
avoid conflict with Alice keywords: renamed pack > implode, unpack > explode, any > many, avoided assert;
wenzelm
parents:
21708
diff
changeset

97 
val cd = File.cd o Path.explode; 
7938  98 
ml_prompts "ML> " "ML# "; 
11511  99 

11545  100 
proofs := 0; 