X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fcomputation%2Fcpxs.ma;h=588208177e01d4b1ecb664f933aed770a523e4cc;hb=86a84e4116a8d388cb540bae6c60700f84a8f9f8;hp=8027a98db5d9fd55be50131b72e2b9a46bebf51e;hpb=472cb969d9a01a6d24eabc39ba20d1dc6adf1b04;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/computation/cpxs.ma b/matita/matita/contribs/lambdadelta/basic_2/computation/cpxs.ma index 8027a98db..588208177 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/computation/cpxs.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/computation/cpxs.ma @@ -64,6 +64,17 @@ lemma cprs_cpxs: ∀h,g,G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡* T2 → ⦃G, L⦄ ⊢ #h #g #G #L #T1 #T2 #H @(cprs_ind … H) -T2 /3 width=3 by cpxs_strap1, cpr_cpx/ qed. +lemma cpxs_sort: ∀h,g,G,L,k,l1. deg h g k l1 → + ∀l2. l2 ≤ l1 → ⦃G, L⦄ ⊢ ⋆k ➡*[h, g] ⋆((next h)^l2 k). +#h #g #G #L #k #l1 #Hkl1 #l2 @(nat_ind_plus … l2) -l2 /2 width=1 by cpx_cpxs/ +#l2 #IHl2 #Hl21 >iter_SO +@(cpxs_strap1 … (⋆(iter l2 ℕ (next h) k))) +[ /3 width=3 by lt_to_le/ +| @(cpx_st … (l1-l2-1))