X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_computation%2Flprs.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_computation%2Flprs.ma;h=0cfea3830ec3462bee3916ee950a7d2bfa444aed;hb=8ec019202bff90959cf1a7158b309e7f83fa222e;hp=1d7f3a1805a03623a2fa758f6e08a1f08286669e;hpb=33d0a7a9029859be79b25b5a495e0f30dab11f37;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/lprs.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/lprs.ma index 1d7f3a180..0cfea3830 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/lprs.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/lprs.ma @@ -28,38 +28,38 @@ interpretation (* Basic properties *********************************************************) (* Basic_2A1: uses: lprs_pair_refl *) -lemma lprs_bind_refl_dx (h) (G): ∀L1,L2. ❪G,L1❫ ⊢ ➡*[h,0] L2 → - ∀I. ❪G,L1.ⓘ[I]❫ ⊢ ➡*[h,0] L2.ⓘ[I]. +lemma lprs_bind_refl_dx (h) (G): ∀L1,L2. ❨G,L1❩ ⊢ ➡*[h,0] L2 → + ∀I. ❨G,L1.ⓘ[I]❩ ⊢ ➡*[h,0] L2.ⓘ[I]. /2 width=1 by lex_bind_refl_dx/ qed. -lemma lprs_pair (h) (G): ∀L1,L2. ❪G,L1❫ ⊢ ➡*[h,0] L2 → - ∀V1,V2. ❪G,L1❫ ⊢ V1 ➡*[h,0] V2 → - ∀I. ❪G,L1.ⓑ[I]V1❫ ⊢ ➡*[h,0] L2.ⓑ[I]V2. +lemma lprs_pair (h) (G): ∀L1,L2. ❨G,L1❩ ⊢ ➡*[h,0] L2 → + ∀V1,V2. ❨G,L1❩ ⊢ V1 ➡*[h,0] V2 → + ∀I. ❨G,L1.ⓑ[I]V1❩ ⊢ ➡*[h,0] L2.ⓑ[I]V2. /2 width=1 by lex_pair/ qed. -lemma lprs_refl (h) (G): ∀L. ❪G,L❫ ⊢ ➡*[h,0] L. +lemma lprs_refl (h) (G): ∀L. ❨G,L❩ ⊢ ➡*[h,0] L. /2 width=1 by lex_refl/ qed. (* Basic inversion lemmas ***************************************************) (* Basic_2A1: uses: lprs_inv_atom1 *) -lemma lprs_inv_atom_sn (h) (G): ∀L2. ❪G,⋆❫ ⊢ ➡*[h,0] L2 → L2 = ⋆. +lemma lprs_inv_atom_sn (h) (G): ∀L2. ❨G,⋆❩ ⊢ ➡*[h,0] L2 → L2 = ⋆. /2 width=2 by lex_inv_atom_sn/ qed-. (* Basic_2A1: was: lprs_inv_pair1 *) lemma lprs_inv_pair_sn (h) (G): - ∀I,K1,L2,V1. ❪G,K1.ⓑ[I]V1❫ ⊢ ➡*[h,0] L2 → - ∃∃K2,V2. ❪G,K1❫ ⊢ ➡*[h,0] K2 & ❪G,K1❫ ⊢ V1 ➡*[h,0] V2 & L2 = K2.ⓑ[I]V2. + ∀I,K1,L2,V1. ❨G,K1.ⓑ[I]V1❩ ⊢ ➡*[h,0] L2 → + ∃∃K2,V2. ❨G,K1❩ ⊢ ➡*[h,0] K2 & ❨G,K1❩ ⊢ V1 ➡*[h,0] V2 & L2 = K2.ⓑ[I]V2. /2 width=1 by lex_inv_pair_sn/ qed-. (* Basic_2A1: uses: lprs_inv_atom2 *) -lemma lprs_inv_atom_dx (h) (G): ∀L1. ❪G,L1❫ ⊢ ➡*[h,0] ⋆ → L1 = ⋆. +lemma lprs_inv_atom_dx (h) (G): ∀L1. ❨G,L1❩ ⊢ ➡*[h,0] ⋆ → L1 = ⋆. /2 width=2 by lex_inv_atom_dx/ qed-. (* Basic_2A1: was: lprs_inv_pair2 *) lemma lprs_inv_pair_dx (h) (G): - ∀I,L1,K2,V2. ❪G,L1❫ ⊢ ➡*[h,0] K2.ⓑ[I]V2 → - ∃∃K1,V1. ❪G,K1❫ ⊢ ➡*[h,0] K2 & ❪G,K1❫ ⊢ V1 ➡*[h,0] V2 & L1 = K1.ⓑ[I]V1. + ∀I,L1,K2,V2. ❨G,L1❩ ⊢ ➡*[h,0] K2.ⓑ[I]V2 → + ∃∃K1,V1. ❨G,K1❩ ⊢ ➡*[h,0] K2 & ❨G,K1❩ ⊢ V1 ➡*[h,0] V2 & L1 = K1.ⓑ[I]V1. /2 width=1 by lex_inv_pair_dx/ qed-. (* Basic eliminators ********************************************************) @@ -68,12 +68,12 @@ lemma lprs_inv_pair_dx (h) (G): lemma lprs_ind (h) (G): ∀Q:relation lenv. Q (⋆) (⋆) → ( ∀I,K1,K2. - ❪G,K1❫ ⊢ ➡*[h,0] K2 → + ❨G,K1❩ ⊢ ➡*[h,0] K2 → Q K1 K2 → Q (K1.ⓘ[I]) (K2.ⓘ[I]) ) → ( ∀I,K1,K2,V1,V2. - ❪G,K1❫ ⊢ ➡*[h,0] K2 → ❪G,K1❫ ⊢ V1 ➡*[h,0] V2 → + ❨G,K1❩ ⊢ ➡*[h,0] K2 → ❨G,K1❩ ⊢ V1 ➡*[h,0] V2 → Q K1 K2 → Q (K1.ⓑ[I]V1) (K2.ⓑ[I]V2) ) → - ∀L1,L2. ❪G,L1❫ ⊢ ➡*[h,0] L2 → Q L1 L2. + ∀L1,L2. ❨G,L1❩ ⊢ ➡*[h,0] L2 → Q L1 L2. /3 width=4 by lex_ind/ qed-.