]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground/relocation/pr_after_ist_isi.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / pr_after_ist_isi.ma
diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/pr_after_ist_isi.ma b/matita/matita/contribs/lambdadelta/ground/relocation/pr_after_ist_isi.ma
new file mode 100644 (file)
index 0000000..ea312f5
--- /dev/null
@@ -0,0 +1,40 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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 "ground/relocation/pr_ist_isi.ma".
+include "ground/relocation/pr_after_ist.ma".
+
+(* RELATIONAL COMPOSITION FOR PARTIAL RELOCATION MAPS ***********************)
+
+(* Destructions with pr_ist and pr_isi **************************************)
+
+(*** after_fwd_isid_sn *)
+lemma pr_after_des_ist_eq_sn:
+      ∀f2,f1,f. 𝐓❪f❫ → f2 ⊚ f1 ≘ f → f1 ≡ f → 𝐈❪f2❫.
+#f2 #f1 #f #H #Hf elim (pr_after_inv_ist … Hf H) -H
+#Hf2 #Hf1 #H @pr_isi_pat_total // -Hf2
+#i2 #i #Hf2 elim (Hf1 i2) -Hf1
+#i0 #Hf1 lapply (pr_pat_increasing … Hf1)
+#Hi20 lapply (pr_after_des_pat_sn … i0 … Hf1 … Hf) -Hf
+/3 width=7 by pr_pat_eq_repl_back, pr_pat_mono, pr_pat_id_le/
+qed-.
+
+(*** after_fwd_isid_dx *)
+lemma pr_after_des_ist_eq_dx:
+      ∀f2,f1,f.  𝐓❪f❫ → f2 ⊚ f1 ≘ f → f2 ≡ f → 𝐈❪f1❫.
+#f2 #f1 #f #H #Hf elim (pr_after_inv_ist … Hf H) -H
+#Hf2 #Hf1 #H2 @pr_isi_pat_total // -Hf1
+#i1 #i2 #Hi12 elim (pr_after_des_ist_pat … Hi12 … Hf) -f1
+/3 width=8 by pr_pat_inj, pr_pat_eq_repl_back/
+qed-.