]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/syntax/voids_length.ma
work in progress on a new definition of voids ...
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / syntax / voids_length.ma
index 510a05f681ad39fddbccb2a69f165bad68914d3c..30738ee24709f3b42e7ddb6d41bf41de4c0b1e42 100644 (file)
 include "basic_2/syntax/lenv_length.ma".
 include "basic_2/syntax/voids.ma".
 
-(* EXTENSION OF A LOCAL ENVIRONMENT WITH EXCLUSION BINDERS ******************)
+(* EQUIVALENCE FOR LOCAL ENVIRONMENTS UP TO EXCLUSION BINDERS ***************)
 
-(* Properties with length for local environments ****************************)
+(* Forward lemmas with length for local environments ************************)
 
-lemma length_void: ∀L,n. n+|L| = |ⓧ*[n]L|.
-#L #n elim n -n //
-#n #IH <voids_succ >length_bind <IH -IH //
-qed.
+lemma voids_fwd_length: ∀L1,L2,n1,n2. ⓧ*[n1]L1 ≋ ⓧ*[n2]L2 →
+                        |L1| + n2 = |L2| + n1.
+#L1 #L2 #n1 #n2 #H elim H -L1 -L2 -n1 -n2 normalize //
+#I1 #I2 #K1 #K2 #V #n #_ #IH 
 
 (* Main forward properties with length for local environments ***************)