]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/Basic_2/notation.ma
36f9f765294632f4ee1df6ab3d9e24acad4f8b16
[helm.git] / matita / matita / contribs / lambda_delta / Basic_2 / notation.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 (* NOTATION FOR THE FORMAL SYSTEM λδ ****************************************)
16
17 (* Grammar ******************************************************************)
18
19 notation "hvbox( ⋆ )"
20  non associative with precedence 90
21  for @{ 'Star }.
22
23 notation "hvbox( ⋆ term 90 k )"
24  non associative with precedence 90
25  for @{ 'Star $k }.
26
27 notation "hvbox( # term 90 i )"
28  non associative with precedence 90
29  for @{ 'LRef $i }.
30
31 notation "hvbox( § term 90 p )"
32  non associative with precedence 90
33  for @{ 'GRef $p }.
34
35 notation "hvbox( 𝕒 )"
36  non associative with precedence 90
37  for @{ 'SItem }.
38
39 notation "hvbox( 𝕒 { I } )"
40  non associative with precedence 90
41  for @{ 'SItem $I }.
42
43 notation "hvbox( 𝕔 term 90 T1 . break term 90 T )"
44  non associative with precedence 90
45  for @{ 'SItem $T1 $T }.
46
47 notation "hvbox( 𝕔 { I } break term 90 T1 . break term 90 T )"
48  non associative with precedence 90
49  for @{ 'SItem $I $T1 $T }.
50
51 notation "hvbox( 𝕓 { I } break term 90 T1 . break term 90 T )"
52  non associative with precedence 90
53  for @{ 'SBind $I $T1 $T }.
54
55 notation "hvbox( 𝕗 { I } break term 90 T1 . break term 90 T )"
56  non associative with precedence 90
57  for @{ 'SFlat $I $T1 $T }.
58
59 notation "hvbox( Ⓐ term 90 T1 . break term 90 T )"
60  non associative with precedence 90
61  for @{ 'ApplV $T1 $T }.
62
63 notation "hvbox( T . break 𝕓 { I } break term 90 T1 )"
64  non associative with precedence 89
65  for @{ 'DBind $T $I $T1 }.
66 (*
67 notation > "hvbox( T . break 𝕔 { I } break term 90 T1 )"
68  non associative with precedence 89
69  for @{ 'DBind $T $I $T1 }.
70 *) (**) (* this breaks all parsing *)
71 notation "hvbox( # [ x ] )"
72  non associative with precedence 90
73  for @{ 'Weight $x }.
74
75 notation "hvbox( # [ x , break y ] )"
76  non associative with precedence 90
77  for @{ 'Weight $x $y }.
78
79 notation "hvbox( 𝕊 [ T ] )"
80    non associative with precedence 45
81    for @{ 'Simple $T }.
82
83 notation "hvbox( T1 break [ d , break e ] ≼ break T2 )"
84    non associative with precedence 45
85    for @{ 'SubEq $T1 $d $e $T2 }.
86
87 (* Substitution *************************************************************)
88
89 notation "hvbox( ⇑ [ d , break e ] break T1 ≡ break T2 )"
90    non associative with precedence 45
91    for @{ 'RLift $d $e $T1 $T2 }.
92
93 notation "hvbox( ⇓ [ d , break e ] break L1 ≡ break L2 )"
94    non associative with precedence 45
95    for @{ 'RLDrop $d $e $L1 $L2 }.
96
97 notation "hvbox( T1 break [ d , break e ] ≫ break T2 )"
98    non associative with precedence 45
99    for @{ 'PSubst $T1 $d $e $T2 }.
100
101 notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≫ break T2 )"
102    non associative with precedence 45
103    for @{ 'PSubst $L $T1 $d $e $T2 }.
104
105 (* Unfold *******************************************************************)
106
107 notation "hvbox( ⇑ [ e ] break T1 ≡ break T2 )"
108    non associative with precedence 45
109    for @{ 'RLift $e $T1 $T2 }.
110
111 notation "hvbox( ⇓ [ e ] break L1 ≡ break L2 )"
112    non associative with precedence 45
113    for @{ 'RLDrop $e $L1 $L2 }.
114
115 notation "hvbox( T1 break [ d , break e ] ≫* break T2 )"
116    non associative with precedence 45
117    for @{ 'PSubstStar $T1 $d $e $T2 }.
118
119 notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≫* break T2 )"
120    non associative with precedence 45
121    for @{ 'PSubstStar $L $T1 $d $e $T2 }.
122
123 notation "hvbox( T1 break [ d , break e ] ≡ break T2 )"
124    non associative with precedence 45
125    for @{ 'TSubst $T1 $d $e $T2 }.
126
127 notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≡ break T2 )"
128    non associative with precedence 45
129    for @{ 'TSubst $L $T1 $d $e $T2 }.
130
131 (* Static Typing ************************************************************)
132
133 notation "hvbox( L ⊢ break term 90 T ÷ break A )"
134    non associative with precedence 45
135    for @{ 'AtomicArity $L $T $A }.
136
137 (* Reducibility *************************************************************)
138
139 notation "hvbox( ℝ [ T ] )"
140    non associative with precedence 45
141    for @{ 'Reducible $T }.
142
143 notation "hvbox( L ⊢ ℝ [ T ] )"
144    non associative with precedence 45
145    for @{ 'Reducible $L $T }.
146
147 notation "hvbox( 𝕀 [ T ] )"
148    non associative with precedence 45
149    for @{ 'NotReducible $T }.
150
151 notation "hvbox( L ⊢ 𝕀 [ T ] )"
152    non associative with precedence 45
153    for @{ 'NotReducible $L $T }.
154
155 notation "hvbox( ℕ [ T ] )"
156    non associative with precedence 45
157    for @{ 'Normal $T }.
158
159 notation "hvbox( L ⊢ ℕ [ T ] )"
160    non associative with precedence 45
161    for @{ 'Normal $L $T }.
162
163 notation "hvbox( 𝕎ℍℝ [ T ] )"
164    non associative with precedence 45
165    for @{ 'WHdReducible $T }.
166
167 notation "hvbox( L ⊢ 𝕎ℍℝ [ T ] )"
168    non associative with precedence 45
169    for @{ 'WHdReducible $L $T }.
170
171 notation "hvbox( 𝕎ℍ𝕀 [ T ] )"
172    non associative with precedence 45
173    for @{ 'NotWHdReducible $T }.
174
175 notation "hvbox( L ⊢ 𝕎ℍ𝕀 [ T ] )"
176    non associative with precedence 45
177    for @{ 'NotWHdReducible $L $T }.
178
179 notation "hvbox( 𝕎ℍℕ [ T ] )"
180    non associative with precedence 45
181    for @{ 'WHdNormal $T }.
182
183 notation "hvbox( L ⊢ 𝕎ℍℕ [ T ] )"
184    non associative with precedence 45
185    for @{ 'WHdNormal $L $T }.
186
187 notation "hvbox( T1 ⇒ break T2 )"
188    non associative with precedence 45
189    for @{ 'PRed $T1 $T2 }.
190
191 notation "hvbox( L ⊢ break term 90 T1 ⇒ break T2 )"
192    non associative with precedence 45
193    for @{ 'PRed $L $T1 $T2 }.
194
195 notation "hvbox( L1 ⊢ ⇒ break L2 )"
196    non associative with precedence 45
197    for @{ 'CPRed $L1 $L2 }.
198
199 (* Computation **************************************************************)
200
201 notation "hvbox( T1 ⇒* break T2 )"
202    non associative with precedence 45
203    for @{ 'PRedStar $T1 $T2 }.
204
205 notation "hvbox( L ⊢ break term 90 T1 ⇒* break T2 )"
206    non associative with precedence 45
207    for @{ 'PRedStar $L $T1 $T2 }.
208
209 notation "hvbox( L1 ⊢ ⇒* break L2 )"
210    non associative with precedence 45
211    for @{ 'CPRedStar $L1 $L2 }.
212
213 notation "hvbox( ⇓ T  )"
214    non associative with precedence 45
215    for @{ 'SN $T }.
216
217 notation "hvbox( L ⊢ ⇓ T )"
218    non associative with precedence 45
219    for @{ 'SN $L $T }.
220
221 notation "hvbox( ⦃ L, break T ⦄ break [ R ] ϵ break 〚 A 〛 )"
222    non associative with precedence 45
223    for @{ 'InEInt $R $L $T $A }.
224
225 notation "hvbox( T1 break [ R ] ⊑ break T2 )"
226    non associative with precedence 45
227    for @{ 'CrSubEq $T1 $R $T2 }.
228
229 (* Functional ***************************************************************)
230
231 notation "hvbox( ↑ [ d , break e ] break T )"
232    non associative with precedence 55
233    for @{ 'Lift $d $e $T }.
234
235 notation "hvbox( [ d ← break V ] break T )"
236    non associative with precedence 55
237    for @{ 'Subst $V $d $T }.
238