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/notation/functions/droppreds_2.ma".
16 include "ground_2/relocation/rtmap_tl.ma".
18 (* RELOCATION MAP ***********************************************************)
20 let rec tls (f:rtmap) (n:nat) on n: rtmap ≝ match n with
21 [ O ⇒ f | S m ⇒ ⫱(tls f m) ].
23 interpretation "tls (rtmap)" 'DropPreds n f = (tls f n).
25 (* Basic properties *********************************************************)
27 lemma tls_rew_O: ∀f. f = ⫱*[0] f.
30 lemma tls_rew_S: ∀f,n. ⫱ ⫱*[n] f = ⫱*[⫯n] f.
33 lemma tls_eq_repl: ∀n. eq_repl (λf1,f2. ⫱*[n] f1 ≗ ⫱*[n] f2).
34 #n elim n -n /3 width=1 by tl_eq_repl/
37 (* Advancedd properties *****************************************************)
39 lemma tls_xn: ∀n,f. ⫱*[n] ⫱f = ⫱*[⫯n] f.