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/substitution/ldrop.ma".
16 include "Basic_2/unfold/lifts.ma".
18 (* GENERIC LOCAL ENVIRONMENT SLICING ****************************************)
20 inductive ldrops: list2 nat nat → relation lenv ≝
21 | ldrops_nil : ∀L. ldrops ⟠ L L
22 | ldrops_cons: ∀L1,L,L2,des,d,e.
23 ⇓[d,e] L1 ≡ L → ldrops des L L2 → ldrops ({d, e} :: des) L1 L2
26 interpretation "generic local environment slicing"
27 'RDrop des T1 T2 = (ldrops des T1 T2).