MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  dis2ndc Structured version   Visualization version   GIF version

Theorem dis2ndc 21173
Description: A discrete space is second-countable iff it is countable. (Contributed by Mario Carneiro, 13-Apr-2015.)
Assertion
Ref Expression
dis2ndc (𝑋 ≼ ω ↔ 𝒫 𝑋 ∈ 2nd𝜔)

Proof of Theorem dis2ndc
Dummy variables 𝑤 𝑏 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 reldom 7905 . . 3 Rel ≼
21brrelexi 5118 . 2 (𝑋 ≼ ω → 𝑋 ∈ V)
3 elex 3198 . . 3 (𝒫 𝑋 ∈ 2nd𝜔 → 𝒫 𝑋 ∈ V)
4 pwexb 6922 . . 3 (𝑋 ∈ V ↔ 𝒫 𝑋 ∈ V)
53, 4sylibr 224 . 2 (𝒫 𝑋 ∈ 2nd𝜔 → 𝑋 ∈ V)
6 elex 3198 . . . . 5 (𝑋 ∈ V → 𝑋 ∈ V)
7 snex 4869 . . . . . . . 8 {𝑥} ∈ V
872a1i 12 . . . . . . 7 (𝑋 ∈ V → (𝑥𝑋 → {𝑥} ∈ V))
9 vex 3189 . . . . . . . . . 10 𝑥 ∈ V
109sneqr 4339 . . . . . . . . 9 ({𝑥} = {𝑦} → 𝑥 = 𝑦)
11 sneq 4158 . . . . . . . . 9 (𝑥 = 𝑦 → {𝑥} = {𝑦})
1210, 11impbii 199 . . . . . . . 8 ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦)
13122a1i 12 . . . . . . 7 (𝑋 ∈ V → ((𝑥𝑋𝑦𝑋) → ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦)))
148, 13dom2lem 7939 . . . . . 6 (𝑋 ∈ V → (𝑥𝑋 ↦ {𝑥}):𝑋1-1→V)
15 f1f1orn 6105 . . . . . 6 ((𝑥𝑋 ↦ {𝑥}):𝑋1-1→V → (𝑥𝑋 ↦ {𝑥}):𝑋1-1-onto→ran (𝑥𝑋 ↦ {𝑥}))
1614, 15syl 17 . . . . 5 (𝑋 ∈ V → (𝑥𝑋 ↦ {𝑥}):𝑋1-1-onto→ran (𝑥𝑋 ↦ {𝑥}))
17 f1oeng 7918 . . . . 5 ((𝑋 ∈ V ∧ (𝑥𝑋 ↦ {𝑥}):𝑋1-1-onto→ran (𝑥𝑋 ↦ {𝑥})) → 𝑋 ≈ ran (𝑥𝑋 ↦ {𝑥}))
186, 16, 17syl2anc 692 . . . 4 (𝑋 ∈ V → 𝑋 ≈ ran (𝑥𝑋 ↦ {𝑥}))
19 domen1 8046 . . . 4 (𝑋 ≈ ran (𝑥𝑋 ↦ {𝑥}) → (𝑋 ≼ ω ↔ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
2018, 19syl 17 . . 3 (𝑋 ∈ V → (𝑋 ≼ ω ↔ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
21 distop 20710 . . . . . . 7 (𝑋 ∈ V → 𝒫 𝑋 ∈ Top)
22 simpr 477 . . . . . . . . . 10 ((𝑋 ∈ V ∧ 𝑥𝑋) → 𝑥𝑋)
239snelpw 4874 . . . . . . . . . 10 (𝑥𝑋 ↔ {𝑥} ∈ 𝒫 𝑋)
2422, 23sylib 208 . . . . . . . . 9 ((𝑋 ∈ V ∧ 𝑥𝑋) → {𝑥} ∈ 𝒫 𝑋)
25 eqid 2621 . . . . . . . . 9 (𝑥𝑋 ↦ {𝑥}) = (𝑥𝑋 ↦ {𝑥})
2624, 25fmptd 6340 . . . . . . . 8 (𝑋 ∈ V → (𝑥𝑋 ↦ {𝑥}):𝑋⟶𝒫 𝑋)
27 frn 6010 . . . . . . . 8 ((𝑥𝑋 ↦ {𝑥}):𝑋⟶𝒫 𝑋 → ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝒫 𝑋)
2826, 27syl 17 . . . . . . 7 (𝑋 ∈ V → ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝒫 𝑋)
29 elpwi 4140 . . . . . . . . . . . . 13 (𝑦 ∈ 𝒫 𝑋𝑦𝑋)
3029ad2antrl 763 . . . . . . . . . . . 12 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → 𝑦𝑋)
31 simprr 795 . . . . . . . . . . . 12 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → 𝑧𝑦)
3230, 31sseldd 3584 . . . . . . . . . . 11 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → 𝑧𝑋)
33 eqidd 2622 . . . . . . . . . . 11 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → {𝑧} = {𝑧})
34 sneq 4158 . . . . . . . . . . . . 13 (𝑥 = 𝑧 → {𝑥} = {𝑧})
3534eqeq2d 2631 . . . . . . . . . . . 12 (𝑥 = 𝑧 → ({𝑧} = {𝑥} ↔ {𝑧} = {𝑧}))
3635rspcev 3295 . . . . . . . . . . 11 ((𝑧𝑋 ∧ {𝑧} = {𝑧}) → ∃𝑥𝑋 {𝑧} = {𝑥})
3732, 33, 36syl2anc 692 . . . . . . . . . 10 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → ∃𝑥𝑋 {𝑧} = {𝑥})
38 snex 4869 . . . . . . . . . . 11 {𝑧} ∈ V
3925elrnmpt 5332 . . . . . . . . . . 11 ({𝑧} ∈ V → ({𝑧} ∈ ran (𝑥𝑋 ↦ {𝑥}) ↔ ∃𝑥𝑋 {𝑧} = {𝑥}))
4038, 39ax-mp 5 . . . . . . . . . 10 ({𝑧} ∈ ran (𝑥𝑋 ↦ {𝑥}) ↔ ∃𝑥𝑋 {𝑧} = {𝑥})
4137, 40sylibr 224 . . . . . . . . 9 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → {𝑧} ∈ ran (𝑥𝑋 ↦ {𝑥}))
42 vsnid 4180 . . . . . . . . . 10 𝑧 ∈ {𝑧}
4342a1i 11 . . . . . . . . 9 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → 𝑧 ∈ {𝑧})
4431snssd 4309 . . . . . . . . 9 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → {𝑧} ⊆ 𝑦)
45 eleq2 2687 . . . . . . . . . . 11 (𝑤 = {𝑧} → (𝑧𝑤𝑧 ∈ {𝑧}))
46 sseq1 3605 . . . . . . . . . . 11 (𝑤 = {𝑧} → (𝑤𝑦 ↔ {𝑧} ⊆ 𝑦))
4745, 46anbi12d 746 . . . . . . . . . 10 (𝑤 = {𝑧} → ((𝑧𝑤𝑤𝑦) ↔ (𝑧 ∈ {𝑧} ∧ {𝑧} ⊆ 𝑦)))
4847rspcev 3295 . . . . . . . . 9 (({𝑧} ∈ ran (𝑥𝑋 ↦ {𝑥}) ∧ (𝑧 ∈ {𝑧} ∧ {𝑧} ⊆ 𝑦)) → ∃𝑤 ∈ ran (𝑥𝑋 ↦ {𝑥})(𝑧𝑤𝑤𝑦))
4941, 43, 44, 48syl12anc 1321 . . . . . . . 8 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → ∃𝑤 ∈ ran (𝑥𝑋 ↦ {𝑥})(𝑧𝑤𝑤𝑦))
5049ralrimivva 2965 . . . . . . 7 (𝑋 ∈ V → ∀𝑦 ∈ 𝒫 𝑋𝑧𝑦𝑤 ∈ ran (𝑥𝑋 ↦ {𝑥})(𝑧𝑤𝑤𝑦))
51 basgen2 20704 . . . . . . 7 ((𝒫 𝑋 ∈ Top ∧ ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝒫 𝑋 ∧ ∀𝑦 ∈ 𝒫 𝑋𝑧𝑦𝑤 ∈ ran (𝑥𝑋 ↦ {𝑥})(𝑧𝑤𝑤𝑦)) → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) = 𝒫 𝑋)
5221, 28, 50, 51syl3anc 1323 . . . . . 6 (𝑋 ∈ V → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) = 𝒫 𝑋)
5352adantr 481 . . . . 5 ((𝑋 ∈ V ∧ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω) → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) = 𝒫 𝑋)
5452, 21eqeltrd 2698 . . . . . . 7 (𝑋 ∈ V → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) ∈ Top)
55 tgclb 20685 . . . . . . 7 (ran (𝑥𝑋 ↦ {𝑥}) ∈ TopBases ↔ (topGen‘ran (𝑥𝑋 ↦ {𝑥})) ∈ Top)
5654, 55sylibr 224 . . . . . 6 (𝑋 ∈ V → ran (𝑥𝑋 ↦ {𝑥}) ∈ TopBases)
57 2ndci 21161 . . . . . 6 ((ran (𝑥𝑋 ↦ {𝑥}) ∈ TopBases ∧ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω) → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) ∈ 2nd𝜔)
5856, 57sylan 488 . . . . 5 ((𝑋 ∈ V ∧ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω) → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) ∈ 2nd𝜔)
5953, 58eqeltrrd 2699 . . . 4 ((𝑋 ∈ V ∧ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω) → 𝒫 𝑋 ∈ 2nd𝜔)
60 is2ndc 21159 . . . . . 6 (𝒫 𝑋 ∈ 2nd𝜔 ↔ ∃𝑏 ∈ TopBases (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋))
61 vex 3189 . . . . . . . . . 10 𝑏 ∈ V
62 simpr 477 . . . . . . . . . . . . . . . 16 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → 𝑥𝑋)
6362, 23sylib 208 . . . . . . . . . . . . . . 15 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → {𝑥} ∈ 𝒫 𝑋)
64 simplrr 800 . . . . . . . . . . . . . . 15 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → (topGen‘𝑏) = 𝒫 𝑋)
6563, 64eleqtrrd 2701 . . . . . . . . . . . . . 14 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → {𝑥} ∈ (topGen‘𝑏))
66 vsnid 4180 . . . . . . . . . . . . . 14 𝑥 ∈ {𝑥}
67 tg2 20680 . . . . . . . . . . . . . 14 (({𝑥} ∈ (topGen‘𝑏) ∧ 𝑥 ∈ {𝑥}) → ∃𝑦𝑏 (𝑥𝑦𝑦 ⊆ {𝑥}))
6865, 66, 67sylancl 693 . . . . . . . . . . . . 13 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → ∃𝑦𝑏 (𝑥𝑦𝑦 ⊆ {𝑥}))
69 simprrl 803 . . . . . . . . . . . . . . . 16 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → 𝑥𝑦)
7069snssd 4309 . . . . . . . . . . . . . . 15 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → {𝑥} ⊆ 𝑦)
71 simprrr 804 . . . . . . . . . . . . . . 15 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → 𝑦 ⊆ {𝑥})
7270, 71eqssd 3600 . . . . . . . . . . . . . 14 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → {𝑥} = 𝑦)
73 simprl 793 . . . . . . . . . . . . . 14 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → 𝑦𝑏)
7472, 73eqeltrd 2698 . . . . . . . . . . . . 13 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → {𝑥} ∈ 𝑏)
7568, 74rexlimddv 3028 . . . . . . . . . . . 12 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → {𝑥} ∈ 𝑏)
7675, 25fmptd 6340 . . . . . . . . . . 11 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → (𝑥𝑋 ↦ {𝑥}):𝑋𝑏)
77 frn 6010 . . . . . . . . . . 11 ((𝑥𝑋 ↦ {𝑥}):𝑋𝑏 → ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝑏)
7876, 77syl 17 . . . . . . . . . 10 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝑏)
79 ssdomg 7945 . . . . . . . . . 10 (𝑏 ∈ V → (ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝑏 → ran (𝑥𝑋 ↦ {𝑥}) ≼ 𝑏))
8061, 78, 79mpsyl 68 . . . . . . . . 9 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → ran (𝑥𝑋 ↦ {𝑥}) ≼ 𝑏)
81 simprl 793 . . . . . . . . 9 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → 𝑏 ≼ ω)
82 domtr 7953 . . . . . . . . 9 ((ran (𝑥𝑋 ↦ {𝑥}) ≼ 𝑏𝑏 ≼ ω) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω)
8380, 81, 82syl2anc 692 . . . . . . . 8 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω)
8483ex 450 . . . . . . 7 ((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) → ((𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
8584rexlimdva 3024 . . . . . 6 (𝑋 ∈ V → (∃𝑏 ∈ TopBases (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
8660, 85syl5bi 232 . . . . 5 (𝑋 ∈ V → (𝒫 𝑋 ∈ 2nd𝜔 → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
8786imp 445 . . . 4 ((𝑋 ∈ V ∧ 𝒫 𝑋 ∈ 2nd𝜔) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω)
8859, 87impbida 876 . . 3 (𝑋 ∈ V → (ran (𝑥𝑋 ↦ {𝑥}) ≼ ω ↔ 𝒫 𝑋 ∈ 2nd𝜔))
8920, 88bitrd 268 . 2 (𝑋 ∈ V → (𝑋 ≼ ω ↔ 𝒫 𝑋 ∈ 2nd𝜔))
902, 5, 89pm5.21nii 368 1 (𝑋 ≼ ω ↔ 𝒫 𝑋 ∈ 2nd𝜔)
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384   = wceq 1480  wcel 1987  wral 2907  wrex 2908  Vcvv 3186  wss 3555  𝒫 cpw 4130  {csn 4148   class class class wbr 4613  cmpt 4673  ran crn 5075  wf 5843  1-1wf1 5844  1-1-ontowf1o 5846  cfv 5847  ωcom 7012  cen 7896  cdom 7897  topGenctg 16019  Topctop 20617  TopBasesctb 20620  2nd𝜔c2ndc 21151
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-er 7687  df-en 7900  df-dom 7901  df-topgen 16025  df-top 20621  df-bases 20622  df-2ndc 21153
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator