diff -r 3b9ef98a03d2 -r 04f7c4ce8588 Nominal/nominal_function_core.ML --- a/Nominal/nominal_function_core.ML Wed Jun 01 21:03:30 2011 +0100 +++ b/Nominal/nominal_function_core.ML Wed Jun 01 22:55:14 2011 +0100 @@ -126,8 +126,8 @@ (** building proof obligations *) fun mk_eqvt_proof_obligation qs fvar (vs, assms, arg) = mk_eqvt_at (fvar, arg) + |> curry Logic.list_implies (map prop_of assms) |> curry Term.list_all_free vs - |> curry Logic.list_implies (map prop_of assms) |> curry Term.list_abs_free qs |> strip_abs_body @@ -266,16 +266,12 @@ val ClauseContext {cqs=cqsj,ags=agsj,lhs=lhsj,case_hyp=case_hypj,...} = ctxj val lhsi_eq_lhsj = cterm_of thy (HOLogic.mk_Trueprop (mk_eq (lhsi, lhsj))) - - val _ = tracing ("eqvtsi\n" ^ cat_lines (map (Syntax.string_of_term_global thy o prop_of) eqvtsi)) - val _ = tracing ("eqvtsj\n" ^ cat_lines (map (Syntax.string_of_term_global thy o prop_of) eqvtsj)) in if j < i then let val compat = lookup_compat_thm j i cts in compat (* "!!qj qi. Gsj => Gsi => lhsj = lhsi ==> rhsj = rhsi" *) |> fold Thm.forall_elim (cqsj @ cqsi) (* "Gsj => Gsi => lhsj = lhsi ==> rhsj = rhsi" *) - |> tap (fn t => tracing ("1: " ^ Syntax.string_of_term_global thy (prop_of t))) |> fold Thm.elim_implies eqvtsj (* nominal *) |> fold Thm.elim_implies agsj |> fold Thm.elim_implies agsi @@ -287,7 +283,6 @@ in compat (* "!!qi qj. Gsi => Gsj => lhsi = lhsj ==> rhsi = rhsj" *) |> fold Thm.forall_elim (cqsi @ cqsj) (* "Gsi => Gsj => lhsi = lhsj ==> rhsi = rhsj" *) - |> tap (fn t => tracing ("2: " ^ Syntax.string_of_term_global thy (prop_of t))) |> fold Thm.elim_implies eqvtsi (* nominal *) |> fold Thm.elim_implies agsi |> fold Thm.elim_implies agsj