# HG changeset patch # User Christian Urban # Date 1265626582 -3600 # Node ID 40e3e6a6076f53dad0efc82197c77d12eb12f4dd # Parent 30550327651aa5a4ee018267de89b1cb30138a00 slightly tuned diff -r 30550327651a -r 40e3e6a6076f Quot/quotient_tacs.ML --- a/Quot/quotient_tacs.ML Mon Feb 08 11:41:25 2010 +0100 +++ b/Quot/quotient_tacs.ML Mon Feb 08 11:56:22 2010 +0100 @@ -654,10 +654,9 @@ 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 [nthm1] = ProofContext.export ctxt' ctxt [nthm] in - nthm1 + Goal.prove ctxt' [] [] goal (K (lift_tac ctxt' [thm] 1)) + |> singleton (ProofContext.export ctxt' ctxt) end; val lifted_attrib = Thm.rule_attribute lifted_attrib_aux