]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda-delta/Basic-2/notation.ma
the refactoring continues ...
[helm.git] / matita / matita / contribs / lambda-delta / Basic-2 / notation.ma
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic
3     ||A||  Library of Mathematics, developed at the Computer Science
4     ||T||  Department of the University of Bologna, Italy.
5     ||I||
6     ||T||
7     ||A||  This file is distributed under the terms of the
8     \   /  GNU General Public License Version 2
9      \ /
10       V_______________________________________________________________ *)
11
12 (* NOTATION FOR THE FORMAL SYSTEM λδ ****************************************)
13
14 (* Syntax *******************************************************************)
15
16 notation "hvbox( ⋆ )"
17  non associative with precedence 90
18  for @{ 'Star }.
19
20 notation "hvbox( ⋆ term 90 k )"
21  non associative with precedence 90
22  for @{ 'Star $k }.
23
24 notation "hvbox( 𝕚 { I } break (term 90 T1) . break (term 90 T) )"
25  non associative with precedence 90
26  for @{ 'SItem $I $T1 $T }.
27
28 notation "hvbox( 𝕓 { I } break (term 90 T1) . break (term 90 T) )"
29  non associative with precedence 90
30  for @{ 'SBind $I $T1 $T }.
31
32 notation "hvbox( 𝕗 { I } break (term 90 T1) . break (term 90 T) )"
33  non associative with precedence 90
34  for @{ 'SFlat $I $T1 $T }.
35
36 notation "hvbox( T . break 𝕓 { I } break (term 90 T1) )"
37  non associative with precedence 89
38  for @{ 'DBind $T $I $T1 }.
39 (*
40 notation "hvbox( |  L  | )"
41  non associative with precedence 70
42  for @{ 'Length $L }.
43 *)
44 notation "hvbox( # term 90 x )"
45  non associative with precedence 90
46  for @{ 'Weight $x }.
47
48 notation "hvbox( # [ x , break y ] )"
49  non associative with precedence 90
50  for @{ 'Weight $x $y }.
51
52 (* Substitution *************************************************************)
53
54 notation "hvbox( T1 break [ d , break e ] ≈ break T2 )"
55    non associative with precedence 45
56    for @{ 'Eq $T1 $d $e $T2 }.
57
58 notation "hvbox( ↑ [ d , break e ] break T1 ≡ break T2 )"
59    non associative with precedence 45
60    for @{ 'RLift $T1 $d $e $T2 }.
61
62 notation "hvbox( ↓ [ d , break e ] break L1 ≡ break L2 )"
63    non associative with precedence 45
64    for @{ 'RDrop $L1 $d $e $L2 }.
65
66 notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≫ break T2 )"
67    non associative with precedence 45
68    for @{ 'PSubst $L $T1 $d $e $T2 }.
69
70 (* Reduction ****************************************************************)
71
72 notation "hvbox( T1 ⇒ break T2 )"
73    non associative with precedence 45
74    for @{ 'PRed $T1 $T2 }.
75
76 notation "hvbox( L ⊢ break (term 90 T1) ⇒ break T2 )"
77    non associative with precedence 45
78    for @{ 'PRed $L $T1 $T2 }.