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

Theorem metider 32255
Description: The metric identification is an equivalence relation. (Contributed by Thierry Arnoux, 11-Feb-2018.)
Assertion
Ref Expression
metider (𝐷 ∈ (PsMet‘𝑋) → (~Met𝐷) Er 𝑋)

Proof of Theorem metider
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 metidss 32252 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → (~Met𝐷) ⊆ (𝑋 × 𝑋))
2 xpss 5647 . . . 4 (𝑋 × 𝑋) ⊆ (V × V)
31, 2sstrdi 3955 . . 3 (𝐷 ∈ (PsMet‘𝑋) → (~Met𝐷) ⊆ (V × V))
4 df-rel 5638 . . 3 (Rel (~Met𝐷) ↔ (~Met𝐷) ⊆ (V × V))
53, 4sylibr 233 . 2 (𝐷 ∈ (PsMet‘𝑋) → Rel (~Met𝐷))
61ssbrd 5147 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → (𝑥(~Met𝐷)𝑦𝑥(𝑋 × 𝑋)𝑦))
76imp 408 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑦) → 𝑥(𝑋 × 𝑋)𝑦)
8 brxp 5678 . . . 4 (𝑥(𝑋 × 𝑋)𝑦 ↔ (𝑥𝑋𝑦𝑋))
97, 8sylib 217 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑦) → (𝑥𝑋𝑦𝑋))
10 psmetsym 23591 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋𝑦𝑋) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
11103expb 1121 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
1211eqeq1d 2740 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → ((𝑥𝐷𝑦) = 0 ↔ (𝑦𝐷𝑥) = 0))
13 metidv 32253 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑥(~Met𝐷)𝑦 ↔ (𝑥𝐷𝑦) = 0))
14 metidv 32253 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑦𝑋𝑥𝑋)) → (𝑦(~Met𝐷)𝑥 ↔ (𝑦𝐷𝑥) = 0))
1514ancom2s 649 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑦(~Met𝐷)𝑥 ↔ (𝑦𝐷𝑥) = 0))
1612, 13, 153bitr4d 311 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑥))
1716biimpd 228 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑥))
1817impancom 453 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑦) → ((𝑥𝑋𝑦𝑋) → 𝑦(~Met𝐷)𝑥))
199, 18mpd 15 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑦) → 𝑦(~Met𝐷)𝑥)
20 simpl 484 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝐷 ∈ (PsMet‘𝑋))
21 simprr 772 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑦(~Met𝐷)𝑧)
221ssbrd 5147 . . . . . . . . . 10 (𝐷 ∈ (PsMet‘𝑋) → (𝑦(~Met𝐷)𝑧𝑦(𝑋 × 𝑋)𝑧))
2322imp 408 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑦(~Met𝐷)𝑧) → 𝑦(𝑋 × 𝑋)𝑧)
24 brxp 5678 . . . . . . . . 9 (𝑦(𝑋 × 𝑋)𝑧 ↔ (𝑦𝑋𝑧𝑋))
2523, 24sylib 217 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑦(~Met𝐷)𝑧) → (𝑦𝑋𝑧𝑋))
2621, 25syldan 592 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑦𝑋𝑧𝑋))
2726simpld 496 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑦𝑋)
28 simprl 770 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑥(~Met𝐷)𝑦)
2928, 9syldan 592 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝑋𝑦𝑋))
3029simpld 496 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑥𝑋)
3126simprd 497 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑧𝑋)
32 psmettri2 23590 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑦𝑋𝑥𝑋𝑧𝑋)) → (𝑥𝐷𝑧) ≤ ((𝑦𝐷𝑥) +𝑒 (𝑦𝐷𝑧)))
3320, 27, 30, 31, 32syl13anc 1373 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑧) ≤ ((𝑦𝐷𝑥) +𝑒 (𝑦𝐷𝑧)))
3429, 11syldan 592 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
3529, 13syldan 592 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥(~Met𝐷)𝑦 ↔ (𝑥𝐷𝑦) = 0))
3628, 35mpbid 231 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑦) = 0)
3734, 36eqtr3d 2780 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑦𝐷𝑥) = 0)
38 metidv 32253 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑦𝑋𝑧𝑋)) → (𝑦(~Met𝐷)𝑧 ↔ (𝑦𝐷𝑧) = 0))
3926, 38syldan 592 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑦(~Met𝐷)𝑧 ↔ (𝑦𝐷𝑧) = 0))
4021, 39mpbid 231 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑦𝐷𝑧) = 0)
4137, 40oveq12d 7368 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → ((𝑦𝐷𝑥) +𝑒 (𝑦𝐷𝑧)) = (0 +𝑒 0))
42 0xr 11136 . . . . . . 7 0 ∈ ℝ*
43 xaddid1 13090 . . . . . . 7 (0 ∈ ℝ* → (0 +𝑒 0) = 0)
4442, 43ax-mp 5 . . . . . 6 (0 +𝑒 0) = 0
4541, 44eqtrdi 2794 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → ((𝑦𝐷𝑥) +𝑒 (𝑦𝐷𝑧)) = 0)
4633, 45breqtrd 5130 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑧) ≤ 0)
47 psmetge0 23593 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋𝑧𝑋) → 0 ≤ (𝑥𝐷𝑧))
4820, 30, 31, 47syl3anc 1372 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 0 ≤ (𝑥𝐷𝑧))
49 psmetcl 23588 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋𝑧𝑋) → (𝑥𝐷𝑧) ∈ ℝ*)
5020, 30, 31, 49syl3anc 1372 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑧) ∈ ℝ*)
51 xrletri3 13003 . . . . 5 (((𝑥𝐷𝑧) ∈ ℝ* ∧ 0 ∈ ℝ*) → ((𝑥𝐷𝑧) = 0 ↔ ((𝑥𝐷𝑧) ≤ 0 ∧ 0 ≤ (𝑥𝐷𝑧))))
5250, 42, 51sylancl 587 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → ((𝑥𝐷𝑧) = 0 ↔ ((𝑥𝐷𝑧) ≤ 0 ∧ 0 ≤ (𝑥𝐷𝑧))))
5346, 48, 52mpbir2and 712 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑧) = 0)
54 metidv 32253 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑧𝑋)) → (𝑥(~Met𝐷)𝑧 ↔ (𝑥𝐷𝑧) = 0))
5520, 30, 31, 54syl12anc 836 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥(~Met𝐷)𝑧 ↔ (𝑥𝐷𝑧) = 0))
5653, 55mpbird 257 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑥(~Met𝐷)𝑧)
57 psmet0 23589 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋) → (𝑥𝐷𝑥) = 0)
58 metidv 32253 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑥𝑋)) → (𝑥(~Met𝐷)𝑥 ↔ (𝑥𝐷𝑥) = 0))
5958anabsan2 673 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋) → (𝑥(~Met𝐷)𝑥 ↔ (𝑥𝐷𝑥) = 0))
6057, 59mpbird 257 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋) → 𝑥(~Met𝐷)𝑥)
611ssbrd 5147 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝑥(~Met𝐷)𝑥𝑥(𝑋 × 𝑋)𝑥))
6261imp 408 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑥) → 𝑥(𝑋 × 𝑋)𝑥)
63 brxp 5678 . . . . 5 (𝑥(𝑋 × 𝑋)𝑥 ↔ (𝑥𝑋𝑥𝑋))
6462, 63sylib 217 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑥) → (𝑥𝑋𝑥𝑋))
6564simpld 496 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑥) → 𝑥𝑋)
6660, 65impbida 800 . 2 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝑋𝑥(~Met𝐷)𝑥))
675, 19, 56, 66iserd 8608 1 (𝐷 ∈ (PsMet‘𝑋) → (~Met𝐷) Er 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1542  wcel 2107  Vcvv 3444  wss 3909   class class class wbr 5104   × cxp 5629  Rel wrel 5636  cfv 6492  (class class class)co 7350   Er wer 8579  0cc0 10985  *cxr 11122  cle 11124   +𝑒 cxad 12961  PsMetcpsmet 20709  ~Metcmetid 32247
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2709  ax-sep 5255  ax-nul 5262  ax-pow 5319  ax-pr 5383  ax-un 7663  ax-cnex 11041  ax-resscn 11042  ax-1cn 11043  ax-icn 11044  ax-addcl 11045  ax-addrcl 11046  ax-mulcl 11047  ax-mulrcl 11048  ax-mulcom 11049  ax-addass 11050  ax-mulass 11051  ax-distr 11052  ax-i2m1 11053  ax-1ne0 11054  ax-1rid 11055  ax-rnegex 11056  ax-rrecex 11057  ax-cnre 11058  ax-pre-lttri 11059  ax-pre-lttrn 11060  ax-pre-ltadd 11061  ax-pre-mulgt0 11062
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3064  df-rex 3073  df-rmo 3352  df-reu 3353  df-rab 3407  df-v 3446  df-sbc 3739  df-csb 3855  df-dif 3912  df-un 3914  df-in 3916  df-ss 3926  df-nul 4282  df-if 4486  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4865  df-iun 4955  df-br 5105  df-opab 5167  df-mpt 5188  df-id 5529  df-po 5543  df-so 5544  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6444  df-fun 6494  df-fn 6495  df-f 6496  df-f1 6497  df-fo 6498  df-f1o 6499  df-fv 6500  df-riota 7306  df-ov 7353  df-oprab 7354  df-mpo 7355  df-1st 7912  df-2nd 7913  df-er 8582  df-map 8701  df-en 8818  df-dom 8819  df-sdom 8820  df-pnf 11125  df-mnf 11126  df-xr 11127  df-ltxr 11128  df-le 11129  df-sub 11321  df-neg 11322  df-div 11747  df-2 12150  df-rp 12846  df-xneg 12963  df-xadd 12964  df-xmul 12965  df-psmet 20717  df-metid 32249
This theorem is referenced by:  pstmxmet  32258
  Copyright terms: Public domain W3C validator