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

Theorem opnnei 21138
Description: A set is open iff it is a neighborhood of all of its points. (Contributed by Jeff Hankins, 15-Sep-2009.)
Assertion
Ref Expression
opnnei (𝐽 ∈ Top → (𝑆𝐽 ↔ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
Distinct variable groups:   𝑥,𝐽   𝑥,𝑆

Proof of Theorem opnnei
StepHypRef Expression
1 0opn 20922 . . . . 5 (𝐽 ∈ Top → ∅ ∈ 𝐽)
21adantr 468 . . . 4 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → ∅ ∈ 𝐽)
3 eleq1 2873 . . . . 5 (𝑆 = ∅ → (𝑆𝐽 ↔ ∅ ∈ 𝐽))
43adantl 469 . . . 4 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → (𝑆𝐽 ↔ ∅ ∈ 𝐽))
52, 4mpbird 248 . . 3 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → 𝑆𝐽)
6 rzal 4268 . . . 4 (𝑆 = ∅ → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
76adantl 469 . . 3 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
85, 72thd 256 . 2 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → (𝑆𝐽 ↔ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
9 opnneip 21137 . . . . . . 7 ((𝐽 ∈ Top ∧ 𝑆𝐽𝑥𝑆) → 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
1093expia 1143 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆𝐽) → (𝑥𝑆𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
1110ralrimiv 3153 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆𝐽) → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
1211ex 399 . . . 4 (𝐽 ∈ Top → (𝑆𝐽 → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
1312adantr 468 . . 3 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (𝑆𝐽 → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
14 df-ne 2979 . . . . . 6 (𝑆 ≠ ∅ ↔ ¬ 𝑆 = ∅)
15 r19.2z 4255 . . . . . . 7 ((𝑆 ≠ ∅ ∧ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})) → ∃𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
1615ex 399 . . . . . 6 (𝑆 ≠ ∅ → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → ∃𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
1714, 16sylbir 226 . . . . 5 𝑆 = ∅ → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → ∃𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
18 eqid 2806 . . . . . . . 8 𝐽 = 𝐽
1918neii1 21124 . . . . . . 7 ((𝐽 ∈ Top ∧ 𝑆 ∈ ((nei‘𝐽)‘{𝑥})) → 𝑆 𝐽)
2019ex 399 . . . . . 6 (𝐽 ∈ Top → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆 𝐽))
2120rexlimdvw 3222 . . . . 5 (𝐽 ∈ Top → (∃𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆 𝐽))
2217, 21sylan9r 500 . . . 4 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆 𝐽))
2318ntrss2 21075 . . . . . . . . . . 11 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → ((int‘𝐽)‘𝑆) ⊆ 𝑆)
2423adantr 468 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆)) → ((int‘𝐽)‘𝑆) ⊆ 𝑆)
25 vex 3394 . . . . . . . . . . . . 13 𝑥 ∈ V
2625snss 4506 . . . . . . . . . . . 12 (𝑥 ∈ ((int‘𝐽)‘𝑆) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆))
2726ralbii 3168 . . . . . . . . . . 11 (∀𝑥𝑆 𝑥 ∈ ((int‘𝐽)‘𝑆) ↔ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆))
28 dfss3 3787 . . . . . . . . . . . . 13 (𝑆 ⊆ ((int‘𝐽)‘𝑆) ↔ ∀𝑥𝑆 𝑥 ∈ ((int‘𝐽)‘𝑆))
2928biimpri 219 . . . . . . . . . . . 12 (∀𝑥𝑆 𝑥 ∈ ((int‘𝐽)‘𝑆) → 𝑆 ⊆ ((int‘𝐽)‘𝑆))
3029adantl 469 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ ∀𝑥𝑆 𝑥 ∈ ((int‘𝐽)‘𝑆)) → 𝑆 ⊆ ((int‘𝐽)‘𝑆))
3127, 30sylan2br 584 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆)) → 𝑆 ⊆ ((int‘𝐽)‘𝑆))
3224, 31eqssd 3815 . . . . . . . . 9 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆)) → ((int‘𝐽)‘𝑆) = 𝑆)
3332ex 399 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆) → ((int‘𝐽)‘𝑆) = 𝑆))
3425snss 4506 . . . . . . . . . . . 12 (𝑥𝑆 ↔ {𝑥} ⊆ 𝑆)
35 sstr2 3805 . . . . . . . . . . . . . 14 ({𝑥} ⊆ 𝑆 → (𝑆 𝐽 → {𝑥} ⊆ 𝐽))
3635com12 32 . . . . . . . . . . . . 13 (𝑆 𝐽 → ({𝑥} ⊆ 𝑆 → {𝑥} ⊆ 𝐽))
3736adantl 469 . . . . . . . . . . . 12 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → ({𝑥} ⊆ 𝑆 → {𝑥} ⊆ 𝐽))
3834, 37syl5bi 233 . . . . . . . . . . 11 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (𝑥𝑆 → {𝑥} ⊆ 𝐽))
3938imp 395 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ 𝑥𝑆) → {𝑥} ⊆ 𝐽)
4018neiint 21122 . . . . . . . . . . . 12 ((𝐽 ∈ Top ∧ {𝑥} ⊆ 𝐽𝑆 𝐽) → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
41403com23 1149 . . . . . . . . . . 11 ((𝐽 ∈ Top ∧ 𝑆 𝐽 ∧ {𝑥} ⊆ 𝐽) → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
42413expa 1140 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ {𝑥} ⊆ 𝐽) → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
4339, 42syldan 581 . . . . . . . . 9 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ 𝑥𝑆) → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
4443ralbidva 3173 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
4518isopn3 21084 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (𝑆𝐽 ↔ ((int‘𝐽)‘𝑆) = 𝑆))
4633, 44, 453imtr4d 285 . . . . . . 7 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆𝐽))
4746ex 399 . . . . . 6 (𝐽 ∈ Top → (𝑆 𝐽 → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆𝐽)))
4847com23 86 . . . . 5 (𝐽 ∈ Top → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → (𝑆 𝐽𝑆𝐽)))
4948adantr 468 . . . 4 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → (𝑆 𝐽𝑆𝐽)))
5022, 49mpdd 43 . . 3 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆𝐽))
5113, 50impbid 203 . 2 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (𝑆𝐽 ↔ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
528, 51pm2.61dan 838 1 (𝐽 ∈ Top → (𝑆𝐽 ↔ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 197  wa 384   = wceq 1637  wcel 2156  wne 2978  wral 3096  wrex 3097  wss 3769  c0 4116  {csn 4370   cuni 4630  cfv 6101  Topctop 20911  intcnt 21035  neicnei 21115
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2068  ax-7 2104  ax-8 2158  ax-9 2165  ax-10 2185  ax-11 2201  ax-12 2214  ax-13 2420  ax-ext 2784  ax-rep 4964  ax-sep 4975  ax-nul 4983  ax-pow 5035  ax-pr 5096  ax-un 7179
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2061  df-eu 2634  df-mo 2635  df-clab 2793  df-cleq 2799  df-clel 2802  df-nfc 2937  df-ne 2979  df-ral 3101  df-rex 3102  df-reu 3103  df-rab 3105  df-v 3393  df-sbc 3634  df-csb 3729  df-dif 3772  df-un 3774  df-in 3776  df-ss 3783  df-nul 4117  df-if 4280  df-pw 4353  df-sn 4371  df-pr 4373  df-op 4377  df-uni 4631  df-iun 4714  df-br 4845  df-opab 4907  df-mpt 4924  df-id 5219  df-xp 5317  df-rel 5318  df-cnv 5319  df-co 5320  df-dm 5321  df-rn 5322  df-res 5323  df-ima 5324  df-iota 6064  df-fun 6103  df-fn 6104  df-f 6105  df-f1 6106  df-fo 6107  df-f1o 6108  df-fv 6109  df-top 20912  df-ntr 21038  df-nei 21116
This theorem is referenced by:  neiptopreu  21151  flimcf  21999
  Copyright terms: Public domain W3C validator