]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist.ma
milestone update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / gr_after_ist.ma
diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist.ma b/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist.ma
new file mode 100644 (file)
index 0000000..e3f8acf
--- /dev/null
@@ -0,0 +1,60 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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/gr_pat_lt.ma".
+include "ground/relocation/gr_ist.ma".
+include "ground/relocation/gr_after_pat.ma".
+
+(* RELATIONAL COMPOSITION FOR GENERIC RELOCATION MAPS ***********************************************************)
+
+(* Forward lemmas on istot **************************************************)
+
+(*** after_istot_fwd *)
+lemma gr_after_ist_des:
+      โˆ€f2,f1,f. f2 โŠš f1 โ‰˜ f โ†’ ๐“โชf2โซ โ†’ ๐“โชf1โซ โ†’ ๐“โชfโซ.
+#f2 #f1 #f #Hf #Hf2 #Hf1 #i1 elim (Hf1 i1) -Hf1
+#i2 #Hf1 elim (Hf2 i2) -Hf2
+/3 width=7 by gr_after_des_pat, ex_intro/
+qed-.
+
+(*** after_fwd_istot_dx *)
+lemma gr_after_des_ist_dx:
+      โˆ€f2,f1,f. f2 โŠš f1 โ‰˜ f โ†’ ๐“โชfโซ โ†’ ๐“โชf1โซ.
+#f2 #f1 #f #H #Hf #i1 elim (Hf i1) -Hf
+#i2 #Hf elim (gr_after_pat_des โ€ฆ Hf โ€ฆ H) -f /2 width=2 by ex_intro/
+qed-.
+
+(*** after_fwd_istot_sn *)
+lemma gr_after_des_ist_sn:
+      โˆ€f2,f1,f. f2 โŠš f1 โ‰˜ f โ†’ ๐“โชfโซ โ†’ ๐“โชf2โซ.
+#f2 #f1 #f #H #Hf #i1 elim (Hf i1) -Hf
+#i #Hf elim (gr_after_pat_des โ€ฆ Hf โ€ฆ H) -f
+#i2 #Hf1 #Hf2 lapply (gr_pat_increasing โ€ฆ Hf1) -f1
+#Hi12 elim (gr_pat_le_ex โ€ฆ Hf2 โ€ฆ Hi12) -i2 /2 width=2 by ex_intro/
+qed-.
+
+(*** after_at1_fwd *)
+lemma gr_after_pat_sn_des:
+      โˆ€f1,i1,i2. @โชi1, f1โซ โ‰˜ i2 โ†’ โˆ€f2. ๐“โชf2โซ โ†’ โˆ€f. f2 โŠš f1 โ‰˜ f โ†’
+      โˆƒโˆƒi. @โชi2, f2โซ โ‰˜ i & @โชi1, fโซ โ‰˜ i.
+#f1 #i1 #i2 #Hf1 #f2 #Hf2 #f #Hf elim (Hf2 i2) -Hf2
+/3 width=8 by gr_after_des_pat, ex2_intro/
+qed-.
+
+(* Inversions with gr_ist *)
+
+(*** after_inv_istot *)
+lemma gr_after_inv_ist:
+      โˆ€f2,f1,f. f2 โŠš f1 โ‰˜ f โ†’ ๐“โชfโซ โ†’ โˆงโˆง ๐“โชf2โซ & ๐“โชf1โซ.
+/3 width=4 by gr_after_des_ist_sn, gr_after_des_ist_dx, conj/ qed-.