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

Theorem psmet0 24682
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 6951 . . . . . . . 8 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
2 ispsmet 24678 . . . . . . . 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 3258 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑎 ∈ 𝑋) → ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏 ∈ 𝑋 ∀𝑐 ∈ 𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +e (𝑐𝐷𝑏))))
76simpld 500 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑎 ∈ 𝑋) → (𝑎𝐷𝑎) = 0)
87ralrimiva 3158 . 2 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑎 ∈ 𝑋 (𝑎𝐷𝑎) = 0)
9 id 23 . . . . 5 (𝑎 = 𝐴 → 𝑎 = 𝐴)
109, 9oveq12d 7469 . . . 4 (𝑎 = 𝐴 → (𝑎𝐷𝑎) = (𝐴𝐷𝐴))
1110eqeq1d 2765 . . 3 (𝑎 = 𝐴 → ((𝑎𝐷𝑎) = 0 ↔ (𝐴𝐷𝐴) = 0))
1211rspcv 3576 . 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 1570   ∈ wcel 2147  ∀wral 3080  Vcvv 3454   class class class wbr 5108   × cxp 5656  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451  0cc0 11239  ℝ*cxr 11381   ≤ cle 11383   +e cxad 13279  PsMetcpsmet 21713
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-map 8887  df-xr 11386  df-psmet 21721
This theorem is used by:  psmetsym  24684  psmetge0  24686  psmetres2  24688  distspace  24690  xblcntrps  24784  ssblps  24796  metustid  24928  metider  34637  pstmfval  34639
  Copyright terms: Public domain W3C validator