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

Theorem neifil 23031
Description: The neighborhoods of a nonempty set is a filter. Example 2 of [BourbakiTop1] p. I.36. (Contributed by FL, 18-Sep-2007.) (Revised by Mario Carneiro, 23-Aug-2015.)
Assertion
Ref Expression
neifil ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((nei‘𝐽)‘𝑆) ∈ (Fil‘𝑋))

Proof of Theorem neifil
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 toponuni 22063 . . . . . . . 8 (𝐽 ∈ (TopOn‘𝑋) → 𝑋 = 𝐽)
21adantr 481 . . . . . . 7 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 = 𝐽)
3 topontop 22062 . . . . . . . . 9 (𝐽 ∈ (TopOn‘𝑋) → 𝐽 ∈ Top)
43adantr 481 . . . . . . . 8 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 ∈ Top)
5 simpr 485 . . . . . . . . 9 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑆𝑋)
65, 2sseqtrd 3961 . . . . . . . 8 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑆 𝐽)
7 eqid 2738 . . . . . . . . 9 𝐽 = 𝐽
87neiuni 22273 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → 𝐽 = ((nei‘𝐽)‘𝑆))
94, 6, 8syl2anc 584 . . . . . . 7 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 = ((nei‘𝐽)‘𝑆))
102, 9eqtrd 2778 . . . . . 6 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 = ((nei‘𝐽)‘𝑆))
11 eqimss2 3978 . . . . . 6 (𝑋 = ((nei‘𝐽)‘𝑆) → ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
1210, 11syl 17 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
13 sspwuni 5029 . . . . 5 (((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
1412, 13sylibr 233 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋)
15143adant3 1131 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋)
16 0nnei 22263 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
173, 16sylan 580 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
18173adant2 1130 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
197tpnei 22272 . . . . . . 7 (𝐽 ∈ Top → (𝑆 𝐽 𝐽 ∈ ((nei‘𝐽)‘𝑆)))
2019biimpa 477 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → 𝐽 ∈ ((nei‘𝐽)‘𝑆))
214, 6, 20syl2anc 584 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 ∈ ((nei‘𝐽)‘𝑆))
222, 21eqeltrd 2839 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 ∈ ((nei‘𝐽)‘𝑆))
23223adant3 1131 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → 𝑋 ∈ ((nei‘𝐽)‘𝑆))
2415, 18, 233jca 1127 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → (((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ∧ ¬ ∅ ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑋 ∈ ((nei‘𝐽)‘𝑆)))
25 elpwi 4542 . . . . 5 (𝑥 ∈ 𝒫 𝑋𝑥𝑋)
264ad2antrr 723 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝐽 ∈ Top)
27 simprl 768 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑦 ∈ ((nei‘𝐽)‘𝑆))
28 simprr 770 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑦𝑥)
29 simplr 766 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥𝑋)
302ad2antrr 723 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑋 = 𝐽)
3129, 30sseqtrd 3961 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥 𝐽)
327ssnei2 22267 . . . . . . 7 (((𝐽 ∈ Top ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) ∧ (𝑦𝑥𝑥 𝐽)) → 𝑥 ∈ ((nei‘𝐽)‘𝑆))
3326, 27, 28, 31, 32syl22anc 836 . . . . . 6 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥 ∈ ((nei‘𝐽)‘𝑆))
3433rexlimdvaa 3214 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) → (∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
3525, 34sylan2 593 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥 ∈ 𝒫 𝑋) → (∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
3635ralrimiva 3103 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
37363adant3 1131 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
38 innei 22276 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆))
39383expib 1121 . . . . 5 (𝐽 ∈ Top → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
403, 39syl 17 . . . 4 (𝐽 ∈ (TopOn‘𝑋) → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
41403ad2ant1 1132 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
4241ralrimivv 3122 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ∀𝑥 ∈ ((nei‘𝐽)‘𝑆)∀𝑦 ∈ ((nei‘𝐽)‘𝑆)(𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆))
43 isfil2 23007 . 2 (((nei‘𝐽)‘𝑆) ∈ (Fil‘𝑋) ↔ ((((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ∧ ¬ ∅ ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑋 ∈ ((nei‘𝐽)‘𝑆)) ∧ ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)) ∧ ∀𝑥 ∈ ((nei‘𝐽)‘𝑆)∀𝑦 ∈ ((nei‘𝐽)‘𝑆)(𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
4424, 37, 42, 43syl3anbrc 1342 1 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((nei‘𝐽)‘𝑆) ∈ (Fil‘𝑋))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wral 3064  wrex 3065  cin 3886  wss 3887  c0 4256  𝒫 cpw 4533   cuni 4839  cfv 6433  Topctop 22042  TopOnctopon 22059  neicnei 22248  Filcfil 22996
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-nel 3050  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-fbas 20594  df-top 22043  df-topon 22060  df-nei 22249  df-fil 22997
This theorem is referenced by:  trnei  23043  neiflim  23125  hausflim  23132  flimcf  23133  flimclslem  23135  cnpflf2  23151  cnpflf  23152  fclsfnflim  23178  neipcfilu  23448
  Copyright terms: Public domain W3C validator