X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fetc%2Fsta%2Fsta_sta.etc;h=03d4c8d73c423c754f4e23cf88c839107b3bf06e;hb=fdb2c62b58006b82c015ba70b494d50c7860e28f;hp=cfbb192fab6df68598cc6dd149e0a55da4686a1d;hpb=4aa431513ffa0ce0accf81e6e9ea4b9314d468e3;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/etc/sta/sta_sta.etc b/matita/matita/contribs/lambdadelta/basic_2/etc/sta/sta_sta.etc index cfbb192fa..03d4c8d73 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/etc/sta/sta_sta.etc +++ b/matita/matita/contribs/lambdadelta/basic_2/etc/sta/sta_sta.etc @@ -12,7 +12,7 @@ (* *) (**************************************************************************) -include "basic_2/substitution/ldrop_ldrop.ma". +include "basic_2/relocation/ldrop_ldrop.ma". include "basic_2/static/sta.ma". (* STATIC TYPE ASSIGNMENT ON TERMS ******************************************) @@ -20,25 +20,24 @@ include "basic_2/static/sta.ma". (* Main properties **********************************************************) (* Note: apparently this was missing in basic_1 *) -theorem sta_mono: ∀h,L,T,U1. ⦃h, L⦄ ⊢ T • U1 → - ∀U2. ⦃h, L⦄ ⊢ T • U2 → U1 = U2. -#h #L #T #U1 #H elim H -L -T -U1 -[ #L #k #X #H >(sta_inv_sort1 … H) -X // -| #L #K #V #W #U1 #i #HLK #_ #HWU1 #IHVW #U2 #H +theorem sta_mono: ∀h,G,L. singlevalued … (sta h G L). +#h #G #L #T #U1 #H elim H -G -L -T -U1 +[ #G #L #k #X #H >(sta_inv_sort1 … H) -X // +| #G #L #K #V #W #U1 #i #HLK #_ #HWU1 #IHVW #U2 #H elim (sta_inv_lref1 … H) -H * #K0 #V0 #W0 #HLK0 #HVW0 #HW0U2 lapply (ldrop_mono … HLK0 … HLK) -HLK -HLK0 #H destruct lapply (IHVW … HVW0) -IHVW -HVW0 #H destruct >(lift_mono … HWU1 … HW0U2) -W0 -U1 // -| #L #K #W #V #U1 #i #HLK #_ #HWU1 #IHWV #U2 #H +| #G #L #K #W #V #U1 #i #HLK #_ #HWU1 #IHWV #U2 #H elim (sta_inv_lref1 … H) -H * #K0 #W0 #V0 #HLK0 #HWV0 #HV0U2 lapply (ldrop_mono … HLK0 … HLK) -HLK -HLK0 #H destruct lapply (IHWV … HWV0) -IHWV -HWV0 #H destruct >(lift_mono … HWU1 … HV0U2) -W -U1 // -| #I #L #V #T #U1 #_ #IHTU1 #X #H +| #a #I #G #L #V #T #U1 #_ #IHTU1 #X #H elim (sta_inv_bind1 … H) -H #U2 #HTU2 #H destruct /3 width=1/ -| #L #V #T #U1 #_ #IHTU1 #X #H +| #G #L #V #T #U1 #_ #IHTU1 #X #H elim (sta_inv_appl1 … H) -H #U2 #HTU2 #H destruct /3 width=1/ -| #L #W #T #U1 #_ #IHTU1 #U2 #H +| #G #L #W #T #U1 #_ #IHTU1 #U2 #H lapply (sta_inv_cast1 … H) -H /2 width=1/ ] qed-.