X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcore_notation.moo;h=f781db7de78e61015444457d444ac9429005a487;hb=39401f3f920f7117d458e92b8113eae47205d6a5;hp=b93dd98e1d79bfabcc629ae5aeeb1c62be894daf;hpb=1e1f24496beba354fb3f550496858b5755d9be0b;p=helm.git diff --git a/helm/software/matita/core_notation.moo b/helm/software/matita/core_notation.moo index b93dd98e1..f781db7de 100644 --- a/helm/software/matita/core_notation.moo +++ b/helm/software/matita/core_notation.moo @@ -1,5 +1,9 @@ (* exists *******************************************************************) +notation "hvbox(∃ _ break . p)" + with precedence 20 +for @{'exists $p }. + notation < "hvbox(\exists ident i : ty break . p)" right associative with precedence 20 for @{'exists (\lambda ${ident i} : $ty. $p) }. @@ -8,10 +12,6 @@ notation < "hvbox(\exists ident i break . p)" with precedence 20 for @{'exists (\lambda ${ident i}. $p) }. -notation "hvbox(∃ _ break . p)" - with precedence 20 -for @{'exists $p }. - (* notation < "hvbox(\exists ident i opt (: ty) break . p)" right associative with precedence 20 @@ -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 term 90 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(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 for @{ 'leq $a $b }. @@ -196,7 +207,9 @@ notation "hvbox(a break \leftrightarrow b)" for @{ 'iff $a $b }. -notation "hvbox(\Omega \sup term 90 A)" non associative with precedence 70 +notation "hvbox(\Omega \sup term 90 A)" non associative with precedence 90 +for @{ 'powerset $A }. +notation > "hvbox(\Omega ^ term 90 A)" non associative with precedence 90 for @{ 'powerset $A }. notation < "hvbox({ ident i | term 19 p })" with precedence 90 @@ -247,11 +260,12 @@ 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 > "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}. +notation < "term 76 a \sup term 90 b" non associative with precedence 75 for @{ 'exp $a $b}. +notation > "a \sup term 90 b" non associative with precedence 75 for @{ 'exp $a $b}. +notation > "a ^ term 90 b" non associative with precedence 75 for @{ 'exp $a $b}. +notation "s \sup (-1)" non associative with precedence 75 for @{ 'invert $s }. +notation > "s ^ (-1)" non associative with precedence 75 for @{ 'invert $s }. +notation < "s \sup (-1) x" non associative with precedence 90 for @{ 'invert_appl $s $x}. notation "hvbox(|term 90 C|)" with precedence 69 for @{ 'card $C }. @@ -264,7 +278,7 @@ 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 ⊩⎽ 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}.