1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "basic_2/relocation/lifts_vector.ma".
16 include "basic_2/relocation/drops.ma".
18 (* GENERIC SLICING FOR LOCAL ENVIRONMENTS ***********************************)
20 definition d_liftable1_all: predicate (relation2 lenv term) ≝
21 λR. ∀K,Ts. all … (R K) Ts →
22 ∀b,f,L. ⬇*[b, f] L ≘ K →
23 ∀Us. ⬆*[f] Ts ≘ Us → all … (R L) Us.
25 (* Properties with generic relocation for term vectors **********************)
27 (* Basic_2A1: was: d1_liftables_liftables_all *)
28 lemma d1_liftable_liftable_all: ∀R. d_liftable1 R → d_liftable1_all R.
29 #R #HR #K #Ts #HTs #b #f #L #HLK #Us #H
30 generalize in match HTs; -HTs elim H -Ts -Us normalize //
31 #Ts #Us #T #U #HTU #_ #IHTUs * /3 width=7 by conj/