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

Theorem neifil 21589
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 20637 . . . . . . . 8 (𝐽 ∈ (TopOn‘𝑋) → 𝑋 = 𝐽)
21adantr 481 . . . . . . 7 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 = 𝐽)
3 topontop 20636 . . . . . . . . 9 (𝐽 ∈ (TopOn‘𝑋) → 𝐽 ∈ Top)
43adantr 481 . . . . . . . 8 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 ∈ Top)
5 simpr 477 . . . . . . . . 9 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑆𝑋)
65, 2sseqtrd 3625 . . . . . . . 8 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑆 𝐽)
7 eqid 2626 . . . . . . . . 9 𝐽 = 𝐽
87neiuni 20831 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → 𝐽 = ((nei‘𝐽)‘𝑆))
94, 6, 8syl2anc 692 . . . . . . 7 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 = ((nei‘𝐽)‘𝑆))
102, 9eqtrd 2660 . . . . . 6 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 = ((nei‘𝐽)‘𝑆))
11 eqimss2 3642 . . . . . 6 (𝑋 = ((nei‘𝐽)‘𝑆) → ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
1210, 11syl 17 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
13 sspwuni 4582 . . . . 5 (((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
1412, 13sylibr 224 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋)
15143adant3 1079 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋)
16 0nnei 20821 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
173, 16sylan 488 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
18173adant2 1078 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
197tpnei 20830 . . . . . . 7 (𝐽 ∈ Top → (𝑆 𝐽 𝐽 ∈ ((nei‘𝐽)‘𝑆)))
2019biimpa 501 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → 𝐽 ∈ ((nei‘𝐽)‘𝑆))
214, 6, 20syl2anc 692 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 ∈ ((nei‘𝐽)‘𝑆))
222, 21eqeltrd 2704 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 ∈ ((nei‘𝐽)‘𝑆))
23223adant3 1079 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → 𝑋 ∈ ((nei‘𝐽)‘𝑆))
2415, 18, 233jca 1240 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → (((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ∧ ¬ ∅ ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑋 ∈ ((nei‘𝐽)‘𝑆)))
25 elpwi 4145 . . . . 5 (𝑥 ∈ 𝒫 𝑋𝑥𝑋)
264ad2antrr 761 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝐽 ∈ Top)
27 simprl 793 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑦 ∈ ((nei‘𝐽)‘𝑆))
28 simprr 795 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑦𝑥)
29 simplr 791 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥𝑋)
302ad2antrr 761 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑋 = 𝐽)
3129, 30sseqtrd 3625 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥 𝐽)
327ssnei2 20825 . . . . . . 7 (((𝐽 ∈ Top ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) ∧ (𝑦𝑥𝑥 𝐽)) → 𝑥 ∈ ((nei‘𝐽)‘𝑆))
3326, 27, 28, 31, 32syl22anc 1324 . . . . . 6 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥 ∈ ((nei‘𝐽)‘𝑆))
3433rexlimdvaa 3030 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) → (∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
3525, 34sylan2 491 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥 ∈ 𝒫 𝑋) → (∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
3635ralrimiva 2965 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
37363adant3 1079 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
38 innei 20834 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆))
39383expib 1265 . . . . 5 (𝐽 ∈ Top → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
403, 39syl 17 . . . 4 (𝐽 ∈ (TopOn‘𝑋) → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
41403ad2ant1 1080 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
4241ralrimivv 2969 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ∀𝑥 ∈ ((nei‘𝐽)‘𝑆)∀𝑦 ∈ ((nei‘𝐽)‘𝑆)(𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆))
43 isfil2 21565 . 2 (((nei‘𝐽)‘𝑆) ∈ (Fil‘𝑋) ↔ ((((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ∧ ¬ ∅ ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑋 ∈ ((nei‘𝐽)‘𝑆)) ∧ ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)) ∧ ∀𝑥 ∈ ((nei‘𝐽)‘𝑆)∀𝑦 ∈ ((nei‘𝐽)‘𝑆)(𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
4424, 37, 42, 43syl3anbrc 1244 1 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((nei‘𝐽)‘𝑆) ∈ (Fil‘𝑋))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384  w3a 1036   = wceq 1480  wcel 1992  wne 2796  wral 2912  wrex 2913  cin 3559  wss 3560  c0 3896  𝒫 cpw 4135   cuni 4407  cfv 5850  Topctop 20612  TopOnctopon 20613  neicnei 20806  Filcfil 21554
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-nel 2900  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858  df-fbas 19657  df-top 20616  df-topon 20618  df-nei 20807  df-fil 21555
This theorem is referenced by:  trnei  21601  neiflim  21683  hausflim  21690  flimcf  21691  flimclslem  21693  cnpflf2  21709  cnpflf  21710  fclsfnflim  21736  neipcfilu  22005
  Copyright terms: Public domain W3C validator