1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "ground/relocation/tr_eq.ma".
16 include "ground/relocation/tr_pn.ma".
18 (* PUSH AND NEXT FOR TOTAL RELOCATION MAPS **********************************)
20 (* Constructions with stream_eq *********************************************)
22 lemma tr_push_eq_repl:
23 stream_eq_repl … (λf1,f2. ⫯f1 ≗ ⫯f2).
24 /2 width=1 by stream_eq_cons/ qed.
26 lemma tr_next_eq_repl:
27 stream_eq_repl … (λf1,f2. ↑f1 ≗ ↑f2).
28 * #p1 #f1 * #p2 #f2 #H
29 elim (stream_eq_inv_cons_bi … H) -H [|*: // ]
30 /2 width=1 by stream_eq_cons/