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

Theorem qdensere 25143
Description: ℚ is dense in the standard topology on ℝ. (Contributed by NM, 1-Mar-2007.)
Assertion
Ref Expression
qdensere ((cls‘(topGen‘ran (,)))‘ℚ) = ℝ

Proof of Theorem qdensere
Dummy variables 𝑥 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 retop 25135 . . 3 (topGen‘ran (,)) ∈ Top
2 qssre 13126 . . 3 ℚ ⊆ ℝ
3 uniretop 25136 . . . 4 ℝ = ∪ (topGen‘ran (,))
43clsss3 23432 . . 3 (((topGen‘ran (,)) ∈ Top ∧ ℚ ⊆ ℝ) → ((cls‘(topGen‘ran (,)))‘ℚ) ⊆ ℝ)
51, 2, 4mp2an 705 . 2 ((cls‘(topGen‘ran (,)))‘ℚ) ⊆ ℝ
6 ioof 13618 . . . . . . 7 (,):(ℝ* × ℝ*)⟶𝒫 ℝ
7 ffn 6739 . . . . . . 7 ((,):(ℝ* × ℝ*)⟶𝒫 ℝ → (,) Fn (ℝ* × ℝ*))
8 ovelrn 7629 . . . . . . 7 ((,) Fn (ℝ* × ℝ*) → (𝑦 ∈ ran (,) ↔ ∃𝑧 ∈ ℝ* ∃𝑤 ∈ ℝ* 𝑦 = (𝑧(,)𝑤)))
96, 7, 8mp2b 10 . . . . . 6 (𝑦 ∈ ran (,) ↔ ∃𝑧 ∈ ℝ* ∃𝑤 ∈ ℝ* 𝑦 = (𝑧(,)𝑤))
10 elioo3g 13545 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ (𝑧(,)𝑤) ↔ ((𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑥 ∈ ℝ*) ∧ (𝑧 < 𝑥 ∧ 𝑥 < 𝑤)))
1110simplbi 502 . . . . . . . . . . . . . . . 16 (𝑥 ∈ (𝑧(,)𝑤) → (𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑥 ∈ ℝ*))
1211simp1d 1160 . . . . . . . . . . . . . . 15 (𝑥 ∈ (𝑧(,)𝑤) → 𝑧 ∈ ℝ*)
1312ad2antrr 739 . . . . . . . . . . . . . 14 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑧 ∈ ℝ*)
1411simp2d 1161 . . . . . . . . . . . . . . 15 (𝑥 ∈ (𝑧(,)𝑤) → 𝑤 ∈ ℝ*)
1514ad2antrr 739 . . . . . . . . . . . . . 14 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑤 ∈ ℝ*)
16 qre 13120 . . . . . . . . . . . . . . . 16 (𝑦 ∈ ℚ → 𝑦 ∈ ℝ)
1716ad2antlr 740 . . . . . . . . . . . . . . 15 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑦 ∈ ℝ)
1817rexrd 11398 . . . . . . . . . . . . . 14 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑦 ∈ ℝ*)
1913, 15, 183jca 1146 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → (𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑦 ∈ ℝ*))
20 simpr 490 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → (𝑧 < 𝑦 ∧ 𝑦 < 𝑤))
21 elioo3g 13545 . . . . . . . . . . . . 13 (𝑦 ∈ (𝑧(,)𝑤) ↔ ((𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑦 ∈ ℝ*) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)))
2219, 20, 21sylanbrc 595 . . . . . . . . . . . 12 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑦 ∈ (𝑧(,)𝑤))
23 simplr 781 . . . . . . . . . . . 12 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑦 ∈ ℚ)
24 inelcm 4421 . . . . . . . . . . . 12 ((𝑦 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) → ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅)
2522, 23, 24syl2anc 596 . . . . . . . . . . 11 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅)
2611simp3d 1162 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑧(,)𝑤) → 𝑥 ∈ ℝ*)
27 eliooord 13576 . . . . . . . . . . . . . 14 (𝑥 ∈ (𝑧(,)𝑤) → (𝑧 < 𝑥 ∧ 𝑥 < 𝑤))
2827simpld 500 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑧(,)𝑤) → 𝑧 < 𝑥)
2927simprd 501 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑧(,)𝑤) → 𝑥 < 𝑤)
3012, 26, 14, 28, 29xrlttrd 13328 . . . . . . . . . . . 12 (𝑥 ∈ (𝑧(,)𝑤) → 𝑧 < 𝑤)
31 qbtwnxr 13370 . . . . . . . . . . . 12 ((𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑧 < 𝑤) → ∃𝑦 ∈ ℚ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤))
3212, 14, 30, 31syl3anc 1399 . . . . . . . . . . 11 (𝑥 ∈ (𝑧(,)𝑤) → ∃𝑦 ∈ ℚ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤))
3325, 32r19.29a 3174 . . . . . . . . . 10 (𝑥 ∈ (𝑧(,)𝑤) → ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅)
3433a1i 11 . . . . . . . . 9 (𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ (𝑧(,)𝑤) → ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅))
35 eleq2 2853 . . . . . . . . 9 (𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ 𝑦 ↔ 𝑥 ∈ (𝑧(,)𝑤)))
36 ineq1 4113 . . . . . . . . . 10 (𝑦 = (𝑧(,)𝑤) → (𝑦 ∩ ℚ) = ((𝑧(,)𝑤) ∩ ℚ))
3736neeq1d 3018 . . . . . . . . 9 (𝑦 = (𝑧(,)𝑤) → ((𝑦 ∩ ℚ) ≠ ∅ ↔ ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅))
3834, 35, 373imtr4d 297 . . . . . . . 8 (𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅))
3938rexlimivw 3163 . . . . . . 7 (∃𝑤 ∈ ℝ* 𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅))
4039rexlimivw 3163 . . . . . 6 (∃𝑧 ∈ ℝ* ∃𝑤 ∈ ℝ* 𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅))
419, 40sylbi 220 . . . . 5 (𝑦 ∈ ran (,) → (𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅))
4241rgen 3082 . . . 4 ∀𝑦 ∈ ran (,)(𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅)
43 eqidd 2764 . . . . 5 (𝑥 ∈ ℝ → (topGen‘ran (,)) = (topGen‘ran (,)))
443a1i 11 . . . . 5 (𝑥 ∈ ℝ → ℝ = ∪ (topGen‘ran (,)))
45 retopbas 25134 . . . . . 6 ran (,) ∈ TopBases
4645a1i 11 . . . . 5 (𝑥 ∈ ℝ → ran (,) ∈ TopBases)
472a1i 11 . . . . 5 (𝑥 ∈ ℝ → ℚ ⊆ ℝ)
48 id 23 . . . . 5 (𝑥 ∈ ℝ → 𝑥 ∈ ℝ)
4943, 44, 46, 47, 48elcls3 23456 . . . 4 (𝑥 ∈ ℝ → (𝑥 ∈ ((cls‘(topGen‘ran (,)))‘ℚ) ↔ ∀𝑦 ∈ ran (,)(𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅)))
5042, 49mpbiri 261 . . 3 (𝑥 ∈ ℝ → 𝑥 ∈ ((cls‘(topGen‘ran (,)))‘ℚ))
5150ssriv 3917 . 2 ℝ ⊆ ((cls‘(topGen‘ran (,)))‘ℚ)
525, 51eqssi 3929 1 ((cls‘(topGen‘ran (,)))‘ℚ) = ℝ
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900   ∩ cin 4092  ∅c0 4281  𝒫 cpw 4560  ∪ cuni 4872   class class class wbr 5108   × cxp 5656  ran crn 5659   Fn wfn 6561  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451  ℝcr 11238  ℝ*cxr 11381   < clt 11382  ℚcq 13115  (,)cioo 13516  topGenctg 17658  Topctop 23266  TopBasesctb 23318  clsccl 23391
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316  ax-pre-sup 11317
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-int 4913  df-iun 4958  df-iin 4959  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-sup 9471  df-inf 9472  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-div 12014  df-nn 12376  df-n0 12647  df-z 12734  df-uz 13006  df-q 13116  df-ioo 13520  df-topgen 17664  df-top 23267  df-bases 23319  df-cld 23392  df-ntr 23393  df-cls 23394
This theorem is used by:  qdensere2  25171  resscdrg  25734  ipasslem8  31496  rrhcn  34740  rrhre  34764
  Copyright terms: Public domain W3C validator