]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/lib/lambda/lambda_notation.ma
- notation is now in a separate file
[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 (* lifting, substitution *)
18
19 notation "hvbox(M break [ l ])"
20    non associative with precedence 90
21    for @{'Subst1 $M $l}.
22
23 (* evaluation, interpretation *)
24
25 notation "hvbox(〚term 90 T〛)"
26    non associative with precedence 50
27    for @{'Eval $T}.
28
29 notation "hvbox(〚term 90 T〛 break _ [term 90 E])"
30    non associative with precedence 50
31    for @{'Eval1 $T $E}.
32
33 notation "hvbox(〚term 90 T〛 break _ [term 90 E1 break , term 90 E2])"
34    non associative with precedence 50
35    for @{'Eval2 $T $E1 $E2}.