]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/basic_2/grammar/cl_shift.ma
319569fe5cdd434a4428297c6606e4ec8c534eaf
[helm.git] / matita / matita / contribs / lambda_delta / basic_2 / grammar / cl_shift.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/grammar/lenv.ma".
16
17 (* SHIFT OF A CLOSURE *******************************************************)
18
19 let rec shift L T on L ≝ match L with
20 [ LAtom       ⇒ T
21 | LPair L I V ⇒ shift L (-ⓑ{I} V. T)
22 ].
23
24 interpretation "shift (closure)" 'Append L T = (shift L T).