]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2A/multiple/frees_lreq.ma
update in lambdadelta
[helm.git] / matita / matita / contribs / lambdadelta / basic_2A / multiple / frees_lreq.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_2A/substitution/drop_lreq.ma".
16 include "basic_2A/multiple/frees.ma".
17
18 (* CONTEXT-SENSITIVE FREE VARIABLES *****************************************)
19
20 (* Properties on equivalence for local environments *************************)
21
22 lemma lreq_frees_trans: āˆ€L2,U,l,i. L2 āŠ¢ i Ļµ š…*[l]ā¦ƒUā¦„ ā†’
23                         āˆ€L1. L1 ā©¬[l, āˆž] L2 ā†’ L1 āŠ¢ i Ļµ š…*[l]ā¦ƒUā¦„.
24 #L2 #U #l #i #H elim H -L2 -U -l -i /3 width=2 by frees_eq/
25 #I2 #L2 #K2 #U #W2 #l #i #j #Hlj #Hji #HnU #HLK2 #_ #IHW2 #L1 #HL12
26 elim (lreq_drop_trans_be ā€¦ HL12 ā€¦ HLK2) -L2 // >yminus_Y_inj #K1 #HK12 #HLK1
27 lapply (lreq_inv_O_Y ā€¦ HK12) -HK12 #H destruct /3 width=9 by frees_be/
28 qed-.
29
30 lemma frees_lreq_conf: āˆ€L1,U,l,i. L1 āŠ¢ i Ļµ š…*[l]ā¦ƒUā¦„ ā†’
31                        āˆ€L2. L1 ā©¬[l, āˆž] L2 ā†’ L2 āŠ¢ i Ļµ š…*[l]ā¦ƒUā¦„.
32 /3 width=3 by lreq_sym, lreq_frees_trans/ qed-.