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

Theorem xmetsym 20038
Description: The distance function of an extended metric space is symmetric. (Contributed by Mario Carneiro, 20-Aug-2015.)
Assertion
Ref Expression
xmetsym  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( A D B )  =  ( B D A ) )

Proof of Theorem xmetsym
StepHypRef Expression
1 simp1 988 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  D  e.  ( *Met `  X
) )
2 simp3 990 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  B  e.  X )
3 simp2 989 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  A  e.  X )
4 xmettri2 20031 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  ( B  e.  X  /\  A  e.  X  /\  B  e.  X ) )  -> 
( A D B )  <_  ( ( B D A ) +e ( B D B ) ) )
51, 2, 3, 2, 4syl13anc 1221 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( A D B )  <_  (
( B D A ) +e ( B D B ) ) )
6 xmet0 20033 . . . . . 6  |-  ( ( D  e.  ( *Met `  X )  /\  B  e.  X
)  ->  ( B D B )  =  0 )
763adant2 1007 . . . . 5  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( B D B )  =  0 )
87oveq2d 6206 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( B D A ) +e ( B D B ) )  =  ( ( B D A ) +e 0 ) )
9 xmetcl 20022 . . . . . 6  |-  ( ( D  e.  ( *Met `  X )  /\  B  e.  X  /\  A  e.  X
)  ->  ( B D A )  e.  RR* )
10 xaddid1 11310 . . . . . 6  |-  ( ( B D A )  e.  RR*  ->  ( ( B D A ) +e 0 )  =  ( B D A ) )
119, 10syl 16 . . . . 5  |-  ( ( D  e.  ( *Met `  X )  /\  B  e.  X  /\  A  e.  X
)  ->  ( ( B D A ) +e 0 )  =  ( B D A ) )
12113com23 1194 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( B D A ) +e 0 )  =  ( B D A ) )
138, 12eqtrd 2492 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( B D A ) +e ( B D B ) )  =  ( B D A ) )
145, 13breqtrd 4414 . 2  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( A D B )  <_  ( B D A ) )
15 xmettri2 20031 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  ( A  e.  X  /\  B  e.  X  /\  A  e.  X ) )  -> 
( B D A )  <_  ( ( A D B ) +e ( A D A ) ) )
161, 3, 2, 3, 15syl13anc 1221 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( B D A )  <_  (
( A D B ) +e ( A D A ) ) )
17 xmet0 20033 . . . . . 6  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X
)  ->  ( A D A )  =  0 )
18173adant3 1008 . . . . 5  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( A D A )  =  0 )
1918oveq2d 6206 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( A D B ) +e ( A D A ) )  =  ( ( A D B ) +e 0 ) )
20 xmetcl 20022 . . . . 5  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( A D B )  e.  RR* )
21 xaddid1 11310 . . . . 5  |-  ( ( A D B )  e.  RR*  ->  ( ( A D B ) +e 0 )  =  ( A D B ) )
2220, 21syl 16 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( A D B ) +e 0 )  =  ( A D B ) )
2319, 22eqtrd 2492 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( A D B ) +e ( A D A ) )  =  ( A D B ) )
2416, 23breqtrd 4414 . 2  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( B D A )  <_  ( A D B ) )
2593com23 1194 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( B D A )  e.  RR* )
26 xrletri3 11230 . . 3  |-  ( ( ( A D B )  e.  RR*  /\  ( B D A )  e. 
RR* )  ->  (
( A D B )  =  ( B D A )  <->  ( ( A D B )  <_ 
( B D A )  /\  ( B D A )  <_ 
( A D B ) ) ) )
2720, 25, 26syl2anc 661 . 2  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( ( A D B )  =  ( B D A )  <->  ( ( A D B )  <_ 
( B D A )  /\  ( B D A )  <_ 
( A D B ) ) ) )
2814, 24, 27mpbir2and 913 1  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  X  /\  B  e.  X
)  ->  ( A D B )  =  ( B D A ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1370    e. wcel 1758   class class class wbr 4390   ` cfv 5516  (class class class)co 6190   0cc0 9383   RR*cxr 9518    <_ cle 9520   +ecxad 11188   *Metcxmt 17910
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1952  ax-ext 2430  ax-sep 4511  ax-nul 4519  ax-pow 4568  ax-pr 4629  ax-un 6472  ax-cnex 9439  ax-resscn 9440  ax-1cn 9441  ax-icn 9442  ax-addcl 9443  ax-addrcl 9444  ax-mulcl 9445  ax-mulrcl 9446  ax-mulcom 9447  ax-addass 9448  ax-mulass 9449  ax-distr 9450  ax-i2m1 9451  ax-1ne0 9452  ax-1rid 9453  ax-rnegex 9454  ax-rrecex 9455  ax-cnre 9456  ax-pre-lttri 9457  ax-pre-lttrn 9458  ax-pre-ltadd 9459
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2264  df-mo 2265  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2601  df-ne 2646  df-nel 2647  df-ral 2800  df-rex 2801  df-rab 2804  df-v 3070  df-sbc 3285  df-csb 3387  df-dif 3429  df-un 3431  df-in 3433  df-ss 3440  df-nul 3736  df-if 3890  df-pw 3960  df-sn 3976  df-pr 3978  df-op 3982  df-uni 4190  df-br 4391  df-opab 4449  df-mpt 4450  df-id 4734  df-po 4739  df-so 4740  df-xp 4944  df-rel 4945  df-cnv 4946  df-co 4947  df-dm 4948  df-rn 4949  df-res 4950  df-ima 4951  df-iota 5479  df-fun 5518  df-fn 5519  df-f 5520  df-f1 5521  df-fo 5522  df-f1o 5523  df-fv 5524  df-ov 6193  df-oprab 6194  df-mpt2 6195  df-er 7201  df-map 7316  df-en 7411  df-dom 7412  df-sdom 7413  df-pnf 9521  df-mnf 9522  df-xr 9523  df-ltxr 9524  df-le 9525  df-xadd 11191  df-xmet 17919
This theorem is referenced by:  xmettpos  20040  metsym  20041  xmettri  20042  xmettri3  20044  xmetrtri2  20047  elbl3  20083  blss  20116  xmeter  20124  xmssym  20156  metcnp2  20233  metustsymOLD  20252  metdcnlem  20529  metdstri  20543  metdsle  20544  metdscn  20548  metnrmlem1  20551  metnrmlem3  20553  nmhmcn  20791  lmmbr2  20886  iscau2  20904  iscau3  20905  iscau4  20906  iscauf  20907  caucfil  20910  dvlip2  21583  nvlmle  24222  ubthlem1  24406  ubthlem2  24407  heicant  28564
  Copyright terms: Public domain W3C validator