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

Theorem psmet0 22910
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 6696 . . . . . . . 8 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
2 ispsmet 22906 . . . . . . . 8 (𝑋 ∈ V → (𝐷 ∈ (PsMet‘𝑋) ↔ (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏))))))
31, 2syl 17 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → (𝐷 ∈ (PsMet‘𝑋) ↔ (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏))))))
43ibi 269 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝐷:(𝑋 × 𝑋)⟶ℝ* ∧ ∀𝑎𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏)))))
54simprd 498 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑎𝑋 ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏))))
65r19.21bi 3206 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑎𝑋) → ((𝑎𝐷𝑎) = 0 ∧ ∀𝑏𝑋𝑐𝑋 (𝑎𝐷𝑏) ≤ ((𝑐𝐷𝑎) +𝑒 (𝑐𝐷𝑏))))
76simpld 497 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑎𝑋) → (𝑎𝐷𝑎) = 0)
87ralrimiva 3180 . 2 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑎𝑋 (𝑎𝐷𝑎) = 0)
9 id 22 . . . . 5 (𝑎 = 𝐴𝑎 = 𝐴)
109, 9oveq12d 7166 . . . 4 (𝑎 = 𝐴 → (𝑎𝐷𝑎) = (𝐴𝐷𝐴))
1110eqeq1d 2821 . . 3 (𝑎 = 𝐴 → ((𝑎𝐷𝑎) = 0 ↔ (𝐴𝐷𝐴) = 0))
1211rspcv 3616 . 2 (𝐴𝑋 → (∀𝑎𝑋 (𝑎𝐷𝑎) = 0 → (𝐴𝐷𝐴) = 0))
138, 12mpan9 509 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝑋) → (𝐴𝐷𝐴) = 0)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1531  wcel 2108  wral 3136  Vcvv 3493   class class class wbr 5057   × cxp 5546  wf 6344  cfv 6348  (class class class)co 7148  0cc0 10529  *cxr 10666  cle 10668   +𝑒 cxad 12497  PsMetcpsmet 20521
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7453  ax-cnex 10585  ax-resscn 10586
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-sbc 3771  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-fv 6356  df-ov 7151  df-oprab 7152  df-mpo 7153  df-map 8400  df-xr 10671  df-psmet 20529
This theorem is referenced by:  psmetsym  22912  psmetge0  22914  psmetres2  22916  distspace  22918  xblcntrps  23012  ssblps  23024  metustid  23156  metider  31127  pstmfval  31129
  Copyright terms: Public domain W3C validator