equal
deleted
inserted
replaced
933 |
933 |
934 local |
934 local |
935 |
935 |
936 fun comp_hhf_tac ctxt th i st = |
936 fun comp_hhf_tac ctxt th i st = |
937 PRIMSEQ (Thm.bicompose (SOME ctxt) {flatten = true, match = false, incremented = true} |
937 PRIMSEQ (Thm.bicompose (SOME ctxt) {flatten = true, match = false, incremented = true} |
938 (false, Drule.lift_all (Thm.cprem_of st i) th, 0) i) st; |
938 (false, Drule.lift_all ctxt (Thm.cprem_of st i) th, 0) i) st; |
939 |
939 |
940 fun comp_incr_tac _ [] _ = no_tac |
940 fun comp_incr_tac _ [] _ = no_tac |
941 | comp_incr_tac ctxt (th :: ths) i = |
941 | comp_incr_tac ctxt (th :: ths) i = |
942 (fn st => comp_hhf_tac ctxt (Drule.incr_indexes st th) i st) APPEND |
942 (fn st => comp_hhf_tac ctxt (Drule.incr_indexes st th) i st) APPEND |
943 comp_incr_tac ctxt ths i; |
943 comp_incr_tac ctxt ths i; |