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

Theorem metustto 21499
Description: Any two elements of the filter base generated by the metric 
D can be compared, like for RR+ (i.e. it's totally ordered). (Contributed by Thierry Arnoux, 22-Nov-2017.) (Revised by Thierry Arnoux, 11-Feb-2018.)
Hypothesis
Ref Expression
metust.1  |-  F  =  ran  ( a  e.  RR+  |->  ( `' D " ( 0 [,) a
) ) )
Assertion
Ref Expression
metustto  |-  ( ( D  e.  (PsMet `  X )  /\  A  e.  F  /\  B  e.  F )  ->  ( A  C_  B  \/  B  C_  A ) )
Distinct variable groups:    B, a    D, a    X, a    A, a    F, a

Proof of Theorem metustto
Dummy variable  b is distinct from all other variables.
StepHypRef Expression
1 simpll 758 . . . . 5  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  a  e.  RR+ )
21rpred 11341 . . . 4  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  a  e.  RR )
3 simplr 760 . . . . 5  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  b  e.  RR+ )
43rpred 11341 . . . 4  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  b  e.  RR )
5 simpllr 767 . . . . . . . 8  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  b  e.  RR+ )
65rpred 11341 . . . . . . 7  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  b  e.  RR )
7 0xr 9686 . . . . . . . . . 10  |-  0  e.  RR*
87a1i 11 . . . . . . . . 9  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
0  e.  RR* )
9 simpl 458 . . . . . . . . . 10  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
b  e.  RR )
109rexrd 9689 . . . . . . . . 9  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
b  e.  RR* )
11 0le0 10699 . . . . . . . . . 10  |-  0  <_  0
1211a1i 11 . . . . . . . . 9  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
0  <_  0 )
13 simpr 462 . . . . . . . . 9  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
a  <_  b )
14 icossico 11704 . . . . . . . . 9  |-  ( ( ( 0  e.  RR*  /\  b  e.  RR* )  /\  ( 0  <_  0  /\  a  <_  b ) )  ->  ( 0 [,) a )  C_  ( 0 [,) b
) )
158, 10, 12, 13, 14syl22anc 1265 . . . . . . . 8  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
( 0 [,) a
)  C_  ( 0 [,) b ) )
16 imass2 5224 . . . . . . . 8  |-  ( ( 0 [,) a ) 
C_  ( 0 [,) b )  ->  ( `' D " ( 0 [,) a ) ) 
C_  ( `' D " ( 0 [,) b
) ) )
1715, 16syl 17 . . . . . . 7  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
( `' D "
( 0 [,) a
) )  C_  ( `' D " ( 0 [,) b ) ) )
186, 17sylancom 671 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  ( `' D " ( 0 [,) a ) )  C_  ( `' D " ( 0 [,) b ) ) )
19 simplrl 768 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  A  =  ( `' D " ( 0 [,) a ) ) )
20 simplrr 769 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  B  =  ( `' D " ( 0 [,) b ) ) )
2118, 19, 203sstr4d 3513 . . . . 5  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  A  C_  B
)
2221orcd 393 . . . 4  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  ( A  C_  B  \/  B  C_  A ) )
23 simplll 766 . . . . . . . 8  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  a  e.  RR+ )
2423rpred 11341 . . . . . . 7  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  a  e.  RR )
257a1i 11 . . . . . . . . 9  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
0  e.  RR* )
26 simpl 458 . . . . . . . . . 10  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
a  e.  RR )
2726rexrd 9689 . . . . . . . . 9  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
a  e.  RR* )
2811a1i 11 . . . . . . . . 9  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
0  <_  0 )
29 simpr 462 . . . . . . . . 9  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
b  <_  a )
30 icossico 11704 . . . . . . . . 9  |-  ( ( ( 0  e.  RR*  /\  a  e.  RR* )  /\  ( 0  <_  0  /\  b  <_  a ) )  ->  ( 0 [,) b )  C_  ( 0 [,) a
) )
3125, 27, 28, 29, 30syl22anc 1265 . . . . . . . 8  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
( 0 [,) b
)  C_  ( 0 [,) a ) )
32 imass2 5224 . . . . . . . 8  |-  ( ( 0 [,) b ) 
C_  ( 0 [,) a )  ->  ( `' D " ( 0 [,) b ) ) 
C_  ( `' D " ( 0 [,) a
) ) )
3331, 32syl 17 . . . . . . 7  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
( `' D "
( 0 [,) b
) )  C_  ( `' D " ( 0 [,) a ) ) )
3424, 33sylancom 671 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  ( `' D " ( 0 [,) b ) )  C_  ( `' D " ( 0 [,) a ) ) )
35 simplrr 769 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  B  =  ( `' D " ( 0 [,) b ) ) )
36 simplrl 768 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  A  =  ( `' D " ( 0 [,) a ) ) )
3734, 35, 363sstr4d 3513 . . . . 5  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  B  C_  A
)
3837olcd 394 . . . 4  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  ( A  C_  B  \/  B  C_  A ) )
392, 4, 22, 38lecasei 9739 . . 3  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  ( A  C_  B  \/  B  C_  A ) )
4039adantlll 722 . 2  |-  ( ( ( ( ( D  e.  (PsMet `  X
)  /\  A  e.  F  /\  B  e.  F
)  /\  a  e.  RR+ )  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  ( A  C_  B  \/  B  C_  A ) )
41 metust.1 . . . . . 6  |-  F  =  ran  ( a  e.  RR+  |->  ( `' D " ( 0 [,) a
) ) )
4241metustel 21496 . . . . 5  |-  ( D  e.  (PsMet `  X
)  ->  ( A  e.  F  <->  E. a  e.  RR+  A  =  ( `' D " ( 0 [,) a
) ) ) )
4342biimpa 486 . . . 4  |-  ( ( D  e.  (PsMet `  X )  /\  A  e.  F )  ->  E. a  e.  RR+  A  =  ( `' D " ( 0 [,) a ) ) )
44433adant3 1025 . . 3  |-  ( ( D  e.  (PsMet `  X )  /\  A  e.  F  /\  B  e.  F )  ->  E. a  e.  RR+  A  =  ( `' D " ( 0 [,) a ) ) )
45 oveq2 6313 . . . . . . . . . 10  |-  ( a  =  b  ->  (
0 [,) a )  =  ( 0 [,) b ) )
4645imaeq2d 5188 . . . . . . . . 9  |-  ( a  =  b  ->  ( `' D " ( 0 [,) a ) )  =  ( `' D " ( 0 [,) b
) ) )
4746cbvmptv 4518 . . . . . . . 8  |-  ( a  e.  RR+  |->  ( `' D " ( 0 [,) a ) ) )  =  ( b  e.  RR+  |->  ( `' D " ( 0 [,) b ) ) )
4847rneqi 5081 . . . . . . 7  |-  ran  (
a  e.  RR+  |->  ( `' D " ( 0 [,) a ) ) )  =  ran  (
b  e.  RR+  |->  ( `' D " ( 0 [,) b ) ) )
4941, 48eqtri 2458 . . . . . 6  |-  F  =  ran  ( b  e.  RR+  |->  ( `' D " ( 0 [,) b
) ) )
5049metustel 21496 . . . . 5  |-  ( D  e.  (PsMet `  X
)  ->  ( B  e.  F  <->  E. b  e.  RR+  B  =  ( `' D " ( 0 [,) b
) ) ) )
5150biimpa 486 . . . 4  |-  ( ( D  e.  (PsMet `  X )  /\  B  e.  F )  ->  E. b  e.  RR+  B  =  ( `' D " ( 0 [,) b ) ) )
52513adant2 1024 . . 3  |-  ( ( D  e.  (PsMet `  X )  /\  A  e.  F  /\  B  e.  F )  ->  E. b  e.  RR+  B  =  ( `' D " ( 0 [,) b ) ) )
53 reeanv 3003 . . 3  |-  ( E. a  e.  RR+  E. b  e.  RR+  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) )  <->  ( E. a  e.  RR+  A  =  ( `' D "
( 0 [,) a
) )  /\  E. b  e.  RR+  B  =  ( `' D "
( 0 [,) b
) ) ) )
5444, 52, 53sylanbrc 668 . 2  |-  ( ( D  e.  (PsMet `  X )  /\  A  e.  F  /\  B  e.  F )  ->  E. a  e.  RR+  E. b  e.  RR+  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )
5540, 54r19.29vva 2979 1  |-  ( ( D  e.  (PsMet `  X )  /\  A  e.  F  /\  B  e.  F )  ->  ( A  C_  B  \/  B  C_  A ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    \/ wo 369    /\ wa 370    /\ w3a 982    = wceq 1437    e. wcel 1870   E.wrex 2783    C_ wss 3442   class class class wbr 4426    |-> cmpt 4484   `'ccnv 4853   ran crn 4855   "cima 4857   ` cfv 5601  (class class class)co 6305   RRcr 9537   0cc0 9538   RR*cxr 9673    <_ cle 9675   RR+crp 11302   [,)cico 11637  PsMetcpsmet 18889
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1665  ax-4 1678  ax-5 1751  ax-6 1797  ax-7 1841  ax-8 1872  ax-9 1874  ax-10 1889  ax-11 1894  ax-12 1907  ax-13 2055  ax-ext 2407  ax-sep 4548  ax-nul 4556  ax-pow 4603  ax-pr 4661  ax-un 6597  ax-cnex 9594  ax-resscn 9595  ax-1cn 9596  ax-icn 9597  ax-addcl 9598  ax-addrcl 9599  ax-mulcl 9600  ax-mulrcl 9601  ax-i2m1 9606  ax-1ne0 9607  ax-rnegex 9609  ax-rrecex 9610  ax-cnre 9611  ax-pre-lttri 9612  ax-pre-lttrn 9613
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3or 983  df-3an 984  df-tru 1440  df-ex 1660  df-nf 1664  df-sb 1790  df-eu 2270  df-mo 2271  df-clab 2415  df-cleq 2421  df-clel 2424  df-nfc 2579  df-ne 2627  df-nel 2628  df-ral 2787  df-rex 2788  df-rab 2791  df-v 3089  df-sbc 3306  df-csb 3402  df-dif 3445  df-un 3447  df-in 3449  df-ss 3456  df-nul 3768  df-if 3916  df-pw 3987  df-sn 4003  df-pr 4005  df-op 4009  df-uni 4223  df-iun 4304  df-br 4427  df-opab 4485  df-mpt 4486  df-id 4769  df-po 4775  df-so 4776  df-xp 4860  df-rel 4861  df-cnv 4862  df-co 4863  df-dm 4864  df-rn 4865  df-res 4866  df-ima 4867  df-iota 5565  df-fun 5603  df-fn 5604  df-f 5605  df-f1 5606  df-fo 5607  df-f1o 5608  df-fv 5609  df-ov 6308  df-oprab 6309  df-mpt2 6310  df-1st 6807  df-2nd 6808  df-er 7371  df-en 7578  df-dom 7579  df-sdom 7580  df-pnf 9676  df-mnf 9677  df-xr 9678  df-ltxr 9679  df-le 9680  df-rp 11303  df-ico 11641
This theorem is referenced by:  metustfbas  21503
  Copyright terms: Public domain W3C validator