]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/lib/lambda/lambda_notation.ma
- more notation and service lemmas
[helm.git] / matita / matita / lib / lambda / lambda_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 LAMBDA CALCULUS *******************************************)
16
17 (* equivalence, invariance *)
18
19 notation "hvbox(a break ≅ b)" 
20   non associative with precedence 45
21   for @{'Eq $a $b}.
22
23 notation "hvbox(a break (≅ ^ term 90 c) b)"
24   non associative with precedence 45
25   for @{'Eq1 $c $a $b}.
26
27 notation "hbox(! term 50 a)"
28   non associative with precedence 50
29   for @{'Invariant $a}.
30
31 notation "hbox((! ^ term 90 b) term 50 a)"
32   non associative with precedence 50
33   for @{'Invariant1 $a $b}.
34
35 (* lifting, substitution *)
36
37 notation "hvbox(M break [ l ])"
38    non associative with precedence 90
39    for @{'Subst1 $M $l}.
40
41 (* interpretation *)
42
43 notation "hvbox(〚term 90 T〛)"
44    non associative with precedence 50
45    for @{'IInt $T}.
46
47 notation "hvbox(〚term 90 T〛 break _ [term 90 E])"
48    non associative with precedence 50
49    for @{'IInt1 $T $E}.
50
51 notation "hvbox(〚term 90 T〛 break _ [term 90 E1 break , term 90 E2])"
52    non associative with precedence 50
53    for @{'IInt2 $T $E1 $E2}.
54
55 notation "hvbox(《term 90 T》)"
56    non associative with precedence 50
57    for @{'EInt $T}.
58
59 notation "hvbox(《term 90 T》 break _ [term 90 E])"
60    non associative with precedence 50
61    for @{'EInt1 $T $E}.
62
63 notation "hvbox(《term 90 T》 break _ [term 90 E1 break , term 90 E2])"
64    non associative with precedence 50
65    for @{'EInt2 $T $E1 $E2}.