]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/relocation/tr_pap_tls.ma
978d360f6f20dcb038b5c9217c6558c97d35e02c
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / tr_pap_tls.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/relocation/tr_pap.ma".
16 include "ground/lib/stream_tls.ma".
17
18 (* POSITIVE APPLICATION FOR TOTAL RELOCATION MAPS ***************************)
19
20 (* Constructions with stream_tls ********************************************)
21
22 lemma tr_pap_plus (i1) (i2) (f):
23       (⇂*[ninj i2]f)@❨i1❩+f@❨i2❩ = f@❨i1+i2❩.
24 #i1 #i2 elim i2 -i2
25 [ * #p #f //
26 | #i #IH * #p #f
27   <pplus_succ_dx <tr_pap_succ <tr_pap_succ
28   <IH -IH >nsucc_inj //
29 ]
30 qed.