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 "ground_2/relocation/nstream_basic.ma".
16 include "apps_2/functional/flifts.ma".
17 include "apps_2/notation/functional/uparrow_3.ma".
19 (* BASIC FUNCTIONAL RELOCATION **********************************************)
21 interpretation "basic functional relocation (term)"
22 'UpArrow d h T = (flifts (basic d h) T).
24 (* Basic properties *********************************************************)
26 lemma flifts_basic_lref_ge (i) (d) (h): d ≤ i → ↑[d,h](#i) = #(h+i).
28 /4 width=1 by apply_basic_ge, (* 2x *) eq_f/
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).