]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/core_notation.moo
ocaml 3.09 transition
[helm.git] / helm / matita / core_notation.moo
index 9af57e4fe90b25c71a152c6b0db611a060d98a35..c30e5142c08d6380890a4d6b6e7b955636238542 100644 (file)
@@ -46,6 +46,14 @@ notation "hvbox(a break \ngtr b)"
   non associative with precedence 45
 for @{ 'ngtr $a $b }.
 
+notation "hvbox(a break \divides b)"
+  non associative with precedence 45
+for @{ 'divides $a $b }.
+
+notation "hvbox(a break \ndivides b)"
+  non associative with precedence 45
+for @{ 'ndivides $a $b }.
+
 notation "hvbox(a break + b)" 
   left associative with precedence 50
 for @{ 'plus $a $b }.
@@ -58,9 +66,9 @@ notation "hvbox(a break * b)"
   left associative with precedence 55
 for @{ 'times $a $b }.
 
-notation "hvbox(a break / b)" 
+notation "hvbox(a break \mod b)" 
   left associative with precedence 55
-for @{ 'divide $a $b }.
+for @{ 'module $a $b }.
 
 notation "\frac a b" 
   non associative with precedence 90
@@ -70,12 +78,20 @@ notation "a \over b"
   left associative with precedence 55
 for @{ 'divide $a $b }.
 
-notation "- a" 
+notation "hvbox(a break / b)" 
+  left associative with precedence 55
+for @{ 'divide $a $b }.
+
+notation > "- a" 
   right associative with precedence 60
 for @{ 'uminus $a }.
 
+notation < "- a" 
+  right associative with precedence 75
+for @{ 'uminus $a }.
+
 notation "a !"
-  left associative with precedence 65
+  non associative with precedence 80
 for @{ 'fact $a }.
 
 notation "(a \sup b)"