]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/rt_transition/cnh_drops.ma
update in ground_2 static_2 basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_transition / cnh_drops.ma
diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cnh_drops.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cnh_drops.ma
new file mode 100644 (file)
index 0000000..d492769
--- /dev/null
@@ -0,0 +1,52 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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 "static_2/relocation/lifts_theq.ma".
+include "basic_2/rt_transition/cpm_drops.ma".
+include "basic_2/rt_transition/cnh.ma".
+
+(* NORMAL TERMS FOR HEAD T-UNUNBOUND RT-TRANSITION **************************)
+
+(* Advanced properties ******************************************************)
+
+lemma cnh_atom_drops (h) (b) (G) (L):
+      āˆ€i. ā¬‡*[b,š”ā“iāµ] L ā‰˜ ā‹† ā†’ ā¦ƒG,Lā¦„ āŠ¢ ā„²[h] šā¦ƒ#iā¦„.
+#h #b #G #L #i #Hi #n #X #H
+elim (cpm_inv_lref1_drops ā€¦ H) -H * [ // || #m ] #K #V1 #V2 #HLK
+lapply (drops_gen b ā€¦ HLK) -HLK #HLK
+lapply (drops_mono ā€¦ Hi ā€¦ HLK) -L #H destruct
+qed.
+
+lemma cnh_unit_drops (h) (I) (G) (L):
+      āˆ€K,i. ā¬‡*[i] L ā‰˜ K.ā“¤{I} ā†’ ā¦ƒG,Lā¦„ āŠ¢ ā„²[h] šā¦ƒ#iā¦„.
+#h #I #G #L #K #i #HLK #n #X #H
+elim (cpm_inv_lref1_drops ā€¦ H) -H * [ // || #m ] #Y #V1 #V2 #HLY
+lapply (drops_mono ā€¦ HLK ā€¦ HLY) -L #H destruct
+qed.
+
+(* Properties with generic relocation ***************************************)
+
+lemma cnh_lifts (h) (G): d_liftable1 ā€¦ (cnh h G).
+#h #G #K #T #HT #b #f #L #HLK #U #HTU #n #U0 #H
+elim (cpm_inv_lifts_sn ā€¦ H ā€¦ HLK ā€¦ HTU) -b -L #T0 #HTU0 #HT0
+lapply (HT ā€¦ HT0) -G -K /2 width=6 by theq_lifts_bi/
+qed-.
+
+(* Inversion lemmas with generic relocation *********************************)
+
+lemma cnh_inv_lifts (h) (G): d_deliftable1 ā€¦ (cnh h G).
+#h #G #L #U #HU #b #f #K #HLK #T #HTU #n #T0 #H
+elim (cpm_lifts_sn ā€¦ H ā€¦ HLK ā€¦ HTU) -b -K #U0 #HTU0 #HU0
+lapply (HU ā€¦ HU0) -G -L /2 width=6 by theq_inv_lifts_bi/
+qed-.