1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "basic_2/grammar/lenv_length.ma".
16 include "basic_2/grammar/cl_restricted_weight.ma".
17 include "basic_2/relocation/frees.ma".
19 (* CONTEXT-SENSITIVE FREE VARIABLES *****************************************)
21 (* Forward lemmas on length for local environments **************************)
23 lemma frees_fwd_length: ∀L,T,t. L ⊢ 𝐅*⦃T⦄ ≡ t → |L| = |t|.
24 #L #T #t #H elim H -L -T -t //
25 [ #p ] #I #L #V #T #t1 #t2 #t [ #b ] #_ #_ #Ht elim (sor_inv_length … Ht) -Ht //