src/ZF/IsaMakefile
author wenzelm
Sun, 22 Aug 2010 19:33:01 +0200
changeset 38578 1ebc6b76e5ff
parent 37781 2fbbf0a48cef
child 42138 e54a985daa61
permissions -rw-r--r--
misc tuning and simplification;
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
# IsaMakefile for ZF
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     3
#
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     4
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     5
## targets
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
     6
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     7
default: ZF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     8
images: ZF
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
     9
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    10
#Note: keep targets sorted
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    11
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
    12
all: images test
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    13
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    14
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    15
## global settings
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    16
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    17
SRC = $(ISABELLE_HOME)/src
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3057
diff changeset
    18
OUT = $(ISABELLE_OUTPUT)
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    19
LOG = $(OUT)/log
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    20
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    21
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    22
## ZF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    23
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    24
ZF: FOL $(OUT)/ZF
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    25
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    26
FOL:
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    27
	@cd $(SRC)/FOL; $(ISABELLE_TOOL) make FOL
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    28
37781
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    29
$(OUT)/ZF: $(OUT)/FOL $(SRC)/Tools/misc_legacy.ML AC.thy Arith.thy	\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    30
  ArithSimp.thy Bin.thy Bool.thy Cardinal.thy CardinalArith.thy		\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    31
  Cardinal_AC.thy Datatype_ZF.thy Epsilon.thy EquivClass.thy		\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    32
  Finite.thy Fixedpt.thy Inductive_ZF.thy InfDatatype.thy Int_ZF.thy	\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    33
  IntArith.thy IntDiv_ZF.thy List_ZF.thy Main.thy Main_ZF.thy		\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    34
  Main_ZFC.thy Nat_ZF.thy OrdQuant.thy Order.thy OrderArith.thy		\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    35
  OrderType.thy Ordinal.thy Perm.thy QPair.thy QUniv.thy ROOT.ML	\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    36
  Sum.thy Tools/cartprod.ML Tools/datatype_package.ML			\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    37
  Tools/ind_cases.ML Tools/induct_tacs.ML Tools/inductive_package.ML	\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    38
  Tools/numeral_syntax.ML Tools/primrec_package.ML Tools/typechk.ML	\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    39
  Trancl.thy Univ.thy WF.thy ZF.thy Zorn.thy arith_data.ML		\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    40
  equalities.thy func.thy ind_syntax.ML int_arith.ML pair.thy		\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    41
  simpdata.ML upair.thy
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    42
	@$(ISABELLE_TOOL) usedir -b -g true -r $(OUT)/FOL ZF
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    43
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    44
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    45
## ZF-AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    46
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    47
ZF-AC: ZF $(LOG)/ZF-AC.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    48
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    49
$(LOG)/ZF-AC.gz: $(OUT)/ZF AC/ROOT.ML AC/AC15_WO6.thy AC/AC16_WO4.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    50
  AC/AC16_lemmas.thy AC/AC17_AC1.thy AC/AC18_AC19.thy AC/AC7_AC9.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    51
  AC/AC_Equiv.thy AC/Cardinal_aux.thy AC/DC.thy AC/HH.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    52
  AC/Hartog.thy AC/WO1_AC.thy AC/WO1_WO7.thy AC/WO2_AC16.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    53
  AC/WO6_WO1.thy AC/document/root.bib AC/document/root.tex
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    54
	@$(ISABELLE_TOOL) usedir -g true $(OUT)/ZF AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    55
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    56
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    57
## ZF-Coind
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    58
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    59
ZF-Coind: ZF $(LOG)/ZF-Coind.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    60
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    61
$(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/Dynamic.thy Coind/ECR.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    62
  Coind/Language.thy Coind/Map.thy Coind/ROOT.ML Coind/Static.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    63
  Coind/Types.thy Coind/Values.thy
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    64
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF Coind
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    65
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    66
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    67
## ZF-Constructible
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    68
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    69
ZF-Constructible: ZF $(LOG)/ZF-Constructible.gz
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    70
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    71
$(LOG)/ZF-Constructible.gz: $(OUT)/ZF Constructible/ROOT.ML		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    72
  Constructible/Datatype_absolute.thy Constructible/DPow_absolute.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    73
  Constructible/Formula.thy Constructible/Internalize.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    74
  Constructible/AC_in_L.thy Constructible/Relative.thy			\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    75
  Constructible/L_axioms.thy Constructible/Wellorderings.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    76
  Constructible/MetaExists.thy Constructible/Normal.thy			\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    77
  Constructible/Rank.thy Constructible/Rank_Separation.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    78
  Constructible/Rec_Separation.thy Constructible/Separation.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    79
  Constructible/Satisfies_absolute.thy Constructible/WF_absolute.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    80
  Constructible/Reflection.thy Constructible/WFrec.thy			\
15083
a471fd1d9961 documents for ZF-AC and ZF-Constructible
paulson
parents: 14883
diff changeset
    81
  Constructible/document/root.bib Constructible/document/root.tex
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    82
	@$(ISABELLE_TOOL) usedir -g true $(OUT)/ZF Constructible
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    83
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    84
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    85
## ZF-IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    86
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    87
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    88
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    89
$(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    90
  IMP/Equiv.thy IMP/ROOT.ML IMP/document/root.bib		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    91
  IMP/document/root.tex
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    92
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF IMP
11479
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-Resid
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    96
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    97
ZF-Resid: ZF $(LOG)/ZF-Resid.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    98
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    99
$(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML Resid/Confluence.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   100
  Resid/Redex.thy Resid/Reduction.thy Resid/Residuals.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   101
  Resid/Substitution.thy
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
   102
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF Resid
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   103
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   104
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   105
## ZF-UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   106
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   107
ZF-UNITY: ZF $(LOG)/ZF-UNITY.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   108
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   109
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML UNITY/Comp.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   110
  UNITY/Constrains.thy UNITY/FP.thy UNITY/GenPrefix.thy UNITY/Guar.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   111
  UNITY/Mutex.thy UNITY/State.thy UNITY/SubstAx.thy UNITY/UNITY.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   112
  UNITY/Union.thy UNITY/AllocBase.thy UNITY/AllocImpl.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   113
  UNITY/ClientImpl.thy UNITY/Distributor.thy UNITY/Follows.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   114
  UNITY/Increasing.thy UNITY/Merge.thy UNITY/Monotonicity.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   115
  UNITY/MultisetSum.thy UNITY/WFair.thy
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
   116
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF UNITY
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   117
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   118
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   119
## ZF-Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   120
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   121
ZF-Induct: ZF $(LOG)/ZF-Induct.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   122
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   123
$(LOG)/ZF-Induct.gz: $(OUT)/ZF Induct/ROOT.ML Induct/Acc.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   124
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   125
  Induct/Datatypes.thy Induct/FoldSet.thy Induct/ListN.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   126
  Induct/Multiset.thy Induct/Mutil.thy Induct/Ntree.thy			\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   127
  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
   128
  Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
   129
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF Induct
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   130
12175
5cf58a1799a7 rearranged inductive package for Isar;
wenzelm
parents: 12089
diff changeset
   131
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   132
## 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
ZF-ex: ZF $(LOG)/ZF-ex.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   135
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   136
$(LOG)/ZF-ex.gz: $(OUT)/ZF ex/ROOT.ML ex/BinEx.thy ex/CoUnit.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   137
  ex/Commutation.thy ex/Group.thy ex/Limit.thy ex/LList.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   138
  ex/Primes.thy ex/NatSum.thy ex/Ramsey.thy ex/Ring.thy ex/misc.thy
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
   139
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF ex
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   140
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   141
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   142
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   143
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   144
clean:
33450
4389ec600ba7 more accurate cleanup;
wenzelm
parents: 28500
diff changeset
   145
	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz		\
4389ec600ba7 more accurate cleanup;
wenzelm
parents: 28500
diff changeset
   146
	  $(LOG)/ZF-Coind.gz $(LOG)/ZF-Constructible.gz		\
4389ec600ba7 more accurate cleanup;
wenzelm
parents: 28500
diff changeset
   147
	  $(LOG)/ZF-ex.gz $(LOG)/ZF-IMP.gz $(LOG)/ZF-Induct.gz	\
4389ec600ba7 more accurate cleanup;
wenzelm
parents: 28500
diff changeset
   148
	  $(LOG)/ZF-Resid.gz $(LOG)/ZF-UNITY.gz