src/HOL/Integ/IntDef.ML
changeset 7127 48e235179ffb
parent 7010 63120b6dca50
child 7375 2cb340e66d15
--- a/src/HOL/Integ/IntDef.ML	Wed Jul 28 22:01:58 1999 +0200
+++ b/src/HOL/Integ/IntDef.ML	Thu Jul 29 12:44:57 1999 +0200
@@ -180,7 +180,7 @@
     (simpset() addsimps [zadd_ize UN_equiv_class2]) 1);
 qed "zadd";
 
-Goal "- (z + w) = - z + - (w::int)";
+Goal "- (z + w) = (- z) + (- w::int)";
 by (res_inst_tac [("z","z")] eq_Abs_Integ 1);
 by (res_inst_tac [("z","w")] eq_Abs_Integ 1);
 by (asm_simp_tac (simpset() addsimps [zminus,zadd]) 1);
@@ -612,7 +612,7 @@
 
 Goal "!!w::int. (z + w' = z + w) = (w' = w)";
 by Safe_tac;
-by (dres_inst_tac [("f", "%x. x + -z")] arg_cong 1);
+by (dres_inst_tac [("f", "%x. x + (-z)")] arg_cong 1);
 by (asm_full_simp_tac (simpset() addsimps zadd_ac) 1);
 qed "zadd_left_cancel";