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/substitution/lift_eq.ma".
16 include "delayed_updating/syntax/path_structure.ma".
17 include "delayed_updating/syntax/path_proper.ma".
19 (* LIFT FOR PATH ***********************************************************)
21 (* Basic constructions with structure **************************************)
23 lemma structure_lift (p) (f):
25 #p @(path_ind_lift … p) -p // #p #IH #f
29 lemma lift_structure (p) (f):
31 #p @(path_ind_lift … p) -p //
34 (* Properties with proper condition for path ********************************)
36 lemma lift_append_proper_dx (p2) (p1) (f): Ꝕp2 →
37 (⊗p1)●(↑[↑[p1]f]p2) = ↑[f](p1●p2).
38 #p2 #p1 @(path_ind_lift … p1) -p1 //
39 [ #n | #n #l #p1 |*: #p1 ] #IH #f #Hp2
40 [ elim (ppc_inv_lcons … Hp2) -Hp2 #l #q #H destruct //
41 | <lift_path_d_lcons_sn <IH //
42 | <lift_path_L_sn <IH //
43 | <lift_path_A_sn <IH //
44 | <lift_path_S_sn <IH //
48 (* Advanced constructions with structure ************************************)
50 lemma lift_d_empty_dx (n) (p) (f):
51 (⊗p)◖𝗱((↑[p]f)@❨n❩) = ↑[f](p◖𝗱n).
52 /3 width=3 by ppc_lcons, lift_append_proper_dx/
55 lemma lift_L_dx (p) (f):
57 /3 width=3 by ppc_lcons, lift_append_proper_dx/
60 lemma lift_A_dx (p) (f):
62 /3 width=3 by ppc_lcons, lift_append_proper_dx/
65 lemma lift_S_dx (p) (f):
67 /3 width=3 by ppc_lcons, lift_append_proper_dx/