X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcore_notation.moo;h=9970c9cfb6d6d331dd4847490f399e6e197ca9fb;hb=7048db496643fc440aebc6e85dd425886bcd2e56;hp=9891129afa0d1bcf3c92102eb6cded9822f4f946;hpb=42c44d828983e4ea2d115eba20a8020b62108384;p=helm.git diff --git a/helm/software/matita/core_notation.moo b/helm/software/matita/core_notation.moo index 9891129af..9970c9cfb 100644 --- a/helm/software/matita/core_notation.moo +++ b/helm/software/matita/core_notation.moo @@ -11,6 +11,19 @@ notation > "\exists list1 ident x sep , opt (: T). term 19 Px" @{ ${ fold right @{$Px} rec acc @{'exists (λ${ident x}.$acc)} } } }. +notation < "hvbox(\Sigma ident i opt (: ty) break . p)" + right associative with precedence 20 +for @{ 'sigma ${default + @{\lambda ${ident i} : $ty. $p} + @{\lambda ${ident i} . $p}}}. + +notation > "\Sigma list1 ident x sep , opt (: T). term 19 Px" + with precedence 20 + for ${ default + @{ ${ fold right @{$Px} rec acc @{'sigma (λ${ident x}:$T.$acc)} } } + @{ ${ fold right @{$Px} rec acc @{'sigma (λ${ident x}.$acc)} } } + }. + notation "hvbox(\langle term 19 a, break term 19 b\rangle)" with precedence 90 for @{ 'pair $a $b}. @@ -155,6 +168,12 @@ for @{ 'subset (\lambda ${ident i} : $nonexistent . $p)}. notation > "hvbox({ ident i | term 19 p })" with precedence 90 for @{ 'subset (\lambda ${ident i}. $p)}. +notation < "hvbox({ ident i ∈ s | term 19 p })" with precedence 90 +for @{ 'comprehension $s (\lambda ${ident i} : $nonexistent . $p)}. + +notation > "hvbox({ ident i ∈ s | term 19 p })" with precedence 90 +for @{ 'comprehension $s (\lambda ${ident i}. $p)}. + notation "hvbox(a break ∈ b)" non associative with precedence 45 for @{ 'mem $a $b }. @@ -182,10 +201,22 @@ notation "hvbox(a break \circ b)" left associative with precedence 55 for @{ 'compose $a $b }. -notation "(a \sup b)" left associative with precedence 60 for @{ 'exp $a $b}. -notation "s \sup (-1)" with precedence 60 for @{ 'invert $s }. -notation < "s \sup (-1) x" with precedence 60 for @{ 'invert_appl $s $x}. +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 }. + +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 "hvbox(|term 90 C|)" with precedence 69 for @{ 'card $C }. notation "\naturals" non associative with precedence 90 for @{'N}. notation "\rationals" non associative with precedence 90 for @{'Q}.