equal
deleted
inserted
replaced
275 rule_by_tactic |
275 rule_by_tactic |
276 (basic_elim_tac THEN ALLGOALS (asm_full_simp_tac ss) THEN basic_elim_tac) |
276 (basic_elim_tac THEN ALLGOALS (asm_full_simp_tac ss) THEN basic_elim_tac) |
277 (Thm.assume A RS elim) |
277 (Thm.assume A RS elim) |
278 |> Drule.standard'; |
278 |> Drule.standard'; |
279 fun mk_cases a = make_cases (*delayed evaluation of body!*) |
279 fun mk_cases a = make_cases (*delayed evaluation of body!*) |
280 (simpset ()) (Thm.read_cterm (Thm.theory_of_thm elim) (a, propT)); |
280 (simpset ()) |
|
281 let val thy = Thm.theory_of_thm elim in cterm_of thy (Syntax.read_prop_global thy a) end; |
281 |
282 |
282 fun induction_rules raw_induct thy = |
283 fun induction_rules raw_induct thy = |
283 let |
284 let |
284 val dummy = writeln " Proving the induction rule..."; |
285 val dummy = writeln " Proving the induction rule..."; |
285 |
286 |