]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/apps_2/functional/flifts_basic.ma
update in functional
[helm.git] / matita / matita / contribs / lambdadelta / apps_2 / functional / flifts_basic.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 "ground_2/relocation/nstream_basic.ma".
16 include "apps_2/functional/flifts.ma".
17 include "apps_2/notation/functional/uparrow_3.ma".
18
19 (* BASIC FUNCTIONAL RELOCATION **********************************************)
20
21 interpretation "basic functional relocation (term)"
22    'UpArrow d h T = (flifts (basic d h) T).
23
24 (* Basic properties *********************************************************)
25
26 lemma flifts_basic_lref_ge (i) (d) (h): d ≤ i → ↑[d,h](#i) = #(h+i).
27 #i #d #h #Hdi
28 /4 width=1 by apply_basic_ge, (* 2x *) eq_f/
29 qed-.
30
31 lemma flifts_basic_bind (p) (I) (V) (T) (d) (h): ↑[d,h](ⓑ{p,I}V.T) = ⓑ{p,I}(↑[d,h]V).(↑[↑d,h]T).
32 // qed.