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

Theorem xmeter 24159
Description: The "finitely separated" relation is an equivalence relation. (Contributed by Mario Carneiro, 24-Aug-2015.)
Hypothesis
Ref Expression
xmeter.1 ∼ = (◑𝐷 β€œ ℝ)
Assertion
Ref Expression
xmeter (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ ∼ Er 𝑋)

Proof of Theorem xmeter
Dummy variables π‘₯ 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xmeter.1 . . . . 5 ∼ = (◑𝐷 β€œ ℝ)
2 cnvimass 6079 . . . . 5 (◑𝐷 β€œ ℝ) βŠ† dom 𝐷
31, 2eqsstri 4015 . . . 4 ∼ βŠ† dom 𝐷
4 xmetf 24055 . . . 4 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ 𝐷:(𝑋 Γ— 𝑋)βŸΆβ„*)
53, 4fssdm 6736 . . 3 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ ∼ βŠ† (𝑋 Γ— 𝑋))
6 relxp 5693 . . 3 Rel (𝑋 Γ— 𝑋)
7 relss 5780 . . 3 ( ∼ βŠ† (𝑋 Γ— 𝑋) β†’ (Rel (𝑋 Γ— 𝑋) β†’ Rel ∼ ))
85, 6, 7mpisyl 21 . 2 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ Rel ∼ )
91xmeterval 24158 . . . . 5 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (π‘₯ ∼ 𝑦 ↔ (π‘₯ ∈ 𝑋 ∧ 𝑦 ∈ 𝑋 ∧ (π‘₯𝐷𝑦) ∈ ℝ)))
109biimpa 475 . . . 4 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ (π‘₯ ∈ 𝑋 ∧ 𝑦 ∈ 𝑋 ∧ (π‘₯𝐷𝑦) ∈ ℝ))
1110simp2d 1141 . . 3 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ 𝑦 ∈ 𝑋)
1210simp1d 1140 . . 3 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ π‘₯ ∈ 𝑋)
13 simpl 481 . . . . 5 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ 𝐷 ∈ (∞Metβ€˜π‘‹))
14 xmetsym 24073 . . . . 5 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∈ 𝑋 ∧ 𝑦 ∈ 𝑋) β†’ (π‘₯𝐷𝑦) = (𝑦𝐷π‘₯))
1513, 12, 11, 14syl3anc 1369 . . . 4 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ (π‘₯𝐷𝑦) = (𝑦𝐷π‘₯))
1610simp3d 1142 . . . 4 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ (π‘₯𝐷𝑦) ∈ ℝ)
1715, 16eqeltrrd 2832 . . 3 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ (𝑦𝐷π‘₯) ∈ ℝ)
181xmeterval 24158 . . . 4 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (𝑦 ∼ π‘₯ ↔ (𝑦 ∈ 𝑋 ∧ π‘₯ ∈ 𝑋 ∧ (𝑦𝐷π‘₯) ∈ ℝ)))
1918adantr 479 . . 3 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ (𝑦 ∼ π‘₯ ↔ (𝑦 ∈ 𝑋 ∧ π‘₯ ∈ 𝑋 ∧ (𝑦𝐷π‘₯) ∈ ℝ)))
2011, 12, 17, 19mpbir3and 1340 . 2 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∼ 𝑦) β†’ 𝑦 ∼ π‘₯)
2112adantrr 713 . . 3 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ π‘₯ ∈ 𝑋)
221xmeterval 24158 . . . . . 6 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (𝑦 ∼ 𝑧 ↔ (𝑦 ∈ 𝑋 ∧ 𝑧 ∈ 𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ)))
2322biimpa 475 . . . . 5 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ 𝑦 ∼ 𝑧) β†’ (𝑦 ∈ 𝑋 ∧ 𝑧 ∈ 𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ))
2423adantrl 712 . . . 4 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ (𝑦 ∈ 𝑋 ∧ 𝑧 ∈ 𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ))
2524simp2d 1141 . . 3 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ 𝑧 ∈ 𝑋)
26 simpl 481 . . . 4 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ 𝐷 ∈ (∞Metβ€˜π‘‹))
2716adantrr 713 . . . . 5 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ (π‘₯𝐷𝑦) ∈ ℝ)
2824simp3d 1142 . . . . 5 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ (𝑦𝐷𝑧) ∈ ℝ)
29 rexadd 13215 . . . . . 6 (((π‘₯𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) β†’ ((π‘₯𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) = ((π‘₯𝐷𝑦) + (𝑦𝐷𝑧)))
30 readdcl 11195 . . . . . 6 (((π‘₯𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) β†’ ((π‘₯𝐷𝑦) + (𝑦𝐷𝑧)) ∈ ℝ)
3129, 30eqeltrd 2831 . . . . 5 (((π‘₯𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) β†’ ((π‘₯𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ)
3227, 28, 31syl2anc 582 . . . 4 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ ((π‘₯𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ)
3311adantrr 713 . . . . 5 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ 𝑦 ∈ 𝑋)
34 xmettri 24077 . . . . 5 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∈ 𝑋 ∧ 𝑧 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) β†’ (π‘₯𝐷𝑧) ≀ ((π‘₯𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))
3526, 21, 25, 33, 34syl13anc 1370 . . . 4 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ (π‘₯𝐷𝑧) ≀ ((π‘₯𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))
36 xmetlecl 24072 . . . 4 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∈ 𝑋 ∧ 𝑧 ∈ 𝑋) ∧ (((π‘₯𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ ∧ (π‘₯𝐷𝑧) ≀ ((π‘₯𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))) β†’ (π‘₯𝐷𝑧) ∈ ℝ)
3726, 21, 25, 32, 35, 36syl122anc 1377 . . 3 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ (π‘₯𝐷𝑧) ∈ ℝ)
381xmeterval 24158 . . . 4 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (π‘₯ ∼ 𝑧 ↔ (π‘₯ ∈ 𝑋 ∧ 𝑧 ∈ 𝑋 ∧ (π‘₯𝐷𝑧) ∈ ℝ)))
3938adantr 479 . . 3 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ (π‘₯ ∼ 𝑧 ↔ (π‘₯ ∈ 𝑋 ∧ 𝑧 ∈ 𝑋 ∧ (π‘₯𝐷𝑧) ∈ ℝ)))
4021, 25, 37, 39mpbir3and 1340 . 2 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ (π‘₯ ∼ 𝑦 ∧ 𝑦 ∼ 𝑧)) β†’ π‘₯ ∼ 𝑧)
41 xmet0 24068 . . . . . . 7 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∈ 𝑋) β†’ (π‘₯𝐷π‘₯) = 0)
42 0re 11220 . . . . . . 7 0 ∈ ℝ
4341, 42eqeltrdi 2839 . . . . . 6 ((𝐷 ∈ (∞Metβ€˜π‘‹) ∧ π‘₯ ∈ 𝑋) β†’ (π‘₯𝐷π‘₯) ∈ ℝ)
4443ex 411 . . . . 5 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (π‘₯ ∈ 𝑋 β†’ (π‘₯𝐷π‘₯) ∈ ℝ))
4544pm4.71rd 561 . . . 4 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (π‘₯ ∈ 𝑋 ↔ ((π‘₯𝐷π‘₯) ∈ ℝ ∧ π‘₯ ∈ 𝑋)))
46 df-3an 1087 . . . . 5 ((π‘₯ ∈ 𝑋 ∧ π‘₯ ∈ 𝑋 ∧ (π‘₯𝐷π‘₯) ∈ ℝ) ↔ ((π‘₯ ∈ 𝑋 ∧ π‘₯ ∈ 𝑋) ∧ (π‘₯𝐷π‘₯) ∈ ℝ))
47 anidm 563 . . . . . 6 ((π‘₯ ∈ 𝑋 ∧ π‘₯ ∈ 𝑋) ↔ π‘₯ ∈ 𝑋)
4847anbi2ci 623 . . . . 5 (((π‘₯ ∈ 𝑋 ∧ π‘₯ ∈ 𝑋) ∧ (π‘₯𝐷π‘₯) ∈ ℝ) ↔ ((π‘₯𝐷π‘₯) ∈ ℝ ∧ π‘₯ ∈ 𝑋))
4946, 48bitri 274 . . . 4 ((π‘₯ ∈ 𝑋 ∧ π‘₯ ∈ 𝑋 ∧ (π‘₯𝐷π‘₯) ∈ ℝ) ↔ ((π‘₯𝐷π‘₯) ∈ ℝ ∧ π‘₯ ∈ 𝑋))
5045, 49bitr4di 288 . . 3 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (π‘₯ ∈ 𝑋 ↔ (π‘₯ ∈ 𝑋 ∧ π‘₯ ∈ 𝑋 ∧ (π‘₯𝐷π‘₯) ∈ ℝ)))
511xmeterval 24158 . . 3 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (π‘₯ ∼ π‘₯ ↔ (π‘₯ ∈ 𝑋 ∧ π‘₯ ∈ 𝑋 ∧ (π‘₯𝐷π‘₯) ∈ ℝ)))
5250, 51bitr4d 281 . 2 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ (π‘₯ ∈ 𝑋 ↔ π‘₯ ∼ π‘₯))
538, 20, 40, 52iserd 8731 1 (𝐷 ∈ (∞Metβ€˜π‘‹) β†’ ∼ Er 𝑋)
Colors of variables: wff setvar class
Syntax hints:   β†’ wi 4   ↔ wb 205   ∧ wa 394   ∧ w3a 1085   = wceq 1539   ∈ wcel 2104   βŠ† wss 3947   class class class wbr 5147   Γ— cxp 5673  β—‘ccnv 5674  dom cdm 5675   β€œ cima 5678  Rel wrel 5680  β€˜cfv 6542  (class class class)co 7411   Er wer 8702  β„cr 11111  0cc0 11112   + caddc 11115  β„*cxr 11251   ≀ cle 11253   +𝑒 cxad 13094  βˆžMetcxmet 21129
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2701  ax-sep 5298  ax-nul 5305  ax-pow 5362  ax-pr 5426  ax-un 7727  ax-cnex 11168  ax-resscn 11169  ax-1cn 11170  ax-icn 11171  ax-addcl 11172  ax-addrcl 11173  ax-mulcl 11174  ax-mulrcl 11175  ax-mulcom 11176  ax-addass 11177  ax-mulass 11178  ax-distr 11179  ax-i2m1 11180  ax-1ne0 11181  ax-1rid 11182  ax-rnegex 11183  ax-rrecex 11184  ax-cnre 11185  ax-pre-lttri 11186  ax-pre-lttrn 11187  ax-pre-ltadd 11188  ax-pre-mulgt0 11189
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2532  df-eu 2561  df-clab 2708  df-cleq 2722  df-clel 2808  df-nfc 2883  df-ne 2939  df-nel 3045  df-ral 3060  df-rex 3069  df-rmo 3374  df-reu 3375  df-rab 3431  df-v 3474  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-pw 4603  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-iun 4998  df-br 5148  df-opab 5210  df-mpt 5231  df-id 5573  df-po 5587  df-so 5588  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-rn 5686  df-res 5687  df-ima 5688  df-iota 6494  df-fun 6544  df-fn 6545  df-f 6546  df-f1 6547  df-fo 6548  df-f1o 6549  df-fv 6550  df-riota 7367  df-ov 7414  df-oprab 7415  df-mpo 7416  df-1st 7977  df-2nd 7978  df-er 8705  df-map 8824  df-en 8942  df-dom 8943  df-sdom 8944  df-pnf 11254  df-mnf 11255  df-xr 11256  df-ltxr 11257  df-le 11258  df-sub 11450  df-neg 11451  df-div 11876  df-2 12279  df-rp 12979  df-xneg 13096  df-xadd 13097  df-xmul 13098  df-xmet 21137
This theorem is referenced by:  blpnfctr  24162  xmetresbl  24163
  Copyright terms: Public domain W3C validator