X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_computation%2Flprs_lpr.ma;h=8b6c42f09e21ffed46f84bd54f5fe363be731e9e;hb=80ecd5486c6013f6c297173f41432fd1d93814ef;hp=ea0456434b7cd0da409de24134690f0fee2113a6;hpb=5b5dca0c118dfbe3ba8f0514ef07549544eb7810;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/lprs_lpr.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/lprs_lpr.ma index ea0456434..8b6c42f09 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/lprs_lpr.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/lprs_lpr.ma @@ -19,33 +19,39 @@ include "basic_2/rt_computation/lprs_tc.ma". (* Eliminators with r-transition for full local environments ****************) (* Basic_2A1: was: lprs_ind_dx *) -lemma lprs_ind_sn (h) (G) (L2): ∀Q:predicate lenv. Q L2 → - (∀L1,L. ⦃G,L1⦄ ⊢ ➡[h] L → ⦃G,L⦄ ⊢ ➡*[h] L2 → Q L → Q L1) → - ∀L1. ⦃G,L1⦄ ⊢ ➡*[h] L2 → Q L1. +lemma lprs_ind_sn (h) (G) (L2): + ∀Q:predicate lenv. Q L2 → + (∀L1,L. ❨G,L1❩ ⊢ ➡[h,0] L → ❨G,L❩ ⊢ ➡*[h,0] L2 → Q L → Q L1) → + ∀L1. ❨G,L1❩ ⊢ ➡*[h,0] L2 → Q L1. /4 width=8 by lprs_inv_CTC, lprs_CTC, lpr_cprs_trans, cpr_refl, lex_CTC_ind_sn/ qed-. (* Basic_2A1: was: lprs_ind *) -lemma lprs_ind_dx (h) (G) (L1): ∀Q:predicate lenv. Q L1 → - (∀L,L2. ⦃G,L1⦄ ⊢ ➡*[h] L → ⦃G,L⦄ ⊢ ➡[h] L2 → Q L → Q L2) → - ∀L2. ⦃G,L1⦄ ⊢ ➡*[h] L2 → Q L2. +lemma lprs_ind_dx (h) (G) (L1): + ∀Q:predicate lenv. Q L1 → + (∀L,L2. ❨G,L1❩ ⊢ ➡*[h,0] L → ❨G,L❩ ⊢ ➡[h,0] L2 → Q L → Q L2) → + ∀L2. ❨G,L1❩ ⊢ ➡*[h,0] L2 → Q L2. /4 width=8 by lprs_inv_CTC, lprs_CTC, lpr_cprs_trans, cpr_refl, lex_CTC_ind_dx/ qed-. -(* Properties with unbound rt-transition for full local environments ********) +(* Properties with extended rt-transition for full local environments *******) -lemma lpr_lprs (h) (G): ∀L1,L2. ⦃G,L1⦄ ⊢ ➡[h] L2 → ⦃G,L1⦄ ⊢ ➡*[h] L2. +lemma lpr_lprs (h) (G): + ∀L1,L2. ❨G,L1❩ ⊢ ➡[h,0] L2 → ❨G,L1❩ ⊢ ➡*[h,0] L2. /4 width=3 by lprs_CTC, lpr_cprs_trans, lex_CTC_inj/ qed. (* Basic_2A1: was: lprs_strap2 *) -lemma lprs_step_sn (h) (G): ∀L1,L. ⦃G,L1⦄ ⊢ ➡[h] L → - ∀L2.⦃G,L⦄ ⊢ ➡*[h] L2 → ⦃G,L1⦄ ⊢ ➡*[h] L2. +lemma lprs_step_sn (h) (G): + ∀L1,L. ❨G,L1❩ ⊢ ➡[h,0] L → + ∀L2.❨G,L❩ ⊢ ➡*[h,0] L2 → ❨G,L1❩ ⊢ ➡*[h,0] L2. /4 width=3 by lprs_inv_CTC, lprs_CTC, lpr_cprs_trans, lex_CTC_step_sn/ qed-. (* Basic_2A1: was: lpxs_strap1 *) -lemma lprs_step_dx (h) (G): ∀L1,L. ⦃G,L1⦄ ⊢ ➡*[h] L → - ∀L2. ⦃G,L⦄ ⊢ ➡[h] L2 → ⦃G,L1⦄ ⊢ ➡*[h] L2. +lemma lprs_step_dx (h) (G): + ∀L1,L. ❨G,L1❩ ⊢ ➡*[h,0] L → + ∀L2. ❨G,L❩ ⊢ ➡[h,0] L2 → ❨G,L1❩ ⊢ ➡*[h,0] L2. /4 width=3 by lprs_inv_CTC, lprs_CTC, lpr_cprs_trans, lex_CTC_step_dx/ qed-. -lemma lprs_strip (h) (G): confluent2 … (lprs h G) (lpr h G). +lemma lprs_strip (h) (G): + confluent2 … (lprs h 0 G) (lpr h 0 G). #h #G #L0 #L1 #HL01 #L2 #HL02 elim (TC_strip1 … L1 ?? HL02) -HL02 [ /3 width=3 by lprs_TC, ex2_intro/ | skip