# HG changeset patch # User wenzelm # Date 1258923891 -3600 # Node ID 91f3fc0364cf0dceb1124c354d4978fa8f1c69b1 # Parent 813b091dd63bd4ac35ad6bd2c20abb3d4a9bd52f made SML/NJ happy; diff -r 813b091dd63b -r 91f3fc0364cf src/HOLCF/Tools/Domain/domain_isomorphism.ML --- a/src/HOLCF/Tools/Domain/domain_isomorphism.ML Sun Nov 22 14:59:27 2009 +0100 +++ b/src/HOLCF/Tools/Domain/domain_isomorphism.ML Sun Nov 22 22:04:51 2009 +0100 @@ -519,7 +519,9 @@ @{thms conjI isodefl_ID_REP} @ isodefl_abs_rep_thms @ IsodeflData.get thy; - fun tacf {prems, ...} = EVERY + in + Goal.prove_global thy [] assms goal (fn {prems, ...} => + EVERY [simp_tac (HOL_basic_ss addsimps start_thms) 1, (* FIXME: how reliable is unification here? *) (* Maybe I should instantiate the rule. *) @@ -529,9 +531,7 @@ simp_tac beta_ss 1, simp_tac (HOL_basic_ss addsimps @{thms fst_conv snd_conv}) 1, REPEAT (etac @{thm conjE} 1), - REPEAT (resolve_tac (isodefl_rules @ prems) 1 ORELSE atac 1)]; - in - Goal.prove_global thy [] assms goal tacf + REPEAT (resolve_tac (isodefl_rules @ prems) 1 ORELSE atac 1)]) end; val isodefl_binds = map (Binding.prefix_name "isodefl_") dom_binds; fun conjuncts [] thm = []