src/ZF/IsaMakefile
author paulson
Mon, 20 May 2002 11:45:57 +0200
changeset 13165 31d020705aff
parent 13164 dfc399c684e4
child 13168 afcbca3498b0
permissions -rw-r--r--
conversion of equalities and WF 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
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
    13
test: ZF-AC ZF-Coind 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
13163
e320a52ff711 converted Arith, Univ, func to Isar format!
paulson
parents: 13155
diff changeset
    31
$(OUT)/ZF: $(OUT)/FOL AC.thy Arith.thy ArithSimp.ML	\
12425
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    32
  ArithSimp.thy Bool.ML Bool.thy Cardinal.ML Cardinal.thy		\
13135
3c6400ad9430 now-obsolete ML files
paulson
parents: 13085
diff changeset
    33
  CardinalArith.ML CardinalArith.thy Cardinal_AC.thy \
13164
dfc399c684e4 converted Epsilon to Isar
paulson
parents: 13163
diff changeset
    34
  Datatype.ML Datatype.thy Epsilon.thy Finite.ML Finite.thy	\
13135
3c6400ad9430 now-obsolete ML files
paulson
parents: 13085
diff changeset
    35
  Fixedpt.ML 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	\
12552
d2d2ab3f1f37 separation of the AC part of Main into Main_ZFC, plus a few new lemmas
paulson
parents: 12425
diff changeset
    40
  Main_ZFC.ML Main_ZFC.thy	\
13140
6d97dbb189a9 converted Order.ML OrderType.ML OrderArith.ML to Isar format
paulson
parents: 13135
diff changeset
    41
  Nat.ML Nat.thy Order.thy OrderArith.thy	\
13164
dfc399c684e4 converted Epsilon to Isar
paulson
parents: 13163
diff changeset
    42
  OrderType.thy Ordinal.thy OrdQuant.ML OrdQuant.thy Perm.ML Perm.thy	\
12425
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    43
  QPair.ML QPair.thy QUniv.ML QUniv.thy ROOT.ML Rel.ML Rel.thy Sum.ML	\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    44
  Sum.thy Tools/cartprod.ML Tools/datatype_package.ML			\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    45
  Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    46
  Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
13165
31d020705aff conversion of equalities and WF to Isar
paulson
parents: 13164
diff changeset
    47
  Trancl.ML Trancl.thy Univ.thy Update.ML Update.thy \
13135
3c6400ad9430 now-obsolete ML files
paulson
parents: 13085
diff changeset
    48
  WF.thy ZF.ML ZF.thy Zorn.thy arith_data.ML domrange.ML	\
13165
31d020705aff conversion of equalities and WF to Isar
paulson
parents: 13164
diff changeset
    49
  domrange.thy equalities.thy func.thy		\
12425
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    50
  ind_syntax.ML mono.ML mono.thy pair.ML pair.thy simpdata.ML		\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    51
  subset.ML subset.thy thy_syntax.ML upair.ML upair.thy
6213
f5bdd6497e08 usedir -r;
wenzelm
parents: 6065
diff changeset
    52
	@$(ISATOOL) usedir -b -r $(OUT)/FOL ZF
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    53
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    54
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    55
## ZF-AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    56
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    57
ZF-AC: ZF $(LOG)/ZF-AC.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    58
11380
e76366922751 tidying and consolidating files
paulson
parents: 11042
diff changeset
    59
$(LOG)/ZF-AC.gz: $(OUT)/ZF \
12776
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    60
  AC/ROOT.ML  AC/AC15_WO6.thy AC/AC16_WO4.thy \
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    61
  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
    62
  AC/AC_Equiv.thy AC/Cardinal_aux.thy \
249600a63ba9 Isar version of AC
paulson
parents: 12667
diff changeset
    63
  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
    64
  AC/WO2_AC16.thy AC/WO6_WO1.thy 
2828
13136dc7b9d0 isatool usedir;
wenzelm
parents: 2500
diff changeset
    65
	@$(ISATOOL) usedir $(OUT)/ZF AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    66
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    67
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    68
## ZF-Coind
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    69
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    70
ZF-Coind: ZF $(LOG)/ZF-Coind.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    71
12606
cf1715a5f5ec conversion to Isar/ZF
paulson
parents: 12595
diff changeset
    72
$(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/Dynamic.thy \
12595
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    73
  Coind/ECR.thy Coind/Language.thy Coind/Map.thy Coind/ROOT.ML \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    74
  Coind/Static.thy Coind/Types.thy Coind/Values.thy
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    75
	@$(ISATOOL) usedir $(OUT)/ZF Coind
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    76
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    77
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    78
## ZF-IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    79
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    80
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    81
12610
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    82
$(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    83
  IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    84
	@$(ISATOOL) usedir $(OUT)/ZF IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    85
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    86
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    87
## ZF-Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    88
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    89
ZF-Resid: ZF $(LOG)/ZF-Resid.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    90
12595
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    91
$(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    92
  Resid/Confluence.thy  Resid/Redex.thy \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    93
  Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    94
	@$(ISATOOL) usedir $(OUT)/ZF Resid
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-UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    98
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    99
ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   100
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   101
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   102
  UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   103
  UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   104
  UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   105
  UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   106
  UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   107
  UNITY/WFair.ML UNITY/WFair.thy
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   108
	@$(ISATOOL) usedir $(OUT)/ZF UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   109
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   110
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   111
## ZF-Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   112
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   113
ZF-Induct: ZF $(LOG)/ZF-Induct.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   114
12560
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   115
$(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
   116
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   117
  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
   118
  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
   119
  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
   120
  Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   121
	@$(ISATOOL) usedir $(OUT)/ZF Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   122
12175
5cf58a1799a7 rearranged inductive package for Isar;
wenzelm
parents: 12089
diff changeset
   123
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   124
## ZF-ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   125
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   126
ZF-ex: ZF $(LOG)/ZF-ex.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   127
12186
9b7026a0b0ed added Induct/Binary_Trees.thy, Induct/Datatypes.thy;
wenzelm
parents: 12175
diff changeset
   128
$(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
12606
cf1715a5f5ec conversion to Isar/ZF
paulson
parents: 12595
diff changeset
   129
  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
   130
  ex/Limit.thy ex/LList.thy ex/Primes.thy \
12606
cf1715a5f5ec conversion to Isar/ZF
paulson
parents: 12595
diff changeset
   131
  ex/NatSum.thy ex/Ramsey.thy ex/misc.thy
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   132
	@$(ISATOOL) usedir $(OUT)/ZF ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   133
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   134
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   135
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   136
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   137
clean:
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   138
	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz $(LOG)/ZF-Coind.gz \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   139
	  $(LOG)/ZF-ex.gz $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   140
	  $(LOG)/ZF-UNITY.gz