]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/relocation/rtmap_tl.ma
ground_2 released and permanently renamed as ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / rtmap_tl.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/notation/functions/droppred_1.ma".
16 include "ground/relocation/rtmap_eq.ma".
17
18 (* RELOCATION MAP ***********************************************************)
19
20 definition tl: rtmap → rtmap.
21 @case_type0 #f @f
22 defined.
23
24 interpretation "tail (rtmap)" 'DropPred f = (tl f).
25
26 (* Basic properties *********************************************************)
27
28 lemma tl_rew: ∀f. case_type0 (λ_:rtmap.rtmap) (λf:rtmap.f) (λf:rtmap.f) f = ⫱f.
29 // qed.
30
31 lemma tl_push_rew: ∀f. f = ⫱⫯f.
32 #f <tl_rew <iota_push //
33 qed.
34
35 lemma tl_next_rew: ∀f. f = ⫱↑f.
36 #f <tl_rew <iota_next //
37 qed.
38
39 lemma tl_eq_repl: eq_repl … (λf1,f2. ⫱f1 ≡ ⫱f2).
40 #f1 #f2 * -f1 -f2 //
41 qed.