X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fmatita%2Fcontribs%2Flambda_delta%2Fbasic_2%2Fgrammar%2Ftshf.ma;h=34561ebf6a5ccce0ca6c09eac3b49c62b75bf9a3;hb=5ac2dc4e01aca542ddd13c02b304c646d8df9799;hp=bb32a536590f8e3b1d27fea0738c356fa7f7196a;hpb=a386e0eb6b20909ae78c825203d77647b8fde30c;p=helm.git diff --git a/matita/matita/contribs/lambda_delta/basic_2/grammar/tshf.ma b/matita/matita/contribs/lambda_delta/basic_2/grammar/tshf.ma index bb32a5365..34561ebf6 100644 --- a/matita/matita/contribs/lambda_delta/basic_2/grammar/tshf.ma +++ b/matita/matita/contribs/lambda_delta/basic_2/grammar/tshf.ma @@ -19,7 +19,7 @@ include "basic_2/grammar/term_simple.ma". inductive tshf: relation term ≝ | tshf_atom: ∀I. tshf (⓪{I}) (⓪{I}) | tshf_abst: ∀V1,V2,T1,T2. tshf (ⓛV1. T1) (ⓛV2. T2) - | tshf_appl: ∀V1,V2,T1,T2. tshf T1 T2 → 𝐒[T1] → 𝐒[T2] → + | tshf_appl: ∀V1,V2,T1,T2. tshf T1 T2 → 𝐒⦃T1⦄ → 𝐒⦃T2⦄ → tshf (ⓐV1. T1) (ⓐV2. T2) . @@ -38,13 +38,13 @@ qed. lemma tshf_refl1: ∀T1,T2. T1 ≈ T2 → T1 ≈ T1. /3 width=2/ qed. -lemma simple_tshf_repl_dx: ∀T1,T2. T1 ≈ T2 → 𝐒[T1] → 𝐒[T2]. +lemma simple_tshf_repl_dx: ∀T1,T2. T1 ≈ T2 → 𝐒⦃T1⦄ → 𝐒⦃T2⦄. #T1 #T2 #H elim H -T1 -T2 // #V1 #V2 #T1 #T2 #H elim (simple_inv_bind … H) qed. (**) (* remove from index *) -lemma simple_tshf_repl_sn: ∀T1,T2. T1 ≈ T2 → 𝐒[T2] → 𝐒[T1]. +lemma simple_tshf_repl_sn: ∀T1,T2. T1 ≈ T2 → 𝐒⦃T2⦄ → 𝐒⦃T1⦄. /3 width=3/ qed-. (* Basic inversion lemmas ***************************************************) @@ -63,7 +63,7 @@ lemma tshf_inv_bind1: ∀I,W1,U1,T2. ⓑ{I}W1.U1 ≈ T2 → /2 width=5/ qed-. fact tshf_inv_flat1_aux: ∀T1,T2. T1 ≈ T2 → ∀I,W1,U1. T1 = ⓕ{I}W1.U1 → - ∃∃W2,U2. U1 ≈ U2 & 𝐒[U1] & 𝐒[U2] & + ∃∃W2,U2. U1 ≈ U2 & 𝐒⦃U1⦄ & 𝐒⦃U2⦄ & I = Appl & T2 = ⓐW2. U2. #T1 #T2 * -T1 -T2 [ #J #I #W1 #U1 #H destruct @@ -73,6 +73,6 @@ fact tshf_inv_flat1_aux: ∀T1,T2. T1 ≈ T2 → ∀I,W1,U1. T1 = ⓕ{I}W1.U1 qed. lemma tshf_inv_flat1: ∀I,W1,U1,T2. ⓕ{I}W1.U1 ≈ T2 → - ∃∃W2,U2. U1 ≈ U2 & 𝐒[U1] & 𝐒[U2] & + ∃∃W2,U2. U1 ≈ U2 & 𝐒⦃U1⦄ & 𝐒⦃U2⦄ & I = Appl & T2 = ⓐW2. U2. /2 width=4/ qed-.