]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/relocation/drops_vector.ma
- minor corrections
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / relocation / drops_vector.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/relocation/lifts_vector.ma".
16 include "basic_2/relocation/drops.ma".
17
18 (* GENERIC SLICING FOR LOCAL ENVIRONMENTS ***********************************)
19
20 definition d_liftable1_all: relation2 lenv term → predicate bool ≝
21                             λR,c. ∀L,K,f. ⬇*[c, f] L ≡ K →
22                             ∀Ts,Us. ⬆*[f] Ts ≡ Us →
23                             all … (R K) Ts → all … (R L) Us.
24
25 (* Properties with generic relocation for term vectors **********************)
26
27 (* Basic_2A1: was: d1_liftables_liftables_all *)
28 lemma d1_liftable_liftable_all: ∀R,c. d_liftable1 R c → d_liftable1_all R c.
29 #R #c #HR #L #K #f #HLK #Ts #Us #H elim H -Ts -Us normalize //
30 #Ts #Us #T #U #HTU #_ #IHTUs * /3 width=7 by conj/
31 qed.