equal
deleted
inserted
replaced
324 by (hyp_subst_tac 1); |
324 by (hyp_subst_tac 1); |
325 by (induct_tac "ys" 1); |
325 by (induct_tac "ys" 1); |
326 by Auto_tac; |
326 by Auto_tac; |
327 bind_thm("map_cong", impI RSN (2,allI RSN (2, result() RS mp))); |
327 bind_thm("map_cong", impI RSN (2,allI RSN (2, result() RS mp))); |
328 |
328 |
329 Add_recdef_congs [map_cong]; |
|
330 |
|
331 Goal "(map f xs = []) = (xs = [])"; |
329 Goal "(map f xs = []) = (xs = [])"; |
332 by (case_tac "xs" 1); |
330 by (case_tac "xs" 1); |
333 by Auto_tac; |
331 by Auto_tac; |
334 qed "map_is_Nil_conv"; |
332 qed "map_is_Nil_conv"; |
335 AddIffs [map_is_Nil_conv]; |
333 AddIffs [map_is_Nil_conv]; |