]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/core_notation.moo
Last commit by Ferruccio reverted since it breaks the library.
[helm.git] / helm / software / matita / core_notation.moo
index 98658726a1699a40f4dfa5bb4045c56c8b920c73..fc6a15b06ab989e7af19d203cecc276bd81960c9 100644 (file)
@@ -47,9 +47,12 @@ notation < "hvbox(a break \to b)"
   right associative with precedence 20
 for @{ \Pi $_:$a.$b }.
 
-notation "hvbox(a break = b)" 
+notation "hvbox(a break = b)" 
   non associative with precedence 45
-for @{ 'eq $a $b }.
+for @{ 'eq ? $a $b }.
+notation < "hvbox(a break maction (=) (=\sub t) b)" 
+  non associative with precedence 45
+for @{ 'eq $t $a $b }.
 
 notation "hvbox(a break \leq b)" 
   non associative with precedence 45
@@ -67,9 +70,13 @@ notation "hvbox(a break \gt b)"
   non associative with precedence 45
 for @{ 'gt $a $b }.
 
-notation "hvbox(a break \neq b)" 
+notation > "hvbox(a break \neq b)" 
+  non associative with precedence 45
+for @{ 'neq ? $a $b }.
+
+notation < "hvbox(a break maction (\neq) (\neq\sub t) b)" 
   non associative with precedence 45
-for @{ 'neq $a $b }.
+for @{ 'neq $t $a $b }.
 
 notation "hvbox(a break \nleq b)" 
   non associative with precedence 45
@@ -201,7 +208,8 @@ notation "hvbox(a break \circ b)"
   left associative with precedence 55
 for @{ 'compose $a $b }.
 
-notation "↓a" with precedence 55 for @{ 'downarrow $a }.
+notation < "↓ \ensp a" with precedence 55 for @{ 'downarrow $a }.
+notation > "↓ a" with precedence 55 for @{ 'downarrow $a }.
 
 notation "hvbox(U break ↓ V)" non associative with precedence 55 for @{ 'fintersects $U $V }.
 
@@ -209,7 +217,8 @@ notation "↑a" with precedence 55 for @{ 'uparrow $a }.
 
 notation "hvbox(a break ↑ b)" with precedence 55 for @{ 'funion $a $b }.
 
-notation "a \sup b" left associative with precedence 90 for @{ 'exp $a $b}.
+notation "a \sup term 89 b" with precedence 90 for @{ 'exp $a $b}.
+notation > "a ^ term 89 b"  with precedence 90 for @{ 'exp $a $b}.
 notation "s \sup (-1)" with precedence 90 for @{ 'invert $s }.
 notation > "s ^ (-1)" with precedence 90 for @{ 'invert $s }.
 notation < "s \sup (-1) x" with precedence 90 for @{ 'invert_appl $s $x}. 
@@ -223,3 +232,13 @@ notation "\integers" non associative with precedence 90 for @{'Z}.
 notation "\complexes" non associative with precedence 90 for @{'C}.
 
 notation "\ee" with precedence 90 for @{ 'neutral }. (* ⅇ *)
+
+notation > "x ⊩ y" with precedence 45 for @{'Vdash2 $x $y ?}.
+notation > "x ⊩_term 90 c y" with precedence 45 for @{'Vdash2 $x $y $c}.
+notation "x (⊩ \sub term 90 c) y" with precedence 45 for @{'Vdash2 $x $y $c}.
+notation > "⊩ " with precedence 60 for @{'Vdash ?}.
+notation "(⊩ \sub term 90 c) " with precedence 60 for @{'Vdash $c}.
+
+notation < "maction (mstyle color #ff0000 (­…­)) (t)" 
+non associative with precedence 90 for @{'hide $t}.
+