]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/substitution/prelift_label.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / substitution / prelift_label.ma
diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/substitution/prelift_label.ma b/matita/matita/contribs/lambdadelta/delayed_updating/substitution/prelift_label.ma
new file mode 100644 (file)
index 0000000..e4a9c05
--- /dev/null
@@ -0,0 +1,54 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+include "delayed_updating/notation/functions/uparrow_2.ma".
+include "delayed_updating/syntax/label.ma".
+include "ground/relocation/tr_pap.ma".
+
+(* PRELIFT FOR LABEL ********************************************************)
+
+definition prelift_label (f) (l): label ā‰
+match l with
+[ label_d n ā‡’ š—±(fļ¼ ā§£āØnā©)
+| label_m   ā‡’ š—ŗ
+| label_L   ā‡’ š—Ÿ
+| label_A   ā‡’ š—”
+| label_S   ā‡’ š—¦
+].
+
+interpretation
+  "prelift (label)"
+  'UpArrow f l = (prelift_label f l).
+
+(* Basic constructions ******************************************************)
+
+lemma prelift_label_d (f) (n):
+      (š—±(fļ¼ ā§£āØnā©)) = ā†‘[f]š—±n.
+// qed.
+
+lemma prelift_label_m (f):
+      (š—ŗ) = ā†‘[f]š—ŗ.
+// qed.
+
+lemma prelift_label_L (f):
+      (š—Ÿ) = ā†‘[f]š—Ÿ.
+// qed.
+
+lemma prelift_label_A (f):
+      (š—”) = ā†‘[f]š—”.
+// qed.
+
+lemma prelift_label_S (f):
+      (š—¦) = ā†‘[f]š—¦.
+// qed.