increased precedence of unary minus from 80 to 100
authorpaulson
Mon, 02 Nov 1998 12:35:14 +0100
changeset 5786 9a2c90bdadfe
parent 5785 e58bb0f57c0c
child 5787 4e5c74b7cd9e
increased precedence of unary minus from 80 to 100
src/HOL/HOL.thy
src/HOL/ex/set.ML
--- a/src/HOL/HOL.thy	Sat Oct 31 12:46:21 1998 +0100
+++ b/src/HOL/HOL.thy	Mon Nov 02 12:35:14 1998 +0100
@@ -70,7 +70,7 @@
 consts
   "+"           :: ['a::plus, 'a]  => 'a            (infixl 65)
   "-"           :: ['a::minus, 'a] => 'a            (infixl 65)
-  uminus        :: ['a::minus] => 'a                ("- _" [80] 80)
+  uminus        :: ['a::minus] => 'a                ("- _" [100] 100)
   "*"           :: ['a::times, 'a] => 'a            (infixl 70)
   (*See Nat.thy for "^"*)
 
--- a/src/HOL/ex/set.ML	Sat Oct 31 12:46:21 1998 +0100
+++ b/src/HOL/ex/set.ML	Mon Nov 02 12:35:14 1998 +0100
@@ -129,7 +129,7 @@
 by (fast_tac (claset() addEs  [inj_onD, f_eq_gE]) 1);
 qed "bij_if_then_else";
 
-Goal "!!f:: 'a=>'b.  ? X. X = - (g``(- f``X))";
+Goal "? X. X = - (g``(- (f``X)))";
 by (rtac exI 1);
 by (rtac lfp_Tarski 1);
 by (REPEAT (ares_tac [monoI, image_mono, Compl_anti_mono] 1));