X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcore_notation.moo;h=328274bb8926de9989bf1a4fa43bd788ff294ebf;hb=56c4e355b88aa505b64c539053aba92eb86afc2a;hp=701903d11779c01374fbb4167d014881a13836fe;hpb=c6094ab9349aaa41a8c29c5773a3e756ac819e7f;p=helm.git diff --git a/helm/software/matita/core_notation.moo b/helm/software/matita/core_notation.moo index 701903d11..328274bb8 100644 --- a/helm/software/matita/core_notation.moo +++ b/helm/software/matita/core_notation.moo @@ -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(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 }. @@ -264,7 +276,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}.