]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_constructors.ma
update in delayed updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / substitution / lift_constructors.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/substitution/lift_prototerm_eq.ma".
16 include "delayed_updating/syntax/prototerm_constructors.ma".
17
18 (* LIFT FOR PROTOTERM *******************************************************)
19
20 lemma lift_iref_after_sn (f) (t:prototerm) (n:pnat):
21       ā†‘[fāˆ˜š®āØnā©]t āŠ† ā†‘[f](š›—n.t).
22 #f #t #n #p * #q #Hq #H0 destruct
23 @(ex2_intro ā€¦ (š—±nā——š—ŗā——q))
24 /2 width=1 by in_comp_iref/
25 qed-.
26
27 lemma lift_iref_after_dx (f) (t) (n:pnat):
28       ā†‘[f](š›—n.t) āŠ† ā†‘[fāˆ˜š®āØnā©]t.
29 #f #t #n #p * #q #Hq #H0 destruct
30 elim (in_comp_inv_iref ā€¦ Hq) -Hq #p #Hp #Ht destruct
31 /2 width=1 by in_comp_lift_bi/
32 qed-.
33
34 lemma lift_iref_after (f) (t) (n:pnat):
35       ā†‘[fāˆ˜š®āØnā©]t ā‡” ā†‘[f](š›—n.t).
36 /3 width=1 by conj, lift_iref_after_sn, lift_iref_after_dx/
37 qed.
38
39 lemma lift_iref (f) (t) (n:pnat):
40       ā†‘[f]ā†‘[š®āØnā©]t ā‡” ā†‘[f](š›—n.t).
41 /3 width=3 by lift_term_after, subset_eq_trans/
42 qed.