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

Theorem zcld 23418
Description: The integers are a closed set in the topology on . (Contributed by Mario Carneiro, 17-Feb-2015.)
Hypothesis
Ref Expression
zcld.1 𝐽 = (topGen‘ran (,))
Assertion
Ref Expression
zcld ℤ ∈ (Clsd‘𝐽)

Proof of Theorem zcld
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eliun 4885 . . . . 5 (𝑦 𝑥 ∈ ℤ (𝑥(,)(𝑥 + 1)) ↔ ∃𝑥 ∈ ℤ 𝑦 ∈ (𝑥(,)(𝑥 + 1)))
2 elioore 12756 . . . . . . . . 9 (𝑦 ∈ (𝑥(,)(𝑥 + 1)) → 𝑦 ∈ ℝ)
32adantl 485 . . . . . . . 8 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ (𝑥(,)(𝑥 + 1))) → 𝑦 ∈ ℝ)
4 eliooord 12784 . . . . . . . . 9 (𝑦 ∈ (𝑥(,)(𝑥 + 1)) → (𝑥 < 𝑦𝑦 < (𝑥 + 1)))
5 btwnnz 12046 . . . . . . . . . 10 ((𝑥 ∈ ℤ ∧ 𝑥 < 𝑦𝑦 < (𝑥 + 1)) → ¬ 𝑦 ∈ ℤ)
653expb 1117 . . . . . . . . 9 ((𝑥 ∈ ℤ ∧ (𝑥 < 𝑦𝑦 < (𝑥 + 1))) → ¬ 𝑦 ∈ ℤ)
74, 6sylan2 595 . . . . . . . 8 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ (𝑥(,)(𝑥 + 1))) → ¬ 𝑦 ∈ ℤ)
83, 7eldifd 3892 . . . . . . 7 ((𝑥 ∈ ℤ ∧ 𝑦 ∈ (𝑥(,)(𝑥 + 1))) → 𝑦 ∈ (ℝ ∖ ℤ))
98rexlimiva 3240 . . . . . 6 (∃𝑥 ∈ ℤ 𝑦 ∈ (𝑥(,)(𝑥 + 1)) → 𝑦 ∈ (ℝ ∖ ℤ))
10 eldifi 4054 . . . . . . . 8 (𝑦 ∈ (ℝ ∖ ℤ) → 𝑦 ∈ ℝ)
1110flcld 13163 . . . . . . 7 (𝑦 ∈ (ℝ ∖ ℤ) → (⌊‘𝑦) ∈ ℤ)
1211zred 12075 . . . . . . . . 9 (𝑦 ∈ (ℝ ∖ ℤ) → (⌊‘𝑦) ∈ ℝ)
13 flle 13164 . . . . . . . . . 10 (𝑦 ∈ ℝ → (⌊‘𝑦) ≤ 𝑦)
1410, 13syl 17 . . . . . . . . 9 (𝑦 ∈ (ℝ ∖ ℤ) → (⌊‘𝑦) ≤ 𝑦)
15 eldifn 4055 . . . . . . . . . . 11 (𝑦 ∈ (ℝ ∖ ℤ) → ¬ 𝑦 ∈ ℤ)
16 nelne2 3084 . . . . . . . . . . 11 (((⌊‘𝑦) ∈ ℤ ∧ ¬ 𝑦 ∈ ℤ) → (⌊‘𝑦) ≠ 𝑦)
1711, 15, 16syl2anc 587 . . . . . . . . . 10 (𝑦 ∈ (ℝ ∖ ℤ) → (⌊‘𝑦) ≠ 𝑦)
1817necomd 3042 . . . . . . . . 9 (𝑦 ∈ (ℝ ∖ ℤ) → 𝑦 ≠ (⌊‘𝑦))
1912, 10, 14, 18leneltd 10783 . . . . . . . 8 (𝑦 ∈ (ℝ ∖ ℤ) → (⌊‘𝑦) < 𝑦)
20 flltp1 13165 . . . . . . . . 9 (𝑦 ∈ ℝ → 𝑦 < ((⌊‘𝑦) + 1))
2110, 20syl 17 . . . . . . . 8 (𝑦 ∈ (ℝ ∖ ℤ) → 𝑦 < ((⌊‘𝑦) + 1))
2212rexrd 10680 . . . . . . . . 9 (𝑦 ∈ (ℝ ∖ ℤ) → (⌊‘𝑦) ∈ ℝ*)
23 peano2re 10802 . . . . . . . . . . 11 ((⌊‘𝑦) ∈ ℝ → ((⌊‘𝑦) + 1) ∈ ℝ)
2412, 23syl 17 . . . . . . . . . 10 (𝑦 ∈ (ℝ ∖ ℤ) → ((⌊‘𝑦) + 1) ∈ ℝ)
2524rexrd 10680 . . . . . . . . 9 (𝑦 ∈ (ℝ ∖ ℤ) → ((⌊‘𝑦) + 1) ∈ ℝ*)
26 elioo2 12767 . . . . . . . . 9 (((⌊‘𝑦) ∈ ℝ* ∧ ((⌊‘𝑦) + 1) ∈ ℝ*) → (𝑦 ∈ ((⌊‘𝑦)(,)((⌊‘𝑦) + 1)) ↔ (𝑦 ∈ ℝ ∧ (⌊‘𝑦) < 𝑦𝑦 < ((⌊‘𝑦) + 1))))
2722, 25, 26syl2anc 587 . . . . . . . 8 (𝑦 ∈ (ℝ ∖ ℤ) → (𝑦 ∈ ((⌊‘𝑦)(,)((⌊‘𝑦) + 1)) ↔ (𝑦 ∈ ℝ ∧ (⌊‘𝑦) < 𝑦𝑦 < ((⌊‘𝑦) + 1))))
2810, 19, 21, 27mpbir3and 1339 . . . . . . 7 (𝑦 ∈ (ℝ ∖ ℤ) → 𝑦 ∈ ((⌊‘𝑦)(,)((⌊‘𝑦) + 1)))
29 id 22 . . . . . . . . . 10 (𝑥 = (⌊‘𝑦) → 𝑥 = (⌊‘𝑦))
30 oveq1 7142 . . . . . . . . . 10 (𝑥 = (⌊‘𝑦) → (𝑥 + 1) = ((⌊‘𝑦) + 1))
3129, 30oveq12d 7153 . . . . . . . . 9 (𝑥 = (⌊‘𝑦) → (𝑥(,)(𝑥 + 1)) = ((⌊‘𝑦)(,)((⌊‘𝑦) + 1)))
3231eleq2d 2875 . . . . . . . 8 (𝑥 = (⌊‘𝑦) → (𝑦 ∈ (𝑥(,)(𝑥 + 1)) ↔ 𝑦 ∈ ((⌊‘𝑦)(,)((⌊‘𝑦) + 1))))
3332rspcev 3571 . . . . . . 7 (((⌊‘𝑦) ∈ ℤ ∧ 𝑦 ∈ ((⌊‘𝑦)(,)((⌊‘𝑦) + 1))) → ∃𝑥 ∈ ℤ 𝑦 ∈ (𝑥(,)(𝑥 + 1)))
3411, 28, 33syl2anc 587 . . . . . 6 (𝑦 ∈ (ℝ ∖ ℤ) → ∃𝑥 ∈ ℤ 𝑦 ∈ (𝑥(,)(𝑥 + 1)))
359, 34impbii 212 . . . . 5 (∃𝑥 ∈ ℤ 𝑦 ∈ (𝑥(,)(𝑥 + 1)) ↔ 𝑦 ∈ (ℝ ∖ ℤ))
361, 35bitri 278 . . . 4 (𝑦 𝑥 ∈ ℤ (𝑥(,)(𝑥 + 1)) ↔ 𝑦 ∈ (ℝ ∖ ℤ))
3736eqriv 2795 . . 3 𝑥 ∈ ℤ (𝑥(,)(𝑥 + 1)) = (ℝ ∖ ℤ)
38 zcld.1 . . . . 5 𝐽 = (topGen‘ran (,))
39 retop 23367 . . . . 5 (topGen‘ran (,)) ∈ Top
4038, 39eqeltri 2886 . . . 4 𝐽 ∈ Top
41 iooretop 23371 . . . . . 6 (𝑥(,)(𝑥 + 1)) ∈ (topGen‘ran (,))
4241, 38eleqtrri 2889 . . . . 5 (𝑥(,)(𝑥 + 1)) ∈ 𝐽
4342rgenw 3118 . . . 4 𝑥 ∈ ℤ (𝑥(,)(𝑥 + 1)) ∈ 𝐽
44 iunopn 21503 . . . 4 ((𝐽 ∈ Top ∧ ∀𝑥 ∈ ℤ (𝑥(,)(𝑥 + 1)) ∈ 𝐽) → 𝑥 ∈ ℤ (𝑥(,)(𝑥 + 1)) ∈ 𝐽)
4540, 43, 44mp2an 691 . . 3 𝑥 ∈ ℤ (𝑥(,)(𝑥 + 1)) ∈ 𝐽
4637, 45eqeltrri 2887 . 2 (ℝ ∖ ℤ) ∈ 𝐽
47 zssre 11976 . . 3 ℤ ⊆ ℝ
48 uniretop 23368 . . . . 5 ℝ = (topGen‘ran (,))
4938unieqi 4813 . . . . 5 𝐽 = (topGen‘ran (,))
5048, 49eqtr4i 2824 . . . 4 ℝ = 𝐽
5150iscld2 21633 . . 3 ((𝐽 ∈ Top ∧ ℤ ⊆ ℝ) → (ℤ ∈ (Clsd‘𝐽) ↔ (ℝ ∖ ℤ) ∈ 𝐽))
5240, 47, 51mp2an 691 . 2 (ℤ ∈ (Clsd‘𝐽) ↔ (ℝ ∖ ℤ) ∈ 𝐽)
5346, 52mpbir 234 1 ℤ ∈ (Clsd‘𝐽)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2111  wne 2987  wral 3106  wrex 3107  cdif 3878  wss 3881   cuni 4800   ciun 4881   class class class wbr 5030  ran crn 5520  cfv 6324  (class class class)co 7135  cr 10525  1c1 10527   + caddc 10529  *cxr 10663   < clt 10664  cle 10665  cz 11969  (,)cioo 12726  cfl 13155  topGenctg 16703  Topctop 21498  Clsdccld 21621
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603  ax-pre-sup 10604
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-sup 8890  df-inf 8891  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-div 11287  df-nn 11626  df-n0 11886  df-z 11970  df-uz 12232  df-q 12337  df-ioo 12730  df-fl 13157  df-topgen 16709  df-top 21499  df-bases 21551  df-cld 21624
This theorem is referenced by:  zcld2  23420
  Copyright terms: Public domain W3C validator