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

Theorem psmetsym 12557
 Description: The distance function of a pseudometric is symmetrical. (Contributed by Thierry Arnoux, 7-Feb-2018.)
Assertion
Ref Expression
psmetsym ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐷𝐵) = (𝐵𝐷𝐴))

Proof of Theorem psmetsym
StepHypRef Expression
1 simp1 982 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → 𝐷 ∈ (PsMet‘𝑋))
2 simp3 984 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → 𝐵𝑋)
3 simp2 983 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → 𝐴𝑋)
4 psmettri2 12556 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝐵𝑋𝐴𝑋𝐵𝑋)) → (𝐴𝐷𝐵) ≤ ((𝐵𝐷𝐴) +𝑒 (𝐵𝐷𝐵)))
51, 2, 3, 2, 4syl13anc 1219 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐷𝐵) ≤ ((𝐵𝐷𝐴) +𝑒 (𝐵𝐷𝐵)))
6 psmet0 12555 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐵𝑋) → (𝐵𝐷𝐵) = 0)
763adant2 1001 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐵𝐷𝐵) = 0)
87oveq2d 5799 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐵𝐷𝐴) +𝑒 (𝐵𝐷𝐵)) = ((𝐵𝐷𝐴) +𝑒 0))
9 psmetcl 12554 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐵𝑋𝐴𝑋) → (𝐵𝐷𝐴) ∈ ℝ*)
10 xaddid1 9695 . . . . . 6 ((𝐵𝐷𝐴) ∈ ℝ* → ((𝐵𝐷𝐴) +𝑒 0) = (𝐵𝐷𝐴))
119, 10syl 14 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐵𝑋𝐴𝑋) → ((𝐵𝐷𝐴) +𝑒 0) = (𝐵𝐷𝐴))
12113com23 1188 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐵𝐷𝐴) +𝑒 0) = (𝐵𝐷𝐴))
138, 12eqtrd 2173 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐵𝐷𝐴) +𝑒 (𝐵𝐷𝐵)) = (𝐵𝐷𝐴))
145, 13breqtrd 3963 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐷𝐵) ≤ (𝐵𝐷𝐴))
15 psmettri2 12556 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝐴𝑋𝐵𝑋𝐴𝑋)) → (𝐵𝐷𝐴) ≤ ((𝐴𝐷𝐵) +𝑒 (𝐴𝐷𝐴)))
161, 3, 2, 3, 15syl13anc 1219 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐵𝐷𝐴) ≤ ((𝐴𝐷𝐵) +𝑒 (𝐴𝐷𝐴)))
17 psmet0 12555 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋) → (𝐴𝐷𝐴) = 0)
18173adant3 1002 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐷𝐴) = 0)
1918oveq2d 5799 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐷𝐵) +𝑒 (𝐴𝐷𝐴)) = ((𝐴𝐷𝐵) +𝑒 0))
20 psmetcl 12554 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐷𝐵) ∈ ℝ*)
21 xaddid1 9695 . . . . 5 ((𝐴𝐷𝐵) ∈ ℝ* → ((𝐴𝐷𝐵) +𝑒 0) = (𝐴𝐷𝐵))
2220, 21syl 14 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐷𝐵) +𝑒 0) = (𝐴𝐷𝐵))
2319, 22eqtrd 2173 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐷𝐵) +𝑒 (𝐴𝐷𝐴)) = (𝐴𝐷𝐵))
2416, 23breqtrd 3963 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐵𝐷𝐴) ≤ (𝐴𝐷𝐵))
2593com23 1188 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐵𝐷𝐴) ∈ ℝ*)
26 xrletri3 9638 . . 3 (((𝐴𝐷𝐵) ∈ ℝ* ∧ (𝐵𝐷𝐴) ∈ ℝ*) → ((𝐴𝐷𝐵) = (𝐵𝐷𝐴) ↔ ((𝐴𝐷𝐵) ≤ (𝐵𝐷𝐴) ∧ (𝐵𝐷𝐴) ≤ (𝐴𝐷𝐵))))
2720, 25, 26syl2anc 409 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐷𝐵) = (𝐵𝐷𝐴) ↔ ((𝐴𝐷𝐵) ≤ (𝐵𝐷𝐴) ∧ (𝐵𝐷𝐴) ≤ (𝐴𝐷𝐵))))
2814, 24, 27mpbir2and 929 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐷𝐵) = (𝐵𝐷𝐴))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 103   ↔ wb 104   ∧ w3a 963   = wceq 1332   ∈ wcel 1481   class class class wbr 3938  ‘cfv 5132  (class class class)co 5783  0cc0 7664  ℝ*cxr 7843   ≤ cle 7845   +𝑒 cxad 9607  PsMetcpsmet 12207 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 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4055  ax-pow 4107  ax-pr 4140  ax-un 4364  ax-setind 4461  ax-cnex 7755  ax-resscn 7756  ax-1re 7758  ax-addrcl 7761  ax-0id 7772  ax-rnegex 7773  ax-pre-ltirr 7776  ax-pre-apti 7779 This theorem depends on definitions:  df-bi 116  df-dc 821  df-3or 964  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ne 2310  df-nel 2405  df-ral 2422  df-rex 2423  df-rab 2426  df-v 2692  df-sbc 2915  df-csb 3009  df-dif 3079  df-un 3081  df-in 3083  df-ss 3090  df-if 3481  df-pw 3518  df-sn 3539  df-pr 3540  df-op 3542  df-uni 3746  df-br 3939  df-opab 3999  df-mpt 4000  df-id 4224  df-xp 4554  df-rel 4555  df-cnv 4556  df-co 4557  df-dm 4558  df-rn 4559  df-res 4560  df-ima 4561  df-iota 5097  df-fun 5134  df-fn 5135  df-f 5136  df-fv 5140  df-ov 5786  df-oprab 5787  df-mpo 5788  df-map 6553  df-pnf 7846  df-mnf 7847  df-xr 7848  df-ltxr 7849  df-le 7850  df-xadd 9610  df-psmet 12215 This theorem is referenced by:  psmettri  12558  distspace  12563  elbl3ps  12622  blssps  12655
 Copyright terms: Public domain W3C validator