]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_rmap_closed.ma
partial update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / substitution / lift_rmap_closed.ma
diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_rmap_closed.ma b/matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_rmap_closed.ma
new file mode 100644 (file)
index 0000000..58bef81
--- /dev/null
@@ -0,0 +1,36 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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/substitution/lift_rmap_eq.ma".
+include "delayed_updating/syntax/path_closed.ma".
+include "ground/lib/stream_eq_eq.ma".
+
+(* LIFT MAP FOR PATH ********************************************************)
+
+(* Destructions with cpp ****************************************************)
+
+lemma tls_plus_lift_rmap_closed (f) (q) (n):
+      q Ļµ š‚āØnā© ā†’
+      āˆ€m. ā‡‚*[m]f ā‰— ā‡‚*[m+n]ā†‘[q]f.
+#f #q #n #Hq elim Hq -q -n //
+#q #n #_ #IH #m
+<nplus_succ_dx <stream_tls_swap //
+qed-.
+
+lemma tls_lift_rmap_closed (f) (q) (n):
+      q Ļµ š‚āØnā© ā†’
+      f ā‰— ā‡‚*[n]ā†‘[q]f.
+#f #q #n #H0
+/2 width=1 by tls_plus_lift_rmap_closed/
+qed-.