src/Pure/ROOT.ML
author wenzelm
Fri, 23 May 2008 21:18:47 +0200
changeset 26977 e736139b553d
parent 26629 6e93fbd4c96a
child 27254 0f8106808e66
permissions -rw-r--r--
added theory_nameN;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
     1
(*  Title:      Pure/ROOT.ML
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
    ID:         $Id$
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     3
16842
wenzelm
parents: 16781
diff changeset
     4
Pure Isabelle.
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     6
26109
c69c3559355b more elaborate structure Distribution (filled-in by makedist);
wenzelm
parents: 25953
diff changeset
     7
structure Distribution =     (*filled-in by makedist*)
c69c3559355b more elaborate structure Distribution (filled-in by makedist);
wenzelm
parents: 25953
diff changeset
     8
struct
c69c3559355b more elaborate structure Distribution (filled-in by makedist);
wenzelm
parents: 25953
diff changeset
     9
  val version = "Isabelle repository version";
26133
8ea867ad9a48 tuned structure Distribution;
wenzelm
parents: 26109
diff changeset
    10
  val is_official = true;
26109
c69c3559355b more elaborate structure Distribution (filled-in by makedist);
wenzelm
parents: 25953
diff changeset
    11
end;
11835
13d12b99b843 revert to proper version (!);
wenzelm
parents: 11759
diff changeset
    12
23825
e0372eba47b7 simplified loading of ML files -- no static forward references;
wenzelm
parents: 23696
diff changeset
    13
(*if true then some tools will OMIT some proofs*)
e0372eba47b7 simplified loading of ML files -- no static forward references;
wenzelm
parents: 23696
diff changeset
    14
val quick_and_dirty = ref false;
e0372eba47b7 simplified loading of ML files -- no static forward references;
wenzelm
parents: 23696
diff changeset
    15
12248
f059876ef1d3 print_depth 10;
wenzelm
parents: 11966
diff changeset
    16
print_depth 10;
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
5017
786a17461ab9 moved table.ML, object.ML, seq.ML, name_space.ML to General;
wenzelm
parents: 5004
diff changeset
    18
(*basic tools*)
21396
afd8ba74313c added General/basics.ML;
wenzelm
parents: 20507
diff changeset
    19
use "General/basics.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    20
use "library.ML";
22592
97b5290a8c34 added print_mode (generic non-sense);
wenzelm
parents: 22361
diff changeset
    21
5017
786a17461ab9 moved table.ML, object.ML, seq.ML, name_space.ML to General;
wenzelm
parents: 5004
diff changeset
    22
cd "General"; use "ROOT.ML"; cd "..";
14781
2be804d1dda9 type.ML now before Syntax module;
wenzelm
parents: 13402
diff changeset
    23
2be804d1dda9 type.ML now before Syntax module;
wenzelm
parents: 13402
diff changeset
    24
(*fundamental structures*)
20075
a7e183bfebef added name.ML;
wenzelm
parents: 19898
diff changeset
    25
use "name.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    26
use "term.ML";
20507
bb68343f6f83 added Pure/term_subst.ML;
wenzelm
parents: 20225
diff changeset
    27
use "term_subst.ML";
24257
15a43b494878 use logic.ML earlier;
wenzelm
parents: 24235
diff changeset
    28
use "logic.ML";
14823
ebb8499d0fd2 moved print_mode to General/output.ML; load General/pretty.ML early;
wenzelm
parents: 14781
diff changeset
    29
use "General/pretty.ML";
24235
aea5c389a2f5 added Syntax/simple_syntax.ML;
wenzelm
parents: 24113
diff changeset
    30
use "Syntax/lexicon.ML";
aea5c389a2f5 added Syntax/simple_syntax.ML;
wenzelm
parents: 24113
diff changeset
    31
use "Syntax/simple_syntax.ML";
16435
3b17850023f1 removed Pure/theory_data.ML;
wenzelm
parents: 16108
diff changeset
    32
use "context.ML";
24272
2f85bae2e2c2 tuned order;
wenzelm
parents: 24257
diff changeset
    33
use "sorts.ML";
2f85bae2e2c2 tuned order;
wenzelm
parents: 24257
diff changeset
    34
use "type.ML";
2f85bae2e2c2 tuned order;
wenzelm
parents: 24257
diff changeset
    35
use "type_infer.ML";
24113
ec9e75a46e16 renamed config_option.ML to config.ML;
wenzelm
parents: 24027
diff changeset
    36
use "config.ML";
19
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
    37
4949
c73f72daee64 tuned comments;
wenzelm
parents: 4781
diff changeset
    38
(*inner syntax module*)
22679
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    39
use "Syntax/ast.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    40
use "Syntax/syn_ext.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    41
use "Syntax/parser.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    42
use "Syntax/type_ext.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    43
use "Syntax/syn_trans.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    44
use "Syntax/mixfix.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    45
use "Syntax/printer.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    46
use "Syntax/syntax.ML";
68cd69a388e2 removed Pure/Syntax/ROOT.ML;
wenzelm
parents: 22592
diff changeset
    47
24574
e840872e9c7c moved ML_XXX.ML files to Pure/ML;
wenzelm
parents: 24455
diff changeset
    48
use "ML/ml_syntax.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    49
15825
1576f9d3ffae added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents: 15801
diff changeset
    50
(*core of tactical proof system*)
18934
0342b7c21388 load envir.ML and logic.ML early;
wenzelm
parents: 18870
diff changeset
    51
use "envir.ML";
18059
ce6cff74931b added consts.ML;
wenzelm
parents: 17963
diff changeset
    52
use "consts.ML";
24257
15a43b494878 use logic.ML earlier;
wenzelm
parents: 24235
diff changeset
    53
use "primitive_defs.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    54
use "sign.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    55
use "pattern.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    56
use "unify.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    57
use "net.ML";
16108
cf468b93a02e Implement cycle-free overloading, so that definitions cannot harm consistency any more (except of course via interaction with axioms).
obua
parents: 15825
diff changeset
    58
use "defs.ML";
1528
608dd813b437 Theories are now in theory.ML
paulson
parents: 1498
diff changeset
    59
use "theory.ML";
24664
4195de64fdb1 added interpretation.ML;
wenzelm
parents: 24574
diff changeset
    60
use "interpretation.ML";
11511
ec89f5cff390 Added new files for proof terms.
berghofe
parents: 11065
diff changeset
    61
use "proofterm.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    62
use "thm.ML";
22361
d8d96d0122a7 added more_thm.ML;
wenzelm
parents: 22233
diff changeset
    63
use "more_thm.ML";
26279
e8440c90c474 removed obsolete fact_index.ML;
wenzelm
parents: 26133
diff changeset
    64
use "facts.ML";
3986
d788dcb86930 added pure_thy.ML;
wenzelm
parents: 3971
diff changeset
    65
use "pure_thy.ML";
19589
wenzelm
parents: 19417
diff changeset
    66
use "display.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    67
use "drule.ML";
22233
c37d7404199b load morphism.ML later;
wenzelm
parents: 22108
diff changeset
    68
use "morphism.ML";
19898
b1d179e42713 added variable.ML;
wenzelm
parents: 19837
diff changeset
    69
use "variable.ML";
24833
9131433b19bb load variable.ML before conv.ML;
wenzelm
parents: 24664
diff changeset
    70
use "conv.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    71
use "tctical.ML";
1582
97a305db0c9e Updated for new file search.ML
paulson
parents: 1528
diff changeset
    72
use "search.ML";
21708
45e7491bea47 reorganized structure Tactic vs. MetaSimplifier;
wenzelm
parents: 21687
diff changeset
    73
use "tactic.ML";
15006
107e4dfd3b96 Merging the meta-simplifier with the Provers-simplifier. Next step:
skalberg
parents: 14823
diff changeset
    74
use "meta_simplifier.ML";
19417
3a9d25bdd7f4 added conjunction.ML;
wenzelm
parents: 19382
diff changeset
    75
use "conjunction.ML";
20225
4b8e42490e58 added Pure/assumption.ML;
wenzelm
parents: 20207
diff changeset
    76
use "assumption.ML";
17963
5574f676092c added goal.ML;
wenzelm
parents: 17927
diff changeset
    77
use "goal.ML";
24963
c04ec061ac2b load axclass.ML before Isar;
wenzelm
parents: 24833
diff changeset
    78
use "axclass.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    79
11511
ec89f5cff390 Added new files for proof terms.
berghofe
parents: 11065
diff changeset
    80
(*proof term operations*)
15825
1576f9d3ffae added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents: 15801
diff changeset
    81
use "Proof/reconstruct.ML";
1576f9d3ffae added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents: 15801
diff changeset
    82
use "Proof/proof_syntax.ML";
1576f9d3ffae added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents: 15801
diff changeset
    83
use "Proof/proof_rewrite_rules.ML";
1576f9d3ffae added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents: 15801
diff changeset
    84
use "Proof/proofchecker.ML";
1576f9d3ffae added content of Pure/Thy/ROOT.ML, Pure/Proof/ROOT.ML;
wenzelm
parents: 15801
diff changeset
    85
22108
d76ea9928959 tuned order;
wenzelm
parents: 21941
diff changeset
    86
(*the main Isar system*)
6178
wenzelm
parents: 6164
diff changeset
    87
cd "Isar"; use "ROOT.ML"; cd "..";
20207
4c57e850e8d5 added Pure/subgoal.ML;
wenzelm
parents: 20075
diff changeset
    88
use "subgoal.ML";
5834
c6fea8488ce7 added Isar;
wenzelm
parents: 5684
diff changeset
    89
13402
e6e826bb8c3c Added program extraction module.
berghofe
parents: 13271
diff changeset
    90
use "Proof/extraction.ML";
11511
ec89f5cff390 Added new files for proof terms.
berghofe
parents: 11065
diff changeset
    91
17467
2e9f745924d0 removed obsolete BasisLibrary;
wenzelm
parents: 16980
diff changeset
    92
cd "Tools"; use "ROOT.ML"; cd "..";
2e9f745924d0 removed obsolete BasisLibrary;
wenzelm
parents: 16980
diff changeset
    93
24455
cd8e14100c00 codegen.ML is now loaded in Pure again.
berghofe
parents: 24272
diff changeset
    94
use "codegen.ML";
cd8e14100c00 codegen.ML is now loaded in Pure again.
berghofe
parents: 24272
diff changeset
    95
12778
3120e338ffae Interface/proof_general.ML move to proof_general.ML;
wenzelm
parents: 12248
diff changeset
    96
(*configuration for Proof General*)
21941
62dd79056d70 removed obsolete proof_general.ML;
wenzelm
parents: 21930
diff changeset
    97
cd "ProofGeneral"; use "ROOT.ML"; cd "..";
16781
663235466562 - introduce Pure/Tools directory
obua
parents: 16435
diff changeset
    98
23825
e0372eba47b7 simplified loading of ML files -- no static forward references;
wenzelm
parents: 23696
diff changeset
    99
use "pure_setup.ML";