]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/lib/stream_tls_eq.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / lib / stream_tls_eq.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 include "ground/lib/stream_eq.ma".
16 include "ground/lib/stream_tls.ma".
17
18 (* ITERATED TAIL FOR STREAMS ************************************************)
19
20 (* Constructions with stream_eq *********************************************)
21
22 lemma stream_tls_eq_repl (A) (n):
23       stream_eq_repl A (λt1,t2. ⫰*[n] t1 ≗ ⫰*[n] t2).
24 #A #n @(nat_ind_succ … n) -n //
25 #n #IH * #n1 #t1 * #n2 #t2 #H
26 elim (stream_eq_inv_cons_bi … H) /2 width=7 by/
27 qed.