]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda-delta/Basic-2/notation.ma
d4dd5a5de69b5e24dfddf9e47fe6a5ffe6bfe1be
[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( 𝕚 { I } break (term 90 T1) . break (term 90 T) )"
28  non associative with precedence 90
29  for @{ 'SItem $I $T1 $T }.
30
31 notation "hvbox( 𝕓 { I } break (term 90 T1) . break (term 90 T) )"
32  non associative with precedence 90
33  for @{ 'SBind $I $T1 $T }.
34
35 notation "hvbox( 𝕗 { I } break (term 90 T1) . break (term 90 T) )"
36  non associative with precedence 90
37  for @{ 'SFlat $I $T1 $T }.
38
39 notation "hvbox( T . break 𝕓 { I } break (term 90 T1) )"
40  non associative with precedence 89
41  for @{ 'DBind $T $I $T1 }.
42 (*
43 notation "hvbox( |  L  | )"
44  non associative with precedence 70
45  for @{ 'Length $L }.
46 *)
47 notation "hvbox( # term 90 x )"
48  non associative with precedence 90
49  for @{ 'Weight $x }.
50
51 notation "hvbox( # [ x , break y ] )"
52  non associative with precedence 90
53  for @{ 'Weight $x $y }.
54
55 (* Substitution *************************************************************)
56
57 notation "hvbox( T1 break [ d , break e ] ≈ break T2 )"
58    non associative with precedence 45
59    for @{ 'Eq $T1 $d $e $T2 }.
60
61 notation "hvbox( ↑ [ d , break e ] break T1 ≡ break T2 )"
62    non associative with precedence 45
63    for @{ 'RLift $T1 $d $e $T2 }.
64
65 notation "hvbox( ↓ [ d , break e ] break L1 ≡ break L2 )"
66    non associative with precedence 45
67    for @{ 'RDrop $L1 $d $e $L2 }.
68
69 notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≫ break T2 )"
70    non associative with precedence 45
71    for @{ 'PSubst $L $T1 $d $e $T2 }.
72
73 (* Reduction ****************************************************************)
74
75 notation "hvbox( T1 ⇒ break T2 )"
76    non associative with precedence 45
77    for @{ 'PRed $T1 $T2 }.
78
79 notation "hvbox( L ⊢ break (term 90 T1) ⇒ break T2 )"
80    non associative with precedence 45
81    for @{ 'PRed $L $T1 $T2 }.
82
83 notation "hvbox( L1 ⊢ ⇒ break L2 )"
84    non associative with precedence 45
85    for @{ 'CPRed $L1 $L2 }.