]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/core_notation.moo
- cicNotationParser: added extra space to TeX control sequences accordind to previous...
[helm.git] / helm / software / matita / core_notation.moo
index ae589803f7d4dbe16a50f64ccde8da4e922b9594..3d4ad9893ff791ea73267a15520c2566c906726a 100644 (file)
@@ -52,6 +52,24 @@ notation > "\Sigma list1 ident x sep , opt (: T). term 19 Px"
           @{ ${ fold right @{$Px} rec acc @{'sigma (λ${ident x}.$acc)} } }
        }.
 
+(* equality, conguence ******************************************************)
+
+notation > "hvbox(a break = b)" 
+  non associative with precedence 45
+for @{ 'eq ? $a $b }.
+
+notation < "hvbox(term 46 a break maction (=) (=\sub t) term 46 b)" 
+  non associative with precedence 45
+for @{ 'eq $t $a $b }.
+
+notation > "hvbox(n break (≅ \sub p) m)"
+  non associative with precedence 45
+for @{ 'congruent $n $m $p }.
+
+notation < "hvbox(term 46 n break ≅ \sub p term 46 m)"
+  non associative with precedence 45
+for @{ 'congruent $n $m $p }.
+
 (* other notations **********************************************************)
 
 notation "hvbox(\langle term 19 a, break term 19 b\rangle)" 
@@ -77,13 +95,6 @@ notation < "hvbox(a break \to b)"
   right associative with precedence 20
 for @{ \Pi $_:$a.$b }.
 
-notation > "hvbox(a break = b)" 
-  non associative with precedence 45
-for @{ 'eq ? $a $b }.
-notation < "hvbox(term 46 a break maction (=) (=\sub t) term 46 b)" 
-  non associative with precedence 45
-for @{ 'eq $t $a $b }.
-
 notation "hvbox(a break \leq b)" 
   non associative with precedence 45
 for @{ 'leq $a $b }.
@@ -247,7 +258,8 @@ notation "↑a" with precedence 55 for @{ 'uparrow $a }.
 
 notation "hvbox(a break ↑ b)" with precedence 55 for @{ 'funion $a $b }.
 
-notation "a \sup term 89 b" with precedence 90 for @{ 'exp $a $b}.
+notation < "term 91 a \sup term 90 b" 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 }.