Fix: Auto term must apply wf-intro rules repeatedly.
--- a/src/HOL/Tools/function_package/auto_term.ML Thu May 11 10:25:55 2006 +0200
+++ b/src/HOL/Tools/function_package/auto_term.ML Thu May 11 11:11:05 2006 +0200
@@ -24,7 +24,7 @@
(resolve_tac [tc_intro_rule] 1) (* produce the usual goals *)
THEN (instantiate_tac [("R", relstr)]) (* instantiate with the given relation *)
THEN (ALLGOALS
- (fn 1 => ares_tac wf_rules 1 (* Solve wellfoundedness *)
+ (fn 1 => REPEAT (ares_tac wf_rules 1) (* Solve wellfoundedness *)
| i => asm_simp_tac ss i)) (* Simplify termination conditions *)
fun mk_termination_meth relstr ctxt =