]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground/relocation/pr_pat_pat_id.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / pr_pat_pat_id.ma
diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/pr_pat_pat_id.ma b/matita/matita/contribs/lambdadelta/ground/relocation/pr_pat_pat_id.ma
new file mode 100644 (file)
index 0000000..f9476c8
--- /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_pat_id.ma".
+include "ground/relocation/pr_pat_pat.ma".
+
+(* POSITIVE APPLICATION FOR PARTIAL RELOCATION MAPS *************************)
+
+(* Advanced destructions with pr_id *****************************************)
+
+(*** at_id_fwd *)
+lemma pr_pat_id_des (i1) (i2):
+      @❪i1,𝐢❫ ≘ i2 → i1 = i2.
+/2 width=4 by pr_pat_mono/ qed-.
+
+(* Main constructions with pr_id ********************************************)
+
+(*** at_div_id_dx *)
+theorem pr_pat_div_id_dx (f):
+        H_pr_pat_div f 𝐢 𝐢 f.
+#f #jf #j0 #j #Hf #H0
+lapply (pr_pat_id_des … H0) -H0 #H destruct
+/2 width=3 by ex2_intro/
+qed-.
+
+(*** at_div_id_sn *)
+theorem pr_pat_div_id_sn (f):
+        H_pr_pat_div 𝐢 f f 𝐢.
+/3 width=6 by pr_pat_div_id_dx, pr_pat_div_comm/ qed-.