src/ZF/IsaMakefile
author wenzelm
Sat, 09 Jul 2011 21:53:27 +0200
changeset 43721 fad8634cee62
parent 42138 e54a985daa61
child 44147 f3058e539e3a
permissions -rw-r--r--
echo prover input via raw_messages, for improved protocol tracing;
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
42138
e54a985daa61 added make target 'smlnj' to refer to what can/should be tested using smlnj -- allows the use of "isabelle makeall smlnj";
krauss
parents: 37781
diff changeset
    13
smlnj: all
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    14
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    15
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    16
## global settings
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    17
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    18
SRC = $(ISABELLE_HOME)/src
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3057
diff changeset
    19
OUT = $(ISABELLE_OUTPUT)
4447
b7ee449eb345 log files;
wenzelm
parents: 3505
diff changeset
    20
LOG = $(OUT)/log
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    21
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    22
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    23
## ZF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    24
27203
9f02853e3f5b removed obsolete ML_SUFFIX;
wenzelm
parents: 26056
diff changeset
    25
ZF: FOL $(OUT)/ZF
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    26
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    27
FOL:
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    28
	@cd $(SRC)/FOL; $(ISABELLE_TOOL) make FOL
2500
777c90aa20b2 IsaMakefile for ZF;
wenzelm
parents:
diff changeset
    29
37781
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    30
$(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
    31
  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
    32
  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
    33
  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
    34
  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
    35
  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
    36
  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
    37
  Sum.thy Tools/cartprod.ML Tools/datatype_package.ML			\
2fbbf0a48cef moved misc legacy stuff from OldGoals to Misc_Legacy;
wenzelm
parents: 36862
diff changeset
    38
  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
    39
  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
    40
  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
    41
  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
    42
  simpdata.ML upair.thy
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    43
	@$(ISABELLE_TOOL) usedir -b -g true -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
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    55
	@$(ISABELLE_TOOL) 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
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    65
	@$(ISABELLE_TOOL) 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
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    83
	@$(ISABELLE_TOOL) 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
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
    93
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF IMP
11479
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
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
   103
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF Resid
11479
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
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
   117
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF UNITY
11479
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
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
   130
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF Induct
12088
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
28500
4b79e5d3d0aa replaced ISATOOL by ISABELLE_TOOL;
wenzelm
parents: 28297
diff changeset
   140
	@$(ISABELLE_TOOL) usedir $(OUT)/ZF ex
12088
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:
33450
4389ec600ba7 more accurate cleanup;
wenzelm
parents: 28500
diff changeset
   146
	@rm -f $(OUT)/ZF $(LOG)/ZF.gz $(LOG)/ZF-AC.gz		\
4389ec600ba7 more accurate cleanup;
wenzelm
parents: 28500
diff changeset
   147
	  $(LOG)/ZF-Coind.gz $(LOG)/ZF-Constructible.gz		\
4389ec600ba7 more accurate cleanup;
wenzelm
parents: 28500
diff changeset
   148
	  $(LOG)/ZF-ex.gz $(LOG)/ZF-IMP.gz $(LOG)/ZF-Induct.gz	\
4389ec600ba7 more accurate cleanup;
wenzelm
parents: 28500
diff changeset
   149
	  $(LOG)/ZF-Resid.gz $(LOG)/ZF-UNITY.gz