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

Theorem blfval 17963
Description: The value of the ball function. (Contributed by NM, 30-Aug-2006.) (Revised by Mario Carneiro, 11-Nov-2013.)
Assertion
Ref Expression
blfval  |-  ( D  e.  ( * Met `  X )  ->  ( ball `  D )  =  ( x  e.  X ,  r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } ) )
Distinct variable groups:    x, r,
y, D    X, r, x, y

Proof of Theorem blfval
Dummy variable  d is distinct from all other variables.
StepHypRef Expression
1 df-bl 16391 . . 3  |-  ball  =  ( d  e.  U. ran  * Met  |->  ( x  e.  dom  dom  d ,  r  e.  RR*  |->  { y  e.  dom  dom  d  |  ( x d y )  <  r } ) )
21a1i 10 . 2  |-  ( D  e.  ( * Met `  X )  ->  ball  =  ( d  e.  U. ran  * Met  |->  ( x  e.  dom  dom  d ,  r  e.  RR*  |->  { y  e.  dom  dom  d  |  ( x d y )  <  r } ) ) )
3 dmeq 4895 . . . . 5  |-  ( d  =  D  ->  dom  d  =  dom  D )
43dmeqd 4897 . . . 4  |-  ( d  =  D  ->  dom  dom  d  =  dom  dom  D )
5 xmetdmdm 17916 . . . . 5  |-  ( D  e.  ( * Met `  X )  ->  X  =  dom  dom  D )
65eqcomd 2301 . . . 4  |-  ( D  e.  ( * Met `  X )  ->  dom  dom 
D  =  X )
74, 6sylan9eqr 2350 . . 3  |-  ( ( D  e.  ( * Met `  X )  /\  d  =  D )  ->  dom  dom  d  =  X )
8 eqidd 2297 . . 3  |-  ( ( D  e.  ( * Met `  X )  /\  d  =  D )  ->  RR*  =  RR* )
9 simpr 447 . . . . . 6  |-  ( ( D  e.  ( * Met `  X )  /\  d  =  D )  ->  d  =  D )
109oveqd 5891 . . . . 5  |-  ( ( D  e.  ( * Met `  X )  /\  d  =  D )  ->  ( x
d y )  =  ( x D y ) )
1110breq1d 4049 . . . 4  |-  ( ( D  e.  ( * Met `  X )  /\  d  =  D )  ->  ( (
x d y )  <  r  <->  ( x D y )  < 
r ) )
127, 11rabeqbidv 2796 . . 3  |-  ( ( D  e.  ( * Met `  X )  /\  d  =  D )  ->  { y  e.  dom  dom  d  | 
( x d y )  <  r }  =  { y  e.  X  |  ( x D y )  < 
r } )
137, 8, 12mpt2eq123dv 5926 . 2  |-  ( ( D  e.  ( * Met `  X )  /\  d  =  D )  ->  ( x  e.  dom  dom  d , 
r  e.  RR*  |->  { y  e.  dom  dom  d  |  ( x d y )  <  r } )  =  ( x  e.  X , 
r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } ) )
14 fvssunirn 5567 . . 3  |-  ( * Met `  X ) 
C_  U. ran  * Met
1514sseli 3189 . 2  |-  ( D  e.  ( * Met `  X )  ->  D  e.  U. ran  * Met )
16 ssrab2 3271 . . . . . 6  |-  { y  e.  X  |  ( x D y )  <  r }  C_  X
17 elfvdm 5570 . . . . . . . 8  |-  ( D  e.  ( * Met `  X )  ->  X  e.  dom  * Met )
1817adantr 451 . . . . . . 7  |-  ( ( D  e.  ( * Met `  X )  /\  ( x  e.  X  /\  r  e. 
RR* ) )  ->  X  e.  dom  * Met )
19 elpw2g 4190 . . . . . . 7  |-  ( X  e.  dom  * Met  ->  ( { y  e.  X  |  ( x D y )  < 
r }  e.  ~P X 
<->  { y  e.  X  |  ( x D y )  <  r }  C_  X ) )
2018, 19syl 15 . . . . . 6  |-  ( ( D  e.  ( * Met `  X )  /\  ( x  e.  X  /\  r  e. 
RR* ) )  -> 
( { y  e.  X  |  ( x D y )  < 
r }  e.  ~P X 
<->  { y  e.  X  |  ( x D y )  <  r }  C_  X ) )
2116, 20mpbiri 224 . . . . 5  |-  ( ( D  e.  ( * Met `  X )  /\  ( x  e.  X  /\  r  e. 
RR* ) )  ->  { y  e.  X  |  ( x D y )  <  r }  e.  ~P X
)
2221ralrimivva 2648 . . . 4  |-  ( D  e.  ( * Met `  X )  ->  A. x  e.  X  A. r  e.  RR*  { y  e.  X  |  ( x D y )  < 
r }  e.  ~P X )
23 eqid 2296 . . . . 5  |-  ( x  e.  X ,  r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } )  =  ( x  e.  X ,  r  e. 
RR*  |->  { y  e.  X  |  ( x D y )  < 
r } )
2423fmpt2 6207 . . . 4  |-  ( A. x  e.  X  A. r  e.  RR*  { y  e.  X  |  ( x D y )  <  r }  e.  ~P X  <->  ( x  e.  X ,  r  e. 
RR*  |->  { y  e.  X  |  ( x D y )  < 
r } ) : ( X  X.  RR* )
--> ~P X )
2522, 24sylib 188 . . 3  |-  ( D  e.  ( * Met `  X )  ->  (
x  e.  X , 
r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } ) : ( X  X.  RR* ) --> ~P X )
26 xrex 10367 . . . 4  |-  RR*  e.  _V
27 xpexg 4816 . . . 4  |-  ( ( X  e.  dom  * Met  /\  RR*  e.  _V )  ->  ( X  X.  RR* )  e.  _V )
2817, 26, 27sylancl 643 . . 3  |-  ( D  e.  ( * Met `  X )  ->  ( X  X.  RR* )  e.  _V )
29 pwexg 4210 . . . 4  |-  ( X  e.  dom  * Met  ->  ~P X  e.  _V )
3017, 29syl 15 . . 3  |-  ( D  e.  ( * Met `  X )  ->  ~P X  e.  _V )
31 fex2 5417 . . 3  |-  ( ( ( x  e.  X ,  r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } ) : ( X  X.  RR* ) --> ~P X  /\  ( X  X.  RR* )  e.  _V  /\  ~P X  e.  _V )  ->  (
x  e.  X , 
r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } )  e.  _V )
3225, 28, 30, 31syl3anc 1182 . 2  |-  ( D  e.  ( * Met `  X )  ->  (
x  e.  X , 
r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } )  e.  _V )
332, 13, 15, 32fvmptd 5622 1  |-  ( D  e.  ( * Met `  X )  ->  ( ball `  D )  =  ( x  e.  X ,  r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1632    e. wcel 1696   A.wral 2556   {crab 2560   _Vcvv 2801    C_ wss 3165   ~Pcpw 3638   U.cuni 3843   class class class wbr 4039    e. cmpt 4093    X. cxp 4703   dom cdm 4705   ran crn 4706   -->wf 5267   ` cfv 5271  (class class class)co 5874    e. cmpt2 5876   RR*cxr 8882    < clt 8883   * Metcxmt 16385   ballcbl 16387
This theorem is referenced by:  blval  17964  blf  17977
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-map 6790  df-xr 8887  df-xmet 16389  df-bl 16391
  Copyright terms: Public domain W3C validator