X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Fnstream_eq.ma;h=1b6c466ba841110bc9fd0a313ce8d9b148fd45ff;hb=9a023f554e56d6edbbb2eeaf17ce61e31857ef4a;hp=cec531469437e7689976f4a209848f8eaa7c81e9;hpb=91ab6965be539b7ed0f3208e1c1fffd17aa151f7;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 cec531469..1b6c466ba 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_eq.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_eq.ma @@ -16,7 +16,7 @@ include "ground_2/relocation/rtmap_eq.ma". (* RELOCATION N-STREAM ******************************************************) -(* Specific properties on eq ************************************************) +(* Specific properties ******************************************************) 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 @@ -32,7 +32,7 @@ lemma eq_inv_seq: ∀g1,g2. g1 ≗ g2 → ∀f1,f2,n1,n2. n1@f1 = g1 → n2@f2 = n1 = n2 ∧ f1 ≗ f2. /2 width=1 by eq_inv_seq_aux/ qed-. -let corec 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,7 +45,7 @@ let corec nstream_eq: ∀f1,f2. f1 ≗ f2 → f1 ≐ f2 ≝ ?. ] qed-. -let corec 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/