src/ZF/IsaMakefile
author paulson
Tue, 02 Jul 2002 22:46:23 +0200
changeset 13285 28d1823ce0f2
parent 13259 01fa0c8dbc92
child 13296 ba142aa29694
permissions -rw-r--r--
conversion of QPair to Isar
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 	\
12425
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    36
  InfDatatype.thy Integ/Bin.ML Integ/Bin.thy Integ/EquivClass.ML	\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    37
  Integ/EquivClass.thy Integ/Int.ML Integ/Int.thy Integ/IntArith.thy	\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    38
  Integ/IntDiv.ML Integ/IntDiv.thy Integ/int_arith.ML			\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    39
  Integ/twos_compl.ML Let.ML Let.thy List.ML 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	\
13239
f599984ec4c2 converted Bool, Trancl, Rel to Isar format
paulson
parents: 13225
diff changeset
    46
  Trancl.thy Univ.thy Update.thy \
13168
afcbca3498b0 converted domrange to Isar and merged with equalities
paulson
parents: 13165
diff changeset
    47
  WF.thy ZF.ML ZF.thy Zorn.thy arith_data.ML equalities.thy func.thy	\
13259
01fa0c8dbc92 conversion of many files to Isar format
paulson
parents: 13240
diff changeset
    48
  ind_syntax.ML mono.thy pair.thy simpdata.ML		\
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 \
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    62
  AC/WO2_AC16.thy AC/WO6_WO1.thy 
2828
13136dc7b9d0 isatool usedir;
wenzelm
parents: 2500
diff changeset
    63
	@$(ISATOOL) usedir $(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 \
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    81
  Constructible/Formula.thy     Constructible/Relative.thy \
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    82
  Constructible/L_axioms.thy    Constructible/Wellorderings.thy \
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    83
  Constructible/Normal.thy      Constructible/WF_absolute.thy \
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    84
  Constructible/Reflection.thy  Constructible/WFrec.thy
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    85
	@$(ISATOOL) usedir $(OUT)/ZF Constructible
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    86
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    87
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    88
## ZF-IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    89
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    90
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    91
12610
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    92
$(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    93
  IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    94
	@$(ISATOOL) usedir $(OUT)/ZF IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    95
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    96
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    97
## ZF-Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    98
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    99
ZF-Resid: ZF $(LOG)/ZF-Resid.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   100
12595
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
   101
$(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
   102
  Resid/Confluence.thy  Resid/Redex.thy \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
   103
  Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   104
	@$(ISATOOL) usedir $(OUT)/ZF Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   105
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   106
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   107
## ZF-UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   108
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   109
ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   110
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   111
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   112
  UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   113
  UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   114
  UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   115
  UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   116
  UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   117
  UNITY/WFair.ML UNITY/WFair.thy
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
12560
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   125
$(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
   126
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   127
  Induct/Datatypes.thy Induct/FoldSet.ML Induct/FoldSet.thy \
12229
bfba0eb5124b Ntree and Brouwer converted and moved to ZF/Induct;
wenzelm
parents: 12207
diff changeset
   128
  Induct/ListN.thy Induct/Multiset.ML 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
12186
9b7026a0b0ed added Induct/Binary_Trees.thy, Induct/Datatypes.thy;
wenzelm
parents: 12175
diff changeset
   138
$(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
12606
cf1715a5f5ec conversion to Isar/ZF
paulson
parents: 12595
diff changeset
   139
  ex/BinEx.thy ex/CoUnit.thy ex/Commutation.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 \
12606
cf1715a5f5ec conversion to Isar/ZF
paulson
parents: 12595
diff changeset
   141
  ex/NatSum.thy ex/Ramsey.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:
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   148
	@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
   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