]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/static/lfxs_fle.ma
cc067e50ae7ac5668174a7149b79b8189b688a03
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / static / lfxs_fle.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/syntax/lveq_length.ma".
16 include "basic_2/static/fle.ma".
17 include "basic_2/static/lfxs_lfxs.ma".
18
19 (* GENERIC EXTENSION ON REFERRED ENTRIES OF A CONTEXT-SENSITIVE REALTION ****)
20
21 (* Properties with free variables inclusion for restricted closures *********)
22
23 (* Note: we just need lveq_inv_refl: ∀L,n1,n2. L ≋ⓧ*[n1, n2] L → ∧∧ 0 = n1 & 0 = n2 *)
24 lemma fle_lfxs_trans: ∀R,L1,T1,T2. ⦃L1, T1⦄ ⊆ ⦃L1, T2⦄ →
25                       ∀L2. L1 ⪤*[R, T2] L2 → L1 ⪤*[R, T1] L2.
26 #R #L1 #T1 #T2 * #n1 #n2 #f1 #f2 #Hf1 #Hf2 #Hn #Hf #L2 #HL12
27 elim (lveq_inj_length … Hn ?) // #H1 #H2 destruct
28 /4 width=5 by lfxs_inv_frees, sle_lexs_trans, ex2_intro/
29 qed-.