src/ZF/IsaMakefile
author paulson
Tue, 18 Jun 2002 10:52:08 +0200
changeset 13218 3732064ccbd1
parent 13216 6104bd4088a2
child 13222 74d9144c452c
permissions -rw-r--r--
conversion of Fixedpt to Isar script
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		\
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	\
12425
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    42
  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
    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	\
13177
ba734cc2887d converted Update to Isar
paulson
parents: 13176
diff changeset
    46
  Trancl.ML 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	\
12425
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    48
  ind_syntax.ML mono.ML mono.thy pair.ML pair.thy simpdata.ML		\
97975229f893 added Main.ML;
wenzelm
parents: 12229
diff changeset
    49
  subset.ML subset.thy thy_syntax.ML upair.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
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    76
## ZF-IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    77
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    78
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    79
12610
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    80
$(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy IMP/Equiv.thy \
8b9845807f77 tuned document sources;
wenzelm
parents: 12606
diff changeset
    81
  IMP/ROOT.ML IMP/document/root.bib IMP/document/root.tex
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    82
	@$(ISATOOL) usedir $(OUT)/ZF IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    83
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    84
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    85
## ZF-Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    86
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    87
ZF-Resid: ZF $(LOG)/ZF-Resid.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    88
12595
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    89
$(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    90
  Resid/Confluence.thy  Resid/Redex.thy \
0480d02221b8 conversion to Isar
paulson
parents: 12593
diff changeset
    91
  Resid/Reduction.thy Resid/Residuals.thy Resid/Substitution.thy 
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    92
	@$(ISATOOL) usedir $(OUT)/ZF Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    93
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    94
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    95
## ZF-UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    96
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    97
ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    98
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    99
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   100
  UNITY/Comp.ML UNITY/Comp.thy UNITY/Constrains.ML UNITY/Constrains.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   101
  UNITY/FP.ML UNITY/FP.thy UNITY/Guar.ML UNITY/Guar.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   102
  UNITY/Mutex.ML UNITY/Mutex.thy UNITY/State.ML UNITY/State.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   103
  UNITY/SubstAx.ML UNITY/SubstAx.thy UNITY/UNITY.ML UNITY/UNITY.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   104
  UNITY/UNITYMisc.ML UNITY/UNITYMisc.thy UNITY/Union.ML UNITY/Union.thy \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   105
  UNITY/WFair.ML UNITY/WFair.thy
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   106
	@$(ISATOOL) usedir $(OUT)/ZF UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   107
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   108
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   109
## ZF-Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   110
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   111
ZF-Induct: ZF $(LOG)/ZF-Induct.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   112
12560
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   113
$(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
   114
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy \
5820841f21fd converted some ZF/Induct examples to Isar
paulson
parents: 12552
diff changeset
   115
  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
   116
  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
   117
  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
   118
  Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   119
	@$(ISATOOL) usedir $(OUT)/ZF Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   120
12175
5cf58a1799a7 rearranged inductive package for Isar;
wenzelm
parents: 12089
diff changeset
   121
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   122
## ZF-ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   123
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   124
ZF-ex: ZF $(LOG)/ZF-ex.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   125
12186
9b7026a0b0ed added Induct/Binary_Trees.thy, Induct/Datatypes.thy;
wenzelm
parents: 12175
diff changeset
   126
$(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML \
12606
cf1715a5f5ec conversion to Isar/ZF
paulson
parents: 12595
diff changeset
   127
  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
   128
  ex/Limit.thy ex/LList.thy ex/Primes.thy \
12606
cf1715a5f5ec conversion to Isar/ZF
paulson
parents: 12595
diff changeset
   129
  ex/NatSum.thy ex/Ramsey.thy ex/misc.thy
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   130
	@$(ISATOOL) usedir $(OUT)/ZF ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   131
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   132
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   133
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   134
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   135
clean:
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   136
	@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
   137
	  $(LOG)/ZF-ex.gz $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   138
	  $(LOG)/ZF-UNITY.gz