X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Flib%2Fstream_tls.ma;h=b2f042c1f20faeae78cba32d601ea94e3952b311;hb=8bbe582d87984526f40182c4409cbfd43108cb79;hp=9f34ba81d06f5b1a723571a005b11f2be8f22654;hpb=6604a232815858a6c75dd25ac45abd68438077ff;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground/lib/stream_tls.ma b/matita/matita/contribs/lambdadelta/ground/lib/stream_tls.ma index 9f34ba81d..b2f042c1f 100644 --- a/matita/matita/contribs/lambdadelta/ground/lib/stream_tls.ma +++ b/matita/matita/contribs/lambdadelta/ground/lib/stream_tls.ma @@ -12,7 +12,7 @@ (* *) (**************************************************************************) -include "ground/notation/functions/downspoonstar_3.ma". +include "ground/notation/functions/downharpoonrightstar_3.ma". include "ground/lib/stream_hdtl.ma". include "ground/arith/nat_succ_iter.ma". @@ -23,32 +23,26 @@ definition stream_tls (A) (n): stream A → stream A ≝ interpretation "iterated tail (strams)" - 'DownSpoonStar A n f = (stream_tls A n f). + 'DownHarpoonRightStar A n f = (stream_tls A n f). (* Basic constructions ******************************************************) lemma stream_tls_zero (A) (t): - t = ⫰*{A}[𝟎]t. + t = ⇂*{A}[𝟎]t. // qed. lemma stream_tls_tl (A) (n) (t): - (⫰⫰*[n]t) = ⫰*{A}[n]⫰t. + (⇂⇂*[n]t) = ⇂*{A}[n]⇂t. #A #n #t @(niter_appl … (stream_tl …)) qed. lemma stream_tls_succ (A) (n) (t): - (⫰⫰*[n]t) = ⫰*{A}[↑n]t. + (⇂⇂*[n]t) = ⇂*{A}[↑n]t. #A #n #t @(niter_succ … (stream_tl …)) qed. lemma stream_tls_swap (A) (n) (t): - (⫰*[n]⫰t) = ⫰*{A}[↑n]t. + (⇂*[n]⇂t) = ⇂*{A}[↑n]t. // qed. - -lemma stream_tls_eq_repl (A) (n): - stream_eq_repl A (λt1,t2. ⫰*[n] t1 ≗ ⫰*[n] t2). -#A #n @(nat_ind_succ … n) -n // -#n #IH * #n1 #t1 * #n2 #t2 #H elim (stream_eq_inv_cons … H) /2 width=7 by/ -qed.