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

Theorem neifil 21856
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 20892 . . . . . . . 8 (𝐽 ∈ (TopOn‘𝑋) → 𝑋 = 𝐽)
21adantr 472 . . . . . . 7 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 = 𝐽)
3 topontop 20891 . . . . . . . . 9 (𝐽 ∈ (TopOn‘𝑋) → 𝐽 ∈ Top)
43adantr 472 . . . . . . . 8 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 ∈ Top)
5 simpr 479 . . . . . . . . 9 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑆𝑋)
65, 2sseqtrd 3770 . . . . . . . 8 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑆 𝐽)
7 eqid 2748 . . . . . . . . 9 𝐽 = 𝐽
87neiuni 21099 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → 𝐽 = ((nei‘𝐽)‘𝑆))
94, 6, 8syl2anc 696 . . . . . . 7 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 = ((nei‘𝐽)‘𝑆))
102, 9eqtrd 2782 . . . . . 6 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 = ((nei‘𝐽)‘𝑆))
11 eqimss2 3787 . . . . . 6 (𝑋 = ((nei‘𝐽)‘𝑆) → ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
1210, 11syl 17 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
13 sspwuni 4751 . . . . 5 (((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ((nei‘𝐽)‘𝑆) ⊆ 𝑋)
1412, 13sylibr 224 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋)
15143adant3 1124 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋)
16 0nnei 21089 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
173, 16sylan 489 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
18173adant2 1123 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ¬ ∅ ∈ ((nei‘𝐽)‘𝑆))
197tpnei 21098 . . . . . . 7 (𝐽 ∈ Top → (𝑆 𝐽 𝐽 ∈ ((nei‘𝐽)‘𝑆)))
2019biimpa 502 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆 𝐽) → 𝐽 ∈ ((nei‘𝐽)‘𝑆))
214, 6, 20syl2anc 696 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝐽 ∈ ((nei‘𝐽)‘𝑆))
222, 21eqeltrd 2827 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → 𝑋 ∈ ((nei‘𝐽)‘𝑆))
23223adant3 1124 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → 𝑋 ∈ ((nei‘𝐽)‘𝑆))
2415, 18, 233jca 1403 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → (((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ∧ ¬ ∅ ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑋 ∈ ((nei‘𝐽)‘𝑆)))
25 elpwi 4300 . . . . 5 (𝑥 ∈ 𝒫 𝑋𝑥𝑋)
264ad2antrr 764 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝐽 ∈ Top)
27 simprl 811 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑦 ∈ ((nei‘𝐽)‘𝑆))
28 simprr 813 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑦𝑥)
29 simplr 809 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥𝑋)
302ad2antrr 764 . . . . . . . 8 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑋 = 𝐽)
3129, 30sseqtrd 3770 . . . . . . 7 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥 𝐽)
327ssnei2 21093 . . . . . . 7 (((𝐽 ∈ Top ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) ∧ (𝑦𝑥𝑥 𝐽)) → 𝑥 ∈ ((nei‘𝐽)‘𝑆))
3326, 27, 28, 31, 32syl22anc 1464 . . . . . 6 ((((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) ∧ (𝑦 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦𝑥)) → 𝑥 ∈ ((nei‘𝐽)‘𝑆))
3433rexlimdvaa 3158 . . . . 5 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥𝑋) → (∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
3525, 34sylan2 492 . . . 4 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) ∧ 𝑥 ∈ 𝒫 𝑋) → (∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
3635ralrimiva 3092 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋) → ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
37363adant3 1124 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)))
38 innei 21102 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆))
39383expib 1116 . . . . 5 (𝐽 ∈ Top → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
403, 39syl 17 . . . 4 (𝐽 ∈ (TopOn‘𝑋) → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
41403ad2ant1 1125 . . 3 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((𝑥 ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑦 ∈ ((nei‘𝐽)‘𝑆)) → (𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
4241ralrimivv 3096 . 2 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ∀𝑥 ∈ ((nei‘𝐽)‘𝑆)∀𝑦 ∈ ((nei‘𝐽)‘𝑆)(𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆))
43 isfil2 21832 . 2 (((nei‘𝐽)‘𝑆) ∈ (Fil‘𝑋) ↔ ((((nei‘𝐽)‘𝑆) ⊆ 𝒫 𝑋 ∧ ¬ ∅ ∈ ((nei‘𝐽)‘𝑆) ∧ 𝑋 ∈ ((nei‘𝐽)‘𝑆)) ∧ ∀𝑥 ∈ 𝒫 𝑋(∃𝑦 ∈ ((nei‘𝐽)‘𝑆)𝑦𝑥𝑥 ∈ ((nei‘𝐽)‘𝑆)) ∧ ∀𝑥 ∈ ((nei‘𝐽)‘𝑆)∀𝑦 ∈ ((nei‘𝐽)‘𝑆)(𝑥𝑦) ∈ ((nei‘𝐽)‘𝑆)))
4424, 37, 42, 43syl3anbrc 1407 1 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑆𝑋𝑆 ≠ ∅) → ((nei‘𝐽)‘𝑆) ∈ (Fil‘𝑋))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383  w3a 1072   = wceq 1620  wcel 2127  wne 2920  wral 3038  wrex 3039  cin 3702  wss 3703  c0 4046  𝒫 cpw 4290   cuni 4576  cfv 6037  Topctop 20871  TopOnctopon 20888  neicnei 21074  Filcfil 21821
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1859  ax-4 1874  ax-5 1976  ax-6 2042  ax-7 2078  ax-8 2129  ax-9 2136  ax-10 2156  ax-11 2171  ax-12 2184  ax-13 2379  ax-ext 2728  ax-rep 4911  ax-sep 4921  ax-nul 4929  ax-pow 4980  ax-pr 5043  ax-un 7102
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1623  df-ex 1842  df-nf 1847  df-sb 2035  df-eu 2599  df-mo 2600  df-clab 2735  df-cleq 2741  df-clel 2744  df-nfc 2879  df-ne 2921  df-nel 3024  df-ral 3043  df-rex 3044  df-reu 3045  df-rab 3047  df-v 3330  df-sbc 3565  df-csb 3663  df-dif 3706  df-un 3708  df-in 3710  df-ss 3717  df-nul 4047  df-if 4219  df-pw 4292  df-sn 4310  df-pr 4312  df-op 4316  df-uni 4577  df-iun 4662  df-br 4793  df-opab 4853  df-mpt 4870  df-id 5162  df-xp 5260  df-rel 5261  df-cnv 5262  df-co 5263  df-dm 5264  df-rn 5265  df-res 5266  df-ima 5267  df-iota 6000  df-fun 6039  df-fn 6040  df-f 6041  df-f1 6042  df-fo 6043  df-f1o 6044  df-fv 6045  df-fbas 19916  df-top 20872  df-topon 20889  df-nei 21075  df-fil 21822
This theorem is referenced by:  trnei  21868  neiflim  21950  hausflim  21957  flimcf  21958  flimclslem  21960  cnpflf2  21976  cnpflf  21977  fclsfnflim  22003  neipcfilu  22272
  Copyright terms: Public domain W3C validator