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

Theorem isms 20930
Description: Express the predicate " <. X ,  D >. is a metric space" with underlying set  X and distance function  D. (Contributed by NM, 27-Aug-2006.) (Revised by Mario Carneiro, 24-Aug-2015.)
Hypotheses
Ref Expression
isms.j  |-  J  =  ( TopOpen `  K )
isms.x  |-  X  =  ( Base `  K
)
isms.d  |-  D  =  ( ( dist `  K
)  |`  ( X  X.  X ) )
Assertion
Ref Expression
isms  |-  ( K  e.  MetSp 
<->  ( K  e.  *MetSp  /\  D  e.  ( Met `  X ) ) )

Proof of Theorem isms
Dummy variable  f is distinct from all other variables.
StepHypRef Expression
1 fveq2 5856 . . . . 5  |-  ( f  =  K  ->  ( dist `  f )  =  ( dist `  K
) )
2 fveq2 5856 . . . . . . 7  |-  ( f  =  K  ->  ( Base `  f )  =  ( Base `  K
) )
3 isms.x . . . . . . 7  |-  X  =  ( Base `  K
)
42, 3syl6eqr 2502 . . . . . 6  |-  ( f  =  K  ->  ( Base `  f )  =  X )
54sqxpeqd 5015 . . . . 5  |-  ( f  =  K  ->  (
( Base `  f )  X.  ( Base `  f
) )  =  ( X  X.  X ) )
61, 5reseq12d 5264 . . . 4  |-  ( f  =  K  ->  (
( dist `  f )  |`  ( ( Base `  f
)  X.  ( Base `  f ) ) )  =  ( ( dist `  K )  |`  ( X  X.  X ) ) )
7 isms.d . . . 4  |-  D  =  ( ( dist `  K
)  |`  ( X  X.  X ) )
86, 7syl6eqr 2502 . . 3  |-  ( f  =  K  ->  (
( dist `  f )  |`  ( ( Base `  f
)  X.  ( Base `  f ) ) )  =  D )
94fveq2d 5860 . . 3  |-  ( f  =  K  ->  ( Met `  ( Base `  f
) )  =  ( Met `  X ) )
108, 9eleq12d 2525 . 2  |-  ( f  =  K  ->  (
( ( dist `  f
)  |`  ( ( Base `  f )  X.  ( Base `  f ) ) )  e.  ( Met `  ( Base `  f
) )  <->  D  e.  ( Met `  X ) ) )
11 df-ms 20802 . 2  |-  MetSp  =  {
f  e.  *MetSp  |  ( ( dist `  f
)  |`  ( ( Base `  f )  X.  ( Base `  f ) ) )  e.  ( Met `  ( Base `  f
) ) }
1210, 11elrab2 3245 1  |-  ( K  e.  MetSp 
<->  ( K  e.  *MetSp  /\  D  e.  ( Met `  X ) ) )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 184    /\ wa 369    = wceq 1383    e. wcel 1804    X. cxp 4987    |` cres 4991   ` cfv 5578   Basecbs 14614   distcds 14688   TopOpenctopn 14801   Metcme 18383   *MetSpcxme 20798   MetSpcmt 20799
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1605  ax-4 1618  ax-5 1691  ax-6 1734  ax-7 1776  ax-10 1823  ax-11 1828  ax-12 1840  ax-13 1985  ax-ext 2421
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 976  df-tru 1386  df-ex 1600  df-nf 1604  df-sb 1727  df-clab 2429  df-cleq 2435  df-clel 2438  df-nfc 2593  df-rex 2799  df-rab 2802  df-v 3097  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-nul 3771  df-if 3927  df-sn 4015  df-pr 4017  df-op 4021  df-uni 4235  df-br 4438  df-opab 4496  df-xp 4995  df-res 5001  df-iota 5541  df-fv 5586  df-ms 20802
This theorem is referenced by:  isms2  20931  msxms  20935  mspropd  20955  setsms  20961  tmsms  20968  imasf1oms  20971  ressms  21007  prdsms  21012
  Copyright terms: Public domain W3C validator