]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/basic_2/unfold/delift_delift.ma
f6cb1fa3ff6c7a57703dfff8358e89d4877825ce
[helm.git] / matita / matita / contribs / lambda_delta / basic_2 / unfold / delift_delift.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 "basic_2/unfold/tpss_tpss.ma".
16 include "basic_2/unfold/delift.ma".
17
18 (* INVERSE BASIC TERM RELOCATION  *******************************************)
19
20 (* Main properties **********************************************************)
21
22 theorem delift_mono: ∀L,T,T1,T2,d,e.
23                      L ⊢ T ▼*[d, e] ≡ T1 → L ⊢ T ▼*[d, e] ≡ T2 → T1 = T2.
24 #L #T #T1 #T2 #d #e * #U1 #H1TU1 #H2TU1 * #U2 #H1TU2 #H2TU2
25 elim (tpss_conf_eq … H1TU1 … H1TU2) -T #U #HU1 #HU2
26 lapply (tpss_inv_lift1_eq … HU1 … H2TU1) -HU1 #H destruct
27 lapply (tpss_inv_lift1_eq … HU2 … H2TU2) -HU2 #H destruct
28 lapply (lift_inj … H2TU1 … H2TU2) //
29 qed-.