author | wenzelm |
Wed, 27 Apr 2011 14:11:37 +0200 | |
changeset 42485 | 4faf82d12b19 |
parent 42484 | 2777a27506d0 |
child 42486 | 01b03a124b81 |
src/Pure/conv.ML | file | annotate | diff | comparison | revisions |
--- a/src/Pure/conv.ML Wed Apr 27 13:21:12 2011 +0200 +++ b/src/Pure/conv.ML Wed Apr 27 14:11:37 2011 +0200 @@ -93,7 +93,7 @@ (case Thm.term_of ct of Abs (x, _, _) => let - val ([u], ctxt') = Variable.variant_fixes ["u"] ctxt; + val (u, ctxt') = yield_singleton Variable.variant_fixes Name.uu ctxt; val (v, ct') = Thm.dest_abs (SOME u) ct; val eq = cv (v, ctxt') ct'; in if Thm.is_reflexive eq then all_conv ct else Thm.abstract_rule x v eq end