]> matita.cs.unibo.it Git - helm.git/blob - helm/matita/core_notation.moo
added notation for: nleq, ngeq, nless, and ngtr
[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 \nleq b)" 
34   non associative with precedence 45
35 for @{ 'nleq $a $b }.
36
37 notation "hvbox(a break \ngeq b)" 
38   non associative with precedence 45
39 for @{ 'ngeq $a $b }.
40
41 notation "hvbox(a break \nless b)" 
42   non associative with precedence 45
43 for @{ 'nless $a $b }.
44
45 notation "hvbox(a break \ngtr b)" 
46   non associative with precedence 45
47 for @{ 'ngtr $a $b }.
48
49 notation "hvbox(a break + b)" 
50   left associative with precedence 50
51 for @{ 'plus $a $b }.
52
53 notation "hvbox(a break - b)" 
54   left associative with precedence 50
55 for @{ 'minus $a $b }.
56
57 notation "hvbox(a break * b)" 
58   left associative with precedence 55
59 for @{ 'times $a $b }.
60
61 notation "hvbox(a break / b)" 
62   left associative with precedence 55
63 for @{ 'divide $a $b }.
64
65 notation "\frac a b" 
66   non associative with precedence 90
67 for @{ 'divide $a $b }.
68
69 notation "a \over b" 
70   left associative with precedence 55
71 for @{ 'divide $a $b }.
72
73 notation "- a" 
74   right associative with precedence 60
75 for @{ 'uminus $a }.
76
77 notation "\sqrt a" 
78   non associative with precedence 60
79 for @{ 'sqrt $a }.
80
81 notation "hvbox(a break \lor b)" 
82   left associative with precedence 30
83 for @{ 'or $a $b }.
84
85 notation "hvbox(a break \land b)" 
86   left associative with precedence 35
87 for @{ 'and $a $b }.
88
89 notation "hvbox(\lnot a)" 
90   left associative with precedence 40
91 for @{ 'not $a }.