--- a/Quot/quotient_tacs.ML Mon Feb 08 10:47:19 2010 +0100
+++ b/Quot/quotient_tacs.ML Mon Feb 08 11:41:25 2010 +0100
@@ -653,8 +653,8 @@
let
val ctxt = Context.proof_of context
val ((_, [thm']), ctxt') = Variable.import false [thm] ctxt
- val goal = (quotient_lift_all ctxt o prop_of) thm'
- val nthm = Goal.prove ctxt [] [] goal (fn x => lift_tac ctxt [thm] 1)
+ val goal = (quotient_lift_all ctxt' o prop_of) thm'
+ val nthm = Goal.prove ctxt' [] [] goal (fn x => lift_tac ctxt' [thm] 1)
val [nthm1] = ProofContext.export ctxt' ctxt [nthm]
in
nthm1