src/ZF/IsaMakefile
author wenzelm
Thu, 19 Jun 2008 20:48:01 +0200
changeset 27277 7b7ce2d7fafe
parent 27203 9f02853e3f5b
child 28297 107ba67497a1
permissions -rw-r--r--
export read_typ/cert_typ -- version with regular context operations;
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
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    26
ZF: FOL $(OUT)/ZF
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
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    31
$(OUT)/ZF: $(OUT)/FOL AC.thy Arith.thy ArithSimp.thy Bin.thy Bool.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    32
  Cardinal.thy CardinalArith.thy Cardinal_AC.thy Datatype_ZF.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    33
  Epsilon.thy EquivClass.thy Finite.thy Fixedpt.thy Inductive_ZF.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    34
  InfDatatype.thy Int_ZF.thy IntArith.thy IntDiv_ZF.thy List_ZF.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    35
  Main.thy Main_ZF.thy Main_ZFC.thy Nat_ZF.thy OrdQuant.thy Order.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    36
  OrderArith.thy OrderType.thy Ordinal.thy Perm.thy QPair.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    37
  QUniv.thy ROOT.ML Sum.thy Tools/cartprod.ML				\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    38
  Tools/datatype_package.ML Tools/ind_cases.ML Tools/induct_tacs.ML	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    39
  Tools/inductive_package.ML Tools/numeral_syntax.ML			\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    40
  Tools/primrec_package.ML Tools/typechk.ML Trancl.thy Univ.thy WF.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    41
  ZF.thy Zorn.thy arith_data.ML equalities.thy func.thy ind_syntax.ML	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    42
  int_arith.ML pair.thy 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
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    50
$(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
    51
  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
    52
  AC/AC_Equiv.thy AC/Cardinal_aux.thy AC/DC.thy AC/HH.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    53
  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
    54
  AC/WO6_WO1.thy AC/document/root.bib AC/document/root.tex
15083
a471fd1d9961 documents for ZF-AC and ZF-Constructible
paulson
parents: 14883
diff changeset
    55
	@$(ISATOOL) usedir -g true $(OUT)/ZF AC
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    56
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    57
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    58
## ZF-Coind
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    59
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    60
ZF-Coind: ZF $(LOG)/ZF-Coind.gz
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    61
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    62
$(LOG)/ZF-Coind.gz: $(OUT)/ZF Coind/Dynamic.thy Coind/ECR.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    63
  Coind/Language.thy Coind/Map.thy Coind/ROOT.ML Coind/Static.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    64
  Coind/Types.thy Coind/Values.thy
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    65
	@$(ISATOOL) usedir $(OUT)/ZF Coind
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    66
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    67
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    68
## ZF-Constructible
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    69
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    70
ZF-Constructible: ZF $(LOG)/ZF-Constructible.gz
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    71
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    72
$(LOG)/ZF-Constructible.gz: $(OUT)/ZF Constructible/ROOT.ML		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    73
  Constructible/Datatype_absolute.thy Constructible/DPow_absolute.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    74
  Constructible/Formula.thy Constructible/Internalize.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    75
  Constructible/AC_in_L.thy Constructible/Relative.thy			\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    76
  Constructible/L_axioms.thy Constructible/Wellorderings.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    77
  Constructible/MetaExists.thy Constructible/Normal.thy			\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    78
  Constructible/Rank.thy Constructible/Rank_Separation.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    79
  Constructible/Rec_Separation.thy Constructible/Separation.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    80
  Constructible/Satisfies_absolute.thy Constructible/WF_absolute.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    81
  Constructible/Reflection.thy Constructible/WFrec.thy			\
15083
a471fd1d9961 documents for ZF-AC and ZF-Constructible
paulson
parents: 14883
diff changeset
    82
  Constructible/document/root.bib Constructible/document/root.tex
13427
b429fd98549c tuned document;
wenzelm
parents: 13357
diff changeset
    83
	@$(ISATOOL) usedir -g true $(OUT)/ZF Constructible
13225
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    84
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
    85
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    86
## ZF-IMP
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    87
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    88
ZF-IMP: ZF $(LOG)/ZF-IMP.gz
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
    89
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    90
$(LOG)/ZF-IMP.gz: $(OUT)/ZF IMP/Com.thy IMP/Denotation.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    91
  IMP/Equiv.thy IMP/ROOT.ML IMP/document/root.bib		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    92
  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
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   100
$(LOG)/ZF-Resid.gz: $(OUT)/ZF Resid/ROOT.ML Resid/Confluence.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   101
  Resid/Redex.thy Resid/Reduction.thy Resid/Residuals.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   102
  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
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   110
$(LOG)/ZF-UNITY.gz: $(OUT)/ZF UNITY/ROOT.ML UNITY/Comp.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   111
  UNITY/Constrains.thy UNITY/FP.thy UNITY/GenPrefix.thy UNITY/Guar.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   112
  UNITY/Mutex.thy UNITY/State.thy UNITY/SubstAx.thy UNITY/UNITY.thy	\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   113
  UNITY/Union.thy UNITY/AllocBase.thy UNITY/AllocImpl.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   114
  UNITY/ClientImpl.thy UNITY/Distributor.thy UNITY/Follows.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   115
  UNITY/Increasing.thy UNITY/Merge.thy UNITY/Monotonicity.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   116
  UNITY/MultisetSum.thy UNITY/WFair.thy
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   117
	@$(ISATOOL) usedir $(OUT)/ZF UNITY
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   118
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   119
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   120
## ZF-Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   121
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   122
ZF-Induct: ZF $(LOG)/ZF-Induct.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   123
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   124
$(LOG)/ZF-Induct.gz: $(OUT)/ZF Induct/ROOT.ML Induct/Acc.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   125
  Induct/Binary_Trees.thy Induct/Brouwer.thy Induct/Comb.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   126
  Induct/Datatypes.thy Induct/FoldSet.thy Induct/ListN.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   127
  Induct/Multiset.thy Induct/Mutil.thy Induct/Ntree.thy			\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   128
  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
   129
  Induct/Term.thy Induct/Tree_Forest.thy Induct/document/root.tex
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   130
	@$(ISATOOL) usedir $(OUT)/ZF Induct
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   131
12175
5cf58a1799a7 rearranged inductive package for Isar;
wenzelm
parents: 12089
diff changeset
   132
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   133
## ZF-ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   134
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   135
ZF-ex: ZF $(LOG)/ZF-ex.gz
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   136
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   137
$(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
   138
  ex/Commutation.thy ex/Group.thy ex/Limit.thy ex/LList.thy		\
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   139
  ex/Primes.thy ex/NatSum.thy ex/Ramsey.thy ex/Ring.thy ex/misc.thy
12088
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   140
	@$(ISATOOL) usedir $(OUT)/ZF ex
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   141
6f463d16cbd0 reorganization of the ZF examples
paulson
parents: 11479
diff changeset
   142
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   143
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   144
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
   145
clean:
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
   146
	@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
   147
	  $(LOG)/ZF-Constructible.gz $(LOG)/ZF-ex.gz \
b6fc6e4a0a24 added the Constructible target
paulson
parents: 13222
diff changeset
   148
          $(LOG)/ZF-IMP.gz $(LOG)/ZF-Resid.gz \
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents: 11399
diff changeset
   149
	  $(LOG)/ZF-UNITY.gz