include "static_2/relocation/lifts_basic.ma".
include "basic_2/rt_transition/cpx_drops.ma".
-(* UNBOUND CONTEXT-SENSITIVE PARALLEL RT-TRANSITION FOR TERMS ***************)
+(* EXTENDED CONTEXT-SENSITIVE PARALLEL RT-TRANSITION FOR TERMS **************)
(* Properties with basic relocation *****************************************)
-lemma cpx_subst (h) (G) (L) (U1) (i):
- ∀I,K,V. ⇩[i] L ≘ K.ⓑ[I]V →
- ∃∃U2,T2. ❪G,L❫ ⊢ U1 ⬈[h] U2 & ⇧[i,1] T2 ≘ U2.
-#h #G #L #U1 @(fqup_wf_ind_eq (Ⓣ) … G L U1) -G -L -U1
+lemma cpx_subst (G) (L) (U1) (i):
+ ∀I,K,V. ⇩[i] L ≘ K.ⓑ[I]V →
+ ∃∃U2,T2. ❨G,L❩ ⊢ U1 ⬈ U2 & ⇧[i,1] T2 ≘ U2.
+#G #L #U1 @(fqup_wf_ind_eq (Ⓣ) … G L U1) -G -L -U1
#G0 #L0 #U0 #IH #G #L * *
[ #s #HG #HL #HT #i #I #K #V #_ destruct -IH
/2 width=4 by lifts_sort, ex2_2_intro/
elim (lt_or_eq_or_gt i j) #Hij
[ /3 width=4 by lifts_lref_ge_minus, cpx_refl, ex2_2_intro/
| elim (lifts_total V (𝐔❨↑i❩)) #U2 #HU2
- elim (lifts_split_trans â\80¦ HU2 (ð\9d\90\94â\9d¨iâ\9d©) (ð\9d\90\81❨i,1❩)) [2: @(after_basic_rc i 0) ]
+ elim (lifts_split_trans â\80¦ HU2 (ð\9d\90\94â\9d¨iâ\9d©) (ð\9d\90\9b❨i,1❩)) [2: @(after_basic_rc i 0) ]
/3 width=7 by cpx_delta_drops, ex2_2_intro/
| /3 width=4 by lifts_lref_lt, cpx_refl, ex2_2_intro/
]