equal
deleted
inserted
replaced
381 val params = Logic.strip_params Bi |
381 val params = Logic.strip_params Bi |
382 (* params of subgoal i as string typ pairs *) |
382 (* params of subgoal i as string typ pairs *) |
383 val params = rev(Term.rename_wrt_term Bi params) |
383 val params = rev(Term.rename_wrt_term Bi params) |
384 (* as they are printed: bound variables with *) |
384 (* as they are printed: bound variables with *) |
385 (* the same name are renamed during printing *) |
385 (* the same name are renamed during printing *) |
386 fun types' (a, ~1) = (case assoc (params, a) of |
386 fun types' (a, ~1) = (case AList.lookup (op =) params a of |
387 NONE => types (a, ~1) |
387 NONE => types (a, ~1) |
388 | some => some) |
388 | some => some) |
389 | types' xi = types xi; |
389 | types' xi = types xi; |
390 fun internal x = is_some (types' (x, ~1)); |
390 fun internal x = is_some (types' (x, ~1)); |
391 val used = Drule.add_used thm (Drule.add_used st []); |
391 val used = Drule.add_used thm (Drule.add_used st []); |