author | blanchet |
Fri, 26 Aug 2011 00:19:25 +0200 | |
changeset 44505 | 2c1fc7b29c9c |
parent 44504 | 6f29df8d2007 |
child 44506 | 7e3913e70846 |
--- a/src/HOL/Tools/ATP/atp_translate.ML Fri Aug 26 00:05:45 2011 +0200 +++ b/src/HOL/Tools/ATP/atp_translate.ML Fri Aug 26 00:19:25 2011 +0200 @@ -1671,8 +1671,7 @@ else if should_generate_tag_bound_decl ctxt mono type_enc universal T then let val var = ATerm (name, []) - val tagged_var = - ATerm (type_tag, [ho_term_from_typ format type_enc T, var]) + val tagged_var = var |> tag_with_type ctxt format mono type_enc pos T in SOME (AAtom (ATerm (`I tptp_equal, [tagged_var, var]))) end else NONE