ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  xmeter GIF version

Theorem xmeter 13487
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 4984 . . . . 5 (𝐷 “ ℝ) ⊆ dom 𝐷
31, 2eqsstri 3185 . . . 4 ⊆ dom 𝐷
4 xmetf 13401 . . . 4 (𝐷 ∈ (∞Met‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
53, 4fssdm 5372 . . 3 (𝐷 ∈ (∞Met‘𝑋) → ⊆ (𝑋 × 𝑋))
6 relxp 4729 . . 3 Rel (𝑋 × 𝑋)
7 relss 4707 . . 3 ( ⊆ (𝑋 × 𝑋) → (Rel (𝑋 × 𝑋) → Rel ))
85, 6, 7mpisyl 1444 . 2 (𝐷 ∈ (∞Met‘𝑋) → Rel )
91xmeterval 13486 . . . . 5 (𝐷 ∈ (∞Met‘𝑋) → (𝑥 𝑦 ↔ (𝑥𝑋𝑦𝑋 ∧ (𝑥𝐷𝑦) ∈ ℝ)))
109biimpa 296 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑥𝑋𝑦𝑋 ∧ (𝑥𝐷𝑦) ∈ ℝ))
1110simp2d 1010 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → 𝑦𝑋)
1210simp1d 1009 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → 𝑥𝑋)
13 simpl 109 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → 𝐷 ∈ (∞Met‘𝑋))
14 xmetsym 13419 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥𝑋𝑦𝑋) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
1513, 12, 11, 14syl3anc 1238 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
1610simp3d 1011 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑥𝐷𝑦) ∈ ℝ)
1715, 16eqeltrrd 2253 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑦𝐷𝑥) ∈ ℝ)
181xmeterval 13486 . . . 4 (𝐷 ∈ (∞Met‘𝑋) → (𝑦 𝑥 ↔ (𝑦𝑋𝑥𝑋 ∧ (𝑦𝐷𝑥) ∈ ℝ)))
1918adantr 276 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑦 𝑥 ↔ (𝑦𝑋𝑥𝑋 ∧ (𝑦𝐷𝑥) ∈ ℝ)))
2011, 12, 17, 19mpbir3and 1180 . 2 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → 𝑦 𝑥)
2112adantrr 479 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝑥𝑋)
221xmeterval 13486 . . . . . 6 (𝐷 ∈ (∞Met‘𝑋) → (𝑦 𝑧 ↔ (𝑦𝑋𝑧𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ)))
2322biimpa 296 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑦 𝑧) → (𝑦𝑋𝑧𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ))
2423adantrl 478 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑦𝑋𝑧𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ))
2524simp2d 1010 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝑧𝑋)
26 simpl 109 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝐷 ∈ (∞Met‘𝑋))
2716adantrr 479 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑥𝐷𝑦) ∈ ℝ)
2824simp3d 1011 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑦𝐷𝑧) ∈ ℝ)
29 rexadd 9821 . . . . . 6 (((𝑥𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) → ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) = ((𝑥𝐷𝑦) + (𝑦𝐷𝑧)))
30 readdcl 7912 . . . . . 6 (((𝑥𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) → ((𝑥𝐷𝑦) + (𝑦𝐷𝑧)) ∈ ℝ)
3129, 30eqeltrd 2252 . . . . 5 (((𝑥𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) → ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ)
3227, 28, 31syl2anc 411 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ)
3311adantrr 479 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝑦𝑋)
34 xmettri 13423 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥𝑋𝑧𝑋𝑦𝑋)) → (𝑥𝐷𝑧) ≤ ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))
3526, 21, 25, 33, 34syl13anc 1240 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑥𝐷𝑧) ≤ ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))
36 xmetlecl 13418 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥𝑋𝑧𝑋) ∧ (((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ ∧ (𝑥𝐷𝑧) ≤ ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))) → (𝑥𝐷𝑧) ∈ ℝ)
3726, 21, 25, 32, 35, 36syl122anc 1247 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑥𝐷𝑧) ∈ ℝ)
381xmeterval 13486 . . . 4 (𝐷 ∈ (∞Met‘𝑋) → (𝑥 𝑧 ↔ (𝑥𝑋𝑧𝑋 ∧ (𝑥𝐷𝑧) ∈ ℝ)))
3938adantr 276 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑥 𝑧 ↔ (𝑥𝑋𝑧𝑋 ∧ (𝑥𝐷𝑧) ∈ ℝ)))
4021, 25, 37, 39mpbir3and 1180 . 2 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝑥 𝑧)
41 xmet0 13414 . . . . . . 7 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥𝑋) → (𝑥𝐷𝑥) = 0)
42 0re 7932 . . . . . . 7 0 ∈ ℝ
4341, 42eqeltrdi 2266 . . . . . 6 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥𝑋) → (𝑥𝐷𝑥) ∈ ℝ)
4443ex 115 . . . . 5 (𝐷 ∈ (∞Met‘𝑋) → (𝑥𝑋 → (𝑥𝐷𝑥) ∈ ℝ))
4544pm4.71rd 394 . . . 4 (𝐷 ∈ (∞Met‘𝑋) → (𝑥𝑋 ↔ ((𝑥𝐷𝑥) ∈ ℝ ∧ 𝑥𝑋)))
46 df-3an 980 . . . . 5 ((𝑥𝑋𝑥𝑋 ∧ (𝑥𝐷𝑥) ∈ ℝ) ↔ ((𝑥𝑋𝑥𝑋) ∧ (𝑥𝐷𝑥) ∈ ℝ))
47 anidm 396 . . . . . 6 ((𝑥𝑋𝑥𝑋) ↔ 𝑥𝑋)
4847anbi2ci 459 . . . . 5 (((𝑥𝑋𝑥𝑋) ∧ (𝑥𝐷𝑥) ∈ ℝ) ↔ ((𝑥𝐷𝑥) ∈ ℝ ∧ 𝑥𝑋))
4946, 48bitri 184 . . . 4 ((𝑥𝑋𝑥𝑋 ∧ (𝑥𝐷𝑥) ∈ ℝ) ↔ ((𝑥𝐷𝑥) ∈ ℝ ∧ 𝑥𝑋))
5045, 49bitr4di 198 . . 3 (𝐷 ∈ (∞Met‘𝑋) → (𝑥𝑋 ↔ (𝑥𝑋𝑥𝑋 ∧ (𝑥𝐷𝑥) ∈ ℝ)))
511xmeterval 13486 . . 3 (𝐷 ∈ (∞Met‘𝑋) → (𝑥 𝑥 ↔ (𝑥𝑋𝑥𝑋 ∧ (𝑥𝐷𝑥) ∈ ℝ)))
5250, 51bitr4d 191 . 2 (𝐷 ∈ (∞Met‘𝑋) → (𝑥𝑋𝑥 𝑥))
538, 20, 40, 52iserd 6551 1 (𝐷 ∈ (∞Met‘𝑋) → Er 𝑋)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  w3a 978   = wceq 1353  wcel 2146  wss 3127   class class class wbr 3998   × cxp 4618  ccnv 4619  dom cdm 4620  cima 4623  Rel wrel 4625  cfv 5208  (class class class)co 5865   Er wer 6522  cr 7785  0cc0 7786   + caddc 7789  *cxr 7965  cle 7967   +𝑒 cxad 9739  ∞Metcxmet 13031
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1445  ax-7 1446  ax-gen 1447  ax-ie1 1491  ax-ie2 1492  ax-8 1502  ax-10 1503  ax-11 1504  ax-i12 1505  ax-bndl 1507  ax-4 1508  ax-17 1524  ax-i9 1528  ax-ial 1532  ax-i5r 1533  ax-13 2148  ax-14 2149  ax-ext 2157  ax-sep 4116  ax-pow 4169  ax-pr 4203  ax-un 4427  ax-setind 4530  ax-cnex 7877  ax-resscn 7878  ax-1cn 7879  ax-1re 7880  ax-icn 7881  ax-addcl 7882  ax-addrcl 7883  ax-mulcl 7884  ax-mulrcl 7885  ax-addcom 7886  ax-mulcom 7887  ax-addass 7888  ax-mulass 7889  ax-distr 7890  ax-i2m1 7891  ax-0lt1 7892  ax-1rid 7893  ax-0id 7894  ax-rnegex 7895  ax-precex 7896  ax-cnre 7897  ax-pre-ltirr 7898  ax-pre-ltwlin 7899  ax-pre-lttrn 7900  ax-pre-apti 7901  ax-pre-ltadd 7902  ax-pre-mulgt0 7903
This theorem depends on definitions:  df-bi 117  df-dc 835  df-3or 979  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1459  df-sb 1761  df-eu 2027  df-mo 2028  df-clab 2162  df-cleq 2168  df-clel 2171  df-nfc 2306  df-ne 2346  df-nel 2441  df-ral 2458  df-rex 2459  df-reu 2460  df-rab 2462  df-v 2737  df-sbc 2961  df-csb 3056  df-dif 3129  df-un 3131  df-in 3133  df-ss 3140  df-if 3533  df-pw 3574  df-sn 3595  df-pr 3596  df-op 3598  df-uni 3806  df-iun 3884  df-br 3999  df-opab 4060  df-mpt 4061  df-id 4287  df-po 4290  df-iso 4291  df-xp 4626  df-rel 4627  df-cnv 4628  df-co 4629  df-dm 4630  df-rn 4631  df-res 4632  df-ima 4633  df-iota 5170  df-fun 5210  df-fn 5211  df-f 5212  df-fv 5216  df-riota 5821  df-ov 5868  df-oprab 5869  df-mpo 5870  df-1st 6131  df-2nd 6132  df-er 6525  df-map 6640  df-pnf 7968  df-mnf 7969  df-xr 7970  df-ltxr 7971  df-le 7972  df-sub 8104  df-neg 8105  df-2 8949  df-xadd 9742  df-xmet 13039
This theorem is referenced by:  blpnfctr  13490  xmetresbl  13491
  Copyright terms: Public domain W3C validator