X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambda_delta%2Fbasic_2%2Fsubstitution%2Fldrop.ma;h=e7353d7de51287084ad7c72740714b93d926ba78;hb=b405363d37a437e86705bd85f5b549a36878e7d5;hp=9ab5134581aacbae9ceee142248d4321b2986b73;hpb=70a6a8146e5815a97330ea291bea09cf798c0008;p=helm.git diff --git a/matita/matita/contribs/lambda_delta/basic_2/substitution/ldrop.ma b/matita/matita/contribs/lambda_delta/basic_2/substitution/ldrop.ma index 9ab513458..e7353d7de 100644 --- a/matita/matita/contribs/lambda_delta/basic_2/substitution/ldrop.ma +++ b/matita/matita/contribs/lambda_delta/basic_2/substitution/ldrop.ma @@ -30,6 +30,27 @@ inductive ldrop: nat → nat → relation lenv ≝ interpretation "local slicing" 'RDrop d e L1 L2 = (ldrop d e L1 L2). +definition l_liftable: (lenv → relation term) → Prop ≝ + λR. ∀K,T1,T2. R K T1 T2 → ∀L,d,e. ⇩[d, e] L ≡ K → + ∀U1. ⇧[d, e] T1 ≡ U1 → ∀U2. ⇧[d, e] T2 ≡ U2 → R L U1 U2. + +definition l_deliftable_sn: (lenv → relation term) → Prop ≝ + λR. ∀L,U1,U2. R L U1 U2 → ∀K,d,e. ⇩[d, e] L ≡ K → + ∀T1. ⇧[d, e] T1 ≡ U1 → + ∃∃T2. ⇧[d, e] T2 ≡ U2 & R K T1 T2. + +definition dropable_sn: relation lenv → Prop ≝ + λR. ∀L1,K1,d,e. ⇩[d, e] L1 ≡ K1 → ∀L2. R L1 L2 → + ∃∃K2. R K1 K2 & ⇩[d, e] L2 ≡ K2. + +definition dedropable_sn: relation lenv → Prop ≝ + λR. ∀L1,K1,d,e. ⇩[d, e] L1 ≡ K1 → ∀K2. R K1 K2 → + ∃∃L2. R L1 L2 & ⇩[d, e] L2 ≡ K2. + +definition dropable_dx: relation lenv → Prop ≝ + λR. ∀L1,L2. R L1 L2 → ∀K2,e. ⇩[0, e] L2 ≡ K2 → + ∃∃K1. ⇩[0, e] L1 ≡ K1 & R K1 K2. + (* Basic inversion lemmas ***************************************************) fact ldrop_inv_refl_aux: ∀d,e,L1,L2. ⇩[d, e] L1 ≡ L2 → d = 0 → e = 0 → L1 = L2.