equal
deleted
inserted
replaced
595 val goal = Thm.term_of (Thm.cprem_of st i); (*exception Subscript*) |
595 val goal = Thm.term_of (Thm.cprem_of st i); (*exception Subscript*) |
596 val params = rev (Term.rename_wrt_term goal (Logic.strip_params goal)); |
596 val params = rev (Term.rename_wrt_term goal (Logic.strip_params goal)); |
597 in |
597 in |
598 if not (null params) then |
598 if not (null params) then |
599 (warning ("Cannot determine rule instantiation due to pending parameter(s): " ^ |
599 (warning ("Cannot determine rule instantiation due to pending parameter(s): " ^ |
600 commas_quote (map (Syntax.string_of_term ctxt o Syntax_Trans.mark_boundT) params)); |
600 commas_quote (map (Syntax.string_of_term ctxt o Syntax_Trans.mark_bound_abs) params)); |
601 Seq.single rule) |
601 Seq.single rule) |
602 else |
602 else |
603 let |
603 let |
604 val rule' = Thm.incr_indexes (maxidx + 1) rule; |
604 val rule' = Thm.incr_indexes (maxidx + 1) rule; |
605 val concl = Logic.strip_assums_concl goal; |
605 val concl = Logic.strip_assums_concl goal; |