]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpg_drops.ma
update in ground_2, static_2, basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_transition / cpg_drops.ma
index 37ac3fa834e67223eb546590d4d5286d1bf3b0d4..482a4b12630589d574299b4d83406455da91f572 100644 (file)
@@ -12,6 +12,7 @@
 (*                                                                        *)
 (**************************************************************************)
 
+include "ground_2/xoa/ex_5_5.ma".
 include "static_2/relocation/drops_drops.ma".
 include "static_2/s_computation/fqup_weight.ma".
 include "static_2/s_computation/fqup_drops.ma".
@@ -21,8 +22,8 @@ include "basic_2/rt_transition/cpg.ma".
 
 (* Advanced properties ******************************************************)
 
-lemma cpg_delta_drops: â\88\80Rt,c,h,G,K,V,V2,i,L,T2. â¬\87*[i] L â\89\98 K.â\93\93V â\86\92 â¦\83G, Kâ¦\84 â\8a¢ V â¬\88[Rt, c, h] V2 →
-                       â¬\86*[â\86\91i] V2 â\89\98 T2 â\86\92  â¦\83G, Lâ¦\84 â\8a¢ #i â¬\88[Rt, c, h] T2.
+lemma cpg_delta_drops: â\88\80Rt,c,h,G,K,V,V2,i,L,T2. â\87©*[i] L â\89\98 K.â\93\93V â\86\92 â¦\83G,Kâ¦\84 â\8a¢ V â¬\88[Rt,c,h] V2 →
+                       â\87§*[â\86\91i] V2 â\89\98 T2 â\86\92  â¦\83G,Lâ¦\84 â\8a¢ #i â¬\88[Rt,c,h] T2.
 #Rt #c #h #G #K #V #V2 #i elim i -i
 [ #L #T2 #HLK lapply (drops_fwd_isid … HLK ?) // #H destruct /3 width=3 by cpg_delta/
 | #i #IH #L0 #T0 #H0 #HV2 #HVT2
@@ -31,8 +32,8 @@ lemma cpg_delta_drops: ∀Rt,c,h,G,K,V,V2,i,L,T2. ⬇*[i] L ≘ K.ⓓV → ⦃G,
 ]
 qed.
 
-lemma cpg_ell_drops: â\88\80Rt,c,h,G,K,V,V2,i,L,T2. â¬\87*[i] L â\89\98 K.â\93\9bV â\86\92 â¦\83G, Kâ¦\84 â\8a¢ V â¬\88[Rt,c, h] V2 →
-                     â¬\86*[â\86\91i] V2 â\89\98 T2 â\86\92  â¦\83G, Lâ¦\84 â\8a¢ #i â¬\88[Rt, c+ð\9d\9f\98ð\9d\9f\99h] T2.
+lemma cpg_ell_drops: â\88\80Rt,c,h,G,K,V,V2,i,L,T2. â\87©*[i] L â\89\98 K.â\93\9bV â\86\92 â¦\83G,Kâ¦\84 â\8a¢ V â¬\88[Rt,c,h] V2 →
+                     â\87§*[â\86\91i] V2 â\89\98 T2 â\86\92  â¦\83G,Lâ¦\84 â\8a¢ #i â¬\88[Rt,c+ð\9d\9f\98ð\9d\9f\99,h] T2.
 #Rt #c #h #G #K #V #V2 #i elim i -i
 [ #L #T2 #HLK lapply (drops_fwd_isid … HLK ?) // #H destruct /3 width=3 by cpg_ell/
 | #i #IH #L0 #T0 #H0 #HV2 #HVT2
@@ -43,12 +44,12 @@ qed.
 
 (* Advanced inversion lemmas ************************************************)
 
-lemma cpg_inv_lref1_drops: ∀Rt,c,h,G,i,L,T2. ⦃G, L⦄ ⊢ #i ⬈[Rt,c, h] T2 →
+lemma cpg_inv_lref1_drops: ∀Rt,c,h,G,i,L,T2. ⦃G,L⦄ ⊢ #i ⬈[Rt,c,h] T2 →
                            ∨∨ T2 = #i ∧ c = 𝟘𝟘
-                            | â\88\83â\88\83cV,K,V,V2. â¬\87*[i] L â\89\98 K.â\93\93V & â¦\83G, Kâ¦\84 â\8a¢ V â¬\88[Rt, cV, h] V2 &
-                                           â¬\86*[↑i] V2 ≘ T2 & c = cV
-                            | â\88\83â\88\83cV,K,V,V2. â¬\87*[i] L â\89\98 K.â\93\9bV & â¦\83G, Kâ¦\84 â\8a¢ V â¬\88[Rt, cV, h] V2 &
-                                           â¬\86*[↑i] V2 ≘ T2 & c = cV + 𝟘𝟙.
+                            | â\88\83â\88\83cV,K,V,V2. â\87©*[i] L â\89\98 K.â\93\93V & â¦\83G,Kâ¦\84 â\8a¢ V â¬\88[Rt,cV,h] V2 &
+                                           â\87§*[↑i] V2 ≘ T2 & c = cV
+                            | â\88\83â\88\83cV,K,V,V2. â\87©*[i] L â\89\98 K.â\93\9bV & â¦\83G,Kâ¦\84 â\8a¢ V â¬\88[Rt,cV,h] V2 &
+                                           â\87§*[↑i] V2 ≘ T2 & c = cV + 𝟘𝟙.
 #Rt #c #h #G #i elim i -i
 [ #L #T2 #H elim (cpg_inv_zero1 … H) -H * /3 width=1 by or3_intro0, conj/
   /4 width=8 by drops_refl, ex4_4_intro, or3_intro2, or3_intro1/
@@ -61,13 +62,13 @@ lemma cpg_inv_lref1_drops: ∀Rt,c,h,G,i,L,T2. ⦃G, L⦄ ⊢ #i ⬈[Rt,c, h] T2
 ]
 qed-.
 
-lemma cpg_inv_atom1_drops: ∀Rt,c,h,I,G,L,T2. ⦃G, L⦄ ⊢ ⓪{I} ⬈[Rt, c, h] T2 →
+lemma cpg_inv_atom1_drops: ∀Rt,c,h,I,G,L,T2. ⦃G,L⦄ ⊢ ⓪{I} ⬈[Rt,c,h] T2 →
                            ∨∨ T2 = ⓪{I} ∧ c = 𝟘𝟘
-                            | ∃∃s. T2 = ⋆(next h s) & I = Sort s & c = 𝟘𝟙
-                            | â\88\83â\88\83cV,i,K,V,V2. â¬\87*[i] L â\89\98 K.â\93\93V & â¦\83G, Kâ¦\84 â\8a¢ V â¬\88[Rt, cV, h] V2 &
-                                             â¬\86*[↑i] V2 ≘ T2 & I = LRef i & c = cV
-                            | â\88\83â\88\83cV,i,K,V,V2. â¬\87*[i] L â\89\98 K.â\93\9bV & â¦\83G, Kâ¦\84 â\8a¢ V â¬\88[Rt, cV, h] V2 &
-                                             â¬\86*[↑i] V2 ≘ T2 & I = LRef i & c = cV + 𝟘𝟙.
+                            | ∃∃s. T2 = ⋆(⫯[h]s) & I = Sort s & c = 𝟘𝟙
+                            | â\88\83â\88\83cV,i,K,V,V2. â\87©*[i] L â\89\98 K.â\93\93V & â¦\83G,Kâ¦\84 â\8a¢ V â¬\88[Rt,cV,h] V2 &
+                                             â\87§*[↑i] V2 ≘ T2 & I = LRef i & c = cV
+                            | â\88\83â\88\83cV,i,K,V,V2. â\87©*[i] L â\89\98 K.â\93\9bV & â¦\83G,Kâ¦\84 â\8a¢ V â¬\88[Rt,cV,h] V2 &
+                                             â\87§*[↑i] V2 ≘ T2 & I = LRef i & c = cV + 𝟘𝟙.
 #Rt #c #h * #n #G #L #T2 #H
 [ elim (cpg_inv_sort1 … H) -H *
   /3 width=3 by or4_intro0, or4_intro1, ex3_intro, conj/