src/ZF/IsaMakefile
author kleing
Fri, 27 May 2005 01:09:44 +0200
changeset 16095 f6af6b265d20
parent 15634 bca33c49b083
child 17821 daffb154f73e
permissions -rw-r--r--
put global isatest settings in one file, sourced by the other scripts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     1
#
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     2
# $Id$
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     3
#
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     4
# IsaMakefile for ZF
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     5
#
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     6
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     7
## targets
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     8
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     9
default: ZF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    10
images: ZF
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    11
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    12
#Note: keep targets sorted
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    13
test: ZF-AC ZF-Coind ZF-Constructible ZF-IMP ZF-Induct ZF-Resid ZF-UNITY ZF-ex
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    14
all: images test
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    15
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    16
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    17
## global settings
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    18
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    19
SRC = $(ISABELLE_HOME)/src
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3057
diff changeset
    20
OUT = $(ISABELLE_OUTPUT)
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    21
LOG = $(OUT)/log
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    22
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    23
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    24
## ZF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    25
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    26
ZF: FOL $(OUT)/ZF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    27
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    28
FOL:
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    29
	@cd $(SRC)/FOL; $(ISATOOL) make FOL
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    30
13259
01fa0c8dbc92 conversion of many files to Isar format
paulson
parents: 13240
diff changeset
    31
$(OUT)/ZF: $(OUT)/FOL AC.thy Arith.thy \
13239
f599984ec4c2 converted Bool, Trancl, Rel to Isar format
paulson
parents: 13225
diff changeset
    32
  ArithSimp.thy Bool.thy Cardinal.thy		\
13216
6104bd4088a2 conversion of CardinalArith to Isar script
paulson
parents: 13194
diff changeset
    33
  CardinalArith.thy Cardinal_AC.thy \
13194
812b00ed1c03 conversion of Finite to Isar format
paulson
parents: 13177
diff changeset
    34
  Datatype.ML Datatype.thy Epsilon.thy Finite.thy	\
13218
3732064ccbd1 conversion of Fixedpt to Isar script
paulson
parents: 13216
diff changeset
    35
  Fixedpt.thy Inductive.ML Inductive.thy 	\
13574
f9796358e66f converted to Isar script
paulson
parents: 13560
diff changeset
    36
  InfDatatype.thy Integ/Bin.thy \
13560
d9651081578b conversion of ZF/Integ/{Int,Bin} to Isar scripts
paulson
parents: 13544
diff changeset
    37
  Integ/EquivClass.thy Integ/Int.thy Integ/IntArith.thy	\
13520
a3d5d8b03d63 conversion of ZF/IntDiv to Isar script
paulson
parents: 13503
diff changeset
    38
  Integ/IntDiv.thy Integ/int_arith.ML			\
13780
af7b79271364 more new-style theories
paulson
parents: 13634
diff changeset
    39
  List.thy Main.ML Main.thy	\
13171
3208b614dc71 conversion of Nat to Isar
paulson
parents: 13169
diff changeset
    40
  Main_ZFC.ML Main_ZFC.thy Nat.thy Order.thy OrderArith.thy	\
13176
312bd350579b conversion of Perm to Isar. Strengthening of comp_fun_apply
paulson
parents: 13171
diff changeset
    41
  OrderType.thy Ordinal.thy OrdQuant.thy Perm.thy	\
13285
28d1823ce0f2 conversion of QPair to Isar
paulson
parents: 13259
diff changeset
    42
  QPair.thy QUniv.thy ROOT.ML	\
12425
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    43
  Sum.thy Tools/cartprod.ML Tools/datatype_package.ML			\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    44
  Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    45
  Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
13356
c9cfe1638bf2 improved presentation markup
paulson
parents: 13339
diff changeset
    46
  Trancl.thy Univ.thy \
13780
af7b79271364 more new-style theories
paulson
parents: 13634
diff changeset
    47
  WF.thy ZF.thy Zorn.thy arith_data.ML equalities.thy func.thy	\
13357
6f54e992777e Removal of mono.thy
paulson
parents: 13356
diff changeset
    48
  ind_syntax.ML pair.thy simpdata.ML		\
13259
01fa0c8dbc92 conversion of many files to Isar format
paulson
parents: 13240
diff changeset
    49
  thy_syntax.ML upair.thy
6213
f5bdd6497e08 usedir -r;
wenzelm
parents: 6065
diff changeset
    50
	@$(ISATOOL) usedir -b -r $(OUT)/FOL ZF
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    51
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    52
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    53
## ZF-AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    54
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    55
ZF-AC: ZF $(LOG)/ZF-AC.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    56
11380
e76366922751 tidying and consolidating files
paulson
parents: 11042
diff changeset
    57
$(LOG)/ZF-AC.gz: $(OUT)/ZF \
12776
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    58
  AC/ROOT.ML  AC/AC15_WO6.thy AC/AC16_WO4.thy \
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    59
  AC/AC16_lemmas.thy AC/AC17_AC1.thy AC/AC18_AC19.thy AC/AC7_AC9.thy \
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    60
  AC/AC_Equiv.thy AC/Cardinal_aux.thy \
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    61
  AC/DC.thy AC/HH.thy AC/Hartog.thy AC/WO1_AC.thy AC/WO1_WO7.thy \
15083
a471fd1d9961 documents for ZF-AC and ZF-Constructible
paulson
parents: 14883
diff changeset
    62
  AC/WO2_AC16.thy AC/WO6_WO1.thy AC/document/root.bib AC/document/root.tex
a471fd1d9961 documents for ZF-AC and ZF-Constructible
paulson
parents: 14883
diff changeset
    63
	@$(ISATOOL) usedir -g true $(OUT)/ZF AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    64
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    65
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    66
## ZF-Coind
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    67
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    68
ZF-Coind: ZF $(LOG)/ZF-Coind.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    69
12606
cf1715a5f5ec conversion to Isar/ZF
paulson
parents: 12595
diff changeset
    70
$(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/Dynamic.thy \
12595
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    71
  Coind/ECR.thy Coind/Language.thy Coind/Map.thy Coind/ROOT.ML \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    72
  Coind/Static.thy Coind/Types.thy Coind/Values.thy
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    73
	@$(ISATOOL) usedir $(OUT)/ZF Coind
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    74
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    75
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    76
## ZF-Constructible
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    77
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    78
ZF-Constructible: ZF $(LOG)/ZF-Constructible.gz
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    79
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    80
$(LOG)/ZF-Constructible.gz: $(OUT)/ZF  Constructible/ROOT.ML \
13503
d93f41fe35d2 Relativization and absoluteness for DPow!!
paulson
parents: 13496
diff changeset
    81
  Constructible/Datatype_absolute.thy Constructible/DPow_absolute.thy\
13496
6f0c57def6d5 In ZF/Constructible, moved many results from Satisfies_absolute, etc., to
paulson
parents: 13494
diff changeset
    82
  Constructible/Formula.thy Constructible/Internalize.thy \
13544
895994073bdf various new lemmas for Constructible
paulson
parents: 13520
diff changeset
    83
  Constructible/AC_in_L.thy Constructible/Relative.thy \
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    84
  Constructible/L_axioms.thy    Constructible/Wellorderings.thy \
13318
3f475e54875c new files
paulson
parents: 13296
diff changeset
    85
  Constructible/MetaExists.thy  Constructible/Normal.thy \
13634
99a593b49b04 Re-organization of Constructible theories
paulson
parents: 13574
diff changeset
    86
  Constructible/Rank.thy Constructible/Rank_Separation.thy \
13339
0f89104dd377 Fixed quantified variable name preservation for ball and bex (bounded quants)
paulson
parents: 13327
diff changeset
    87
  Constructible/Rec_Separation.thy Constructible/Separation.thy \
13494
1c44289716ae new file Constructible/Satisfies_absolute.thy
paulson
parents: 13433
diff changeset
    88
  Constructible/Satisfies_absolute.thy Constructible/WF_absolute.thy \
13296
ba142aa29694 Constructible/document/root.tex;
wenzelm
parents: 13285
diff changeset
    89
  Constructible/Reflection.thy  Constructible/WFrec.thy \
15083
a471fd1d9961 documents for ZF-AC and ZF-Constructible
paulson
parents: 14883
diff changeset
    90
  Constructible/document/root.bib Constructible/document/root.tex
13427
b429fd98549c tuned document;
wenzelm
parents: 13357
diff changeset
    91
	@$(ISATOOL) usedir -g true $(OUT)/ZF Constructible
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    92
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    93
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    94
## ZF-IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    95
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    96
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    97
12610
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    98
$(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    99
  IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   100
	@$(ISATOOL) usedir $(OUT)/ZF IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   101
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   102
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   103
## ZF-Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   104
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   105
ZF-Resid: ZF $(LOG)/ZF-Resid.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   106
12595
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
   107
$(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
   108
  Resid/Confluence.thy  Resid/Redex.thy \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
   109
  Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   110
	@$(ISATOOL) usedir $(OUT)/ZF Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   111
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   112
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   113
## ZF-UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   114
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   115
ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   116
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   117
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
15634
bca33c49b083 conversion of UNITY to Isar scripts
paulson
parents: 15202
diff changeset
   118
  UNITY/Comp.thy UNITY/Constrains.thy UNITY/FP.thy\
bca33c49b083 conversion of UNITY to Isar scripts
paulson
parents: 15202
diff changeset
   119
  UNITY/GenPrefix.thy UNITY/Guar.thy UNITY/Mutex.thy UNITY/State.thy \
bca33c49b083 conversion of UNITY to Isar scripts
paulson
parents: 15202
diff changeset
   120
  UNITY/SubstAx.thy UNITY/UNITY.thy UNITY/Union.thy \
14076
5cfc8b9fb880 Conversion of AllocBase to new-style
paulson
parents: 14073
diff changeset
   121
  UNITY/AllocBase.thy UNITY/AllocImpl.thy\
14072
f932be305381 Conversion of UNITY/Distributor to Isar script. General tidy-up.
paulson
parents: 14071
diff changeset
   122
  UNITY/ClientImpl.thy UNITY/Distributor.thy\
14093
24382760fd89 converting more theories to Isar scripts, and tidying
paulson
parents: 14092
diff changeset
   123
  UNITY/Follows.thy UNITY/Increasing.thy UNITY/Merge.thy\
15634
bca33c49b083 conversion of UNITY to Isar scripts
paulson
parents: 15202
diff changeset
   124
  UNITY/Monotonicity.thy UNITY/MultisetSum.thy UNITY/WFair.thy
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   125
	@$(ISATOOL) usedir $(OUT)/ZF UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   126
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   127
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   128
## ZF-Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   129
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   130
ZF-Induct: ZF $(LOG)/ZF-Induct.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   131
12560
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   132
$(LOG)/ZF-Induct.gz: $(OUT)/ZF  Induct/ROOT.ML Induct/Acc.thy \
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   133
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
14071
373806545656 Converting ZF/UNITY to Isar
paulson
parents: 14061
diff changeset
   134
  Induct/Datatypes.thy Induct/FoldSet.thy \
15201
d73f9d49d835 converted ZF/Induct/Multiset to Isar script
paulson
parents: 15083
diff changeset
   135
  Induct/ListN.thy Induct/Multiset.thy Induct/Mutil.thy \
12560
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   136
  Induct/Ntree.thy Induct/Primrec.thy Induct/PropLog.thy Induct/Rmap.thy \
12207
4dff931b852f added Induct/Binary_Trees.thy, Induct/Tree_Forest (converted from
wenzelm
parents: 12186
diff changeset
   137
  Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   138
	@$(ISATOOL) usedir $(OUT)/ZF Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   139
12175
5cf58a1799a7 rearranged inductive package for Isar;
wenzelm
parents: 12089
diff changeset
   140
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   141
## ZF-ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   142
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   143
ZF-ex: ZF $(LOG)/ZF-ex.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   144
12186
9b7026a0b0ed added Induct/Binary_Trees.thy, Induct/Datatypes.thy;
wenzelm
parents: 12175
diff changeset
   145
$(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
14883
ca000a495448 Groups, Rings and supporting lemmas
paulson
parents: 14093
diff changeset
   146
  ex/BinEx.thy ex/CoUnit.thy ex/Commutation.thy ex/Group.thy\
13085
bfdb0534c8ec converted theory ex/Limit to Isar script, but it still needs work!
paulson
parents: 12776
diff changeset
   147
  ex/Limit.thy ex/LList.thy ex/Primes.thy \
14883
ca000a495448 Groups, Rings and supporting lemmas
paulson
parents: 14093
diff changeset
   148
  ex/NatSum.thy ex/Ramsey.thy ex/Ring.thy ex/misc.thy
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   149
	@$(ISATOOL) usedir $(OUT)/ZF ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   150
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   151
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   152
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   153
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   154
clean:
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   155
	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
   156
	  $(LOG)/ZF-Constructible.gz $(LOG)/ZF-ex.gz \
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
   157
          $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   158
	  $(LOG)/ZF-UNITY.gz