X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Fnstream_eq.ma;h=48f3e010042da33afdc150f3137879799ba439de;hb=a77d0bd6a04e94f765d329d47b37d9e04d349b14;hp=1b6c466ba841110bc9fd0a313ce8d9b148fd45ff;hpb=5832735b721c0bd8567c8f0be761a9136363a2a6;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_eq.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_eq.ma index 1b6c466ba..48f3e0100 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_eq.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_eq.ma @@ -18,7 +18,7 @@ include "ground_2/relocation/rtmap_eq.ma". (* Specific properties ******************************************************) -fact eq_inv_seq_aux: ∀f1,f2,n1,n2. n1@f1 ≗ n2@f2 → n1 = n2 ∧ f1 ≗ f2. +fact eq_inv_seq_aux: ∀f1,f2,n1,n2. n1⨮f1 ≡ n2⨮f2 → n1 = n2 ∧ f1 ≡ f2. #f1 #f2 #n1 #n2 @(nat_elim2 … n1 n2) -n1 -n2 [ #n2 #H elim (eq_inv_px … H) -H [2,3: // ] #g1 #H1 #H elim (push_inv_seq_dx … H) -H /2 width=1 by conj/ @@ -28,11 +28,11 @@ fact eq_inv_seq_aux: ∀f1,f2,n1,n2. n1@f1 ≗ n2@f2 → n1 = n2 ∧ f1 ≗ f2. ] qed-. -lemma eq_inv_seq: ∀g1,g2. g1 ≗ g2 → ∀f1,f2,n1,n2. n1@f1 = g1 → n2@f2 = g2 → - n1 = n2 ∧ f1 ≗ f2. +lemma eq_inv_seq: ∀g1,g2. g1 ≡ g2 → ∀f1,f2,n1,n2. n1⨮f1 = g1 → n2⨮f2 = g2 → + n1 = n2 ∧ f1 ≡ f2. /2 width=1 by eq_inv_seq_aux/ qed-. -corec lemma nstream_eq: ∀f1,f2. f1 ≗ f2 → f1 ≐ f2. +corec lemma nstream_eq: ∀f1,f2. f1 ≡ f2 → f1 ≗ f2. * #n1 #f1 * #n2 #f2 #Hf cases (eq_inv_gen … Hf) -Hf * #g1 #g2 #Hg #H1 #H2 [ cases (push_inv_seq_dx … H1) -H1 * -n1 #H1 @@ -45,11 +45,11 @@ corec lemma nstream_eq: ∀f1,f2. f1 ≗ f2 → f1 ≐ f2. ] qed-. -corec lemma nstream_inv_eq: ∀f1,f2. f1 ≐ f2 → f1 ≗ f2. +corec lemma nstream_inv_eq: ∀f1,f2. f1 ≗ f2 → f1 ≡ f2. * #n1 #f1 * #n2 #f2 #H cases (eq_stream_inv_seq ??? H) -H [2,3,4,5,6,7: // ] #Hf * -n2 cases n1 -n1 /3 width=5 by eq_push/ #n @eq_next /3 width=5 by eq_seq/ qed. -lemma eq_seq_id: ∀f1,f2. f1 ≗ f2 → ∀n. n@f1 ≗ n@f2. +lemma eq_seq_id: ∀f1,f2. f1 ≡ f2 → ∀n. n⨮f1 ≡ n⨮f2. /4 width=1 by nstream_inv_eq, nstream_eq, eq_seq/ qed.