]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/relocation/lexs_length.ma
- degree-based equivalene for terms
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / relocation / lexs_length.ma
index 1654342fdfc3f6e8e0fa89d1cc646e6ca6b15d71..972c773ed34b92954ccb6e89eb76bf52baa5d00d 100644 (file)
@@ -12,7 +12,7 @@
 (*                                                                        *)
 (**************************************************************************)
 
-include "basic_2/grammar/lenv_length.ma".
+include "basic_2/syntax/lenv_length.ma".
 include "basic_2/relocation/lexs.ma".
 
 (* GENERIC ENTRYWISE EXTENSION OF CONTEXT-SENSITIVE REALTIONS FOR TERMS *****)
@@ -20,6 +20,7 @@ include "basic_2/relocation/lexs.ma".
 (* Forward lemmas with length for local environments ************************)
 
 (* Basic_2A1: includes: lpx_sn_fwd_length *)
-lemma lexs_fwd_length: ∀RN,RP,L1,L2,f. L1 ⦻*[RN, RP, f] L2 → |L1| = |L2|.
-#RM #RP #L1 #L2 #f #H elim H -L1 -L2 -f //
+lemma lexs_fwd_length: ∀RN,RP,f,L1,L2. L1 ⦻*[RN, RP, f] L2 → |L1| = |L2|.
+#RM #RP #f #L1 #L2 #H elim H -f -L1 -L2 //
+#f #I #L1 #L2 #V1 #V2 >length_pair >length_pair //
 qed-.