]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/etc/voids/fle.etc
two cases of cpx_lfxs_conf_fle closed
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / etc / voids / fle.etc
1 (* Basic inversion lemmas ***************************************************)
2
3 fact fle_inv_voids_aux: ∀L1,L2,T1,T2. ⦃L1, T1⦄ ⊆ ⦃L2, T2⦄ →
4                         ∀K1,K2,n1,n2. |K1| = |K2| → L1 = ⓧ*[n1]K1 → L2 = ⓧ*[n2]K2 →
5                         ∃∃f1,f2. ⓧ*[n1]K1 ⊢ 𝐅*⦃T1⦄ ≡ f1 & ⓧ*[n2]K2 ⊢ 𝐅*⦃T2⦄ ≡ f2 & ⫱*[n1]f1 ⊆ ⫱*[n2]f2.
6 #L1 #L2 #T1 #T2 * -L1 -L2
7 #f1 #f2 #L1 #L2 #n1 #n2 #Hf1 #Hf2 #HL12 #Hf12 #Y1 #Y2 #x1 #x2 #HY12 #H1 #H2 destruct
8 >H1 in Hf1; >H2 in Hf2; #Hf2 #Hf1
9 @(ex3_2_intro … Hf1 Hf2) -Hf1 -Hf2
10
11 elim (voids_inj_length … H1) // -H -HL12 -HY #H1 #H2 destruct
12 /2 width=5 by ex3_2_intro/
13 qed-.
14
15 lemma fle_inv_voids_sn: ∀L1,L2,T1,T2,n. ⦃ⓧ*[n]L1, T1⦄ ⊆ ⦃L2, T2⦄ → |L1| = |L2| →
16                         ∃∃f1,f2. ⓧ*[n]L1 ⊢ 𝐅*⦃T1⦄ ≡ f1 & L2 ⊢ 𝐅*⦃T2⦄ ≡ f2 & ⫱*[n]f1 ⊆ f2.
17 /2 width=3 by fle_inv_voids_sn_aux/ qed-.