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

Theorem neifil 20675
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  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  ( ( nei `  J ) `
 S )  e.  ( Fil `  X
) )

Proof of Theorem neifil
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 toponuni 19722 . . . . . . . 8  |-  ( J  e.  (TopOn `  X
)  ->  X  =  U. J )
21adantr 465 . . . . . . 7  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  X  =  U. J )
3 topontop 19721 . . . . . . . . 9  |-  ( J  e.  (TopOn `  X
)  ->  J  e.  Top )
43adantr 465 . . . . . . . 8  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  J  e.  Top )
5 simpr 461 . . . . . . . . 9  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  S  C_  X )
65, 2sseqtrd 3480 . . . . . . . 8  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  S  C_ 
U. J )
7 eqid 2404 . . . . . . . . 9  |-  U. J  =  U. J
87neiuni 19918 . . . . . . . 8  |-  ( ( J  e.  Top  /\  S  C_  U. J )  ->  U. J  =  U. ( ( nei `  J
) `  S )
)
94, 6, 8syl2anc 661 . . . . . . 7  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  U. J  =  U. ( ( nei `  J ) `  S
) )
102, 9eqtrd 2445 . . . . . 6  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  X  =  U. ( ( nei `  J ) `  S
) )
11 eqimss2 3497 . . . . . 6  |-  ( X  =  U. ( ( nei `  J ) `
 S )  ->  U. ( ( nei `  J
) `  S )  C_  X )
1210, 11syl 17 . . . . 5  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  U. (
( nei `  J
) `  S )  C_  X )
13 sspwuni 4362 . . . . 5  |-  ( ( ( nei `  J
) `  S )  C_ 
~P X  <->  U. (
( nei `  J
) `  S )  C_  X )
1412, 13sylibr 214 . . . 4  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  (
( nei `  J
) `  S )  C_ 
~P X )
15143adant3 1019 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  ( ( nei `  J ) `
 S )  C_  ~P X )
16 0nnei 19908 . . . . 5  |-  ( ( J  e.  Top  /\  S  =/=  (/) )  ->  -.  (/) 
e.  ( ( nei `  J ) `  S
) )
173, 16sylan 471 . . . 4  |-  ( ( J  e.  (TopOn `  X )  /\  S  =/=  (/) )  ->  -.  (/) 
e.  ( ( nei `  J ) `  S
) )
18173adant2 1018 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  -.  (/)  e.  ( ( nei `  J
) `  S )
)
197tpnei 19917 . . . . . . 7  |-  ( J  e.  Top  ->  ( S  C_  U. J  <->  U. J  e.  ( ( nei `  J
) `  S )
) )
2019biimpa 484 . . . . . 6  |-  ( ( J  e.  Top  /\  S  C_  U. J )  ->  U. J  e.  ( ( nei `  J
) `  S )
)
214, 6, 20syl2anc 661 . . . . 5  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  U. J  e.  ( ( nei `  J
) `  S )
)
222, 21eqeltrd 2492 . . . 4  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  X  e.  ( ( nei `  J
) `  S )
)
23223adant3 1019 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  X  e.  ( ( nei `  J
) `  S )
)
2415, 18, 233jca 1179 . 2  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  ( ( ( nei `  J
) `  S )  C_ 
~P X  /\  -.  (/) 
e.  ( ( nei `  J ) `  S
)  /\  X  e.  ( ( nei `  J
) `  S )
) )
25 elpwi 3966 . . . . 5  |-  ( x  e.  ~P X  ->  x  C_  X )
264ad2antrr 726 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  J  e.  Top )
27 simprl 758 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  y  e.  ( ( nei `  J
) `  S )
)
28 simprr 760 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  y  C_  x )
29 simplr 756 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  x  C_  X
)
302ad2antrr 726 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  X  =  U. J )
3129, 30sseqtrd 3480 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  x  C_  U. J
)
327ssnei2 19912 . . . . . . 7  |-  ( ( ( J  e.  Top  /\  y  e.  ( ( nei `  J ) `
 S ) )  /\  ( y  C_  x  /\  x  C_  U. J
) )  ->  x  e.  ( ( nei `  J
) `  S )
)
3326, 27, 28, 31, 32syl22anc 1233 . . . . . 6  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  x  e.  ( ( nei `  J
) `  S )
)
3433rexlimdvaa 2899 . . . . 5  |-  ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X )  ->  ( E. y  e.  (
( nei `  J
) `  S )
y  C_  x  ->  x  e.  ( ( nei `  J ) `  S
) ) )
3525, 34sylan2 474 . . . 4  |-  ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  e.  ~P X )  -> 
( E. y  e.  ( ( nei `  J
) `  S )
y  C_  x  ->  x  e.  ( ( nei `  J ) `  S
) ) )
3635ralrimiva 2820 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  A. x  e.  ~P  X ( E. y  e.  ( ( nei `  J ) `
 S ) y 
C_  x  ->  x  e.  ( ( nei `  J
) `  S )
) )
37363adant3 1019 . 2  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  A. x  e.  ~P  X ( E. y  e.  ( ( nei `  J ) `
 S ) y 
C_  x  ->  x  e.  ( ( nei `  J
) `  S )
) )
38 innei 19921 . . . . . 6  |-  ( ( J  e.  Top  /\  x  e.  ( ( nei `  J ) `  S )  /\  y  e.  ( ( nei `  J
) `  S )
)  ->  ( x  i^i  y )  e.  ( ( nei `  J
) `  S )
)
39383expib 1202 . . . . 5  |-  ( J  e.  Top  ->  (
( x  e.  ( ( nei `  J
) `  S )  /\  y  e.  (
( nei `  J
) `  S )
)  ->  ( x  i^i  y )  e.  ( ( nei `  J
) `  S )
) )
403, 39syl 17 . . . 4  |-  ( J  e.  (TopOn `  X
)  ->  ( (
x  e.  ( ( nei `  J ) `
 S )  /\  y  e.  ( ( nei `  J ) `  S ) )  -> 
( x  i^i  y
)  e.  ( ( nei `  J ) `
 S ) ) )
41403ad2ant1 1020 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  ( ( x  e.  ( ( nei `  J ) `
 S )  /\  y  e.  ( ( nei `  J ) `  S ) )  -> 
( x  i^i  y
)  e.  ( ( nei `  J ) `
 S ) ) )
4241ralrimivv 2826 . 2  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  A. x  e.  ( ( nei `  J
) `  S ) A. y  e.  (
( nei `  J
) `  S )
( x  i^i  y
)  e.  ( ( nei `  J ) `
 S ) )
43 isfil2 20651 . 2  |-  ( ( ( nei `  J
) `  S )  e.  ( Fil `  X
)  <->  ( ( ( ( nei `  J
) `  S )  C_ 
~P X  /\  -.  (/) 
e.  ( ( nei `  J ) `  S
)  /\  X  e.  ( ( nei `  J
) `  S )
)  /\  A. x  e.  ~P  X ( E. y  e.  ( ( nei `  J ) `
 S ) y 
C_  x  ->  x  e.  ( ( nei `  J
) `  S )
)  /\  A. x  e.  ( ( nei `  J
) `  S ) A. y  e.  (
( nei `  J
) `  S )
( x  i^i  y
)  e.  ( ( nei `  J ) `
 S ) ) )
4424, 37, 42, 43syl3anbrc 1183 1  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  ( ( nei `  J ) `
 S )  e.  ( Fil `  X
) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 369    /\ w3a 976    = wceq 1407    e. wcel 1844    =/= wne 2600   A.wral 2756   E.wrex 2757    i^i cin 3415    C_ wss 3416   (/)c0 3740   ~Pcpw 3957   U.cuni 4193   ` cfv 5571   Topctop 19688  TopOnctopon 19689   neicnei 19893   Filcfil 20640
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1641  ax-4 1654  ax-5 1727  ax-6 1773  ax-7 1816  ax-8 1846  ax-9 1848  ax-10 1863  ax-11 1868  ax-12 1880  ax-13 2028  ax-ext 2382  ax-rep 4509  ax-sep 4519  ax-nul 4527  ax-pow 4574  ax-pr 4632  ax-un 6576
This theorem depends on definitions:  df-bi 187  df-or 370  df-an 371  df-3an 978  df-tru 1410  df-ex 1636  df-nf 1640  df-sb 1766  df-eu 2244  df-mo 2245  df-clab 2390  df-cleq 2396  df-clel 2399  df-nfc 2554  df-ne 2602  df-nel 2603  df-ral 2761  df-rex 2762  df-reu 2763  df-rab 2765  df-v 3063  df-sbc 3280  df-csb 3376  df-dif 3419  df-un 3421  df-in 3423  df-ss 3430  df-nul 3741  df-if 3888  df-pw 3959  df-sn 3975  df-pr 3977  df-op 3981  df-uni 4194  df-iun 4275  df-br 4398  df-opab 4456  df-mpt 4457  df-id 4740  df-xp 4831  df-rel 4832  df-cnv 4833  df-co 4834  df-dm 4835  df-rn 4836  df-res 4837  df-ima 4838  df-iota 5535  df-fun 5573  df-fn 5574  df-f 5575  df-f1 5576  df-fo 5577  df-f1o 5578  df-fv 5579  df-fbas 18738  df-top 19693  df-topon 19696  df-nei 19894  df-fil 20641
This theorem is referenced by:  trnei  20687  neiflim  20769  hausflim  20776  flimcf  20777  flimclslem  20779  cnpflf2  20795  cnpflf  20796  fclsfnflim  20822  neipcfilu  21093
  Copyright terms: Public domain W3C validator