X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fcomputation%2Fcpxs.ma;h=75c56d8a43d7fa67ad31e181cf76aacc37158337;hb=a8cd6cc85182245df447a21caf16b6503fa4b3e5;hp=2f316a737c2444ddd9f48f57d427e7d4172daf8a;hpb=43282d3750af8831c8100c60d75c56fdfb7ff3c9;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 2f316a737..75c56d8a4 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/computation/cpxs.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/computation/cpxs.ma @@ -64,13 +64,13 @@ 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))) +lemma cpxs_sort: ∀h,g,G,L,k,d1. deg h g k d1 → + ∀d2. d2 ≤ d1 → ⦃G, L⦄ ⊢ ⋆k ➡*[h, g] ⋆((next h)^d2 k). +#h #g #G #L #k #d1 #Hkd1 #d2 @(nat_ind_plus … d2) -d2 /2 width=1 by cpx_cpxs/ +#d2 #IHd2 #Hd21 >iter_SO +@(cpxs_strap1 … (⋆(iter d2 ℕ (next h) k))) [ /3 width=3 by lt_to_le/ -| @(cpx_st … (l1-l2-1)) iter_SO // + | * #d0 #Hkd0 #H destruct -d + @(ex2_2_intro … (n+1) d0) /2 width=1 by deg_inv_prec/ >iter_SO // ] ] qed-.