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

Theorem isms 23510
Description: Express the predicate "𝑋, 𝐷 is a metric space" with underlying set 𝑋 and distance function 𝐷. (Contributed by NM, 27-Aug-2006.) (Revised by Mario Carneiro, 24-Aug-2015.)
Hypotheses
Ref Expression
isms.j 𝐽 = (TopOpen‘𝐾)
isms.x 𝑋 = (Base‘𝐾)
isms.d 𝐷 = ((dist‘𝐾) ↾ (𝑋 × 𝑋))
Assertion
Ref Expression
isms (𝐾 ∈ MetSp ↔ (𝐾 ∈ ∞MetSp ∧ 𝐷 ∈ (Met‘𝑋)))

Proof of Theorem isms
Dummy variable 𝑓 is distinct from all other variables.
StepHypRef Expression
1 fveq2 6756 . . . . 5 (𝑓 = 𝐾 → (dist‘𝑓) = (dist‘𝐾))
2 fveq2 6756 . . . . . . 7 (𝑓 = 𝐾 → (Base‘𝑓) = (Base‘𝐾))
3 isms.x . . . . . . 7 𝑋 = (Base‘𝐾)
42, 3eqtr4di 2797 . . . . . 6 (𝑓 = 𝐾 → (Base‘𝑓) = 𝑋)
54sqxpeqd 5612 . . . . 5 (𝑓 = 𝐾 → ((Base‘𝑓) × (Base‘𝑓)) = (𝑋 × 𝑋))
61, 5reseq12d 5881 . . . 4 (𝑓 = 𝐾 → ((dist‘𝑓) ↾ ((Base‘𝑓) × (Base‘𝑓))) = ((dist‘𝐾) ↾ (𝑋 × 𝑋)))
7 isms.d . . . 4 𝐷 = ((dist‘𝐾) ↾ (𝑋 × 𝑋))
86, 7eqtr4di 2797 . . 3 (𝑓 = 𝐾 → ((dist‘𝑓) ↾ ((Base‘𝑓) × (Base‘𝑓))) = 𝐷)
94fveq2d 6760 . . 3 (𝑓 = 𝐾 → (Met‘(Base‘𝑓)) = (Met‘𝑋))
108, 9eleq12d 2833 . 2 (𝑓 = 𝐾 → (((dist‘𝑓) ↾ ((Base‘𝑓) × (Base‘𝑓))) ∈ (Met‘(Base‘𝑓)) ↔ 𝐷 ∈ (Met‘𝑋)))
11 df-ms 23382 . 2 MetSp = {𝑓 ∈ ∞MetSp ∣ ((dist‘𝑓) ↾ ((Base‘𝑓) × (Base‘𝑓))) ∈ (Met‘(Base‘𝑓))}
1210, 11elrab2 3620 1 (𝐾 ∈ MetSp ↔ (𝐾 ∈ ∞MetSp ∧ 𝐷 ∈ (Met‘𝑋)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wcel 2108   × cxp 5578  cres 5582  cfv 6418  Basecbs 16840  distcds 16897  TopOpenctopn 17049  Metcmet 20496  ∞MetSpcxms 23378  MetSpcms 23379
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-xp 5586  df-res 5592  df-iota 6376  df-fv 6426  df-ms 23382
This theorem is referenced by:  isms2  23511  msxms  23515  mspropd  23535  setsms  23541  tmsms  23549  imasf1oms  23552  ressms  23588  prdsms  23593
  Copyright terms: Public domain W3C validator