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 31512
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 31509 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → (~Met𝐷) ⊆ (𝑋 × 𝑋))
2 xpss 5552 . . . 4 (𝑋 × 𝑋) ⊆ (V × V)
31, 2sstrdi 3899 . . 3 (𝐷 ∈ (PsMet‘𝑋) → (~Met𝐷) ⊆ (V × V))
4 df-rel 5543 . . 3 (Rel (~Met𝐷) ↔ (~Met𝐷) ⊆ (V × V))
53, 4sylibr 237 . 2 (𝐷 ∈ (PsMet‘𝑋) → Rel (~Met𝐷))
61ssbrd 5082 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → (𝑥(~Met𝐷)𝑦𝑥(𝑋 × 𝑋)𝑦))
76imp 410 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑦) → 𝑥(𝑋 × 𝑋)𝑦)
8 brxp 5583 . . . 4 (𝑥(𝑋 × 𝑋)𝑦 ↔ (𝑥𝑋𝑦𝑋))
97, 8sylib 221 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑦) → (𝑥𝑋𝑦𝑋))
10 psmetsym 23162 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋𝑦𝑋) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
11103expb 1122 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
1211eqeq1d 2738 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → ((𝑥𝐷𝑦) = 0 ↔ (𝑦𝐷𝑥) = 0))
13 metidv 31510 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑥(~Met𝐷)𝑦 ↔ (𝑥𝐷𝑦) = 0))
14 metidv 31510 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑦𝑋𝑥𝑋)) → (𝑦(~Met𝐷)𝑥 ↔ (𝑦𝐷𝑥) = 0))
1514ancom2s 650 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑦(~Met𝐷)𝑥 ↔ (𝑦𝐷𝑥) = 0))
1612, 13, 153bitr4d 314 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑥))
1716biimpd 232 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑦𝑋)) → (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑥))
1817impancom 455 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑦) → ((𝑥𝑋𝑦𝑋) → 𝑦(~Met𝐷)𝑥))
199, 18mpd 15 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑦) → 𝑦(~Met𝐷)𝑥)
20 simpl 486 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝐷 ∈ (PsMet‘𝑋))
21 simprr 773 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑦(~Met𝐷)𝑧)
221ssbrd 5082 . . . . . . . . . 10 (𝐷 ∈ (PsMet‘𝑋) → (𝑦(~Met𝐷)𝑧𝑦(𝑋 × 𝑋)𝑧))
2322imp 410 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑦(~Met𝐷)𝑧) → 𝑦(𝑋 × 𝑋)𝑧)
24 brxp 5583 . . . . . . . . 9 (𝑦(𝑋 × 𝑋)𝑧 ↔ (𝑦𝑋𝑧𝑋))
2523, 24sylib 221 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑦(~Met𝐷)𝑧) → (𝑦𝑋𝑧𝑋))
2621, 25syldan 594 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑦𝑋𝑧𝑋))
2726simpld 498 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑦𝑋)
28 simprl 771 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑥(~Met𝐷)𝑦)
2928, 9syldan 594 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝑋𝑦𝑋))
3029simpld 498 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑥𝑋)
3126simprd 499 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑧𝑋)
32 psmettri2 23161 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑦𝑋𝑥𝑋𝑧𝑋)) → (𝑥𝐷𝑧) ≤ ((𝑦𝐷𝑥) +𝑒 (𝑦𝐷𝑧)))
3320, 27, 30, 31, 32syl13anc 1374 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑧) ≤ ((𝑦𝐷𝑥) +𝑒 (𝑦𝐷𝑧)))
3429, 11syldan 594 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
3529, 13syldan 594 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥(~Met𝐷)𝑦 ↔ (𝑥𝐷𝑦) = 0))
3628, 35mpbid 235 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑦) = 0)
3734, 36eqtr3d 2773 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑦𝐷𝑥) = 0)
38 metidv 31510 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑦𝑋𝑧𝑋)) → (𝑦(~Met𝐷)𝑧 ↔ (𝑦𝐷𝑧) = 0))
3926, 38syldan 594 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑦(~Met𝐷)𝑧 ↔ (𝑦𝐷𝑧) = 0))
4021, 39mpbid 235 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑦𝐷𝑧) = 0)
4137, 40oveq12d 7209 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → ((𝑦𝐷𝑥) +𝑒 (𝑦𝐷𝑧)) = (0 +𝑒 0))
42 0xr 10845 . . . . . . 7 0 ∈ ℝ*
43 xaddid1 12796 . . . . . . 7 (0 ∈ ℝ* → (0 +𝑒 0) = 0)
4442, 43ax-mp 5 . . . . . 6 (0 +𝑒 0) = 0
4541, 44eqtrdi 2787 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → ((𝑦𝐷𝑥) +𝑒 (𝑦𝐷𝑧)) = 0)
4633, 45breqtrd 5065 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑧) ≤ 0)
47 psmetge0 23164 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋𝑧𝑋) → 0 ≤ (𝑥𝐷𝑧))
4820, 30, 31, 47syl3anc 1373 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 0 ≤ (𝑥𝐷𝑧))
49 psmetcl 23159 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋𝑧𝑋) → (𝑥𝐷𝑧) ∈ ℝ*)
5020, 30, 31, 49syl3anc 1373 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑧) ∈ ℝ*)
51 xrletri3 12709 . . . . 5 (((𝑥𝐷𝑧) ∈ ℝ* ∧ 0 ∈ ℝ*) → ((𝑥𝐷𝑧) = 0 ↔ ((𝑥𝐷𝑧) ≤ 0 ∧ 0 ≤ (𝑥𝐷𝑧))))
5250, 42, 51sylancl 589 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → ((𝑥𝐷𝑧) = 0 ↔ ((𝑥𝐷𝑧) ≤ 0 ∧ 0 ≤ (𝑥𝐷𝑧))))
5346, 48, 52mpbir2and 713 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥𝐷𝑧) = 0)
54 metidv 31510 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑧𝑋)) → (𝑥(~Met𝐷)𝑧 ↔ (𝑥𝐷𝑧) = 0))
5520, 30, 31, 54syl12anc 837 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → (𝑥(~Met𝐷)𝑧 ↔ (𝑥𝐷𝑧) = 0))
5653, 55mpbird 260 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥(~Met𝐷)𝑦𝑦(~Met𝐷)𝑧)) → 𝑥(~Met𝐷)𝑧)
57 psmet0 23160 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋) → (𝑥𝐷𝑥) = 0)
58 metidv 31510 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ (𝑥𝑋𝑥𝑋)) → (𝑥(~Met𝐷)𝑥 ↔ (𝑥𝐷𝑥) = 0))
5958anabsan2 674 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋) → (𝑥(~Met𝐷)𝑥 ↔ (𝑥𝐷𝑥) = 0))
6057, 59mpbird 260 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝑋) → 𝑥(~Met𝐷)𝑥)
611ssbrd 5082 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝑥(~Met𝐷)𝑥𝑥(𝑋 × 𝑋)𝑥))
6261imp 410 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑥) → 𝑥(𝑋 × 𝑋)𝑥)
63 brxp 5583 . . . . 5 (𝑥(𝑋 × 𝑋)𝑥 ↔ (𝑥𝑋𝑥𝑋))
6462, 63sylib 221 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑥) → (𝑥𝑋𝑥𝑋))
6564simpld 498 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥(~Met𝐷)𝑥) → 𝑥𝑋)
6660, 65impbida 801 . 2 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝑋𝑥(~Met𝐷)𝑥))
675, 19, 56, 66iserd 8395 1 (𝐷 ∈ (PsMet‘𝑋) → (~Met𝐷) Er 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wcel 2112  Vcvv 3398  wss 3853   class class class wbr 5039   × cxp 5534  Rel wrel 5541  cfv 6358  (class class class)co 7191   Er wer 8366  0cc0 10694  *cxr 10831  cle 10833   +𝑒 cxad 12667  PsMetcpsmet 20301  ~Metcmetid 31504
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pow 5243  ax-pr 5307  ax-un 7501  ax-cnex 10750  ax-resscn 10751  ax-1cn 10752  ax-icn 10753  ax-addcl 10754  ax-addrcl 10755  ax-mulcl 10756  ax-mulrcl 10757  ax-mulcom 10758  ax-addass 10759  ax-mulass 10760  ax-distr 10761  ax-i2m1 10762  ax-1ne0 10763  ax-1rid 10764  ax-rnegex 10765  ax-rrecex 10766  ax-cnre 10767  ax-pre-lttri 10768  ax-pre-lttrn 10769  ax-pre-ltadd 10770  ax-pre-mulgt0 10771
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-nel 3037  df-ral 3056  df-rex 3057  df-reu 3058  df-rmo 3059  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-pw 4501  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-iun 4892  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-po 5453  df-so 5454  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-riota 7148  df-ov 7194  df-oprab 7195  df-mpo 7196  df-1st 7739  df-2nd 7740  df-er 8369  df-map 8488  df-en 8605  df-dom 8606  df-sdom 8607  df-pnf 10834  df-mnf 10835  df-xr 10836  df-ltxr 10837  df-le 10838  df-sub 11029  df-neg 11030  df-div 11455  df-2 11858  df-rp 12552  df-xneg 12669  df-xadd 12670  df-xmul 12671  df-psmet 20309  df-metid 31506
This theorem is referenced by:  pstmxmet  31515
  Copyright terms: Public domain W3C validator