]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/static_2/syntax/lenv_length.ma
partial commit in static_2
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / syntax / lenv_length.ma
index 162b21fa059d2df9dec535a05447996b29754ed0..5f4b5dcb71cf718e4d4469c4912ce97ee2e00451 100644 (file)
@@ -29,7 +29,7 @@ lemma length_atom: |⋆| = 0.
 // qed.
 
 (* Basic_2A1: uses: length_pair *)
-lemma length_bind: ∀I,L. |L.ⓘ{I}| = ↑|L|.
+lemma length_bind: ∀I,L. |L.ⓘ[I]| = ↑|L|.
 // qed.
 
 (* Basic inversion lemmas ***************************************************)
@@ -44,16 +44,16 @@ lemma length_inv_zero_sn: ∀L. 0 = |L| → L = ⋆.
 
 (* Basic_2A1: was: length_inv_pos_dx *)
 lemma length_inv_succ_dx: ∀n,L. |L| = ↑n →
-                          ∃∃I,K. |K| = n & L = K. ⓘ{I}.
+                          ∃∃I,K. |K| = n & L = K. ⓘ[I].
 #n *
 [ >length_atom #H destruct
-| #L #I >length_bind /3 width=4 by ex2_2_intro, injective_S/
+| #L #I >length_bind /3 width=4 by ex2_2_intro, eq_inv_nsucc_bi/
 ]
 qed-.
 
 (* Basic_2A1: was: length_inv_pos_sn *)
 lemma length_inv_succ_sn: ∀n,L. ↑n = |L| →
-                          ∃∃I,K. n = |K| & L = K. ⓘ{I}.
+                          ∃∃I,K. n = |K| & L = K. ⓘ[I].
 #n #L #H lapply (sym_eq ??? H) -H
 #H elim (length_inv_succ_dx … H) -H /2 width=4 by ex2_2_intro/
 qed-.