author | wenzelm |
Wed, 19 Jul 2006 12:11:56 +0200 | |
changeset 20154 | c709a29f1363 |
parent 20153 | 6ff5d35749b0 |
child 20155 | da0505518e69 |
--- a/src/HOL/Tools/function_package/fundef_lib.ML Wed Jul 19 11:55:26 2006 +0200 +++ b/src/HOL/Tools/function_package/fundef_lib.ML Wed Jul 19 12:11:56 2006 +0200 @@ -48,7 +48,7 @@ fun dest_all_all_ctx ctx (Const ("all", _) $ Abs (a as (n,T,b))) = let - val [(n', _)] = Variable.rename_wrt ctx [] [(n,T)] + val [(n', _)] = Variable.variant_frees ctx [] [(n,T)] val (_, ctx') = ProofContext.add_fixes_i [(n', SOME T, NoSyn)] ctx val (n'', body) = Term.dest_abs (n', T, b)