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

Theorem metusttoOLD 20144
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.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypothesis
Ref Expression
metust.1  |-  F  =  ran  ( a  e.  RR+  |->  ( `' D " ( 0 [,) a
) ) )
Assertion
Ref Expression
metusttoOLD  |-  ( ( D  e.  ( *Met `  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 metusttoOLD
Dummy variable  b is distinct from all other variables.
StepHypRef Expression
1 simplr 754 . . . . 5  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  b  e.  RR+ )
21rpred 11039 . . . 4  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  b  e.  RR )
3 simpll 753 . . . . 5  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  a  e.  RR+ )
43rpred 11039 . . . 4  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  a  e.  RR )
5 simplll 757 . . . . . . . 8  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  a  e.  RR+ )
65rpred 11039 . . . . . . 7  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  a  e.  RR )
7 0xr 9442 . . . . . . . . . 10  |-  0  e.  RR*
87a1i 11 . . . . . . . . 9  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
0  e.  RR* )
9 simpl 457 . . . . . . . . . 10  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
a  e.  RR )
109rexrd 9445 . . . . . . . . 9  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
a  e.  RR* )
11 0le0 10423 . . . . . . . . . 10  |-  0  <_  0
1211a1i 11 . . . . . . . . 9  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
0  <_  0 )
13 simpr 461 . . . . . . . . 9  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
b  <_  a )
14 icossico 11377 . . . . . . . . 9  |-  ( ( ( 0  e.  RR*  /\  a  e.  RR* )  /\  ( 0  <_  0  /\  b  <_  a ) )  ->  ( 0 [,) b )  C_  ( 0 [,) a
) )
158, 10, 12, 13, 14syl22anc 1219 . . . . . . . 8  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
( 0 [,) b
)  C_  ( 0 [,) a ) )
16 imass2 5216 . . . . . . . 8  |-  ( ( 0 [,) b ) 
C_  ( 0 [,) a )  ->  ( `' D " ( 0 [,) b ) ) 
C_  ( `' D " ( 0 [,) a
) ) )
1715, 16syl 16 . . . . . . 7  |-  ( ( a  e.  RR  /\  b  <_  a )  -> 
( `' D "
( 0 [,) b
) )  C_  ( `' D " ( 0 [,) a ) ) )
186, 17sylancom 667 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  ( `' D " ( 0 [,) b ) )  C_  ( `' D " ( 0 [,) a ) ) )
19 simplrr 760 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  B  =  ( `' D " ( 0 [,) b ) ) )
20 simplrl 759 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  A  =  ( `' D " ( 0 [,) a ) ) )
2118, 19, 203sstr4d 3411 . . . . 5  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  B  C_  A
)
2221olcd 393 . . . 4  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  b  <_  a
)  ->  ( A  C_  B  \/  B  C_  A ) )
23 simpllr 758 . . . . . . . 8  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  b  e.  RR+ )
2423rpred 11039 . . . . . . 7  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  b  e.  RR )
257a1i 11 . . . . . . . . 9  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
0  e.  RR* )
26 simpl 457 . . . . . . . . . 10  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
b  e.  RR )
2726rexrd 9445 . . . . . . . . 9  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
b  e.  RR* )
2811a1i 11 . . . . . . . . 9  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
0  <_  0 )
29 simpr 461 . . . . . . . . 9  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
a  <_  b )
30 icossico 11377 . . . . . . . . 9  |-  ( ( ( 0  e.  RR*  /\  b  e.  RR* )  /\  ( 0  <_  0  /\  a  <_  b ) )  ->  ( 0 [,) a )  C_  ( 0 [,) b
) )
3125, 27, 28, 29, 30syl22anc 1219 . . . . . . . 8  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
( 0 [,) a
)  C_  ( 0 [,) b ) )
32 imass2 5216 . . . . . . . 8  |-  ( ( 0 [,) a ) 
C_  ( 0 [,) b )  ->  ( `' D " ( 0 [,) a ) ) 
C_  ( `' D " ( 0 [,) b
) ) )
3331, 32syl 16 . . . . . . 7  |-  ( ( b  e.  RR  /\  a  <_  b )  -> 
( `' D "
( 0 [,) a
) )  C_  ( `' D " ( 0 [,) b ) ) )
3424, 33sylancom 667 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  ( `' D " ( 0 [,) a ) )  C_  ( `' D " ( 0 [,) b ) ) )
35 simplrl 759 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  A  =  ( `' D " ( 0 [,) a ) ) )
36 simplrr 760 . . . . . 6  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  B  =  ( `' D " ( 0 [,) b ) ) )
3734, 35, 363sstr4d 3411 . . . . 5  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  A  C_  B
)
3837orcd 392 . . . 4  |-  ( ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D "
( 0 [,) a
) )  /\  B  =  ( `' D " ( 0 [,) b
) ) ) )  /\  a  <_  b
)  ->  ( A  C_  B  \/  B  C_  A ) )
392, 4, 22, 38lecasei 9492 . . 3  |-  ( ( ( a  e.  RR+  /\  b  e.  RR+ )  /\  ( A  =  ( `' D " ( 0 [,) a ) )  /\  B  =  ( `' D " ( 0 [,) b ) ) ) )  ->  ( A  C_  B  \/  B  C_  A ) )
4039adantlll 717 . 2  |-  ( ( ( ( ( D  e.  ( *Met `  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
) ) )
4241metustelOLD 20138 . . . . 5  |-  ( D  e.  ( *Met `  X )  ->  ( A  e.  F  <->  E. a  e.  RR+  A  =  ( `' D " ( 0 [,) a ) ) ) )
4342biimpa 484 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  F
)  ->  E. a  e.  RR+  A  =  ( `' D " ( 0 [,) a ) ) )
44433adant3 1008 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  F  /\  B  e.  F
)  ->  E. a  e.  RR+  A  =  ( `' D " ( 0 [,) a ) ) )
45 oveq2 6111 . . . . . . . . . 10  |-  ( a  =  b  ->  (
0 [,) a )  =  ( 0 [,) b ) )
4645imaeq2d 5181 . . . . . . . . 9  |-  ( a  =  b  ->  ( `' D " ( 0 [,) a ) )  =  ( `' D " ( 0 [,) b
) ) )
4746cbvmptv 4395 . . . . . . . 8  |-  ( a  e.  RR+  |->  ( `' D " ( 0 [,) a ) ) )  =  ( b  e.  RR+  |->  ( `' D " ( 0 [,) b ) ) )
4847rneqi 5078 . . . . . . 7  |-  ran  (
a  e.  RR+  |->  ( `' D " ( 0 [,) a ) ) )  =  ran  (
b  e.  RR+  |->  ( `' D " ( 0 [,) b ) ) )
4941, 48eqtri 2463 . . . . . 6  |-  F  =  ran  ( b  e.  RR+  |->  ( `' D " ( 0 [,) b
) ) )
5049metustelOLD 20138 . . . . 5  |-  ( D  e.  ( *Met `  X )  ->  ( B  e.  F  <->  E. b  e.  RR+  B  =  ( `' D " ( 0 [,) b ) ) ) )
5150biimpa 484 . . . 4  |-  ( ( D  e.  ( *Met `  X )  /\  B  e.  F
)  ->  E. b  e.  RR+  B  =  ( `' D " ( 0 [,) b ) ) )
52513adant2 1007 . . 3  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  F  /\  B  e.  F
)  ->  E. b  e.  RR+  B  =  ( `' D " ( 0 [,) b ) ) )
53 reeanv 2900 . . 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 664 . 2  |-  ( ( D  e.  ( *Met `  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.29_2a 2876 1  |-  ( ( D  e.  ( *Met `  X )  /\  A  e.  F  /\  B  e.  F
)  ->  ( A  C_  B  \/  B  C_  A ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    \/ wo 368    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756   E.wrex 2728    C_ wss 3340   class class class wbr 4304    e. cmpt 4362   `'ccnv 4851   ran crn 4853   "cima 4855   ` cfv 5430  (class class class)co 6103   RRcr 9293   0cc0 9294   RR*cxr 9429    <_ cle 9431   RR+crp 11003   [,)cico 11314   *Metcxmt 17813
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4425  ax-nul 4433  ax-pow 4482  ax-pr 4543  ax-un 6384  ax-cnex 9350  ax-resscn 9351  ax-1cn 9352  ax-icn 9353  ax-addcl 9354  ax-addrcl 9355  ax-mulcl 9356  ax-mulrcl 9357  ax-i2m1 9362  ax-1ne0 9363  ax-rnegex 9365  ax-rrecex 9366  ax-cnre 9367  ax-pre-lttri 9368  ax-pre-lttrn 9369
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2620  df-nel 2621  df-ral 2732  df-rex 2733  df-rab 2736  df-v 2986  df-sbc 3199  df-csb 3301  df-dif 3343  df-un 3345  df-in 3347  df-ss 3354  df-nul 3650  df-if 3804  df-pw 3874  df-sn 3890  df-pr 3892  df-op 3896  df-uni 4104  df-iun 4185  df-br 4305  df-opab 4363  df-mpt 4364  df-id 4648  df-po 4653  df-so 4654  df-xp 4858  df-rel 4859  df-cnv 4860  df-co 4861  df-dm 4862  df-rn 4863  df-res 4864  df-ima 4865  df-iota 5393  df-fun 5432  df-fn 5433  df-f 5434  df-f1 5435  df-fo 5436  df-f1o 5437  df-fv 5438  df-ov 6106  df-oprab 6107  df-mpt2 6108  df-1st 6589  df-2nd 6590  df-er 7113  df-en 7323  df-dom 7324  df-sdom 7325  df-pnf 9432  df-mnf 9433  df-xr 9434  df-ltxr 9435  df-le 9436  df-rp 11004  df-ico 11318
This theorem is referenced by:  metustfbasOLD  20152
  Copyright terms: Public domain W3C validator