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

Theorem psmetxrge0 20794
Description: The distance function of a pseudometric space is a function into the nonnegative extended real numbers. (Contributed by Thierry Arnoux, 24-Feb-2018.)
Assertion
Ref Expression
psmetxrge0  |-  ( D  e.  (PsMet `  X
)  ->  D :
( X  X.  X
) --> ( 0 [,] +oo ) )

Proof of Theorem psmetxrge0
Dummy variable  a is distinct from all other variables.
StepHypRef Expression
1 psmetf 20787 . . 3  |-  ( D  e.  (PsMet `  X
)  ->  D :
( X  X.  X
) --> RR* )
2 ffn 5721 . . 3  |-  ( D : ( X  X.  X ) --> RR*  ->  D  Fn  ( X  X.  X ) )
31, 2syl 16 . 2  |-  ( D  e.  (PsMet `  X
)  ->  D  Fn  ( X  X.  X
) )
41ffvelrnda 6016 . . . . 5  |-  ( ( D  e.  (PsMet `  X )  /\  a  e.  ( X  X.  X
) )  ->  ( D `  a )  e.  RR* )
5 elxp6 6817 . . . . . . . 8  |-  ( a  e.  ( X  X.  X )  <->  ( a  =  <. ( 1st `  a
) ,  ( 2nd `  a ) >.  /\  (
( 1st `  a
)  e.  X  /\  ( 2nd `  a )  e.  X ) ) )
65simprbi 464 . . . . . . 7  |-  ( a  e.  ( X  X.  X )  ->  (
( 1st `  a
)  e.  X  /\  ( 2nd `  a )  e.  X ) )
7 psmetge0 20793 . . . . . . . 8  |-  ( ( D  e.  (PsMet `  X )  /\  ( 1st `  a )  e.  X  /\  ( 2nd `  a )  e.  X
)  ->  0  <_  ( ( 1st `  a
) D ( 2nd `  a ) ) )
873expb 1198 . . . . . . 7  |-  ( ( D  e.  (PsMet `  X )  /\  (
( 1st `  a
)  e.  X  /\  ( 2nd `  a )  e.  X ) )  ->  0  <_  (
( 1st `  a
) D ( 2nd `  a ) ) )
96, 8sylan2 474 . . . . . 6  |-  ( ( D  e.  (PsMet `  X )  /\  a  e.  ( X  X.  X
) )  ->  0  <_  ( ( 1st `  a
) D ( 2nd `  a ) ) )
10 1st2nd2 6822 . . . . . . . . 9  |-  ( a  e.  ( X  X.  X )  ->  a  =  <. ( 1st `  a
) ,  ( 2nd `  a ) >. )
1110fveq2d 5860 . . . . . . . 8  |-  ( a  e.  ( X  X.  X )  ->  ( D `  a )  =  ( D `  <. ( 1st `  a
) ,  ( 2nd `  a ) >. )
)
12 df-ov 6284 . . . . . . . 8  |-  ( ( 1st `  a ) D ( 2nd `  a
) )  =  ( D `  <. ( 1st `  a ) ,  ( 2nd `  a
) >. )
1311, 12syl6eqr 2502 . . . . . . 7  |-  ( a  e.  ( X  X.  X )  ->  ( D `  a )  =  ( ( 1st `  a ) D ( 2nd `  a ) ) )
1413adantl 466 . . . . . 6  |-  ( ( D  e.  (PsMet `  X )  /\  a  e.  ( X  X.  X
) )  ->  ( D `  a )  =  ( ( 1st `  a ) D ( 2nd `  a ) ) )
159, 14breqtrrd 4463 . . . . 5  |-  ( ( D  e.  (PsMet `  X )  /\  a  e.  ( X  X.  X
) )  ->  0  <_  ( D `  a
) )
16 elxrge0 11639 . . . . 5  |-  ( ( D `  a )  e.  ( 0 [,] +oo )  <->  ( ( D `
 a )  e. 
RR*  /\  0  <_  ( D `  a ) ) )
174, 15, 16sylanbrc 664 . . . 4  |-  ( ( D  e.  (PsMet `  X )  /\  a  e.  ( X  X.  X
) )  ->  ( D `  a )  e.  ( 0 [,] +oo ) )
1817ralrimiva 2857 . . 3  |-  ( D  e.  (PsMet `  X
)  ->  A. a  e.  ( X  X.  X
) ( D `  a )  e.  ( 0 [,] +oo )
)
19 fnfvrnss 6044 . . 3  |-  ( ( D  Fn  ( X  X.  X )  /\  A. a  e.  ( X  X.  X ) ( D `  a )  e.  ( 0 [,] +oo ) )  ->  ran  D 
C_  ( 0 [,] +oo ) )
203, 18, 19syl2anc 661 . 2  |-  ( D  e.  (PsMet `  X
)  ->  ran  D  C_  ( 0 [,] +oo ) )
21 df-f 5582 . 2  |-  ( D : ( X  X.  X ) --> ( 0 [,] +oo )  <->  ( D  Fn  ( X  X.  X
)  /\  ran  D  C_  ( 0 [,] +oo ) ) )
223, 20, 21sylanbrc 664 1  |-  ( D  e.  (PsMet `  X
)  ->  D :
( X  X.  X
) --> ( 0 [,] +oo ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1383    e. wcel 1804   A.wral 2793    C_ wss 3461   <.cop 4020   class class class wbr 4437    X. cxp 4987   ran crn 4990    Fn wfn 5573   -->wf 5574   ` cfv 5578  (class class class)co 6281   1stc1st 6783   2ndc2nd 6784   0cc0 9495   +oocpnf 9628   RR*cxr 9630    <_ cle 9632   [,]cicc 11542  PsMetcpsmet 18380
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-8 1806  ax-9 1808  ax-10 1823  ax-11 1828  ax-12 1840  ax-13 1985  ax-ext 2421  ax-sep 4558  ax-nul 4566  ax-pow 4615  ax-pr 4676  ax-un 6577  ax-cnex 9551  ax-resscn 9552  ax-1cn 9553  ax-icn 9554  ax-addcl 9555  ax-addrcl 9556  ax-mulcl 9557  ax-mulrcl 9558  ax-mulcom 9559  ax-addass 9560  ax-mulass 9561  ax-distr 9562  ax-i2m1 9563  ax-1ne0 9564  ax-1rid 9565  ax-rnegex 9566  ax-rrecex 9567  ax-cnre 9568  ax-pre-lttri 9569  ax-pre-lttrn 9570  ax-pre-ltadd 9571  ax-pre-mulgt0 9572
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 975  df-3an 976  df-tru 1386  df-ex 1600  df-nf 1604  df-sb 1727  df-eu 2272  df-mo 2273  df-clab 2429  df-cleq 2435  df-clel 2438  df-nfc 2593  df-ne 2640  df-nel 2641  df-ral 2798  df-rex 2799  df-reu 2800  df-rmo 2801  df-rab 2802  df-v 3097  df-sbc 3314  df-csb 3421  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-nul 3771  df-if 3927  df-pw 3999  df-sn 4015  df-pr 4017  df-op 4021  df-uni 4235  df-iun 4317  df-br 4438  df-opab 4496  df-mpt 4497  df-id 4785  df-po 4790  df-so 4791  df-xp 4995  df-rel 4996  df-cnv 4997  df-co 4998  df-dm 4999  df-rn 5000  df-res 5001  df-ima 5002  df-iota 5541  df-fun 5580  df-fn 5581  df-f 5582  df-f1 5583  df-fo 5584  df-f1o 5585  df-fv 5586  df-riota 6242  df-ov 6284  df-oprab 6285  df-mpt2 6286  df-1st 6785  df-2nd 6786  df-er 7313  df-map 7424  df-en 7519  df-dom 7520  df-sdom 7521  df-pnf 9633  df-mnf 9634  df-xr 9635  df-ltxr 9636  df-le 9637  df-sub 9812  df-neg 9813  df-div 10214  df-2 10601  df-rp 11231  df-xneg 11328  df-xadd 11329  df-xmul 11330  df-icc 11546  df-psmet 18389
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator