From: Claudio Sacerdoti Coen Date: Mon, 12 Dec 2011 23:13:43 +0000 (+0000) Subject: precedence level of if-then-else fixed X-Git-Tag: make_still_working~2020 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=f4ebfe340aee37d1a2eb92706c1220b3294c8840;p=helm.git precedence level of if-then-else fixed --- diff --git a/matita/matita/lib/basics/bool.ma b/matita/matita/lib/basics/bool.ma index 7e874f412..98b14ad29 100644 --- a/matita/matita/lib/basics/bool.ma +++ b/matita/matita/lib/basics/bool.ma @@ -82,9 +82,9 @@ definition xorb : bool → bool → bool ≝ [ true ⇒ match b2 with [ true ⇒ false | false ⇒ true ] | false ⇒ match b2 with [ true ⇒ true | false ⇒ false ]]. -notation > "'if' term 19 e 'then' term 19 t 'else' term 19 f" non associative with precedence 19 +notation > "'if' term 46 e 'then' term 46 t 'else' term 46 f" non associative with precedence 46 for @{ match $e in bool with [ true ⇒ $t | false ⇒ $f] }. -notation < "hvbox('if' \nbsp term 19 e \nbsp break 'then' \nbsp term 19 t \nbsp break 'else' \nbsp term 48 f \nbsp)" non associative with precedence 19 +notation < "hvbox('if' \nbsp term 46 e \nbsp break 'then' \nbsp term 46 t \nbsp break 'else' \nbsp term 49 f \nbsp)" non associative with precedence 46 for @{ match $e with [ true ⇒ $t | false ⇒ $f] }. theorem bool_to_decidable_eq: