# HG changeset patch # User blanchet # Date 1304575408 -7200 # Node ID 6efda6167e5d40ccc1471747a976718fffc49d2e # Parent 4d29b4785f435d27c1180c852d39a76638cdd14a I have an intuition that it's sound to omit the first type arg of an hAPP -- and this reduces the size of monomorphized problems quite a bit diff -r 4d29b4785f43 -r 6efda6167e5d src/HOL/Tools/Sledgehammer/sledgehammer_atp_translate.ML --- a/src/HOL/Tools/Sledgehammer/sledgehammer_atp_translate.ML Thu May 05 02:27:02 2011 +0200 +++ b/src/HOL/Tools/Sledgehammer/sledgehammer_atp_translate.ML Thu May 05 08:03:28 2011 +0200 @@ -618,10 +618,10 @@ fun explicit_app arg head = let val head_T = combtyp_of head - val (arg_T, res_T) = dest_funT head_T + val (_, res_T) = dest_funT head_T val explicit_app = CombConst (`make_fixed_const explicit_app_base, head_T --> head_T, - [arg_T, res_T]) + [res_T]) in list_app explicit_app [head, arg] end fun list_explicit_app head args = fold explicit_app args head