Metamath Proof Explorer


Theorem erdszelem2

Description: Lemma for erdsze . (Contributed by Mario Carneiro, 22-Jan-2015)

Ref Expression
Hypothesis erdszelem1.1 ⊢ S = y ∈ 𝒫 1 … A | F ↾ y Isom < , O y F y ∧ A ∈ y
Assertion erdszelem2 ⊢ . S ∈ Fin ∧ . S ⊆ ℕ

Proof

Step Hyp Ref Expression
1 erdszelem1.1 ⊢ S = y ∈ 𝒫 1 … A | F ↾ y Isom < , O y F y ∧ A ∈ y
2 fzfi ⊢ 1 … A ∈ Fin
3 pwfi ⊢ 1 … A ∈ Fin ↔ 𝒫 1 … A ∈ Fin
4 2 3 mpbi ⊢ 𝒫 1 … A ∈ Fin
5 ssrab2 ⊢ y ∈ 𝒫 1 … A | F ↾ y Isom < , O y F y ∧ A ∈ y ⊆ 𝒫 1 … A
6 1 5 eqsstri ⊢ S ⊆ 𝒫 1 … A
7 ssfi ⊢ 𝒫 1 … A ∈ Fin ∧ S ⊆ 𝒫 1 … A → S ∈ Fin
8 4 6 7 mp2an ⊢ S ∈ Fin
9 hashf ⊢ . : V ⟶ ℕ 0 ∪ +∞
10 ffun ⊢ . : V ⟶ ℕ 0 ∪ +∞ → Fun ⁡ .
11 9 10 ax-mp ⊢ Fun ⁡ .
12 ssv ⊢ S ⊆ V
13 9 fdmi ⊢ dom ⁡ . = V
14 12 13 sseqtrri ⊢ S ⊆ dom ⁡ .
15 fores ⊢ Fun ⁡ . ∧ S ⊆ dom ⁡ . → . ↾ S : S ⟶ onto . S
16 11 14 15 mp2an ⊢ . ↾ S : S ⟶ onto . S
17 fofi ⊢ S ∈ Fin ∧ . ↾ S : S ⟶ onto . S → . S ∈ Fin
18 8 16 17 mp2an ⊢ . S ∈ Fin
19 funimass4 ⊢ Fun ⁡ . ∧ S ⊆ dom ⁡ . → . S ⊆ ℕ ↔ ∀ x ∈ S x ∈ ℕ
20 11 14 19 mp2an ⊢ . S ⊆ ℕ ↔ ∀ x ∈ S x ∈ ℕ
21 1 erdszelem1 ⊢ x ∈ S ↔ x ⊆ 1 … A ∧ F ↾ x Isom < , O x F x ∧ A ∈ x
22 ne0i ⊢ A ∈ x → x ≠ ∅
23 22 3ad2ant3 ⊢ x ⊆ 1 … A ∧ F ↾ x Isom < , O x F x ∧ A ∈ x → x ≠ ∅
24 simp1 ⊢ x ⊆ 1 … A ∧ F ↾ x Isom < , O x F x ∧ A ∈ x → x ⊆ 1 … A
25 ssfi ⊢ 1 … A ∈ Fin ∧ x ⊆ 1 … A → x ∈ Fin
26 2 24 25 sylancr ⊢ x ⊆ 1 … A ∧ F ↾ x Isom < , O x F x ∧ A ∈ x → x ∈ Fin
27 hashnncl ⊢ x ∈ Fin → x ∈ ℕ ↔ x ≠ ∅
28 26 27 syl ⊢ x ⊆ 1 … A ∧ F ↾ x Isom < , O x F x ∧ A ∈ x → x ∈ ℕ ↔ x ≠ ∅
29 23 28 mpbird ⊢ x ⊆ 1 … A ∧ F ↾ x Isom < , O x F x ∧ A ∈ x → x ∈ ℕ
30 21 29 sylbi ⊢ x ∈ S → x ∈ ℕ
31 20 30 mprgbir ⊢ . S ⊆ ℕ
32 18 31 pm3.2i ⊢ . S ∈ Fin ∧ . S ⊆ ℕ