equal
deleted
inserted
replaced
193 val sumEN_thm' = |
193 val sumEN_thm' = |
194 Local_Defs.unfold lthy @{thms all_unit_eq} |
194 Local_Defs.unfold lthy @{thms all_unit_eq} |
195 (Drule.instantiate' (map (SOME o certifyT lthy) prod_Ts) [] (mk_sumEN n)) |
195 (Drule.instantiate' (map (SOME o certifyT lthy) prod_Ts) [] (mk_sumEN n)) |
196 |> Morphism.thm phi; |
196 |> Morphism.thm phi; |
197 in |
197 in |
198 mk_exhaust_tac ctxt n ms ctr_defs fld_iff_unf_thm sumEN_thm' |
198 mk_exhaust_tac ctxt n ctr_defs fld_iff_unf_thm sumEN_thm' |
199 end; |
199 end; |
200 |
200 |
201 val inject_tacss = |
201 val inject_tacss = |
202 map2 (fn 0 => K [] |
202 map2 (fn 0 => K [] |
203 | _ => fn ctr_def => [fn {context = ctxt, ...} => |
203 | _ => fn ctr_def => [fn {context = ctxt, ...} => |