]> matita.cs.unibo.it Git - helm.git/blob - helm/matita/core_notation.moo
fixed parsing of --x=x ("'uminus" is now right associative)
[helm.git] / helm / matita / core_notation.moo
1 notation "hvbox(a break \to b)" 
2   right associative with precedence 20
3 for @{ \forall $_:$a.$b }.
4
5 notation < "hvbox(a break \to b)" 
6   right associative with precedence 20
7 for @{ \Pi $_:$a.$b }.
8
9 notation "hvbox(a break = b)" 
10   non associative with precedence 45
11 for @{ 'eq $a $b }.
12
13 notation "hvbox(a break \leq b)" 
14   non associative with precedence 45
15 for @{ 'leq $a $b }.
16
17 notation "hvbox(a break \geq b)" 
18   non associative with precedence 45
19 for @{ 'geq $a $b }.
20
21 notation "hvbox(a break \lt b)" 
22   non associative with precedence 45
23 for @{ 'lt $a $b }.
24
25 notation "hvbox(a break \gt b)" 
26   non associative with precedence 45
27 for @{ 'gt $a $b }.
28
29 notation "hvbox(a break \neq b)" 
30   non associative with precedence 45
31 for @{ 'neq $a $b }.
32
33 notation "hvbox(a break + b)" 
34   left associative with precedence 50
35 for @{ 'plus $a $b }.
36
37 notation "hvbox(a break - b)" 
38   left associative with precedence 50
39 for @{ 'minus $a $b }.
40
41 notation "hvbox(a break * b)" 
42   left associative with precedence 55
43 for @{ 'times $a $b }.
44
45 notation "hvbox(a break / b)" 
46   left associative with precedence 55
47 for @{ 'divide $a $b }.
48
49 notation "\frac a b" 
50   non associative with precedence 90
51 for @{ 'divide $a $b }.
52
53 notation "a \over b" 
54   left associative with precedence 55
55 for @{ 'divide $a $b }.
56
57 notation "- a" 
58   right associative with precedence 60
59 for @{ 'uminus $a }.
60
61 notation "\sqrt a" 
62   non associative with precedence 60
63 for @{ 'sqrt $a }.
64
65 notation "hvbox(a break \lor b)" 
66   left associative with precedence 30
67 for @{ 'or $a $b }.
68
69 notation "hvbox(a break \land b)" 
70   left associative with precedence 35
71 for @{ 'and $a $b }.
72
73 notation "hvbox(\lnot a)" 
74   left associative with precedence 40
75 for @{ 'not $a }.