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

Theorem qdensere 25097
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 25089 . . 3 (topGen‘ran (,)) ∈ Top
2 qssre 13093 . . 3 ℚ ⊆ ℝ
3 uniretop 25090 . . . 4 ℝ = ∪ (topGen‘ran (,))
43clsss3 23386 . . 3 (((topGen‘ran (,)) ∈ Top ∧ ℚ ⊆ ℝ) → ((cls‘(topGen‘ran (,)))‘ℚ) ⊆ ℝ)
51, 2, 4mp2an 705 . 2 ((cls‘(topGen‘ran (,)))‘ℚ) ⊆ ℝ
6 ioof 13585 . . . . . . 7 (,):(ℝ* × ℝ*)⟶𝒫 ℝ
7 ffn 6714 . . . . . . 7 ((,):(ℝ* × ℝ*)⟶𝒫 ℝ → (,) Fn (ℝ* × ℝ*))
8 ovelrn 7601 . . . . . . 7 ((,) Fn (ℝ* × ℝ*) → (𝑦 ∈ ran (,) ↔ ∃𝑧 ∈ ℝ* ∃𝑤 ∈ ℝ* 𝑦 = (𝑧(,)𝑤)))
96, 7, 8mp2b 10 . . . . . 6 (𝑦 ∈ ran (,) ↔ ∃𝑧 ∈ ℝ* ∃𝑤 ∈ ℝ* 𝑦 = (𝑧(,)𝑤))
10 elioo3g 13512 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ (𝑧(,)𝑤) ↔ ((𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑥 ∈ ℝ*) ∧ (𝑧 < 𝑥 ∧ 𝑥 < 𝑤)))
1110simplbi 502 . . . . . . . . . . . . . . . 16 (𝑥 ∈ (𝑧(,)𝑤) → (𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑥 ∈ ℝ*))
1211simp1d 1160 . . . . . . . . . . . . . . 15 (𝑥 ∈ (𝑧(,)𝑤) → 𝑧 ∈ ℝ*)
1312ad2antrr 739 . . . . . . . . . . . . . 14 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑧 ∈ ℝ*)
1411simp2d 1161 . . . . . . . . . . . . . . 15 (𝑥 ∈ (𝑧(,)𝑤) → 𝑤 ∈ ℝ*)
1514ad2antrr 739 . . . . . . . . . . . . . 14 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑤 ∈ ℝ*)
16 qre 13087 . . . . . . . . . . . . . . . 16 (𝑦 ∈ ℚ → 𝑦 ∈ ℝ)
1716ad2antlr 740 . . . . . . . . . . . . . . 15 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑦 ∈ ℝ)
1817rexrd 11366 . . . . . . . . . . . . . 14 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑦 ∈ ℝ*)
1913, 15, 183jca 1146 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → (𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑦 ∈ ℝ*))
20 simpr 490 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → (𝑧 < 𝑦 ∧ 𝑦 < 𝑤))
21 elioo3g 13512 . . . . . . . . . . . . 13 (𝑦 ∈ (𝑧(,)𝑤) ↔ ((𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑦 ∈ ℝ*) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)))
2219, 20, 21sylanbrc 595 . . . . . . . . . . . 12 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑦 ∈ (𝑧(,)𝑤))
23 simplr 781 . . . . . . . . . . . 12 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → 𝑦 ∈ ℚ)
24 inelcm 4417 . . . . . . . . . . . 12 ((𝑦 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) → ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅)
2522, 23, 24syl2anc 596 . . . . . . . . . . 11 (((𝑥 ∈ (𝑧(,)𝑤) ∧ 𝑦 ∈ ℚ) ∧ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤)) → ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅)
2611simp3d 1162 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑧(,)𝑤) → 𝑥 ∈ ℝ*)
27 eliooord 13543 . . . . . . . . . . . . . 14 (𝑥 ∈ (𝑧(,)𝑤) → (𝑧 < 𝑥 ∧ 𝑥 < 𝑤))
2827simpld 500 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑧(,)𝑤) → 𝑧 < 𝑥)
2927simprd 501 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑧(,)𝑤) → 𝑥 < 𝑤)
3012, 26, 14, 28, 29xrlttrd 13295 . . . . . . . . . . . 12 (𝑥 ∈ (𝑧(,)𝑤) → 𝑧 < 𝑤)
31 qbtwnxr 13337 . . . . . . . . . . . 12 ((𝑧 ∈ ℝ* ∧ 𝑤 ∈ ℝ* ∧ 𝑧 < 𝑤) → ∃𝑦 ∈ ℚ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤))
3212, 14, 30, 31syl3anc 1398 . . . . . . . . . . 11 (𝑥 ∈ (𝑧(,)𝑤) → ∃𝑦 ∈ ℚ (𝑧 < 𝑦 ∧ 𝑦 < 𝑤))
3325, 32r19.29a 3170 . . . . . . . . . 10 (𝑥 ∈ (𝑧(,)𝑤) → ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅)
3433a1i 11 . . . . . . . . 9 (𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ (𝑧(,)𝑤) → ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅))
35 eleq2 2849 . . . . . . . . 9 (𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ 𝑦 ↔ 𝑥 ∈ (𝑧(,)𝑤)))
36 ineq1 4109 . . . . . . . . . 10 (𝑦 = (𝑧(,)𝑤) → (𝑦 ∩ ℚ) = ((𝑧(,)𝑤) ∩ ℚ))
3736neeq1d 3014 . . . . . . . . 9 (𝑦 = (𝑧(,)𝑤) → ((𝑦 ∩ ℚ) ≠ ∅ ↔ ((𝑧(,)𝑤) ∩ ℚ) ≠ ∅))
3834, 35, 373imtr4d 297 . . . . . . . 8 (𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅))
3938rexlimivw 3159 . . . . . . 7 (∃𝑤 ∈ ℝ* 𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅))
4039rexlimivw 3159 . . . . . 6 (∃𝑧 ∈ ℝ* ∃𝑤 ∈ ℝ* 𝑦 = (𝑧(,)𝑤) → (𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅))
419, 40sylbi 220 . . . . 5 (𝑦 ∈ ran (,) → (𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅))
4241rgen 3078 . . . 4 ∀𝑦 ∈ ran (,)(𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅)
43 eqidd 2761 . . . . 5 (𝑥 ∈ ℝ → (topGen‘ran (,)) = (topGen‘ran (,)))
443a1i 11 . . . . 5 (𝑥 ∈ ℝ → ℝ = ∪ (topGen‘ran (,)))
45 retopbas 25088 . . . . . 6 ran (,) ∈ TopBases
4645a1i 11 . . . . 5 (𝑥 ∈ ℝ → ran (,) ∈ TopBases)
472a1i 11 . . . . 5 (𝑥 ∈ ℝ → ℚ ⊆ ℝ)
48 id 23 . . . . 5 (𝑥 ∈ ℝ → 𝑥 ∈ ℝ)
4943, 44, 46, 47, 48elcls3 23410 . . . 4 (𝑥 ∈ ℝ → (𝑥 ∈ ((cls‘(topGen‘ran (,)))‘ℚ) ↔ ∀𝑦 ∈ ran (,)(𝑥 ∈ 𝑦 → (𝑦 ∩ ℚ) ≠ ∅)))
5042, 49mpbiri 261 . . 3 (𝑥 ∈ ℝ → 𝑥 ∈ ((cls‘(topGen‘ran (,)))‘ℚ))
5150ssriv 3913 . 2 ℝ ⊆ ((cls‘(topGen‘ran (,)))‘ℚ)
525, 51eqssi 3925 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 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086   ⊆ wss 3896   ∩ cin 4088  ∅c0 4277  𝒫 cpw 4556  ∪ cuni 4866   class class class wbr 5102   × cxp 5649  ran crn 5652   Fn wfn 6538  ⟶wf 6539  ‘cfv 6543  (class class class)co 7424  ℝcr 11206  ℝ*cxr 11349   < clt 11350  ℚcq 13082  (,)cioo 13483  topGenctg 17617  Topctop 23220  TopBasesctb 23272  clsccl 23345
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284  ax-pre-sup 11285
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-int 4907  df-iun 4952  df-iin 4953  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-1st 8005  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-er 8725  df-en 8982  df-dom 8983  df-sdom 8984  df-sup 9441  df-inf 9442  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-div 11981  df-nn 12343  df-n0 12614  df-z 12701  df-uz 12973  df-q 13083  df-ioo 13487  df-topgen 17623  df-top 23221  df-bases 23273  df-cld 23346  df-ntr 23347  df-cls 23348
This theorem is used by:  qdensere2  25125  resscdrg  25688  ipasslem8  31448  rrhcn  34679  rrhre  34703
  Copyright terms: Public domain W3C validator