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 "delayed_updating/unwind_k/unwind2_rmap.ma".
16 include "delayed_updating/syntax/path_structure.ma".
17 include "ground/relocation/tr_compose_compose.ma".
18 include "ground/relocation/tr_compose_pn.ma".
19 include "ground/relocation/tr_compose_eq.ma".
20 include "ground/relocation/tr_pn_eq.ma".
21 include "ground/lib/stream_eq_eq.ma".
23 (* TAILED UNWIND FOR RELOCATION MAP *****************************************)
25 (* Constructions with tr_after **********************************************)
27 lemma unwind2_rmap_after (g) (f) (p:path):
28 ▶[g]⊗p∘▶[f]p ≗ ▶[g∘f]p.
29 #g #f #p elim p -p // * [ #k ] #p #IH //
30 [ <structure_d_dx <unwind2_rmap_d_dx <unwind2_rmap_d_dx
31 @(stream_eq_canc_sn … (tr_compose_assoc …))
32 /2 width=1 by tr_compose_eq_repl/
33 | <structure_L_dx <unwind2_rmap_L_dx <unwind2_rmap_L_dx <unwind2_rmap_L_dx
34 /2 width=1 by tr_push_eq_repl/