src/LCF/ex/Ex2.ML
author wenzelm
Fri, 25 Nov 2005 21:14:34 +0100
changeset 18260 5597cfcecd49
parent 17878 5b9efe4d6b47
permissions -rw-r--r--
tuned induct proofs;


(* $Id$ *)

Addsimps [F_strict,K];

Goal "ALL x. F(H(x::'a,y::'b)) = H(x,F(y))";
by (stac H 1);
by (induct_tac "K::('a=>'b=>'b)=>('a=>'b=>'b)" 1);
by (Simp_tac 1);
by (asm_simp_tac (simpset() setloop (split_tac [COND_cases_iff])) 1);
qed "example";