equal
deleted
inserted
replaced
67 |
67 |
68 val ss = (!simpset) addsimps [inj_is_fun RS apply_type, left_inverse] |
68 val ss = (!simpset) addsimps [inj_is_fun RS apply_type, left_inverse] |
69 setloop (split_tac [expand_if] ORELSE' etac UnE); |
69 setloop (split_tac [expand_if] ORELSE' etac UnE); |
70 |
70 |
71 goal upair.thy "{x, y} - {y} = {x} - {y}"; |
71 goal upair.thy "{x, y} - {y} = {x} - {y}"; |
72 by (fast_tac eq_cs 1); |
72 by (Fast_tac 1); |
73 val double_Diff_sing = result(); |
73 val double_Diff_sing = result(); |
74 |
74 |
75 goal upair.thy "if({y,z}-{z}=0, z, THE w. {y,z}-{z}={w}) = y"; |
75 goal upair.thy "if({y,z}-{z}=0, z, THE w. {y,z}-{z}={w}) = y"; |
76 by (split_tac [expand_if] 1); |
76 by (split_tac [expand_if] 1); |
77 by (asm_full_simp_tac (!simpset addsimps [double_Diff_sing, Diff_eq_0_iff]) 1); |
77 by (asm_full_simp_tac (!simpset addsimps [double_Diff_sing, Diff_eq_0_iff]) 1); |