]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_prototerm_proper.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / substitution / lift_prototerm_proper.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.ma".
16 include "delayed_updating/substitution/lift_path_proper.ma".
17 include "delayed_updating/syntax/prototerm_proper.ma".
18
19 (* LIFT FOR PROTOTERM *******************************************************)
20
21 (* Constructions with proper condition for path *****************************)
22
23 lemma lift_term_proper (f) (t):
24       t ϵ 𝐏 → 🠡[f]t ϵ 𝐏.
25 #f #t #Ht #p * #q #Hq #H0 destruct
26 @lift_path_proper @Ht -Ht // (**) (* auto fails *)
27 qed.
28
29 (* Inversions with proper condition for path ********************************)
30
31 lemma lift_term_inv_proper (f) (t):
32       🠡[f]t ϵ 𝐏 → t ϵ 𝐏.
33 #f #t #Ht #p #Hp
34 @(lift_path_inv_proper f)
35 @Ht -Ht @in_comp_lift_path_term // (**) (* auto fails *)
36 qed-.