--- a/src/HOL/Decision_Procs/cooper_tac.ML Fri May 24 16:42:57 2013 +0200
+++ b/src/HOL/Decision_Procs/cooper_tac.ML Fri May 24 17:00:46 2013 +0200
@@ -110,7 +110,7 @@
(* The result of the quantifier elimination *)
val (th, tac) = case (prop_of pre_thm) of
Const ("==>", _) $ (Const (@{const_name Trueprop}, _) $ t1) $ _ =>
- let val pth = linzqe_oracle (cterm_of thy (Pattern.eta_long [] t1))
+ let val pth = linzqe_oracle (cterm_of thy (Envir.eta_long [] t1))
in
((pth RS iffD2) RS pre_thm,
assm_tac (i + 1) THEN (if q then I else TRY) (rtac TrueI i))