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

Theorem xmeter 12644
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 4910 . . . . 5 (𝐷 “ ℝ) ⊆ dom 𝐷
31, 2eqsstri 3134 . . . 4 ⊆ dom 𝐷
4 xmetf 12558 . . . 4 (𝐷 ∈ (∞Met‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
53, 4fssdm 5295 . . 3 (𝐷 ∈ (∞Met‘𝑋) → ⊆ (𝑋 × 𝑋))
6 relxp 4656 . . 3 Rel (𝑋 × 𝑋)
7 relss 4634 . . 3 ( ⊆ (𝑋 × 𝑋) → (Rel (𝑋 × 𝑋) → Rel ))
85, 6, 7mpisyl 1423 . 2 (𝐷 ∈ (∞Met‘𝑋) → Rel )
91xmeterval 12643 . . . . 5 (𝐷 ∈ (∞Met‘𝑋) → (𝑥 𝑦 ↔ (𝑥𝑋𝑦𝑋 ∧ (𝑥𝐷𝑦) ∈ ℝ)))
109biimpa 294 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑥𝑋𝑦𝑋 ∧ (𝑥𝐷𝑦) ∈ ℝ))
1110simp2d 995 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → 𝑦𝑋)
1210simp1d 994 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → 𝑥𝑋)
13 simpl 108 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → 𝐷 ∈ (∞Met‘𝑋))
14 xmetsym 12576 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥𝑋𝑦𝑋) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
1513, 12, 11, 14syl3anc 1217 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑥𝐷𝑦) = (𝑦𝐷𝑥))
1610simp3d 996 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑥𝐷𝑦) ∈ ℝ)
1715, 16eqeltrrd 2218 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑦𝐷𝑥) ∈ ℝ)
181xmeterval 12643 . . . 4 (𝐷 ∈ (∞Met‘𝑋) → (𝑦 𝑥 ↔ (𝑦𝑋𝑥𝑋 ∧ (𝑦𝐷𝑥) ∈ ℝ)))
1918adantr 274 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → (𝑦 𝑥 ↔ (𝑦𝑋𝑥𝑋 ∧ (𝑦𝐷𝑥) ∈ ℝ)))
2011, 12, 17, 19mpbir3and 1165 . 2 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 𝑦) → 𝑦 𝑥)
2112adantrr 471 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝑥𝑋)
221xmeterval 12643 . . . . . 6 (𝐷 ∈ (∞Met‘𝑋) → (𝑦 𝑧 ↔ (𝑦𝑋𝑧𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ)))
2322biimpa 294 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑦 𝑧) → (𝑦𝑋𝑧𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ))
2423adantrl 470 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑦𝑋𝑧𝑋 ∧ (𝑦𝐷𝑧) ∈ ℝ))
2524simp2d 995 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝑧𝑋)
26 simpl 108 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝐷 ∈ (∞Met‘𝑋))
2716adantrr 471 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑥𝐷𝑦) ∈ ℝ)
2824simp3d 996 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑦𝐷𝑧) ∈ ℝ)
29 rexadd 9665 . . . . . 6 (((𝑥𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) → ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) = ((𝑥𝐷𝑦) + (𝑦𝐷𝑧)))
30 readdcl 7770 . . . . . 6 (((𝑥𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) → ((𝑥𝐷𝑦) + (𝑦𝐷𝑧)) ∈ ℝ)
3129, 30eqeltrd 2217 . . . . 5 (((𝑥𝐷𝑦) ∈ ℝ ∧ (𝑦𝐷𝑧) ∈ ℝ) → ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ)
3227, 28, 31syl2anc 409 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ)
3311adantrr 471 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝑦𝑋)
34 xmettri 12580 . . . . 5 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥𝑋𝑧𝑋𝑦𝑋)) → (𝑥𝐷𝑧) ≤ ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))
3526, 21, 25, 33, 34syl13anc 1219 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑥𝐷𝑧) ≤ ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))
36 xmetlecl 12575 . . . 4 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥𝑋𝑧𝑋) ∧ (((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)) ∈ ℝ ∧ (𝑥𝐷𝑧) ≤ ((𝑥𝐷𝑦) +𝑒 (𝑦𝐷𝑧)))) → (𝑥𝐷𝑧) ∈ ℝ)
3726, 21, 25, 32, 35, 36syl122anc 1226 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑥𝐷𝑧) ∈ ℝ)
381xmeterval 12643 . . . 4 (𝐷 ∈ (∞Met‘𝑋) → (𝑥 𝑧 ↔ (𝑥𝑋𝑧𝑋 ∧ (𝑥𝐷𝑧) ∈ ℝ)))
3938adantr 274 . . 3 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → (𝑥 𝑧 ↔ (𝑥𝑋𝑧𝑋 ∧ (𝑥𝐷𝑧) ∈ ℝ)))
4021, 25, 37, 39mpbir3and 1165 . 2 ((𝐷 ∈ (∞Met‘𝑋) ∧ (𝑥 𝑦𝑦 𝑧)) → 𝑥 𝑧)
41 xmet0 12571 . . . . . . 7 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥𝑋) → (𝑥𝐷𝑥) = 0)
42 0re 7790 . . . . . . 7 0 ∈ ℝ
4341, 42eqeltrdi 2231 . . . . . 6 ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥𝑋) → (𝑥𝐷𝑥) ∈ ℝ)
4443ex 114 . . . . 5 (𝐷 ∈ (∞Met‘𝑋) → (𝑥𝑋 → (𝑥𝐷𝑥) ∈ ℝ))
4544pm4.71rd 392 . . . 4 (𝐷 ∈ (∞Met‘𝑋) → (𝑥𝑋 ↔ ((𝑥𝐷𝑥) ∈ ℝ ∧ 𝑥𝑋)))
46 df-3an 965 . . . . 5 ((𝑥𝑋𝑥𝑋 ∧ (𝑥𝐷𝑥) ∈ ℝ) ↔ ((𝑥𝑋𝑥𝑋) ∧ (𝑥𝐷𝑥) ∈ ℝ))
47 anidm 394 . . . . . 6 ((𝑥𝑋𝑥𝑋) ↔ 𝑥𝑋)
4847anbi2ci 455 . . . . 5 (((𝑥𝑋𝑥𝑋) ∧ (𝑥𝐷𝑥) ∈ ℝ) ↔ ((𝑥𝐷𝑥) ∈ ℝ ∧ 𝑥𝑋))
4946, 48bitri 183 . . . 4 ((𝑥𝑋𝑥𝑋 ∧ (𝑥𝐷𝑥) ∈ ℝ) ↔ ((𝑥𝐷𝑥) ∈ ℝ ∧ 𝑥𝑋))
5045, 49syl6bbr 197 . . 3 (𝐷 ∈ (∞Met‘𝑋) → (𝑥𝑋 ↔ (𝑥𝑋𝑥𝑋 ∧ (𝑥𝐷𝑥) ∈ ℝ)))
511xmeterval 12643 . . 3 (𝐷 ∈ (∞Met‘𝑋) → (𝑥 𝑥 ↔ (𝑥𝑋𝑥𝑋 ∧ (𝑥𝐷𝑥) ∈ ℝ)))
5250, 51bitr4d 190 . 2 (𝐷 ∈ (∞Met‘𝑋) → (𝑥𝑋𝑥 𝑥))
538, 20, 40, 52iserd 6463 1 (𝐷 ∈ (∞Met‘𝑋) → Er 𝑋)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 963   = wceq 1332  wcel 1481  wss 3076   class class class wbr 3937   × cxp 4545  ccnv 4546  dom cdm 4547  cima 4550  Rel wrel 4552  cfv 5131  (class class class)co 5782   Er wer 6434  cr 7643  0cc0 7644   + caddc 7647  *cxr 7823  cle 7825   +𝑒 cxad 9587  ∞Metcxmet 12188
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139  ax-un 4363  ax-setind 4460  ax-cnex 7735  ax-resscn 7736  ax-1cn 7737  ax-1re 7738  ax-icn 7739  ax-addcl 7740  ax-addrcl 7741  ax-mulcl 7742  ax-mulrcl 7743  ax-addcom 7744  ax-mulcom 7745  ax-addass 7746  ax-mulass 7747  ax-distr 7748  ax-i2m1 7749  ax-0lt1 7750  ax-1rid 7751  ax-0id 7752  ax-rnegex 7753  ax-precex 7754  ax-cnre 7755  ax-pre-ltirr 7756  ax-pre-ltwlin 7757  ax-pre-lttrn 7758  ax-pre-apti 7759  ax-pre-ltadd 7760  ax-pre-mulgt0 7761
This theorem depends on definitions:  df-bi 116  df-dc 821  df-3or 964  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ne 2310  df-nel 2405  df-ral 2422  df-rex 2423  df-reu 2424  df-rab 2426  df-v 2691  df-sbc 2914  df-csb 3008  df-dif 3078  df-un 3080  df-in 3082  df-ss 3089  df-if 3480  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-iun 3823  df-br 3938  df-opab 3998  df-mpt 3999  df-id 4223  df-po 4226  df-iso 4227  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-rn 4558  df-res 4559  df-ima 4560  df-iota 5096  df-fun 5133  df-fn 5134  df-f 5135  df-fv 5139  df-riota 5738  df-ov 5785  df-oprab 5786  df-mpo 5787  df-1st 6046  df-2nd 6047  df-er 6437  df-map 6552  df-pnf 7826  df-mnf 7827  df-xr 7828  df-ltxr 7829  df-le 7830  df-sub 7959  df-neg 7960  df-2 8803  df-xadd 9590  df-xmet 12196
This theorem is referenced by:  blpnfctr  12647  xmetresbl  12648
  Copyright terms: Public domain W3C validator