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

Theorem blfvalps 20621
Description: The value of the ball function. (Contributed by NM, 30-Aug-2006.) (Revised by Mario Carneiro, 11-Nov-2013.) (Revised by Thierry Arnoux, 11-Feb-2018.)
Assertion
Ref Expression
blfvalps  |-  ( D  e.  (PsMet `  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 blfvalps
Dummy variable  d is distinct from all other variables.
StepHypRef Expression
1 df-bl 18185 . . 3  |-  ball  =  ( d  e.  _V  |->  ( x  e.  dom  dom  d ,  r  e. 
RR*  |->  { y  e. 
dom  dom  d  |  ( x d y )  <  r } ) )
21a1i 11 . 2  |-  ( D  e.  (PsMet `  X
)  ->  ball  =  ( d  e.  _V  |->  ( x  e.  dom  dom  d ,  r  e.  RR*  |->  { y  e.  dom  dom  d  |  ( x d y )  < 
r } ) ) )
3 dmeq 5201 . . . . 5  |-  ( d  =  D  ->  dom  d  =  dom  D )
43dmeqd 5203 . . . 4  |-  ( d  =  D  ->  dom  dom  d  =  dom  dom  D )
5 psmetdmdm 20544 . . . . 5  |-  ( D  e.  (PsMet `  X
)  ->  X  =  dom  dom  D )
65eqcomd 2475 . . . 4  |-  ( D  e.  (PsMet `  X
)  ->  dom  dom  D  =  X )
74, 6sylan9eqr 2530 . . 3  |-  ( ( D  e.  (PsMet `  X )  /\  d  =  D )  ->  dom  dom  d  =  X )
8 eqidd 2468 . . 3  |-  ( ( D  e.  (PsMet `  X )  /\  d  =  D )  ->  RR*  =  RR* )
9 simpr 461 . . . . . 6  |-  ( ( D  e.  (PsMet `  X )  /\  d  =  D )  ->  d  =  D )
109oveqd 6299 . . . . 5  |-  ( ( D  e.  (PsMet `  X )  /\  d  =  D )  ->  (
x d y )  =  ( x D y ) )
1110breq1d 4457 . . . 4  |-  ( ( D  e.  (PsMet `  X )  /\  d  =  D )  ->  (
( x d y )  <  r  <->  ( x D y )  < 
r ) )
127, 11rabeqbidv 3108 . . 3  |-  ( ( D  e.  (PsMet `  X )  /\  d  =  D )  ->  { y  e.  dom  dom  d  |  ( x d y )  <  r }  =  { y  e.  X  |  (
x D y )  <  r } )
137, 8, 12mpt2eq123dv 6341 . 2  |-  ( ( D  e.  (PsMet `  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 elex 3122 . 2  |-  ( D  e.  (PsMet `  X
)  ->  D  e.  _V )
15 ssrab2 3585 . . . . . 6  |-  { y  e.  X  |  ( x D y )  <  r }  C_  X
16 elfvdm 5890 . . . . . . . 8  |-  ( D  e.  (PsMet `  X
)  ->  X  e.  dom PsMet )
1716adantr 465 . . . . . . 7  |-  ( ( D  e.  (PsMet `  X )  /\  (
x  e.  X  /\  r  e.  RR* ) )  ->  X  e.  dom PsMet )
18 elpw2g 4610 . . . . . . 7  |-  ( X  e.  dom PsMet  ->  ( { y  e.  X  | 
( x D y )  <  r }  e.  ~P X  <->  { y  e.  X  |  (
x D y )  <  r }  C_  X ) )
1917, 18syl 16 . . . . . 6  |-  ( ( D  e.  (PsMet `  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 ) )
2015, 19mpbiri 233 . . . . 5  |-  ( ( D  e.  (PsMet `  X )  /\  (
x  e.  X  /\  r  e.  RR* ) )  ->  { y  e.  X  |  ( x D y )  < 
r }  e.  ~P X )
2120ralrimivva 2885 . . . 4  |-  ( D  e.  (PsMet `  X
)  ->  A. x  e.  X  A. r  e.  RR*  { y  e.  X  |  ( x D y )  < 
r }  e.  ~P X )
22 eqid 2467 . . . . 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 } )
2322fmpt2 6848 . . . 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 )
2421, 23sylib 196 . . 3  |-  ( D  e.  (PsMet `  X
)  ->  ( x  e.  X ,  r  e. 
RR*  |->  { y  e.  X  |  ( x D y )  < 
r } ) : ( X  X.  RR* )
--> ~P X )
25 xrex 11213 . . . 4  |-  RR*  e.  _V
26 xpexg 6709 . . . 4  |-  ( ( X  e.  dom PsMet  /\  RR*  e.  _V )  ->  ( X  X.  RR* )  e.  _V )
2716, 25, 26sylancl 662 . . 3  |-  ( D  e.  (PsMet `  X
)  ->  ( X  X.  RR* )  e.  _V )
28 pwexg 4631 . . . 4  |-  ( X  e.  dom PsMet  ->  ~P X  e.  _V )
2916, 28syl 16 . . 3  |-  ( D  e.  (PsMet `  X
)  ->  ~P X  e.  _V )
30 fex2 6736 . . 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 )
3124, 27, 29, 30syl3anc 1228 . 2  |-  ( D  e.  (PsMet `  X
)  ->  ( x  e.  X ,  r  e. 
RR*  |->  { y  e.  X  |  ( x D y )  < 
r } )  e. 
_V )
322, 13, 14, 31fvmptd 5953 1  |-  ( D  e.  (PsMet `  X
)  ->  ( ball `  D )  =  ( x  e.  X , 
r  e.  RR*  |->  { y  e.  X  |  ( x D y )  <  r } ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1379    e. wcel 1767   A.wral 2814   {crab 2818   _Vcvv 3113    C_ wss 3476   ~Pcpw 4010   class class class wbr 4447    |-> cmpt 4505    X. cxp 4997   dom cdm 4999   -->wf 5582   ` cfv 5586  (class class class)co 6282    |-> cmpt2 6284   RR*cxr 9623    < clt 9624  PsMetcpsmet 18173   ballcbl 18176
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6574  ax-cnex 9544  ax-resscn 9545
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-pw 4012  df-sn 4028  df-pr 4030  df-op 4034  df-uni 4246  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-id 4795  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5549  df-fun 5588  df-fn 5589  df-f 5590  df-fv 5594  df-ov 6285  df-oprab 6286  df-mpt2 6287  df-1st 6781  df-2nd 6782  df-map 7419  df-xr 9628  df-psmet 18182  df-bl 18185
This theorem is referenced by:  blfval  20622  blvalps  20623  blfps  20644
  Copyright terms: Public domain W3C validator