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

Theorem xmetres2 21307
Description: Restriction of an extended metric. (Contributed by Mario Carneiro, 20-Aug-2015.)
Assertion
Ref Expression
xmetres2  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  ( D  |`  ( R  X.  R
) )  e.  ( *Met `  R
) )

Proof of Theorem xmetres2
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elfvdm 5907 . . . 4  |-  ( D  e.  ( *Met `  X )  ->  X  e.  dom  *Met )
21adantr 466 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  X  e.  dom  *Met )
3 simpr 462 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  R  C_  X
)
42, 3ssexd 4572 . 2  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  R  e.  _V )
5 xmetf 21275 . . . 4  |-  ( D  e.  ( *Met `  X )  ->  D : ( X  X.  X ) --> RR* )
65adantr 466 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  D :
( X  X.  X
) --> RR* )
7 xpss12 4960 . . . 4  |-  ( ( R  C_  X  /\  R  C_  X )  -> 
( R  X.  R
)  C_  ( X  X.  X ) )
83, 7sylancom 671 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  ( R  X.  R )  C_  ( X  X.  X ) )
96, 8fssresd 5767 . 2  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  ( D  |`  ( R  X.  R
) ) : ( R  X.  R ) -->
RR* )
10 ovres 6450 . . . . 5  |-  ( ( x  e.  R  /\  y  e.  R )  ->  ( x ( D  |`  ( R  X.  R
) ) y )  =  ( x D y ) )
1110adantl 467 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
( x ( D  |`  ( R  X.  R
) ) y )  =  ( x D y ) )
1211eqeq1d 2431 . . 3  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
( ( x ( D  |`  ( R  X.  R ) ) y )  =  0  <->  (
x D y )  =  0 ) )
13 simpll 758 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  ->  D  e.  ( *Met `  X ) )
14 simplr 760 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  ->  R  C_  X )
15 simprl 762 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  ->  x  e.  R )
1614, 15sseldd 3471 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  ->  x  e.  X )
17 simprr 764 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
y  e.  R )
1814, 17sseldd 3471 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
y  e.  X )
19 xmeteq0 21284 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  x  e.  X  /\  y  e.  X
)  ->  ( (
x D y )  =  0  <->  x  =  y ) )
2013, 16, 18, 19syl3anc 1264 . . 3  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
( ( x D y )  =  0  <-> 
x  =  y ) )
2112, 20bitrd 256 . 2  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
( ( x ( D  |`  ( R  X.  R ) ) y )  =  0  <->  x  =  y ) )
22 simpll 758 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  ->  D  e.  ( *Met `  X ) )
23 simplr 760 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  ->  R  C_  X )
24 simpr3 1013 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
z  e.  R )
2523, 24sseldd 3471 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
z  e.  X )
26163adantr3 1166 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  ->  x  e.  X )
27183adantr3 1166 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
y  e.  X )
28 xmettri2 21286 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  ( z  e.  X  /\  x  e.  X  /\  y  e.  X ) )  -> 
( x D y )  <_  ( (
z D x ) +e ( z D y ) ) )
2922, 25, 26, 27, 28syl13anc 1266 . . 3  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
( x D y )  <_  ( (
z D x ) +e ( z D y ) ) )
30113adantr3 1166 . . 3  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
( x ( D  |`  ( R  X.  R
) ) y )  =  ( x D y ) )
31 simpr1 1011 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  ->  x  e.  R )
3224, 31ovresd 6451 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
( z ( D  |`  ( R  X.  R
) ) x )  =  ( z D x ) )
33 simpr2 1012 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
y  e.  R )
3424, 33ovresd 6451 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
( z ( D  |`  ( R  X.  R
) ) y )  =  ( z D y ) )
3532, 34oveq12d 6323 . . 3  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
( ( z ( D  |`  ( R  X.  R ) ) x ) +e ( z ( D  |`  ( R  X.  R
) ) y ) )  =  ( ( z D x ) +e ( z D y ) ) )
3629, 30, 353brtr4d 4456 . 2  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
( x ( D  |`  ( R  X.  R
) ) y )  <_  ( ( z ( D  |`  ( R  X.  R ) ) x ) +e
( z ( D  |`  ( R  X.  R
) ) y ) ) )
374, 9, 21, 36isxmetd 21272 1  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  ( D  |`  ( R  X.  R
) )  e.  ( *Met `  R
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 187    /\ wa 370    /\ w3a 982    = wceq 1437    e. wcel 1870    C_ wss 3442   class class class wbr 4426    X. cxp 4852   dom cdm 4854    |` cres 4856   -->wf 5597   ` cfv 5601  (class class class)co 6305   0cc0 9538   RR*cxr 9673    <_ cle 9675   +ecxad 11407   *Metcxmt 18890
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1665  ax-4 1678  ax-5 1751  ax-6 1797  ax-7 1841  ax-8 1872  ax-9 1874  ax-10 1889  ax-11 1894  ax-12 1907  ax-13 2055  ax-ext 2407  ax-sep 4548  ax-nul 4556  ax-pow 4603  ax-pr 4661  ax-un 6597  ax-cnex 9594  ax-resscn 9595
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3an 984  df-tru 1440  df-ex 1660  df-nf 1664  df-sb 1790  df-eu 2270  df-mo 2271  df-clab 2415  df-cleq 2421  df-clel 2424  df-nfc 2579  df-ne 2627  df-ral 2787  df-rex 2788  df-rab 2791  df-v 3089  df-sbc 3306  df-dif 3445  df-un 3447  df-in 3449  df-ss 3456  df-nul 3768  df-if 3916  df-pw 3987  df-sn 4003  df-pr 4005  df-op 4009  df-uni 4223  df-br 4427  df-opab 4485  df-mpt 4486  df-id 4769  df-xp 4860  df-rel 4861  df-cnv 4862  df-co 4863  df-dm 4864  df-rn 4865  df-res 4866  df-iota 5565  df-fun 5603  df-fn 5604  df-f 5605  df-fv 5609  df-ov 6308  df-oprab 6309  df-mpt2 6310  df-map 7482  df-xr 9678  df-xmet 18898
This theorem is referenced by:  metres2  21309  xmetres  21310  xpsxmet  21326  xpsdsval  21327  xmetresbl  21383  tmsxms  21432  imasf1oxms  21435  metrest  21470  prdsxms  21476  tmsxpsval  21484  nrginvrcn  21625  divcn  21796  iitopon  21807  cncfmet  21836  cfilres  22159  dvlip2  22824  ftc1lem6  22870  ulmdvlem1  23220  ulmdvlem3  23222  abelth  23261  cxpcn3  23553  rlimcnp  23756  minvecolem4b  26365  minvecolem4  26367  ftc1cnnc  31719  blbnd  31822  ismtyres  31843  reheibor  31874
  Copyright terms: Public domain W3C validator