src/Pure/Isar/proof_context.ML
changeset 60367 e201bd8973db
parent 60242 3a8501876dba
child 60377 234b7da8542e
equal deleted inserted replaced
60366:df3e916bcd26 60367:e201bd8973db
   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;