--- a/src/HOL/Tools/function_package/termination.ML Mon Jan 22 16:53:33 2007 +0100
+++ b/src/HOL/Tools/function_package/termination.ML Mon Jan 22 17:29:43 2007 +0100
@@ -9,7 +9,7 @@
signature FUNDEF_TERMINATION =
sig
- val mk_total_termination_goal : term -> term -> term
+ val mk_total_termination_goal : term -> term
(* val mk_partial_termination_goal : theory -> FundefCommon.result_with_names -> string -> term * term*)
end
@@ -21,9 +21,9 @@
open FundefCommon
open FundefAbbrev
-fun mk_total_termination_goal f R =
+fun mk_total_termination_goal R =
let
- val domT = domain_type (fastype_of f)
+ val domT = domain_type (fastype_of R)
val x = Free ("x", domT)
in
mk_forall x (Trueprop (mk_acc domT R $ x))