equal
deleted
inserted
replaced
220 in add_norms(congs,ccs,new_asms) end; |
220 in add_norms(congs,ccs,new_asms) end; |
221 |
221 |
222 fun normed_rews congs = |
222 fun normed_rews congs = |
223 let val add_norms = add_norm_tags congs in |
223 let val add_norms = add_norm_tags congs in |
224 fn thm => Variable.tradeT |
224 fn thm => Variable.tradeT |
225 (K (map (add_norms o mk_trans) o maps mk_rew_rules)) (Variable.thm_context thm) [thm] |
225 (K (map (add_norms o mk_trans) o maps mk_rew_rules)) (Variable.global_thm_context thm) [thm] |
226 end; |
226 end; |
227 |
227 |
228 fun NORM norm_lhs_tac = EVERY'[rtac red2 , norm_lhs_tac, refl_tac]; |
228 fun NORM norm_lhs_tac = EVERY'[rtac red2 , norm_lhs_tac, refl_tac]; |
229 |
229 |
230 val trans_norms = map mk_trans normE_thms; |
230 val trans_norms = map mk_trans normE_thms; |