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

Theorem isms 17995
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 5525 . . . . 5  |-  ( f  =  K  ->  ( dist `  f )  =  ( dist `  K
) )
2 fveq2 5525 . . . . . . 7  |-  ( f  =  K  ->  ( Base `  f )  =  ( Base `  K
) )
3 isms.x . . . . . . 7  |-  X  =  ( Base `  K
)
42, 3syl6eqr 2333 . . . . . 6  |-  ( f  =  K  ->  ( Base `  f )  =  X )
54, 4xpeq12d 4714 . . . . 5  |-  ( f  =  K  ->  (
( Base `  f )  X.  ( Base `  f
) )  =  ( X  X.  X ) )
61, 5reseq12d 4956 . . . 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 2333 . . 3  |-  ( f  =  K  ->  (
( dist `  f )  |`  ( ( Base `  f
)  X.  ( Base `  f ) ) )  =  D )
94fveq2d 5529 . . 3  |-  ( f  =  K  ->  ( Met `  ( Base `  f
) )  =  ( Met `  X ) )
108, 9eleq12d 2351 . 2  |-  ( f  =  K  ->  (
( ( dist `  f
)  |`  ( ( Base `  f )  X.  ( Base `  f ) ) )  e.  ( Met `  ( Base `  f
) )  <->  D  e.  ( Met `  X ) ) )
11 df-ms 17886 . 2  |-  MetSp  =  {
f  e.  * MetSp  |  ( ( dist `  f
)  |`  ( ( Base `  f )  X.  ( Base `  f ) ) )  e.  ( Met `  ( Base `  f
) ) }
1210, 11elrab2 2925 1  |-  ( K  e.  MetSp 
<->  ( K  e.  * MetSp  /\  D  e.  ( Met `  X ) ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684    X. cxp 4687    |` cres 4691   ` cfv 5255   Basecbs 13148   distcds 13217   TopOpenctopn 13326   Metcme 16370   *
MetSpcxme 17882   MetSpcmt 17883
This theorem is referenced by:  isms2  17996  msxms  18000  mspropd  18020  setsms  18026  tmsms  18033  imasf1oms  18036  ressms  18072  prdsms  18077
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-xp 4695  df-res 4701  df-iota 5219  df-fv 5263  df-ms 17886
  Copyright terms: Public domain W3C validator