MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  psmet0 Structured version   Visualization version   GIF version

Theorem psmet0 22912
Description: The distance function of a pseudometric space is zero if its arguments are equal. (Contributed by Thierry Arnoux, 7-Feb-2018.)
Assertion
Ref Expression
psmet0 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋) → (𝐴𝐷𝐴) = 0)

Proof of Theorem psmet0
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elfvex 6697 . . . . . . . 8 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
2 ispsmet 22908 . . . . . . . 8 (𝑋 ∈ V → (𝐷 ∈ (PsMet‘𝑋) ↔ (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏))))))
31, 2syl 17 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → (𝐷 ∈ (PsMet‘𝑋) ↔ (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏))))))
43ibi 269 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏)))))
54simprd 498 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑎𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏))))
65r19.21bi 3208 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑎𝑋) → ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏))))
76simpld 497 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑎𝑋) → (𝑎𝐷𝑎) = 0)
87ralrimiva 3182 . 2 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑎𝑋 (𝑎𝐷𝑎) = 0)
9 id 22 . . . . 5 (𝑎 = 𝐴𝑎 = 𝐴)
109, 9oveq12d 7168 . . . 4 (𝑎 = 𝐴 → (𝑎𝐷𝑎) = (𝐴𝐷𝐴))
1110eqeq1d 2823 . . 3 (𝑎 = 𝐴 → ((𝑎𝐷𝑎) = 0 ↔ (𝐴𝐷𝐴) = 0))
1211rspcv 3617 . 2 (𝐴𝑋 → (∀𝑎𝑋 (𝑎𝐷𝑎) = 0 → (𝐴𝐷𝐴) = 0))
138, 12mpan9 509 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋) → (𝐴𝐷𝐴) = 0)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  wral 3138  Vcvv 3494   class class class wbr 5058   × cxp 5547  wf 6345  cfv 6349  (class class class)co 7150  0cc0 10531  *cxr 10668  cle 10670   +𝑒 cxad 12499  PsMetcpsmet 20523
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-cnex 10587  ax-resscn 10588
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-fv 6357  df-ov 7153  df-oprab 7154  df-mpo 7155  df-map 8402  df-xr 10673  df-psmet 20531
This theorem is referenced by:  psmetsym  22914  psmetge0  22916  psmetres2  22918  distspace  22920  xblcntrps  23014  ssblps  23026  metustid  23158  metider  31129  pstmfval  31131
  Copyright terms: Public domain W3C validator