Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  metidv Structured version   Visualization version   GIF version

Theorem metidv 31125
Description: 𝐴 and 𝐵 identify by the metric 𝐷 if their distance is zero. (Contributed by Thierry Arnoux, 7-Feb-2018.)
Assertion
Ref Expression
metidv ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝐴𝑋𝐵𝑋)) → (𝐴(~Met𝐷)𝐵 ↔ (𝐴𝐷𝐵) = 0))

Proof of Theorem metidv
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eleq1 2898 . . . . . 6 (𝑎 = 𝐴 → (𝑎𝑋𝐴𝑋))
2 eleq1 2898 . . . . . 6 (𝑏 = 𝐵 → (𝑏𝑋𝐵𝑋))
31, 2bi2anan9 637 . . . . 5 ((𝑎 = 𝐴𝑏 = 𝐵) → ((𝑎𝑋𝑏𝑋) ↔ (𝐴𝑋𝐵𝑋)))
4 oveq12 7157 . . . . . 6 ((𝑎 = 𝐴𝑏 = 𝐵) → (𝑎𝐷𝑏) = (𝐴𝐷𝐵))
54eqeq1d 2821 . . . . 5 ((𝑎 = 𝐴𝑏 = 𝐵) → ((𝑎𝐷𝑏) = 0 ↔ (𝐴𝐷𝐵) = 0))
63, 5anbi12d 632 . . . 4 ((𝑎 = 𝐴𝑏 = 𝐵) → (((𝑎𝑋𝑏𝑋) ∧ (𝑎𝐷𝑏) = 0) ↔ ((𝐴𝑋𝐵𝑋) ∧ (𝐴𝐷𝐵) = 0)))
7 eqid 2819 . . . 4 {⟨𝑎, 𝑏⟩ ∣ ((𝑎𝑋𝑏𝑋) ∧ (𝑎𝐷𝑏) = 0)} = {⟨𝑎, 𝑏⟩ ∣ ((𝑎𝑋𝑏𝑋) ∧ (𝑎𝐷𝑏) = 0)}
86, 7brabga 5412 . . 3 ((𝐴𝑋𝐵𝑋) → (𝐴{⟨𝑎, 𝑏⟩ ∣ ((𝑎𝑋𝑏𝑋) ∧ (𝑎𝐷𝑏) = 0)}𝐵 ↔ ((𝐴𝑋𝐵𝑋) ∧ (𝐴𝐷𝐵) = 0)))
98adantl 484 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝐴𝑋𝐵𝑋)) → (𝐴{⟨𝑎, 𝑏⟩ ∣ ((𝑎𝑋𝑏𝑋) ∧ (𝑎𝐷𝑏) = 0)}𝐵 ↔ ((𝐴𝑋𝐵𝑋) ∧ (𝐴𝐷𝐵) = 0)))
10 metidval 31123 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → (~Met𝐷) = {⟨𝑎, 𝑏⟩ ∣ ((𝑎𝑋𝑏𝑋) ∧ (𝑎𝐷𝑏) = 0)})
1110adantr 483 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝐴𝑋𝐵𝑋)) → (~Met𝐷) = {⟨𝑎, 𝑏⟩ ∣ ((𝑎𝑋𝑏𝑋) ∧ (𝑎𝐷𝑏) = 0)})
1211breqd 5068 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝐴𝑋𝐵𝑋)) → (𝐴(~Met𝐷)𝐵𝐴{⟨𝑎, 𝑏⟩ ∣ ((𝑎𝑋𝑏𝑋) ∧ (𝑎𝐷𝑏) = 0)}𝐵))
13 ibar 531 . . 3 ((𝐴𝑋𝐵𝑋) → ((𝐴𝐷𝐵) = 0 ↔ ((𝐴𝑋𝐵𝑋) ∧ (𝐴𝐷𝐵) = 0)))
1413adantl 484 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝐴𝑋𝐵𝑋)) → ((𝐴𝐷𝐵) = 0 ↔ ((𝐴𝑋𝐵𝑋) ∧ (𝐴𝐷𝐵) = 0)))
159, 12, 143bitr4d 313 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝐴𝑋𝐵𝑋)) → (𝐴(~Met𝐷)𝐵 ↔ (𝐴𝐷𝐵) = 0))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1531  wcel 2108   class class class wbr 5057  {copab 5119  cfv 6348  (class class class)co 7148  0cc0 10529  PsMetcpsmet 20521  ~Metcmetid 31119
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-ne 3015  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-sbc 3771  df-csb 3882  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  df-metid 31121
This theorem is referenced by:  metideq  31126  metider  31127  pstmfval  31129  pstmxmet  31130
  Copyright terms: Public domain W3C validator