ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  xmetxp Unicode version

Theorem xmetxp 13147
Description: The maximum metric (Chebyshev distance) on the product of two sets. (Contributed by Jim Kingdon, 11-Oct-2023.)
Hypotheses
Ref Expression
xmetxp.p  |-  P  =  ( u  e.  ( X  X.  Y ) ,  v  e.  ( X  X.  Y ) 
|->  sup ( { ( ( 1st `  u
) M ( 1st `  v ) ) ,  ( ( 2nd `  u
) N ( 2nd `  v ) ) } ,  RR* ,  <  )
)
xmetxp.1  |-  ( ph  ->  M  e.  ( *Met `  X ) )
xmetxp.2  |-  ( ph  ->  N  e.  ( *Met `  Y ) )
Assertion
Ref Expression
xmetxp  |-  ( ph  ->  P  e.  ( *Met `  ( X  X.  Y ) ) )
Distinct variable groups:    u, M, v   
u, N, v    u, X, v    u, Y, v
Allowed substitution hints:    ph( v, u)    P( v, u)

Proof of Theorem xmetxp
Dummy variables  r  s  t are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xmetxp.1 . . . 4  |-  ( ph  ->  M  e.  ( *Met `  X ) )
2 eqid 2165 . . . . 5  |-  ( MetOpen `  M )  =  (
MetOpen `  M )
32mopnm 13088 . . . 4  |-  ( M  e.  ( *Met `  X )  ->  X  e.  ( MetOpen `  M )
)
41, 3syl 14 . . 3  |-  ( ph  ->  X  e.  ( MetOpen `  M ) )
5 xmetxp.2 . . . 4  |-  ( ph  ->  N  e.  ( *Met `  Y ) )
6 eqid 2165 . . . . 5  |-  ( MetOpen `  N )  =  (
MetOpen `  N )
76mopnm 13088 . . . 4  |-  ( N  e.  ( *Met `  Y )  ->  Y  e.  ( MetOpen `  N )
)
85, 7syl 14 . . 3  |-  ( ph  ->  Y  e.  ( MetOpen `  N ) )
9 xpexg 4718 . . 3  |-  ( ( X  e.  ( MetOpen `  M )  /\  Y  e.  ( MetOpen `  N )
)  ->  ( X  X.  Y )  e.  _V )
104, 8, 9syl2anc 409 . 2  |-  ( ph  ->  ( X  X.  Y
)  e.  _V )
111adantr 274 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  ->  M  e.  ( *Met `  X ) )
12 xp1st 6133 . . . . . . 7  |-  ( r  e.  ( X  X.  Y )  ->  ( 1st `  r )  e.  X )
1312ad2antrl 482 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( 1st `  r
)  e.  X )
14 xp1st 6133 . . . . . . 7  |-  ( s  e.  ( X  X.  Y )  ->  ( 1st `  s )  e.  X )
1514ad2antll 483 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( 1st `  s
)  e.  X )
16 xmetcl 12992 . . . . . 6  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  r
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR* )
1711, 13, 15, 16syl3anc 1228 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR* )
185adantr 274 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  ->  N  e.  ( *Met `  Y ) )
19 xp2nd 6134 . . . . . . 7  |-  ( r  e.  ( X  X.  Y )  ->  ( 2nd `  r )  e.  Y )
2019ad2antrl 482 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  r
)  e.  Y )
21 xp2nd 6134 . . . . . . 7  |-  ( s  e.  ( X  X.  Y )  ->  ( 2nd `  s )  e.  Y )
2221ad2antll 483 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  s
)  e.  Y )
23 xmetcl 12992 . . . . . 6  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  r
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  e. 
RR* )
2418, 20, 22, 23syl3anc 1228 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  e. 
RR* )
25 xrmaxcl 11193 . . . . 5  |-  ( ( ( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR*  /\  ( ( 2nd `  r ) N ( 2nd `  s
) )  e.  RR* )  ->  sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  e.  RR* )
2617, 24, 25syl2anc 409 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  ->  sup ( { ( ( 1st `  r ) M ( 1st `  s
) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  e.  RR* )
2726ralrimivva 2548 . . 3  |-  ( ph  ->  A. r  e.  ( X  X.  Y ) A. s  e.  ( X  X.  Y ) sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  e.  RR* )
28 xmetxp.p . . . . 5  |-  P  =  ( u  e.  ( X  X.  Y ) ,  v  e.  ( X  X.  Y ) 
|->  sup ( { ( ( 1st `  u
) M ( 1st `  v ) ) ,  ( ( 2nd `  u
) N ( 2nd `  v ) ) } ,  RR* ,  <  )
)
29 fveq2 5486 . . . . . . . . 9  |-  ( u  =  r  ->  ( 1st `  u )  =  ( 1st `  r
) )
3029oveq1d 5857 . . . . . . . 8  |-  ( u  =  r  ->  (
( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  r
) M ( 1st `  v ) ) )
31 fveq2 5486 . . . . . . . . 9  |-  ( u  =  r  ->  ( 2nd `  u )  =  ( 2nd `  r
) )
3231oveq1d 5857 . . . . . . . 8  |-  ( u  =  r  ->  (
( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  r
) N ( 2nd `  v ) ) )
3330, 32preq12d 3661 . . . . . . 7  |-  ( u  =  r  ->  { ( ( 1st `  u
) M ( 1st `  v ) ) ,  ( ( 2nd `  u
) N ( 2nd `  v ) ) }  =  { ( ( 1st `  r ) M ( 1st `  v
) ) ,  ( ( 2nd `  r
) N ( 2nd `  v ) ) } )
3433supeq1d 6952 . . . . . 6  |-  ( u  =  r  ->  sup ( { ( ( 1st `  u ) M ( 1st `  v ) ) ,  ( ( 2nd `  u ) N ( 2nd `  v
) ) } ,  RR* ,  <  )  =  sup ( { ( ( 1st `  r
) M ( 1st `  v ) ) ,  ( ( 2nd `  r
) N ( 2nd `  v ) ) } ,  RR* ,  <  )
)
35 fveq2 5486 . . . . . . . . 9  |-  ( v  =  s  ->  ( 1st `  v )  =  ( 1st `  s
) )
3635oveq2d 5858 . . . . . . . 8  |-  ( v  =  s  ->  (
( 1st `  r
) M ( 1st `  v ) )  =  ( ( 1st `  r
) M ( 1st `  s ) ) )
37 fveq2 5486 . . . . . . . . 9  |-  ( v  =  s  ->  ( 2nd `  v )  =  ( 2nd `  s
) )
3837oveq2d 5858 . . . . . . . 8  |-  ( v  =  s  ->  (
( 2nd `  r
) N ( 2nd `  v ) )  =  ( ( 2nd `  r
) N ( 2nd `  s ) ) )
3936, 38preq12d 3661 . . . . . . 7  |-  ( v  =  s  ->  { ( ( 1st `  r
) M ( 1st `  v ) ) ,  ( ( 2nd `  r
) N ( 2nd `  v ) ) }  =  { ( ( 1st `  r ) M ( 1st `  s
) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } )
4039supeq1d 6952 . . . . . 6  |-  ( v  =  s  ->  sup ( { ( ( 1st `  r ) M ( 1st `  v ) ) ,  ( ( 2nd `  r ) N ( 2nd `  v
) ) } ,  RR* ,  <  )  =  sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
4134, 40cbvmpov 5922 . . . . 5  |-  ( u  e.  ( X  X.  Y ) ,  v  e.  ( X  X.  Y )  |->  sup ( { ( ( 1st `  u ) M ( 1st `  v ) ) ,  ( ( 2nd `  u ) N ( 2nd `  v
) ) } ,  RR* ,  <  ) )  =  ( r  e.  ( X  X.  Y
) ,  s  e.  ( X  X.  Y
)  |->  sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
4228, 41eqtri 2186 . . . 4  |-  P  =  ( r  e.  ( X  X.  Y ) ,  s  e.  ( X  X.  Y ) 
|->  sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
4342fmpo 6169 . . 3  |-  ( A. r  e.  ( X  X.  Y ) A. s  e.  ( X  X.  Y
) sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  e.  RR*  <->  P : ( ( X  X.  Y )  X.  ( X  X.  Y ) ) --> RR* )
4427, 43sylib 121 . 2  |-  ( ph  ->  P : ( ( X  X.  Y )  X.  ( X  X.  Y ) ) --> RR* )
45 simprl 521 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
r  e.  ( X  X.  Y ) )
46 simprr 522 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
s  e.  ( X  X.  Y ) )
4734, 40, 28ovmpog 5976 . . . . . . . 8  |-  ( ( r  e.  ( X  X.  Y )  /\  s  e.  ( X  X.  Y )  /\  sup ( { ( ( 1st `  r ) M ( 1st `  s ) ) ,  ( ( 2nd `  r ) N ( 2nd `  s
) ) } ,  RR* ,  <  )  e. 
RR* )  ->  (
r P s )  =  sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
4845, 46, 26, 47syl3anc 1228 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( r P s )  =  sup ( { ( ( 1st `  r ) M ( 1st `  s ) ) ,  ( ( 2nd `  r ) N ( 2nd `  s
) ) } ,  RR* ,  <  ) )
4948, 26eqeltrd 2243 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( r P s )  e.  RR* )
50 0xr 7945 . . . . . . 7  |-  0  e.  RR*
5150a1i 9 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  e.  RR* )
52 xrletri3 9740 . . . . . 6  |-  ( ( ( r P s )  e.  RR*  /\  0  e.  RR* )  ->  (
( r P s )  =  0  <->  (
( r P s )  <_  0  /\  0  <_  ( r P s ) ) ) )
5349, 51, 52syl2anc 409 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( r P s )  =  0  <-> 
( ( r P s )  <_  0  /\  0  <_  ( r P s ) ) ) )
54 xmetge0 13005 . . . . . . . . 9  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  r
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
0  <_  ( ( 1st `  r ) M ( 1st `  s
) ) )
5511, 13, 15, 54syl3anc 1228 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  <_  ( ( 1st `  r ) M ( 1st `  s
) ) )
56 xrmax1sup 11194 . . . . . . . . 9  |-  ( ( ( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR*  /\  ( ( 2nd `  r ) N ( 2nd `  s
) )  e.  RR* )  ->  ( ( 1st `  r ) M ( 1st `  s ) )  <_  sup ( { ( ( 1st `  r ) M ( 1st `  s ) ) ,  ( ( 2nd `  r ) N ( 2nd `  s
) ) } ,  RR* ,  <  ) )
5717, 24, 56syl2anc 409 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  r
) M ( 1st `  s ) )  <_  sup ( { ( ( 1st `  r ) M ( 1st `  s
) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
5851, 17, 26, 55, 57xrletrd 9748 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  <_  sup ( { ( ( 1st `  r ) M ( 1st `  s ) ) ,  ( ( 2nd `  r ) N ( 2nd `  s
) ) } ,  RR* ,  <  ) )
5958, 48breqtrrd 4010 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  <_  ( r P s ) )
6059biantrud 302 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( r P s )  <_  0  <->  ( ( r P s )  <_  0  /\  0  <_  ( r P s ) ) ) )
6153, 60bitr4d 190 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( r P s )  =  0  <-> 
( r P s )  <_  0 ) )
6248breq1d 3992 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( r P s )  <_  0  <->  sup ( { ( ( 1st `  r ) M ( 1st `  s
) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  <_  0 ) )
63 xrmaxlesup 11200 . . . . 5  |-  ( ( ( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR*  /\  ( ( 2nd `  r ) N ( 2nd `  s
) )  e.  RR*  /\  0  e.  RR* )  ->  ( sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  <_  0  <->  ( ( ( 1st `  r ) M ( 1st `  s
) )  <_  0  /\  ( ( 2nd `  r
) N ( 2nd `  s ) )  <_ 
0 ) ) )
6417, 24, 51, 63syl3anc 1228 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  <_  0  <->  ( ( ( 1st `  r ) M ( 1st `  s
) )  <_  0  /\  ( ( 2nd `  r
) N ( 2nd `  s ) )  <_ 
0 ) ) )
6561, 62, 643bitrd 213 . . 3  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( r P s )  =  0  <-> 
( ( ( 1st `  r ) M ( 1st `  s ) )  <_  0  /\  ( ( 2nd `  r
) N ( 2nd `  s ) )  <_ 
0 ) ) )
6655biantrud 302 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  r ) M ( 1st `  s ) )  <_  0  <->  ( (
( 1st `  r
) M ( 1st `  s ) )  <_ 
0  /\  0  <_  ( ( 1st `  r
) M ( 1st `  s ) ) ) ) )
67 xrletri3 9740 . . . . . 6  |-  ( ( ( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR*  /\  0  e.  RR* )  ->  ( (
( 1st `  r
) M ( 1st `  s ) )  =  0  <->  ( ( ( 1st `  r ) M ( 1st `  s
) )  <_  0  /\  0  <_  ( ( 1st `  r ) M ( 1st `  s
) ) ) ) )
6817, 51, 67syl2anc 409 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  r ) M ( 1st `  s ) )  =  0  <->  (
( ( 1st `  r
) M ( 1st `  s ) )  <_ 
0  /\  0  <_  ( ( 1st `  r
) M ( 1st `  s ) ) ) ) )
6966, 68bitr4d 190 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  r ) M ( 1st `  s ) )  <_  0  <->  ( ( 1st `  r ) M ( 1st `  s
) )  =  0 ) )
70 xmetge0 13005 . . . . . . 7  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  r
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
0  <_  ( ( 2nd `  r ) N ( 2nd `  s
) ) )
7118, 20, 22, 70syl3anc 1228 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  <_  ( ( 2nd `  r ) N ( 2nd `  s
) ) )
7271biantrud 302 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 2nd `  r ) N ( 2nd `  s ) )  <_  0  <->  ( (
( 2nd `  r
) N ( 2nd `  s ) )  <_ 
0  /\  0  <_  ( ( 2nd `  r
) N ( 2nd `  s ) ) ) ) )
73 xrletri3 9740 . . . . . 6  |-  ( ( ( ( 2nd `  r
) N ( 2nd `  s ) )  e. 
RR*  /\  0  e.  RR* )  ->  ( (
( 2nd `  r
) N ( 2nd `  s ) )  =  0  <->  ( ( ( 2nd `  r ) N ( 2nd `  s
) )  <_  0  /\  0  <_  ( ( 2nd `  r ) N ( 2nd `  s
) ) ) ) )
7424, 51, 73syl2anc 409 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 2nd `  r ) N ( 2nd `  s ) )  =  0  <->  (
( ( 2nd `  r
) N ( 2nd `  s ) )  <_ 
0  /\  0  <_  ( ( 2nd `  r
) N ( 2nd `  s ) ) ) ) )
7572, 74bitr4d 190 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 2nd `  r ) N ( 2nd `  s ) )  <_  0  <->  ( ( 2nd `  r ) N ( 2nd `  s
) )  =  0 ) )
7669, 75anbi12d 465 . . 3  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( ( 1st `  r ) M ( 1st `  s
) )  <_  0  /\  ( ( 2nd `  r
) N ( 2nd `  s ) )  <_ 
0 )  <->  ( (
( 1st `  r
) M ( 1st `  s ) )  =  0  /\  ( ( 2nd `  r ) N ( 2nd `  s
) )  =  0 ) ) )
77 xmeteq0 12999 . . . . . 6  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  r
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
( ( ( 1st `  r ) M ( 1st `  s ) )  =  0  <->  ( 1st `  r )  =  ( 1st `  s
) ) )
7811, 13, 15, 77syl3anc 1228 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  r ) M ( 1st `  s ) )  =  0  <->  ( 1st `  r )  =  ( 1st `  s
) ) )
79 xmeteq0 12999 . . . . . 6  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  r
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
( ( ( 2nd `  r ) N ( 2nd `  s ) )  =  0  <->  ( 2nd `  r )  =  ( 2nd `  s
) ) )
8018, 20, 22, 79syl3anc 1228 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 2nd `  r ) N ( 2nd `  s ) )  =  0  <->  ( 2nd `  r )  =  ( 2nd `  s
) ) )
8178, 80anbi12d 465 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( ( 1st `  r ) M ( 1st `  s
) )  =  0  /\  ( ( 2nd `  r ) N ( 2nd `  s ) )  =  0 )  <-> 
( ( 1st `  r
)  =  ( 1st `  s )  /\  ( 2nd `  r )  =  ( 2nd `  s
) ) ) )
82 xpopth 6144 . . . . 5  |-  ( ( r  e.  ( X  X.  Y )  /\  s  e.  ( X  X.  Y ) )  -> 
( ( ( 1st `  r )  =  ( 1st `  s )  /\  ( 2nd `  r
)  =  ( 2nd `  s ) )  <->  r  =  s ) )
8382adantl 275 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  r )  =  ( 1st `  s )  /\  ( 2nd `  r
)  =  ( 2nd `  s ) )  <->  r  =  s ) )
8481, 83bitrd 187 . . 3  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( ( 1st `  r ) M ( 1st `  s
) )  =  0  /\  ( ( 2nd `  r ) N ( 2nd `  s ) )  =  0 )  <-> 
r  =  s ) )
8565, 76, 843bitrd 213 . 2  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( r P s )  =  0  <-> 
r  =  s ) )
86483adantr3 1148 . . 3  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( r P s )  =  sup ( { ( ( 1st `  r ) M ( 1st `  s ) ) ,  ( ( 2nd `  r ) N ( 2nd `  s
) ) } ,  RR* ,  <  ) )
87173adantr3 1148 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR* )
881adantr 274 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  ->  M  e.  ( *Met `  X ) )
89 simpr3 995 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
t  e.  ( X  X.  Y ) )
90 xp1st 6133 . . . . . . . 8  |-  ( t  e.  ( X  X.  Y )  ->  ( 1st `  t )  e.  X )
9189, 90syl 14 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 1st `  t
)  e.  X )
92 simpr1 993 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
r  e.  ( X  X.  Y ) )
9392, 12syl 14 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 1st `  r
)  e.  X )
94 xmetcl 12992 . . . . . . 7  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  t
)  e.  X  /\  ( 1st `  r )  e.  X )  -> 
( ( 1st `  t
) M ( 1st `  r ) )  e. 
RR* )
9588, 91, 93, 94syl3anc 1228 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  t
) M ( 1st `  r ) )  e. 
RR* )
96153adantr3 1148 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 1st `  s
)  e.  X )
97 xmetcl 12992 . . . . . . 7  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  t
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
( ( 1st `  t
) M ( 1st `  s ) )  e. 
RR* )
9888, 91, 96, 97syl3anc 1228 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  t
) M ( 1st `  s ) )  e. 
RR* )
9995, 98xaddcld 9820 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  t ) M ( 1st `  r ) ) +e ( ( 1st `  t
) M ( 1st `  s ) ) )  e.  RR* )
1005adantr 274 . . . . . . . . . 10  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  ->  N  e.  ( *Met `  Y ) )
101 xp2nd 6134 . . . . . . . . . . 11  |-  ( t  e.  ( X  X.  Y )  ->  ( 2nd `  t )  e.  Y )
10289, 101syl 14 . . . . . . . . . 10  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  t
)  e.  Y )
10392, 19syl 14 . . . . . . . . . 10  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  r
)  e.  Y )
104 xmetcl 12992 . . . . . . . . . 10  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  t
)  e.  Y  /\  ( 2nd `  r )  e.  Y )  -> 
( ( 2nd `  t
) N ( 2nd `  r ) )  e. 
RR* )
105100, 102, 103, 104syl3anc 1228 . . . . . . . . 9  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  t
) N ( 2nd `  r ) )  e. 
RR* )
106 xrmaxcl 11193 . . . . . . . . 9  |-  ( ( ( ( 1st `  t
) M ( 1st `  r ) )  e. 
RR*  /\  ( ( 2nd `  t ) N ( 2nd `  r
) )  e.  RR* )  ->  sup ( { ( ( 1st `  t
) M ( 1st `  r ) ) ,  ( ( 2nd `  t
) N ( 2nd `  r ) ) } ,  RR* ,  <  )  e.  RR* )
10795, 105, 106syl2anc 409 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  ->  sup ( { ( ( 1st `  t ) M ( 1st `  r
) ) ,  ( ( 2nd `  t
) N ( 2nd `  r ) ) } ,  RR* ,  <  )  e.  RR* )
108 fveq2 5486 . . . . . . . . . . . 12  |-  ( u  =  t  ->  ( 1st `  u )  =  ( 1st `  t
) )
109 fveq2 5486 . . . . . . . . . . . 12  |-  ( v  =  r  ->  ( 1st `  v )  =  ( 1st `  r
) )
110108, 109oveqan12d 5861 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  r )  ->  ( ( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  t
) M ( 1st `  r ) ) )
111 fveq2 5486 . . . . . . . . . . . 12  |-  ( u  =  t  ->  ( 2nd `  u )  =  ( 2nd `  t
) )
112 fveq2 5486 . . . . . . . . . . . 12  |-  ( v  =  r  ->  ( 2nd `  v )  =  ( 2nd `  r
) )
113111, 112oveqan12d 5861 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  r )  ->  ( ( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  t
) N ( 2nd `  r ) ) )
114110, 113preq12d 3661 . . . . . . . . . 10  |-  ( ( u  =  t  /\  v  =  r )  ->  { ( ( 1st `  u ) M ( 1st `  v ) ) ,  ( ( 2nd `  u ) N ( 2nd `  v
) ) }  =  { ( ( 1st `  t ) M ( 1st `  r ) ) ,  ( ( 2nd `  t ) N ( 2nd `  r
) ) } )
115114supeq1d 6952 . . . . . . . . 9  |-  ( ( u  =  t  /\  v  =  r )  ->  sup ( { ( ( 1st `  u
) M ( 1st `  v ) ) ,  ( ( 2nd `  u
) N ( 2nd `  v ) ) } ,  RR* ,  <  )  =  sup ( { ( ( 1st `  t
) M ( 1st `  r ) ) ,  ( ( 2nd `  t
) N ( 2nd `  r ) ) } ,  RR* ,  <  )
)
116115, 28ovmpoga 5971 . . . . . . . 8  |-  ( ( t  e.  ( X  X.  Y )  /\  r  e.  ( X  X.  Y )  /\  sup ( { ( ( 1st `  t ) M ( 1st `  r ) ) ,  ( ( 2nd `  t ) N ( 2nd `  r
) ) } ,  RR* ,  <  )  e. 
RR* )  ->  (
t P r )  =  sup ( { ( ( 1st `  t
) M ( 1st `  r ) ) ,  ( ( 2nd `  t
) N ( 2nd `  r ) ) } ,  RR* ,  <  )
)
11789, 92, 107, 116syl3anc 1228 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( t P r )  =  sup ( { ( ( 1st `  t ) M ( 1st `  r ) ) ,  ( ( 2nd `  t ) N ( 2nd `  r
) ) } ,  RR* ,  <  ) )
118117, 107eqeltrd 2243 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( t P r )  e.  RR* )
119 simpr2 994 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
s  e.  ( X  X.  Y ) )
120223adantr3 1148 . . . . . . . . . 10  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  s
)  e.  Y )
121 xmetcl 12992 . . . . . . . . . 10  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  t
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
( ( 2nd `  t
) N ( 2nd `  s ) )  e. 
RR* )
122100, 102, 120, 121syl3anc 1228 . . . . . . . . 9  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  t
) N ( 2nd `  s ) )  e. 
RR* )
123 xrmaxcl 11193 . . . . . . . . 9  |-  ( ( ( ( 1st `  t
) M ( 1st `  s ) )  e. 
RR*  /\  ( ( 2nd `  t ) N ( 2nd `  s
) )  e.  RR* )  ->  sup ( { ( ( 1st `  t
) M ( 1st `  s ) ) ,  ( ( 2nd `  t
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  e.  RR* )
12498, 122, 123syl2anc 409 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  ->  sup ( { ( ( 1st `  t ) M ( 1st `  s
) ) ,  ( ( 2nd `  t
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  e.  RR* )
125108, 35oveqan12d 5861 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  s )  ->  ( ( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  t
) M ( 1st `  s ) ) )
126111, 37oveqan12d 5861 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  s )  ->  ( ( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  t
) N ( 2nd `  s ) ) )
127125, 126preq12d 3661 . . . . . . . . . 10  |-  ( ( u  =  t  /\  v  =  s )  ->  { ( ( 1st `  u ) M ( 1st `  v ) ) ,  ( ( 2nd `  u ) N ( 2nd `  v
) ) }  =  { ( ( 1st `  t ) M ( 1st `  s ) ) ,  ( ( 2nd `  t ) N ( 2nd `  s
) ) } )
128127supeq1d 6952 . . . . . . . . 9  |-  ( ( u  =  t  /\  v  =  s )  ->  sup ( { ( ( 1st `  u
) M ( 1st `  v ) ) ,  ( ( 2nd `  u
) N ( 2nd `  v ) ) } ,  RR* ,  <  )  =  sup ( { ( ( 1st `  t
) M ( 1st `  s ) ) ,  ( ( 2nd `  t
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
129128, 28ovmpoga 5971 . . . . . . . 8  |-  ( ( t  e.  ( X  X.  Y )  /\  s  e.  ( X  X.  Y )  /\  sup ( { ( ( 1st `  t ) M ( 1st `  s ) ) ,  ( ( 2nd `  t ) N ( 2nd `  s
) ) } ,  RR* ,  <  )  e. 
RR* )  ->  (
t P s )  =  sup ( { ( ( 1st `  t
) M ( 1st `  s ) ) ,  ( ( 2nd `  t
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
13089, 119, 124, 129syl3anc 1228 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( t P s )  =  sup ( { ( ( 1st `  t ) M ( 1st `  s ) ) ,  ( ( 2nd `  t ) N ( 2nd `  s
) ) } ,  RR* ,  <  ) )
131130, 124eqeltrd 2243 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( t P s )  e.  RR* )
132118, 131xaddcld 9820 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( t P r ) +e
( t P s ) )  e.  RR* )
133 xmettri2 13001 . . . . . 6  |-  ( ( M  e.  ( *Met `  X )  /\  ( ( 1st `  t )  e.  X  /\  ( 1st `  r
)  e.  X  /\  ( 1st `  s )  e.  X ) )  ->  ( ( 1st `  r ) M ( 1st `  s ) )  <_  ( (
( 1st `  t
) M ( 1st `  r ) ) +e ( ( 1st `  t ) M ( 1st `  s ) ) ) )
13488, 91, 93, 96, 133syl13anc 1230 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  r
) M ( 1st `  s ) )  <_ 
( ( ( 1st `  t ) M ( 1st `  r ) ) +e ( ( 1st `  t
) M ( 1st `  s ) ) ) )
135 xrmax1sup 11194 . . . . . . . 8  |-  ( ( ( ( 1st `  t
) M ( 1st `  r ) )  e. 
RR*  /\  ( ( 2nd `  t ) N ( 2nd `  r
) )  e.  RR* )  ->  ( ( 1st `  t ) M ( 1st `  r ) )  <_  sup ( { ( ( 1st `  t ) M ( 1st `  r ) ) ,  ( ( 2nd `  t ) N ( 2nd `  r
) ) } ,  RR* ,  <  ) )
13695, 105, 135syl2anc 409 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  t
) M ( 1st `  r ) )  <_  sup ( { ( ( 1st `  t ) M ( 1st `  r
) ) ,  ( ( 2nd `  t
) N ( 2nd `  r ) ) } ,  RR* ,  <  )
)
137136, 117breqtrrd 4010 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  t
) M ( 1st `  r ) )  <_ 
( t P r ) )
138 xrmax1sup 11194 . . . . . . . 8  |-  ( ( ( ( 1st `  t
) M ( 1st `  s ) )  e. 
RR*  /\  ( ( 2nd `  t ) N ( 2nd `  s
) )  e.  RR* )  ->  ( ( 1st `  t ) M ( 1st `  s ) )  <_  sup ( { ( ( 1st `  t ) M ( 1st `  s ) ) ,  ( ( 2nd `  t ) N ( 2nd `  s
) ) } ,  RR* ,  <  ) )
13998, 122, 138syl2anc 409 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  t
) M ( 1st `  s ) )  <_  sup ( { ( ( 1st `  t ) M ( 1st `  s
) ) ,  ( ( 2nd `  t
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
140139, 130breqtrrd 4010 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  t
) M ( 1st `  s ) )  <_ 
( t P s ) )
141 xle2add 9815 . . . . . . 7  |-  ( ( ( ( ( 1st `  t ) M ( 1st `  r ) )  e.  RR*  /\  (
( 1st `  t
) M ( 1st `  s ) )  e. 
RR* )  /\  (
( t P r )  e.  RR*  /\  (
t P s )  e.  RR* ) )  -> 
( ( ( ( 1st `  t ) M ( 1st `  r
) )  <_  (
t P r )  /\  ( ( 1st `  t ) M ( 1st `  s ) )  <_  ( t P s ) )  ->  ( ( ( 1st `  t ) M ( 1st `  r
) ) +e
( ( 1st `  t
) M ( 1st `  s ) ) )  <_  ( ( t P r ) +e ( t P s ) ) ) )
14295, 98, 118, 131, 141syl22anc 1229 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( ( ( 1st `  t ) M ( 1st `  r
) )  <_  (
t P r )  /\  ( ( 1st `  t ) M ( 1st `  s ) )  <_  ( t P s ) )  ->  ( ( ( 1st `  t ) M ( 1st `  r
) ) +e
( ( 1st `  t
) M ( 1st `  s ) ) )  <_  ( ( t P r ) +e ( t P s ) ) ) )
143137, 140, 142mp2and 430 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  t ) M ( 1st `  r ) ) +e ( ( 1st `  t
) M ( 1st `  s ) ) )  <_  ( ( t P r ) +e ( t P s ) ) )
14487, 99, 132, 134, 143xrletrd 9748 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 1st `  r
) M ( 1st `  s ) )  <_ 
( ( t P r ) +e
( t P s ) ) )
145243adantr3 1148 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  e. 
RR* )
146105, 122xaddcld 9820 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( ( 2nd `  t ) N ( 2nd `  r ) ) +e ( ( 2nd `  t
) N ( 2nd `  s ) ) )  e.  RR* )
147 xmettri2 13001 . . . . . 6  |-  ( ( N  e.  ( *Met `  Y )  /\  ( ( 2nd `  t )  e.  Y  /\  ( 2nd `  r
)  e.  Y  /\  ( 2nd `  s )  e.  Y ) )  ->  ( ( 2nd `  r ) N ( 2nd `  s ) )  <_  ( (
( 2nd `  t
) N ( 2nd `  r ) ) +e ( ( 2nd `  t ) N ( 2nd `  s ) ) ) )
148100, 102, 103, 120, 147syl13anc 1230 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  <_ 
( ( ( 2nd `  t ) N ( 2nd `  r ) ) +e ( ( 2nd `  t
) N ( 2nd `  s ) ) ) )
149 xrmax2sup 11195 . . . . . . . 8  |-  ( ( ( ( 1st `  t
) M ( 1st `  r ) )  e. 
RR*  /\  ( ( 2nd `  t ) N ( 2nd `  r
) )  e.  RR* )  ->  ( ( 2nd `  t ) N ( 2nd `  r ) )  <_  sup ( { ( ( 1st `  t ) M ( 1st `  r ) ) ,  ( ( 2nd `  t ) N ( 2nd `  r
) ) } ,  RR* ,  <  ) )
15095, 105, 149syl2anc 409 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  t
) N ( 2nd `  r ) )  <_  sup ( { ( ( 1st `  t ) M ( 1st `  r
) ) ,  ( ( 2nd `  t
) N ( 2nd `  r ) ) } ,  RR* ,  <  )
)
151150, 117breqtrrd 4010 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  t
) N ( 2nd `  r ) )  <_ 
( t P r ) )
152 xrmax2sup 11195 . . . . . . . 8  |-  ( ( ( ( 1st `  t
) M ( 1st `  s ) )  e. 
RR*  /\  ( ( 2nd `  t ) N ( 2nd `  s
) )  e.  RR* )  ->  ( ( 2nd `  t ) N ( 2nd `  s ) )  <_  sup ( { ( ( 1st `  t ) M ( 1st `  s ) ) ,  ( ( 2nd `  t ) N ( 2nd `  s
) ) } ,  RR* ,  <  ) )
15398, 122, 152syl2anc 409 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  t
) N ( 2nd `  s ) )  <_  sup ( { ( ( 1st `  t ) M ( 1st `  s
) ) ,  ( ( 2nd `  t
) N ( 2nd `  s ) ) } ,  RR* ,  <  )
)
154153, 130breqtrrd 4010 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  t
) N ( 2nd `  s ) )  <_ 
( t P s ) )
155 xle2add 9815 . . . . . . 7  |-  ( ( ( ( ( 2nd `  t ) N ( 2nd `  r ) )  e.  RR*  /\  (
( 2nd `  t
) N ( 2nd `  s ) )  e. 
RR* )  /\  (
( t P r )  e.  RR*  /\  (
t P s )  e.  RR* ) )  -> 
( ( ( ( 2nd `  t ) N ( 2nd `  r
) )  <_  (
t P r )  /\  ( ( 2nd `  t ) N ( 2nd `  s ) )  <_  ( t P s ) )  ->  ( ( ( 2nd `  t ) N ( 2nd `  r
) ) +e
( ( 2nd `  t
) N ( 2nd `  s ) ) )  <_  ( ( t P r ) +e ( t P s ) ) ) )
156105, 122, 118, 131, 155syl22anc 1229 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( ( ( 2nd `  t ) N ( 2nd `  r
) )  <_  (
t P r )  /\  ( ( 2nd `  t ) N ( 2nd `  s ) )  <_  ( t P s ) )  ->  ( ( ( 2nd `  t ) N ( 2nd `  r
) ) +e
( ( 2nd `  t
) N ( 2nd `  s ) ) )  <_  ( ( t P r ) +e ( t P s ) ) ) )
157151, 154, 156mp2and 430 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( ( 2nd `  t ) N ( 2nd `  r ) ) +e ( ( 2nd `  t
) N ( 2nd `  s ) ) )  <_  ( ( t P r ) +e ( t P s ) ) )
158145, 146, 132, 148, 157xrletrd 9748 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  <_ 
( ( t P r ) +e
( t P s ) ) )
159 xrmaxlesup 11200 . . . . 5  |-  ( ( ( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR*  /\  ( ( 2nd `  r ) N ( 2nd `  s
) )  e.  RR*  /\  ( ( t P r ) +e
( t P s ) )  e.  RR* )  ->  ( sup ( { ( ( 1st `  r ) M ( 1st `  s ) ) ,  ( ( 2nd `  r ) N ( 2nd `  s
) ) } ,  RR* ,  <  )  <_ 
( ( t P r ) +e
( t P s ) )  <->  ( (
( 1st `  r
) M ( 1st `  s ) )  <_ 
( ( t P r ) +e
( t P s ) )  /\  (
( 2nd `  r
) N ( 2nd `  s ) )  <_ 
( ( t P r ) +e
( t P s ) ) ) ) )
16087, 145, 132, 159syl3anc 1228 . . . 4  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( sup ( { ( ( 1st `  r
) M ( 1st `  s ) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  <_  ( ( t P r ) +e
( t P s ) )  <->  ( (
( 1st `  r
) M ( 1st `  s ) )  <_ 
( ( t P r ) +e
( t P s ) )  /\  (
( 2nd `  r
) N ( 2nd `  s ) )  <_ 
( ( t P r ) +e
( t P s ) ) ) ) )
161144, 158, 160mpbir2and 934 . . 3  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  ->  sup ( { ( ( 1st `  r ) M ( 1st `  s
) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } ,  RR* ,  <  )  <_  ( ( t P r ) +e
( t P s ) ) )
16286, 161eqbrtrd 4004 . 2  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( r P s )  <_  ( (
t P r ) +e ( t P s ) ) )
16310, 44, 85, 162isxmetd 12987 1  |-  ( ph  ->  P  e.  ( *Met `  ( X  X.  Y ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    /\ w3a 968    = wceq 1343    e. wcel 2136   A.wral 2444   _Vcvv 2726   {cpr 3577   class class class wbr 3982    X. cxp 4602   -->wf 5184   ` cfv 5188  (class class class)co 5842    e. cmpo 5844   1stc1st 6106   2ndc2nd 6107   supcsup 6947   0cc0 7753   RR*cxr 7932    < clt 7933    <_ cle 7934   +ecxad 9706   *Metcxmet 12620   MetOpencmopn 12625
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-mulrcl 7852  ax-addcom 7853  ax-mulcom 7854  ax-addass 7855  ax-mulass 7856  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-1rid 7860  ax-0id 7861  ax-rnegex 7862  ax-precex 7863  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-apti 7868  ax-pre-ltadd 7869  ax-pre-mulgt0 7870  ax-pre-mulext 7871  ax-arch 7872  ax-caucvg 7873
This theorem depends on definitions:  df-bi 116  df-stab 821  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-po 4274  df-iso 4275  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-isom 5197  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-frec 6359  df-map 6616  df-sup 6949  df-inf 6950  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-reap 8473  df-ap 8480  df-div 8569  df-inn 8858  df-2 8916  df-3 8917  df-4 8918  df-n0 9115  df-z 9192  df-uz 9467  df-q 9558  df-rp 9590  df-xneg 9708  df-xadd 9709  df-seqfrec 10381  df-exp 10455  df-cj 10784  df-re 10785  df-im 10786  df-rsqrt 10940  df-abs 10941  df-topgen 12577  df-psmet 12627  df-xmet 12628  df-bl 12630  df-mopn 12631  df-top 12636  df-topon 12649  df-bases 12681
This theorem is referenced by:  xmetxpbl  13148  xmettxlem  13149  xmettx  13150  txmetcnp  13158
  Copyright terms: Public domain W3C validator