]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_structure.ma
903026e4dfd7167948257aa023b5274cf44a8ec3
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / substitution / lift_structure.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 "delayed_updating/syntax/path_structure.ma".
16 include "delayed_updating/substitution/lift_eq.ma".
17
18 (* LIFT FOR PATH ***********************************************************)
19
20 (* Constructions with structure ********************************************)
21
22 lemma lift_d_empty_dx (n) (p) (f):
23       (āŠ—p)ā—–š—±āØ(ā†‘[pā—–š—±āØnā©]f)@āØnā©ā© = ā†‘[f](pā—–š—±āØnā©).
24 #n #p @(path_ind_lift ā€¦ p) -p // [ #m #l #p |*: #p ] #IH #f
25 [ <lift_rmap_d_lcons_sn <lift_path_d_lcons_sn //
26 | <lift_rmap_L_sn <lift_path_L_sn <IH //
27 | <lift_rmap_A_sn <lift_path_A_sn <IH //
28 | <lift_rmap_S_sn <lift_path_S_sn <IH //
29 ]
30 qed.
31
32 lemma lift_L_dx (p) (f):
33       (āŠ—p)ā—–š—Ÿ = ā†‘[f](pā—–š—Ÿ).
34 #p @(path_ind_lift ā€¦ p) -p // #m #l #p #IH #f
35 <lift_path_d_lcons_sn //
36 qed.
37
38 lemma lift_A_dx (p) (f):
39       (āŠ—p)ā—–š—” = ā†‘[f](pā—–š—”).
40 #p @(path_ind_lift ā€¦ p) -p // #m #l #p #IH #f
41 <lift_path_d_lcons_sn //
42 qed.
43
44 lemma lift_S_dx (p) (f):
45       (āŠ—p)ā—–š—¦ = ā†‘[f](pā—–š—¦).
46 #p @(path_ind_lift ā€¦ p) -p // #m #l #p #IH #f
47 <lift_path_d_lcons_sn //
48 qed.
49
50 lemma structure_lift (p) (f):
51       āŠ—p = āŠ—ā†‘[f]p.
52 #p @(path_ind_lift ā€¦ p) -p // #p #IH #f
53 <lift_path_L_sn //
54 qed.
55
56 lemma lift_structure (p) (f):
57       āŠ—p = ā†‘[f]āŠ—p.
58 #p @(path_ind_lift ā€¦ p) -p //
59 qed.