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

Theorem neifil 19458
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 18537 . . . . . . . 8  |-  ( J  e.  (TopOn `  X
)  ->  X  =  U. J )
21adantr 465 . . . . . . 7  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  X  =  U. J )
3 topontop 18536 . . . . . . . . 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 3397 . . . . . . . 8  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  S  C_ 
U. J )
7 eqid 2443 . . . . . . . . 9  |-  U. J  =  U. J
87neiuni 18731 . . . . . . . 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 2475 . . . . . 6  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  X  =  U. ( ( nei `  J ) `  S
) )
11 eqimss2 3414 . . . . . 6  |-  ( X  =  U. ( ( nei `  J ) `
 S )  ->  U. ( ( nei `  J
) `  S )  C_  X )
1210, 11syl 16 . . . . 5  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  U. (
( nei `  J
) `  S )  C_  X )
13 sspwuni 4261 . . . . 5  |-  ( ( ( nei `  J
) `  S )  C_ 
~P X  <->  U. (
( nei `  J
) `  S )  C_  X )
1412, 13sylibr 212 . . . 4  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  (
( nei `  J
) `  S )  C_ 
~P X )
15143adant3 1008 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  ( ( nei `  J ) `
 S )  C_  ~P X )
16 0nnei 18721 . . . . 5  |-  ( ( J  e.  Top  /\  S  =/=  (/) )  ->  -.  (/) 
e.  ( ( nei `  J ) `  S
) )
173, 16sylan 471 . . . 4  |-  ( ( J  e.  (TopOn `  X )  /\  S  =/=  (/) )  ->  -.  (/) 
e.  ( ( nei `  J ) `  S
) )
18173adant2 1007 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  -.  (/)  e.  ( ( nei `  J
) `  S )
)
197tpnei 18730 . . . . . . 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 2517 . . . 4  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  ->  X  e.  ( ( nei `  J
) `  S )
)
23223adant3 1008 . . 3  |-  ( ( J  e.  (TopOn `  X )  /\  S  C_  X  /\  S  =/=  (/) )  ->  X  e.  ( ( nei `  J
) `  S )
)
2415, 18, 233jca 1168 . 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 3874 . . . . 5  |-  ( x  e.  ~P X  ->  x  C_  X )
264ad2antrr 725 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  J  e.  Top )
27 simprl 755 . . . . . . 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 756 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  y  C_  x )
29 simplr 754 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  x  C_  X
)
302ad2antrr 725 . . . . . . . 8  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  X  =  U. J )
3129, 30sseqtrd 3397 . . . . . . 7  |-  ( ( ( ( J  e.  (TopOn `  X )  /\  S  C_  X )  /\  x  C_  X
)  /\  ( y  e.  ( ( nei `  J
) `  S )  /\  y  C_  x ) )  ->  x  C_  U. J
)
327ssnei2 18725 . . . . . . 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 1219 . . . . . 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 2847 . . . . 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 2804 . . 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 1008 . 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 18734 . . . . . 6  |-  ( ( J  e.  Top  /\  x  e.  ( ( nei `  J ) `  S )  /\  y  e.  ( ( nei `  J
) `  S )
)  ->  ( x  i^i  y )  e.  ( ( nei `  J
) `  S )
)
39383expib 1190 . . . . 5  |-  ( J  e.  Top  ->  (
( x  e.  ( ( nei `  J
) `  S )  /\  y  e.  (
( nei `  J
) `  S )
)  ->  ( x  i^i  y )  e.  ( ( nei `  J
) `  S )
) )
403, 39syl 16 . . . 4  |-  ( J  e.  (TopOn `  X
)  ->  ( (
x  e.  ( ( nei `  J ) `
 S )  /\  y  e.  ( ( nei `  J ) `  S ) )  -> 
( x  i^i  y
)  e.  ( ( nei `  J ) `
 S ) ) )
41403ad2ant1 1009 . . 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 2812 . 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 19434 . 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 1172 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 965    = wceq 1369    e. wcel 1756    =/= wne 2611   A.wral 2720   E.wrex 2721    i^i cin 3332    C_ wss 3333   (/)c0 3642   ~Pcpw 3865   U.cuni 4096   ` cfv 5423   Topctop 18503  TopOnctopon 18504   neicnei 18706   Filcfil 19423
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-rep 4408  ax-sep 4418  ax-nul 4426  ax-pow 4475  ax-pr 4536  ax-un 6377
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2573  df-ne 2613  df-nel 2614  df-ral 2725  df-rex 2726  df-reu 2727  df-rab 2729  df-v 2979  df-sbc 3192  df-csb 3294  df-dif 3336  df-un 3338  df-in 3340  df-ss 3347  df-nul 3643  df-if 3797  df-pw 3867  df-sn 3883  df-pr 3885  df-op 3889  df-uni 4097  df-iun 4178  df-br 4298  df-opab 4356  df-mpt 4357  df-id 4641  df-xp 4851  df-rel 4852  df-cnv 4853  df-co 4854  df-dm 4855  df-rn 4856  df-res 4857  df-ima 4858  df-iota 5386  df-fun 5425  df-fn 5426  df-f 5427  df-f1 5428  df-fo 5429  df-f1o 5430  df-fv 5431  df-fbas 17819  df-top 18508  df-topon 18511  df-nei 18707  df-fil 19424
This theorem is referenced by:  trnei  19470  neiflim  19552  hausflim  19559  flimcf  19560  flimclslem  19562  cnpflf2  19578  cnpflf  19579  fclsfnflim  19605  neipcfilu  19876
  Copyright terms: Public domain W3C validator