]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambda-delta/Basic-2/notation.ma
the refactoring continues ...
[helm.git] / matita / matita / contribs / lambda-delta / Basic-2 / notation.ma
diff --git a/matita/matita/contribs/lambda-delta/Basic-2/notation.ma b/matita/matita/contribs/lambda-delta/Basic-2/notation.ma
new file mode 100644 (file)
index 0000000..375d06a
--- /dev/null
@@ -0,0 +1,78 @@
+(*
+    ||M||  This file is part of HELM, an Hypertextual, Electronic
+    ||A||  Library of Mathematics, developed at the Computer Science
+    ||T||  Department of the University of Bologna, Italy.
+    ||I||
+    ||T||
+    ||A||  This file is distributed under the terms of the
+    \   /  GNU General Public License Version 2
+     \ /
+      V_______________________________________________________________ *)
+
+(* NOTATION FOR THE FORMAL SYSTEM λδ ****************************************)
+
+(* Syntax *******************************************************************)
+
+notation "hvbox( ⋆ )"
+ non associative with precedence 90
+ for @{ 'Star }.
+
+notation "hvbox( ⋆ term 90 k )"
+ non associative with precedence 90
+ for @{ 'Star $k }.
+
+notation "hvbox( 𝕚 { I } break (term 90 T1) . break (term 90 T) )"
+ non associative with precedence 90
+ for @{ 'SItem $I $T1 $T }.
+
+notation "hvbox( 𝕓 { I } break (term 90 T1) . break (term 90 T) )"
+ non associative with precedence 90
+ for @{ 'SBind $I $T1 $T }.
+
+notation "hvbox( 𝕗 { I } break (term 90 T1) . break (term 90 T) )"
+ non associative with precedence 90
+ for @{ 'SFlat $I $T1 $T }.
+
+notation "hvbox( T . break 𝕓 { I } break (term 90 T1) )"
+ non associative with precedence 89
+ for @{ 'DBind $T $I $T1 }.
+(*
+notation "hvbox( |  L  | )"
+ non associative with precedence 70
+ for @{ 'Length $L }.
+*)
+notation "hvbox( # term 90 x )"
+ non associative with precedence 90
+ for @{ 'Weight $x }.
+
+notation "hvbox( # [ x , break y ] )"
+ non associative with precedence 90
+ for @{ 'Weight $x $y }.
+
+(* Substitution *************************************************************)
+
+notation "hvbox( T1 break [ d , break e ] ≈ break T2 )"
+   non associative with precedence 45
+   for @{ 'Eq $T1 $d $e $T2 }.
+
+notation "hvbox( ↑ [ d , break e ] break T1 ≡ break T2 )"
+   non associative with precedence 45
+   for @{ 'RLift $T1 $d $e $T2 }.
+
+notation "hvbox( ↓ [ d , break e ] break L1 ≡ break L2 )"
+   non associative with precedence 45
+   for @{ 'RDrop $L1 $d $e $L2 }.
+
+notation "hvbox( L ⊢ break term 90 T1 break [ d , break e ] ≫ break T2 )"
+   non associative with precedence 45
+   for @{ 'PSubst $L $T1 $d $e $T2 }.
+
+(* Reduction ****************************************************************)
+
+notation "hvbox( T1 ⇒ break T2 )"
+   non associative with precedence 45
+   for @{ 'PRed $T1 $T2 }.
+
+notation "hvbox( L ⊢ break (term 90 T1) ⇒ break T2 )"
+   non associative with precedence 45
+   for @{ 'PRed $L $T1 $T2 }.