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

Theorem neival 18704
Description: The set of neighborhoods of a subset of the base set of a topology. (Contributed by NM, 11-Feb-2007.) (Revised by Mario Carneiro, 11-Nov-2013.)
Hypothesis
Ref Expression
neifval.1  |-  X  = 
U. J
Assertion
Ref Expression
neival  |-  ( ( J  e.  Top  /\  S  C_  X )  -> 
( ( nei `  J
) `  S )  =  { v  e.  ~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) } )
Distinct variable groups:    v, g, J    S, g, v    g, X, v

Proof of Theorem neival
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 neifval.1 . . . . 5  |-  X  = 
U. J
21neifval 18701 . . . 4  |-  ( J  e.  Top  ->  ( nei `  J )  =  ( x  e.  ~P X  |->  { v  e. 
~P X  |  E. g  e.  J  (
x  C_  g  /\  g  C_  v ) } ) )
32fveq1d 5691 . . 3  |-  ( J  e.  Top  ->  (
( nei `  J
) `  S )  =  ( ( x  e.  ~P X  |->  { v  e.  ~P X  |  E. g  e.  J  ( x  C_  g  /\  g  C_  v ) } ) `  S ) )
43adantr 465 . 2  |-  ( ( J  e.  Top  /\  S  C_  X )  -> 
( ( nei `  J
) `  S )  =  ( ( x  e.  ~P X  |->  { v  e.  ~P X  |  E. g  e.  J  ( x  C_  g  /\  g  C_  v ) } ) `  S ) )
51topopn 18517 . . . . 5  |-  ( J  e.  Top  ->  X  e.  J )
6 elpw2g 4453 . . . . 5  |-  ( X  e.  J  ->  ( S  e.  ~P X  <->  S 
C_  X ) )
75, 6syl 16 . . . 4  |-  ( J  e.  Top  ->  ( S  e.  ~P X  <->  S 
C_  X ) )
87biimpar 485 . . 3  |-  ( ( J  e.  Top  /\  S  C_  X )  ->  S  e.  ~P X
)
9 pwexg 4474 . . . . 5  |-  ( X  e.  J  ->  ~P X  e.  _V )
10 rabexg 4440 . . . . 5  |-  ( ~P X  e.  _V  ->  { v  e.  ~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) }  e.  _V )
115, 9, 103syl 20 . . . 4  |-  ( J  e.  Top  ->  { v  e.  ~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) }  e.  _V )
1211adantr 465 . . 3  |-  ( ( J  e.  Top  /\  S  C_  X )  ->  { v  e.  ~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) }  e.  _V )
13 sseq1 3375 . . . . . . 7  |-  ( x  =  S  ->  (
x  C_  g  <->  S  C_  g
) )
1413anbi1d 704 . . . . . 6  |-  ( x  =  S  ->  (
( x  C_  g  /\  g  C_  v )  <-> 
( S  C_  g  /\  g  C_  v ) ) )
1514rexbidv 2734 . . . . 5  |-  ( x  =  S  ->  ( E. g  e.  J  ( x  C_  g  /\  g  C_  v )  <->  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) ) )
1615rabbidv 2962 . . . 4  |-  ( x  =  S  ->  { v  e.  ~P X  |  E. g  e.  J  ( x  C_  g  /\  g  C_  v ) }  =  { v  e. 
~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) } )
17 eqid 2441 . . . 4  |-  ( x  e.  ~P X  |->  { v  e.  ~P X  |  E. g  e.  J  ( x  C_  g  /\  g  C_  v ) } )  =  ( x  e.  ~P X  |->  { v  e.  ~P X  |  E. g  e.  J  ( x  C_  g  /\  g  C_  v ) } )
1816, 17fvmptg 5770 . . 3  |-  ( ( S  e.  ~P X  /\  { v  e.  ~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) }  e.  _V )  ->  ( ( x  e.  ~P X  |->  { v  e.  ~P X  |  E. g  e.  J  ( x  C_  g  /\  g  C_  v ) } ) `
 S )  =  { v  e.  ~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) } )
198, 12, 18syl2anc 661 . 2  |-  ( ( J  e.  Top  /\  S  C_  X )  -> 
( ( x  e. 
~P X  |->  { v  e.  ~P X  |  E. g  e.  J  ( x  C_  g  /\  g  C_  v ) } ) `  S )  =  { v  e. 
~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) } )
204, 19eqtrd 2473 1  |-  ( ( J  e.  Top  /\  S  C_  X )  -> 
( ( nei `  J
) `  S )  =  { v  e.  ~P X  |  E. g  e.  J  ( S  C_  g  /\  g  C_  v ) } )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369    e. wcel 1756   E.wrex 2714   {crab 2717   _Vcvv 2970    C_ wss 3326   ~Pcpw 3858   U.cuni 4089    e. cmpt 4348   ` cfv 5416   Topctop 18496   neicnei 18699
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-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2422  ax-rep 4401  ax-sep 4411  ax-nul 4419  ax-pow 4468  ax-pr 4529
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 2428  df-cleq 2434  df-clel 2437  df-nfc 2566  df-ne 2606  df-ral 2718  df-rex 2719  df-reu 2720  df-rab 2722  df-v 2972  df-sbc 3185  df-csb 3287  df-dif 3329  df-un 3331  df-in 3333  df-ss 3340  df-nul 3636  df-if 3790  df-pw 3860  df-sn 3876  df-pr 3878  df-op 3882  df-uni 4090  df-iun 4171  df-br 4291  df-opab 4349  df-mpt 4350  df-id 4634  df-xp 4844  df-rel 4845  df-cnv 4846  df-co 4847  df-dm 4848  df-rn 4849  df-res 4850  df-ima 4851  df-iota 5379  df-fun 5418  df-fn 5419  df-f 5420  df-f1 5421  df-fo 5422  df-f1o 5423  df-fv 5424  df-top 18501  df-nei 18700
This theorem is referenced by:  isnei  18705
  Copyright terms: Public domain W3C validator