src/ZF/IsaMakefile
author haftmann
Thu, 04 Oct 2007 19:41:55 +0200
changeset 24841 df8448bc7a8b
parent 23146 0bc590051d95
child 26056 6a0801279f4c
permissions -rw-r--r--
concept for exceptions
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
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
    26
ZF: FOL $(OUT)/ZF$(ML_SUFFIX)
4518
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
23146
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    31
$(OUT)/ZF$(ML_SUFFIX): $(OUT)/FOL$(ML_SUFFIX) AC.thy Arith.thy		\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    32
  ArithSimp.thy Bin.thy Bool.thy Cardinal.thy CardinalArith.thy		\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    33
  Cardinal_AC.thy Datatype.thy Epsilon.thy EquivClass.thy Finite.thy	\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    34
  Fixedpt.thy Inductive.thy InfDatatype.thy Int.thy IntArith.thy	\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    35
  IntDiv.thy List.thy Main.thy Main_ZFC.thy Nat.thy OrdQuant.thy	\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    36
  Order.thy OrderArith.thy OrderType.thy Ordinal.thy Perm.thy QPair.thy	\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    37
  QUniv.thy ROOT.ML Sum.thy Tools/cartprod.ML Tools/datatype_package.ML	\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    38
  Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    39
  Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    40
  Trancl.thy Univ.thy WF.thy ZF.thy Zorn.thy arith_data.ML		\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    41
  equalities.thy func.thy ind_syntax.ML int_arith.ML pair.thy		\
0bc590051d95 moved Integ files to canonical place;
wenzelm
parents: 22814
diff changeset
    42
  simpdata.ML upair.thy
6213
f5bdd6497e08 usedir -r;
wenzelm
parents: 6065
diff changeset
    43
	@$(ISATOOL) usedir -b -r $(OUT)/FOL ZF
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    44
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    45
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    46
## ZF-AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    47
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    48
ZF-AC: ZF $(LOG)/ZF-AC.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    49
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
    50
$(LOG)/ZF-AC.gz: $(OUT)/ZF$(ML_SUFFIX) \
12776
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    51
  AC/ROOT.ML  AC/AC15_WO6.thy AC/AC16_WO4.thy \
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    52
  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
    53
  AC/AC_Equiv.thy AC/Cardinal_aux.thy \
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    54
  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
    55
  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
    56
	@$(ISATOOL) usedir -g true $(OUT)/ZF AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    57
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    58
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    59
## ZF-Coind
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    60
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    61
ZF-Coind: ZF $(LOG)/ZF-Coind.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    62
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
    63
$(LOG)/ZF-Coind.gz: $(OUT)/ZF$(ML_SUFFIX) Coind/Dynamic.thy \
12595
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    64
  Coind/ECR.thy Coind/Language.thy Coind/Map.thy Coind/ROOT.ML \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    65
  Coind/Static.thy Coind/Types.thy Coind/Values.thy
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    66
	@$(ISATOOL) usedir $(OUT)/ZF Coind
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    67
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    68
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    69
## ZF-Constructible
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    70
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    71
ZF-Constructible: ZF $(LOG)/ZF-Constructible.gz
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    72
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
    73
$(LOG)/ZF-Constructible.gz: $(OUT)/ZF$(ML_SUFFIX)  Constructible/ROOT.ML \
13503
d93f41fe35d2 Relativization and absoluteness for DPow!!
paulson
parents: 13496
diff changeset
    74
  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
    75
  Constructible/Formula.thy Constructible/Internalize.thy \
13544
895994073bdf various new lemmas for Constructible
paulson
parents: 13520
diff changeset
    76
  Constructible/AC_in_L.thy Constructible/Relative.thy \
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    77
  Constructible/L_axioms.thy    Constructible/Wellorderings.thy \
13318
3f475e54875c new files
paulson
parents: 13296
diff changeset
    78
  Constructible/MetaExists.thy  Constructible/Normal.thy \
13634
99a593b49b04 Re-organization of Constructible theories
paulson
parents: 13574
diff changeset
    79
  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
    80
  Constructible/Rec_Separation.thy Constructible/Separation.thy \
13494
1c44289716ae new file Constructible/Satisfies_absolute.thy
paulson
parents: 13433
diff changeset
    81
  Constructible/Satisfies_absolute.thy Constructible/WF_absolute.thy \
13296
ba142aa29694 Constructible/document/root.tex;
wenzelm
parents: 13285
diff changeset
    82
  Constructible/Reflection.thy  Constructible/WFrec.thy \
15083
a471fd1d9961 documents for ZF-AC and ZF-Constructible
paulson
parents: 14883
diff changeset
    83
  Constructible/document/root.bib Constructible/document/root.tex
13427
b429fd98549c tuned document;
wenzelm
parents: 13357
diff changeset
    84
	@$(ISATOOL) usedir -g true $(OUT)/ZF Constructible
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    85
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    86
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    87
## ZF-IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    88
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    89
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    90
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
    91
$(LOG)/ZF-IMP.gz: $(OUT)/ZF$(ML_SUFFIX) IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
12610
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    92
  IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    93
	@$(ISATOOL) usedir $(OUT)/ZF IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    94
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    95
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    96
## ZF-Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    97
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    98
ZF-Resid: ZF $(LOG)/ZF-Resid.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    99
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
   100
$(LOG)/ZF-Resid.gz: $(OUT)/ZF$(ML_SUFFIX) Resid/ROOT.ML \
12595
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
   101
  Resid/Confluence.thy  Resid/Redex.thy \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
   102
  Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   103
	@$(ISATOOL) usedir $(OUT)/ZF Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   104
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   105
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   106
## ZF-UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   107
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   108
ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   109
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
   110
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF$(ML_SUFFIX) UNITY/ROOT.ML \
15634
bca33c49b083 conversion of UNITY to Isar scripts
paulson
parents: 15202
diff changeset
   111
  UNITY/Comp.thy UNITY/Constrains.thy UNITY/FP.thy\
bca33c49b083 conversion of UNITY to Isar scripts
paulson
parents: 15202
diff changeset
   112
  UNITY/GenPrefix.thy UNITY/Guar.thy UNITY/Mutex.thy UNITY/State.thy \
bca33c49b083 conversion of UNITY to Isar scripts
paulson
parents: 15202
diff changeset
   113
  UNITY/SubstAx.thy UNITY/UNITY.thy UNITY/Union.thy \
14076
5cfc8b9fb880 Conversion of AllocBase to new-style
paulson
parents: 14073
diff changeset
   114
  UNITY/AllocBase.thy UNITY/AllocImpl.thy\
14072
f932be305381 Conversion of UNITY/Distributor to Isar script. General tidy-up.
paulson
parents: 14071
diff changeset
   115
  UNITY/ClientImpl.thy UNITY/Distributor.thy\
14093
24382760fd89 converting more theories to Isar scripts, and tidying
paulson
parents: 14092
diff changeset
   116
  UNITY/Follows.thy UNITY/Increasing.thy UNITY/Merge.thy\
15634
bca33c49b083 conversion of UNITY to Isar scripts
paulson
parents: 15202
diff changeset
   117
  UNITY/Monotonicity.thy UNITY/MultisetSum.thy UNITY/WFair.thy
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   118
	@$(ISATOOL) usedir $(OUT)/ZF UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   119
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   120
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   121
## ZF-Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   122
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   123
ZF-Induct: ZF $(LOG)/ZF-Induct.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   124
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
   125
$(LOG)/ZF-Induct.gz: $(OUT)/ZF$(ML_SUFFIX)  Induct/ROOT.ML Induct/Acc.thy \
12560
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   126
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
14071
373806545656 Converting ZF/UNITY to Isar
paulson
parents: 14061
diff changeset
   127
  Induct/Datatypes.thy Induct/FoldSet.thy \
15201
d73f9d49d835 converted ZF/Induct/Multiset to Isar script
paulson
parents: 15083
diff changeset
   128
  Induct/ListN.thy Induct/Multiset.thy Induct/Mutil.thy \
12560
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   129
  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
   130
  Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   131
	@$(ISATOOL) usedir $(OUT)/ZF Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   132
12175
5cf58a1799a7 rearranged inductive package for Isar;
wenzelm
parents: 12089
diff changeset
   133
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   134
## ZF-ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   135
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   136
ZF-ex: ZF $(LOG)/ZF-ex.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   137
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
   138
$(LOG)/ZF-ex.gz: $(OUT)/ZF$(ML_SUFFIX) ex/ROOT.ML \
14883
ca000a495448 Groups, Rings and supporting lemmas
paulson
parents: 14093
diff changeset
   139
  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
   140
  ex/Limit.thy ex/LList.thy ex/Primes.thy \
14883
ca000a495448 Groups, Rings and supporting lemmas
paulson
parents: 14093
diff changeset
   141
  ex/NatSum.thy ex/Ramsey.thy ex/Ring.thy ex/misc.thy
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   142
	@$(ISATOOL) usedir $(OUT)/ZF ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   143
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   144
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   145
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   146
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   147
clean:
17821
daffb154f73e ML_SUFFIX in targets (experimental);
wenzelm
parents: 15634
diff changeset
   148
	@rm -f $(OUT)/ZF$(ML_SUFFIX) $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
   149
	  $(LOG)/ZF-Constructible.gz $(LOG)/ZF-ex.gz \
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
   150
          $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   151
	  $(LOG)/ZF-UNITY.gz