]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/Basic_2/unfold/ldrops.ma
c6bb67e79a8ca3d6d361155ca9f21d4d3ec79682
[helm.git] / matita / matita / contribs / lambda_delta / Basic_2 / unfold / ldrops.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/substitution/ldrop.ma".
16 include "Basic_2/unfold/lifts.ma".
17
18 (* GENERIC LOCAL ENVIRONMENT SLICING ****************************************)
19
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
24 .
25
26 interpretation "generic local environment slicing"
27    'RDrop des T1 T2 = (ldrops des T1 T2).