ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  xmetres2 Unicode version

Theorem xmetres2 13173
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 xmetrel 13137 . . . . 5  |-  Rel  *Met
2 relelfvdm 5528 . . . . 5  |-  ( ( Rel  *Met  /\  D  e.  ( *Met `  X ) )  ->  X  e.  dom  *Met )
31, 2mpan 422 . . . 4  |-  ( D  e.  ( *Met `  X )  ->  X  e.  dom  *Met )
43adantr 274 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  X  e.  dom  *Met )
5 simpr 109 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  R  C_  X
)
64, 5ssexd 4129 . 2  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  R  e.  _V )
7 xmetf 13144 . . . 4  |-  ( D  e.  ( *Met `  X )  ->  D : ( X  X.  X ) --> RR* )
87adantr 274 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  D :
( X  X.  X
) --> RR* )
9 xpss12 4718 . . . 4  |-  ( ( R  C_  X  /\  R  C_  X )  -> 
( R  X.  R
)  C_  ( X  X.  X ) )
105, 9sylancom 418 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  ( R  X.  R )  C_  ( X  X.  X ) )
118, 10fssresd 5374 . 2  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  ( D  |`  ( R  X.  R
) ) : ( R  X.  R ) -->
RR* )
12 ovres 5992 . . . . 5  |-  ( ( x  e.  R  /\  y  e.  R )  ->  ( x ( D  |`  ( R  X.  R
) ) y )  =  ( x D y ) )
1312adantl 275 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
( x ( D  |`  ( R  X.  R
) ) y )  =  ( x D y ) )
1413eqeq1d 2179 . . 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 ) )
15 simpll 524 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  ->  D  e.  ( *Met `  X ) )
16 simplr 525 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  ->  R  C_  X )
17 simprl 526 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  ->  x  e.  R )
1816, 17sseldd 3148 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  ->  x  e.  X )
19 simprr 527 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
y  e.  R )
2016, 19sseldd 3148 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
y  e.  X )
21 xmeteq0 13153 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  x  e.  X  /\  y  e.  X
)  ->  ( (
x D y )  =  0  <->  x  =  y ) )
2215, 18, 20, 21syl3anc 1233 . . 3  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
( ( x D y )  =  0  <-> 
x  =  y ) )
2314, 22bitrd 187 . 2  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R ) )  -> 
( ( x ( D  |`  ( R  X.  R ) ) y )  =  0  <->  x  =  y ) )
24 simpll 524 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  ->  D  e.  ( *Met `  X ) )
25 simplr 525 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  ->  R  C_  X )
26 simpr3 1000 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
z  e.  R )
2725, 26sseldd 3148 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
z  e.  X )
28183adantr3 1153 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  ->  x  e.  X )
29203adantr3 1153 . . . 4  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
y  e.  X )
30 xmettri2 13155 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  ( z  e.  X  /\  x  e.  X  /\  y  e.  X ) )  -> 
( x D y )  <_  ( (
z D x ) +e ( z D y ) ) )
3124, 27, 28, 29, 30syl13anc 1235 . . 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 ) ) )
32133adantr3 1153 . . 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 ) )
33 simpr1 998 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  ->  x  e.  R )
3426, 33ovresd 5993 . . . 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 ) )
35 simpr2 999 . . . . 5  |-  ( ( ( D  e.  ( *Met `  X
)  /\  R  C_  X
)  /\  ( x  e.  R  /\  y  e.  R  /\  z  e.  R ) )  -> 
y  e.  R )
3626, 35ovresd 5993 . . . 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 ) )
3734, 36oveq12d 5871 . . 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 ) ) )
3831, 32, 373brtr4d 4021 . 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 ) ) )
396, 11, 23, 38isxmetd 13141 1  |-  ( ( D  e.  ( *Met `  X )  /\  R  C_  X
)  ->  ( D  |`  ( R  X.  R
) )  e.  ( *Met `  R
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    /\ w3a 973    = wceq 1348    e. wcel 2141    C_ wss 3121   class class class wbr 3989    X. cxp 4609   dom cdm 4611    |` cres 4613   Rel wrel 4616   -->wf 5194   ` cfv 5198  (class class class)co 5853   0cc0 7774   RR*cxr 7953    <_ cle 7955   +ecxad 9727   *Metcxmet 12774
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-cnex 7865  ax-resscn 7866
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-map 6628  df-pnf 7956  df-mnf 7957  df-xr 7958  df-xmet 12782
This theorem is referenced by:  metres2  13175  xmetres  13176  xmetresbl  13234  metrest  13300  divcnap  13349  cncfmet  13373  limcimolemlt  13427  cnplimcim  13430  cnplimclemr  13432  limccnpcntop  13438  limccnp2cntop  13440
  Copyright terms: Public domain W3C validator