]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/i_static/rexs_length.ma
renaming in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / i_static / rexs_length.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 "basic_2/static/rex_length.ma".
16 include "basic_2/i_static/rexs.ma".
17
18 (* ITERATED EXTENSION ON REFERRED ENTRIES OF A CONTEXT-SENSITIVE REALTION ***)
19
20 (* Forward lemmas with length for local environments ************************)
21
22 (* Basic_2A1: uses: TC_lpx_sn_fwd_length *)
23 lemma rexs_fwd_length: ∀R,L1,L2,T. L1 ⪤*[R, T] L2 → |L1| = |L2|.
24 #R #L1 #L2 #T #H elim H -L2
25 [ #L2 #HL12 >(rex_fwd_length … HL12) -HL12 //
26 | #L #L2 #_ #HL2 #IHL1
27   >IHL1 -L1 >(rex_fwd_length … HL2) -HL2 //
28 ]
29 qed-.