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

Theorem psmet0 24633
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 6921 . . . . . . . 8 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
2 ispsmet 24629 . . . . . . . 8 (𝑋 ∈ V → (𝐷 ∈ (PsMet‘𝑋) ↔ (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎 ∈ 𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏 ∈ 𝑋 ∀𝑐 ∈ 𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +e (𝑐𝐷𝑏))))))
31, 2syl 18 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → (𝐷 ∈ (PsMet‘𝑋) ↔ (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎 ∈ 𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏 ∈ 𝑋 ∀𝑐 ∈ 𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +e (𝑐𝐷𝑏))))))
43ibi 270 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎 ∈ 𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏 ∈ 𝑋 ∀𝑐 ∈ 𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +e (𝑐𝐷𝑏)))))
54simprd 501 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑎 ∈ 𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏 ∈ 𝑋 ∀𝑐 ∈ 𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +e (𝑐𝐷𝑏))))
65r19.21bi 3254 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑎 ∈ 𝑋) → ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏 ∈ 𝑋 ∀𝑐 ∈ 𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +e (𝑐𝐷𝑏))))
76simpld 500 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑎 ∈ 𝑋) → (𝑎𝐷𝑎) = 0)
87ralrimiva 3154 . 2 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑎 ∈ 𝑋 (𝑎𝐷𝑎) = 0)
9 id 23 . . . . 5 (𝑎 = 𝐴 → 𝑎 = 𝐴)
109, 9oveq12d 7439 . . . 4 (𝑎 = 𝐴 → (𝑎𝐷𝑎) = (𝐴𝐷𝐴))
1110eqeq1d 2762 . . 3 (𝑎 = 𝐴 → ((𝑎𝐷𝑎) = 0 ↔ (𝐴𝐷𝐴) = 0))
1211rspcv 3572 . 2 (𝐴 ∈ 𝑋 → (∀𝑎 ∈ 𝑋 (𝑎𝐷𝑎) = 0 → (𝐴𝐷𝐴) = 0))
138, 12mpan9 516 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴 ∈ 𝑋) → (𝐴𝐷𝐴) = 0)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  Vcvv 3450   class class class wbr 5102   × cxp 5648  ⟶wf 6535  ‘cfv 6539  (class class class)co 7421  0cc0 11204  ℝ*cxr 11346   ≤ cle 11348   +e cxad 13243  PsMetcpsmet 21668
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752  ax-cnex 11260  ax-resscn 11261
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-map 8853  df-xr 11351  df-psmet 21676
This theorem is used by:  psmetsym  24635  psmetge0  24637  psmetres2  24639  distspace  24641  xblcntrps  24735  ssblps  24747  metustid  24879  metider  34573  pstmfval  34575
  Copyright terms: Public domain W3C validator