change_simp
author lcp
Fri, 21 Oct 1994 09:58:05 +0100
changeset 652 ff4d4d7fcb7f
parent 9 c1795fac88c3
permissions -rwxr-xr-x
ZF/intr_elim/elim_rls: now includes Pair_inject, since coinductive definitions may involve ordinary pairs. (HOL/intr_elim does not require this change)

#! /bin/sh
#    simp FILE1 ... FILEn
#
#  leaves previous versions as XXX~~
#
for f in $*
do
echo $f. \ Backup file is $f~~
mv $f $f~~; sed -e '
s/\<ASM_SIMP_TAC\>/asm_simp_tac/g
s/\<SIMP_TAC\>/simp_tac/g
s/\<addrews\>/addsimps/g
s/addsplits \(\[[^]]*\]\)/setloop (split_tac \1)/g
s/addsplits/setloop  split_tac/g
s/\<setauto\>/setsolver/g
' $f~~ > $f
done
echo Finished.