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

Theorem xmeteq0 12698
Description: The value of an extended metric is zero iff its arguments are equal. (Contributed by Mario Carneiro, 20-Aug-2015.)
Assertion
Ref Expression
xmeteq0  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( A D B )  =  0  <->  A  =  B
) )

Proof of Theorem xmeteq0
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xmetrel 12682 . . . . . . 7  |-  Rel  *Met
2 relelfvdm 5493 . . . . . . 7  |-  ( ( Rel  *Met  /\  D  e.  ( *Met `  X ) )  ->  X  e.  dom  *Met )
31, 2mpan 421 . . . . . 6  |-  ( D  e.  ( *Met `  X )  ->  X  e.  dom  *Met )
4 isxmet 12684 . . . . . 6  |-  ( X  e.  dom  *Met  ->  ( D  e.  ( *Met `  X
)  <->  ( D :
( X  X.  X
) --> RR*  /\  A. x  e.  X  A. y  e.  X  ( (
( x D y )  =  0  <->  x  =  y )  /\  A. z  e.  X  ( x D y )  <_  ( ( z D x ) +e ( z D y ) ) ) ) ) )
53, 4syl 14 . . . . 5  |-  ( D  e.  ( *Met `  X )  ->  ( D  e.  ( *Met `  X )  <->  ( D : ( X  X.  X ) --> RR*  /\  A. x  e.  X  A. y  e.  X  (
( ( x D y )  =  0  <-> 
x  =  y )  /\  A. z  e.  X  ( x D y )  <_  (
( z D x ) +e ( z D y ) ) ) ) ) )
65ibi 175 . . . 4  |-  ( D  e.  ( *Met `  X )  ->  ( D : ( X  X.  X ) --> RR*  /\  A. x  e.  X  A. y  e.  X  (
( ( x D y )  =  0  <-> 
x  =  y )  /\  A. z  e.  X  ( x D y )  <_  (
( z D x ) +e ( z D y ) ) ) ) )
7 simpl 108 . . . . 5  |-  ( ( ( ( x D y )  =  0  <-> 
x  =  y )  /\  A. z  e.  X  ( x D y )  <_  (
( z D x ) +e ( z D y ) ) )  ->  (
( x D y )  =  0  <->  x  =  y ) )
872ralimi 2518 . . . 4  |-  ( A. x  e.  X  A. y  e.  X  (
( ( x D y )  =  0  <-> 
x  =  y )  /\  A. z  e.  X  ( x D y )  <_  (
( z D x ) +e ( z D y ) ) )  ->  A. x  e.  X  A. y  e.  X  ( (
x D y )  =  0  <->  x  =  y ) )
96, 8simpl2im 384 . . 3  |-  ( D  e.  ( *Met `  X )  ->  A. x  e.  X  A. y  e.  X  ( (
x D y )  =  0  <->  x  =  y ) )
10 oveq1 5821 . . . . . 6  |-  ( x  =  A  ->  (
x D y )  =  ( A D y ) )
1110eqeq1d 2163 . . . . 5  |-  ( x  =  A  ->  (
( x D y )  =  0  <->  ( A D y )  =  0 ) )
12 eqeq1 2161 . . . . 5  |-  ( x  =  A  ->  (
x  =  y  <->  A  =  y ) )
1311, 12bibi12d 234 . . . 4  |-  ( x  =  A  ->  (
( ( x D y )  =  0  <-> 
x  =  y )  <-> 
( ( A D y )  =  0  <-> 
A  =  y ) ) )
14 oveq2 5822 . . . . . 6  |-  ( y  =  B  ->  ( A D y )  =  ( A D B ) )
1514eqeq1d 2163 . . . . 5  |-  ( y  =  B  ->  (
( A D y )  =  0  <->  ( A D B )  =  0 ) )
16 eqeq2 2164 . . . . 5  |-  ( y  =  B  ->  ( A  =  y  <->  A  =  B ) )
1715, 16bibi12d 234 . . . 4  |-  ( y  =  B  ->  (
( ( A D y )  =  0  <-> 
A  =  y )  <-> 
( ( A D B )  =  0  <-> 
A  =  B ) ) )
1813, 17rspc2v 2826 . . 3  |-  ( ( A  e.  X  /\  B  e.  X )  ->  ( A. x  e.  X  A. y  e.  X  ( ( x D y )  =  0  <->  x  =  y
)  ->  ( ( A D B )  =  0  <->  A  =  B
) ) )
199, 18syl5com 29 . 2  |-  ( D  e.  ( *Met `  X )  ->  (
( A  e.  X  /\  B  e.  X
)  ->  ( ( A D B )  =  0  <->  A  =  B
) ) )
20193impib 1180 1  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( A D B )  =  0  <->  A  =  B
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    /\ w3a 963    = wceq 1332    e. wcel 2125   A.wral 2432   class class class wbr 3961    X. cxp 4577   dom cdm 4579   Rel wrel 4584   -->wf 5159   ` cfv 5163  (class class class)co 5814   0cc0 7711   RR*cxr 7890    <_ cle 7892   +ecxad 9655   *Metcxmet 12319
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 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1481  ax-10 1482  ax-11 1483  ax-i12 1484  ax-bndl 1486  ax-4 1487  ax-17 1503  ax-i9 1507  ax-ial 1511  ax-i5r 1512  ax-13 2127  ax-14 2128  ax-ext 2136  ax-sep 4078  ax-pow 4130  ax-pr 4164  ax-un 4388  ax-setind 4490  ax-cnex 7802  ax-resscn 7803
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1740  df-eu 2006  df-mo 2007  df-clab 2141  df-cleq 2147  df-clel 2150  df-nfc 2285  df-ne 2325  df-ral 2437  df-rex 2438  df-rab 2441  df-v 2711  df-sbc 2934  df-csb 3028  df-dif 3100  df-un 3102  df-in 3104  df-ss 3111  df-pw 3541  df-sn 3562  df-pr 3563  df-op 3565  df-uni 3769  df-iun 3847  df-br 3962  df-opab 4022  df-mpt 4023  df-id 4248  df-xp 4585  df-rel 4586  df-cnv 4587  df-co 4588  df-dm 4589  df-rn 4590  df-res 4591  df-ima 4592  df-iota 5128  df-fun 5165  df-fn 5166  df-f 5167  df-fv 5171  df-ov 5817  df-oprab 5818  df-mpo 5819  df-1st 6078  df-2nd 6079  df-map 6584  df-pnf 7893  df-mnf 7894  df-xr 7895  df-xmet 12327
This theorem is referenced by:  meteq0  12699  xmet0  12702  xmetres2  12718  xblss2  12744  xmseq0  12807  comet  12838  xmetxp  12846
  Copyright terms: Public domain W3C validator