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

Theorem opnnei 22271
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 22053 . . . . 5 (𝐽 ∈ Top → ∅ ∈ 𝐽)
21adantr 481 . . . 4 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → ∅ ∈ 𝐽)
3 eleq1 2826 . . . . 5 (𝑆 = ∅ → (𝑆𝐽 ↔ ∅ ∈ 𝐽))
43adantl 482 . . . 4 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → (𝑆𝐽 ↔ ∅ ∈ 𝐽))
52, 4mpbird 256 . . 3 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → 𝑆𝐽)
6 rzal 4439 . . . 4 (𝑆 = ∅ → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
76adantl 482 . . 3 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
85, 72thd 264 . 2 ((𝐽 ∈ Top ∧ 𝑆 = ∅) → (𝑆𝐽 ↔ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
9 opnneip 22270 . . . . . . 7 ((𝐽 ∈ Top ∧ 𝑆𝐽𝑥𝑆) → 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
1093expia 1120 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆𝐽) → (𝑥𝑆𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
1110ralrimiv 3102 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆𝐽) → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
1211ex 413 . . . 4 (𝐽 ∈ Top → (𝑆𝐽 → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
1312adantr 481 . . 3 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (𝑆𝐽 → ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
14 df-ne 2944 . . . . . 6 (𝑆 ≠ ∅ ↔ ¬ 𝑆 = ∅)
15 r19.2z 4425 . . . . . . 7 ((𝑆 ≠ ∅ ∧ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})) → ∃𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}))
1615ex 413 . . . . . 6 (𝑆 ≠ ∅ → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → ∃𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
1714, 16sylbir 234 . . . . 5 𝑆 = ∅ → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → ∃𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
18 eqid 2738 . . . . . . . 8 𝐽 = 𝐽
1918neii1 22257 . . . . . . 7 ((𝐽 ∈ Top ∧ 𝑆 ∈ ((nei‘𝐽)‘{𝑥})) → 𝑆 𝐽)
2019ex 413 . . . . . 6 (𝐽 ∈ Top → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆 𝐽))
2120rexlimdvw 3219 . . . . 5 (𝐽 ∈ Top → (∃𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆 𝐽))
2217, 21sylan9r 509 . . . 4 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆 𝐽))
2318ntrss2 22208 . . . . . . . . . . 11 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → ((int‘𝐽)‘𝑆) ⊆ 𝑆)
2423adantr 481 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆)) → ((int‘𝐽)‘𝑆) ⊆ 𝑆)
25 vex 3436 . . . . . . . . . . . . 13 𝑥 ∈ V
2625snss 4719 . . . . . . . . . . . 12 (𝑥 ∈ ((int‘𝐽)‘𝑆) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆))
2726ralbii 3092 . . . . . . . . . . 11 (∀𝑥𝑆 𝑥 ∈ ((int‘𝐽)‘𝑆) ↔ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆))
28 dfss3 3909 . . . . . . . . . . . . 13 (𝑆 ⊆ ((int‘𝐽)‘𝑆) ↔ ∀𝑥𝑆 𝑥 ∈ ((int‘𝐽)‘𝑆))
2928biimpri 227 . . . . . . . . . . . 12 (∀𝑥𝑆 𝑥 ∈ ((int‘𝐽)‘𝑆) → 𝑆 ⊆ ((int‘𝐽)‘𝑆))
3029adantl 482 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ ∀𝑥𝑆 𝑥 ∈ ((int‘𝐽)‘𝑆)) → 𝑆 ⊆ ((int‘𝐽)‘𝑆))
3127, 30sylan2br 595 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆)) → 𝑆 ⊆ ((int‘𝐽)‘𝑆))
3224, 31eqssd 3938 . . . . . . . . 9 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆)) → ((int‘𝐽)‘𝑆) = 𝑆)
3332ex 413 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆) → ((int‘𝐽)‘𝑆) = 𝑆))
3425snss 4719 . . . . . . . . . . . 12 (𝑥𝑆 ↔ {𝑥} ⊆ 𝑆)
35 sstr2 3928 . . . . . . . . . . . . . 14 ({𝑥} ⊆ 𝑆 → (𝑆 𝐽 → {𝑥} ⊆ 𝐽))
3635com12 32 . . . . . . . . . . . . 13 (𝑆 𝐽 → ({𝑥} ⊆ 𝑆 → {𝑥} ⊆ 𝐽))
3736adantl 482 . . . . . . . . . . . 12 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → ({𝑥} ⊆ 𝑆 → {𝑥} ⊆ 𝐽))
3834, 37syl5bi 241 . . . . . . . . . . 11 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (𝑥𝑆 → {𝑥} ⊆ 𝐽))
3938imp 407 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ 𝑥𝑆) → {𝑥} ⊆ 𝐽)
4018neiint 22255 . . . . . . . . . . . 12 ((𝐽 ∈ Top ∧ {𝑥} ⊆ 𝐽𝑆 𝐽) → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
41403com23 1125 . . . . . . . . . . 11 ((𝐽 ∈ Top ∧ 𝑆 𝐽 ∧ {𝑥} ⊆ 𝐽) → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
42413expa 1117 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ {𝑥} ⊆ 𝐽) → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
4339, 42syldan 591 . . . . . . . . 9 (((𝐽 ∈ Top ∧ 𝑆 𝐽) ∧ 𝑥𝑆) → (𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
4443ralbidva 3111 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) ↔ ∀𝑥𝑆 {𝑥} ⊆ ((int‘𝐽)‘𝑆)))
4518isopn3 22217 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (𝑆𝐽 ↔ ((int‘𝐽)‘𝑆) = 𝑆))
4633, 44, 453imtr4d 294 . . . . . . 7 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆𝐽))
4746ex 413 . . . . . 6 (𝐽 ∈ Top → (𝑆 𝐽 → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆𝐽)))
4847com23 86 . . . . 5 (𝐽 ∈ Top → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → (𝑆 𝐽𝑆𝐽)))
4948adantr 481 . . . 4 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → (𝑆 𝐽𝑆𝐽)))
5022, 49mpdd 43 . . 3 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥}) → 𝑆𝐽))
5113, 50impbid 211 . 2 ((𝐽 ∈ Top ∧ ¬ 𝑆 = ∅) → (𝑆𝐽 ↔ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
528, 51pm2.61dan 810 1 (𝐽 ∈ Top → (𝑆𝐽 ↔ ∀𝑥𝑆 𝑆 ∈ ((nei‘𝐽)‘{𝑥})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wne 2943  wral 3064  wrex 3065  wss 3887  c0 4256  {csn 4561   cuni 4839  cfv 6433  Topctop 22042  intcnt 22168  neicnei 22248
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-top 22043  df-ntr 22171  df-nei 22249
This theorem is referenced by:  neiptopreu  22284  flimcf  23133
  Copyright terms: Public domain W3C validator