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

Theorem dis2ndc 22211
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 ctex 8570 . 2 (𝑋 ≼ ω → 𝑋 ∈ V)
2 pwexr 7506 . 2 (𝒫 𝑋 ∈ 2ndω → 𝑋 ∈ V)
3 snex 5298 . . . . . . . 8 {𝑥} ∈ V
432a1i 12 . . . . . . 7 (𝑋 ∈ V → (𝑥𝑋 → {𝑥} ∈ V))
5 vex 3402 . . . . . . . . . 10 𝑥 ∈ V
65sneqr 4726 . . . . . . . . 9 ({𝑥} = {𝑦} → 𝑥 = 𝑦)
7 sneq 4526 . . . . . . . . 9 (𝑥 = 𝑦 → {𝑥} = {𝑦})
86, 7impbii 212 . . . . . . . 8 ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦)
982a1i 12 . . . . . . 7 (𝑋 ∈ V → ((𝑥𝑋𝑦𝑋) → ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦)))
104, 9dom2lem 8595 . . . . . 6 (𝑋 ∈ V → (𝑥𝑋 ↦ {𝑥}):𝑋1-1→V)
11 f1f1orn 6629 . . . . . 6 ((𝑥𝑋 ↦ {𝑥}):𝑋1-1→V → (𝑥𝑋 ↦ {𝑥}):𝑋1-1-onto→ran (𝑥𝑋 ↦ {𝑥}))
1210, 11syl 17 . . . . 5 (𝑋 ∈ V → (𝑥𝑋 ↦ {𝑥}):𝑋1-1-onto→ran (𝑥𝑋 ↦ {𝑥}))
13 f1oeng 8574 . . . . 5 ((𝑋 ∈ V ∧ (𝑥𝑋 ↦ {𝑥}):𝑋1-1-onto→ran (𝑥𝑋 ↦ {𝑥})) → 𝑋 ≈ ran (𝑥𝑋 ↦ {𝑥}))
1412, 13mpdan 687 . . . 4 (𝑋 ∈ V → 𝑋 ≈ ran (𝑥𝑋 ↦ {𝑥}))
15 domen1 8709 . . . 4 (𝑋 ≈ ran (𝑥𝑋 ↦ {𝑥}) → (𝑋 ≼ ω ↔ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
1614, 15syl 17 . . 3 (𝑋 ∈ V → (𝑋 ≼ ω ↔ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
17 distop 21746 . . . . . . 7 (𝑋 ∈ V → 𝒫 𝑋 ∈ Top)
18 simpr 488 . . . . . . . . . 10 ((𝑋 ∈ V ∧ 𝑥𝑋) → 𝑥𝑋)
195snelpw 5304 . . . . . . . . . 10 (𝑥𝑋 ↔ {𝑥} ∈ 𝒫 𝑋)
2018, 19sylib 221 . . . . . . . . 9 ((𝑋 ∈ V ∧ 𝑥𝑋) → {𝑥} ∈ 𝒫 𝑋)
2120fmpttd 6889 . . . . . . . 8 (𝑋 ∈ V → (𝑥𝑋 ↦ {𝑥}):𝑋⟶𝒫 𝑋)
2221frnd 6512 . . . . . . 7 (𝑋 ∈ V → ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝒫 𝑋)
23 elpwi 4497 . . . . . . . . . . . . 13 (𝑦 ∈ 𝒫 𝑋𝑦𝑋)
2423ad2antrl 728 . . . . . . . . . . . 12 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → 𝑦𝑋)
25 simprr 773 . . . . . . . . . . . 12 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → 𝑧𝑦)
2624, 25sseldd 3878 . . . . . . . . . . 11 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → 𝑧𝑋)
27 eqidd 2739 . . . . . . . . . . 11 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → {𝑧} = {𝑧})
28 sneq 4526 . . . . . . . . . . . 12 (𝑥 = 𝑧 → {𝑥} = {𝑧})
2928rspceeqv 3541 . . . . . . . . . . 11 ((𝑧𝑋 ∧ {𝑧} = {𝑧}) → ∃𝑥𝑋 {𝑧} = {𝑥})
3026, 27, 29syl2anc 587 . . . . . . . . . 10 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → ∃𝑥𝑋 {𝑧} = {𝑥})
31 snex 5298 . . . . . . . . . . 11 {𝑧} ∈ V
32 eqid 2738 . . . . . . . . . . . 12 (𝑥𝑋 ↦ {𝑥}) = (𝑥𝑋 ↦ {𝑥})
3332elrnmpt 5799 . . . . . . . . . . 11 ({𝑧} ∈ V → ({𝑧} ∈ ran (𝑥𝑋 ↦ {𝑥}) ↔ ∃𝑥𝑋 {𝑧} = {𝑥}))
3431, 33ax-mp 5 . . . . . . . . . 10 ({𝑧} ∈ ran (𝑥𝑋 ↦ {𝑥}) ↔ ∃𝑥𝑋 {𝑧} = {𝑥})
3530, 34sylibr 237 . . . . . . . . 9 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → {𝑧} ∈ ran (𝑥𝑋 ↦ {𝑥}))
36 vsnid 4553 . . . . . . . . . 10 𝑧 ∈ {𝑧}
3736a1i 11 . . . . . . . . 9 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → 𝑧 ∈ {𝑧})
3825snssd 4697 . . . . . . . . 9 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → {𝑧} ⊆ 𝑦)
39 eleq2 2821 . . . . . . . . . . 11 (𝑤 = {𝑧} → (𝑧𝑤𝑧 ∈ {𝑧}))
40 sseq1 3902 . . . . . . . . . . 11 (𝑤 = {𝑧} → (𝑤𝑦 ↔ {𝑧} ⊆ 𝑦))
4139, 40anbi12d 634 . . . . . . . . . 10 (𝑤 = {𝑧} → ((𝑧𝑤𝑤𝑦) ↔ (𝑧 ∈ {𝑧} ∧ {𝑧} ⊆ 𝑦)))
4241rspcev 3526 . . . . . . . . 9 (({𝑧} ∈ ran (𝑥𝑋 ↦ {𝑥}) ∧ (𝑧 ∈ {𝑧} ∧ {𝑧} ⊆ 𝑦)) → ∃𝑤 ∈ ran (𝑥𝑋 ↦ {𝑥})(𝑧𝑤𝑤𝑦))
4335, 37, 38, 42syl12anc 836 . . . . . . . 8 ((𝑋 ∈ V ∧ (𝑦 ∈ 𝒫 𝑋𝑧𝑦)) → ∃𝑤 ∈ ran (𝑥𝑋 ↦ {𝑥})(𝑧𝑤𝑤𝑦))
4443ralrimivva 3103 . . . . . . 7 (𝑋 ∈ V → ∀𝑦 ∈ 𝒫 𝑋𝑧𝑦𝑤 ∈ ran (𝑥𝑋 ↦ {𝑥})(𝑧𝑤𝑤𝑦))
45 basgen2 21740 . . . . . . 7 ((𝒫 𝑋 ∈ Top ∧ ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝒫 𝑋 ∧ ∀𝑦 ∈ 𝒫 𝑋𝑧𝑦𝑤 ∈ ran (𝑥𝑋 ↦ {𝑥})(𝑧𝑤𝑤𝑦)) → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) = 𝒫 𝑋)
4617, 22, 44, 45syl3anc 1372 . . . . . 6 (𝑋 ∈ V → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) = 𝒫 𝑋)
4746adantr 484 . . . . 5 ((𝑋 ∈ V ∧ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω) → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) = 𝒫 𝑋)
4846, 17eqeltrd 2833 . . . . . . 7 (𝑋 ∈ V → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) ∈ Top)
49 tgclb 21721 . . . . . . 7 (ran (𝑥𝑋 ↦ {𝑥}) ∈ TopBases ↔ (topGen‘ran (𝑥𝑋 ↦ {𝑥})) ∈ Top)
5048, 49sylibr 237 . . . . . 6 (𝑋 ∈ V → ran (𝑥𝑋 ↦ {𝑥}) ∈ TopBases)
51 2ndci 22199 . . . . . 6 ((ran (𝑥𝑋 ↦ {𝑥}) ∈ TopBases ∧ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω) → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) ∈ 2ndω)
5250, 51sylan 583 . . . . 5 ((𝑋 ∈ V ∧ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω) → (topGen‘ran (𝑥𝑋 ↦ {𝑥})) ∈ 2ndω)
5347, 52eqeltrrd 2834 . . . 4 ((𝑋 ∈ V ∧ ran (𝑥𝑋 ↦ {𝑥}) ≼ ω) → 𝒫 𝑋 ∈ 2ndω)
54 is2ndc 22197 . . . . . 6 (𝒫 𝑋 ∈ 2ndω ↔ ∃𝑏 ∈ TopBases (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋))
55 vex 3402 . . . . . . . . 9 𝑏 ∈ V
56 simpr 488 . . . . . . . . . . . . . . 15 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → 𝑥𝑋)
5756, 19sylib 221 . . . . . . . . . . . . . 14 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → {𝑥} ∈ 𝒫 𝑋)
58 simplrr 778 . . . . . . . . . . . . . 14 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → (topGen‘𝑏) = 𝒫 𝑋)
5957, 58eleqtrrd 2836 . . . . . . . . . . . . 13 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → {𝑥} ∈ (topGen‘𝑏))
60 vsnid 4553 . . . . . . . . . . . . 13 𝑥 ∈ {𝑥}
61 tg2 21716 . . . . . . . . . . . . 13 (({𝑥} ∈ (topGen‘𝑏) ∧ 𝑥 ∈ {𝑥}) → ∃𝑦𝑏 (𝑥𝑦𝑦 ⊆ {𝑥}))
6259, 60, 61sylancl 589 . . . . . . . . . . . 12 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → ∃𝑦𝑏 (𝑥𝑦𝑦 ⊆ {𝑥}))
63 simprrl 781 . . . . . . . . . . . . . . 15 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → 𝑥𝑦)
6463snssd 4697 . . . . . . . . . . . . . 14 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → {𝑥} ⊆ 𝑦)
65 simprrr 782 . . . . . . . . . . . . . 14 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → 𝑦 ⊆ {𝑥})
6664, 65eqssd 3894 . . . . . . . . . . . . 13 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → {𝑥} = 𝑦)
67 simprl 771 . . . . . . . . . . . . 13 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → 𝑦𝑏)
6866, 67eqeltrd 2833 . . . . . . . . . . . 12 (((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) ∧ (𝑦𝑏 ∧ (𝑥𝑦𝑦 ⊆ {𝑥}))) → {𝑥} ∈ 𝑏)
6962, 68rexlimddv 3201 . . . . . . . . . . 11 ((((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) ∧ 𝑥𝑋) → {𝑥} ∈ 𝑏)
7069fmpttd 6889 . . . . . . . . . 10 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → (𝑥𝑋 ↦ {𝑥}):𝑋𝑏)
7170frnd 6512 . . . . . . . . 9 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝑏)
72 ssdomg 8601 . . . . . . . . 9 (𝑏 ∈ V → (ran (𝑥𝑋 ↦ {𝑥}) ⊆ 𝑏 → ran (𝑥𝑋 ↦ {𝑥}) ≼ 𝑏))
7355, 71, 72mpsyl 68 . . . . . . . 8 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → ran (𝑥𝑋 ↦ {𝑥}) ≼ 𝑏)
74 simprl 771 . . . . . . . 8 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → 𝑏 ≼ ω)
75 domtr 8608 . . . . . . . 8 ((ran (𝑥𝑋 ↦ {𝑥}) ≼ 𝑏𝑏 ≼ ω) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω)
7673, 74, 75syl2anc 587 . . . . . . 7 (((𝑋 ∈ V ∧ 𝑏 ∈ TopBases) ∧ (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋)) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω)
7776rexlimdva2 3197 . . . . . 6 (𝑋 ∈ V → (∃𝑏 ∈ TopBases (𝑏 ≼ ω ∧ (topGen‘𝑏) = 𝒫 𝑋) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
7854, 77syl5bi 245 . . . . 5 (𝑋 ∈ V → (𝒫 𝑋 ∈ 2ndω → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω))
7978imp 410 . . . 4 ((𝑋 ∈ V ∧ 𝒫 𝑋 ∈ 2ndω) → ran (𝑥𝑋 ↦ {𝑥}) ≼ ω)
8053, 79impbida 801 . . 3 (𝑋 ∈ V → (ran (𝑥𝑋 ↦ {𝑥}) ≼ ω ↔ 𝒫 𝑋 ∈ 2ndω))
8116, 80bitrd 282 . 2 (𝑋 ∈ V → (𝑋 ≼ ω ↔ 𝒫 𝑋 ∈ 2ndω))
821, 2, 81pm5.21nii 383 1 (𝑋 ≼ ω ↔ 𝒫 𝑋 ∈ 2ndω)
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399   = wceq 1542  wcel 2114  wral 3053  wrex 3054  Vcvv 3398  wss 3843  𝒫 cpw 4488  {csn 4516   class class class wbr 5030  cmpt 5110  ran crn 5526  1-1wf1 6336  1-1-ontowf1o 6338  cfv 6339  ωcom 7599  cen 8552  cdom 8553  topGenctg 16814  Topctop 21644  TopBasesctb 21696  2ndωc2ndc 22189
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5232  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-reu 3060  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5429  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-er 8320  df-en 8556  df-dom 8557  df-topgen 16820  df-top 21645  df-bases 21697  df-2ndc 22191
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator