INSTALLATION OF INDUCTIVE DEFINITIONS
HOL/Sexp, List, LList: updated for inductive defs; streamlined proofs
HOL/List, Subst/UTerm, ex/Simult, ex/Term: updated refs to Sexp intr rules
HOL/Univ/diag_eqI: new
HOL/intr_elim: now checks that the inductive name does not clash with
existing theory names
HOL/Sum: now type + is an infixr, to agree with type *
HOL/Set: added Pow and the derived rules PowI, PowD, Pow_bottom, Pow_top
HOL/Fun/set_cs: now includes Pow rules
HOL/mono/Pow_mono: new
HOL/Makefile: now has Inductive.thy,.ML and ex/Acc.thy,.ML
HOL/Sexp,List,LList,ex/Term: converted as follows
node *set -> item
Sexp -> sexp
LList_corec -> <self>
LList_ -> llist_
LList\> -> llist
List_case -> <self>
List_rec -> <self>
List_ -> list_
List\> -> list
Term_rec -> <self>
Term_ -> term_
Term\> -> term
#########################################################################
# #
# Makefile for Isabelle (HOL) #
# #
#########################################################################
#To make the system, cd to this directory and type
# make -f Makefile
#To make the system and test it on standard examples, type
# make -f Makefile test
#Environment variable ISABELLECOMP specifies the compiler.
#Environment variable ISABELLEBIN specifies the destination directory.
#For Poly/ML, ISABELLEBIN must begin with a /
#Makes pure Isabelle (Pure) if this file is ABSENT -- but not
#if it is out of date, since this Makefile does not know its dependencies!
BIN = $(ISABELLEBIN)
COMP = $(ISABELLECOMP)
FILES = ROOT.ML HOL.thy HOL.ML simpdata.ML Ord.thy Ord.ML \
Set.thy Set.ML Fun.thy Fun.ML subset.thy subset.ML \
equalities.thy equalities.ML \
Prod.thy Prod.ML Sum.thy Sum.ML WF.thy WF.ML \
mono.thy mono.ML Lfp.thy Lfp.ML Gfp.thy Gfp.ML Nat.thy Nat.ML \
add_ind_def.ML ind_syntax.ML indrule.ML Inductive.ML \
intr_elim.ML Datatype.ML ../Pure/section_utils.ML\
Finite.ML Finite.thy\
Arith.thy Arith.ML Sexp.thy Sexp.ML Univ.thy Univ.ML \
LList.thy LList.ML List.thy List.ML \
../Provers/classical.ML ../Provers/simplifier.ML \
../Provers/splitter.ML ../Provers/ind.ML
EX_FILES = ex/ROOT.ML ex/cla.ML \
ex/LexProd.ML ex/LexProd.thy ex/meson.ML ex/mesontest.ML\
ex/MT.ML ex/MT.thy ex/Acc.ML ex/Acc.thy \
ex/PL.ML ex/PL.thy ex/Puzzle.ML ex/Puzzle.thy\
ex/Qsort.thy ex/Qsort.ML\
ex/Rec.ML ex/Rec.thy ex/rel.ML ex/set.ML ex/Simult.ML ex/Simult.thy\
ex/Term.ML ex/Term.thy
SUBST_FILES = Subst/ROOT.ML Subst/AList.ML Subst/AList.thy\
Subst/Setplus.ML Subst/Setplus.thy\
Subst/Subst.ML Subst/Subst.thy\
Subst/Unifier.ML Subst/Unifier.thy\
Subst/UTerm.ML Subst/UTerm.thy\
Subst/UTLemmas.ML Subst/UTLemmas.thy
$(BIN)/HOL: $(BIN)/Pure $(FILES)
if [ -d $${ISABELLEBIN:?}/Pure ];\
then echo Bad value for ISABELLEBIN: \
$(BIN) is the Isabelle source directory; \
exit 1; \
fi;\
case "$(COMP)" in \
poly*) echo 'make_database"$(BIN)/HOL"; quit();' \
| $(COMP) $(BIN)/Pure;\
echo 'open PolyML; use"ROOT";' | $(COMP) $(BIN)/HOL ;;\
sml*) echo 'use"ROOT.ML"; xML"$(BIN)/HOL" banner;' | $(BIN)/Pure ;;\
*) echo Bad value for ISABELLECOMP: \
$(COMP) is not poly or sml;;\
esac
$(BIN)/Pure:
cd ../Pure; $(MAKE)
#Directory Subst also tests the system
#Load ex/ROOT.ML last since it creates the file "test"
test: $(BIN)/HOL $(SUBST_FILES) $(EX_FILES)
case "$(COMP)" in \
poly*) echo 'use"Subst/ROOT.ML"; use"ex/ROOT.ML"; quit();' \
| $(COMP) $(BIN)/HOL ;;\
sml*) echo 'use"Subst/ROOT.ML"; use"ex/ROOT.ML";' | $(BIN)/HOL;;\
*) echo Bad value for ISABELLECOMP: \
$(COMP) is not poly or sml;;\
esac
.PRECIOUS: $(BIN)/Pure $(BIN)/HOL