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

Theorem xmetxp 13301
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 2170 . . . . 5  |-  ( MetOpen `  M )  =  (
MetOpen `  M )
32mopnm 13242 . . . 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 2170 . . . . 5  |-  ( MetOpen `  N )  =  (
MetOpen `  N )
76mopnm 13242 . . . 4  |-  ( N  e.  ( *Met `  Y )  ->  Y  e.  ( MetOpen `  N )
)
85, 7syl 14 . . 3  |-  ( ph  ->  Y  e.  ( MetOpen `  N ) )
9 xpexg 4725 . . 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 6144 . . . . . . 7  |-  ( r  e.  ( X  X.  Y )  ->  ( 1st `  r )  e.  X )
1312ad2antrl 487 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( 1st `  r
)  e.  X )
14 xp1st 6144 . . . . . . 7  |-  ( s  e.  ( X  X.  Y )  ->  ( 1st `  s )  e.  X )
1514ad2antll 488 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( 1st `  s
)  e.  X )
16 xmetcl 13146 . . . . . 6  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  r
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR* )
1711, 13, 15, 16syl3anc 1233 . . . . 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 6145 . . . . . . 7  |-  ( r  e.  ( X  X.  Y )  ->  ( 2nd `  r )  e.  Y )
2019ad2antrl 487 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  r
)  e.  Y )
21 xp2nd 6145 . . . . . . 7  |-  ( s  e.  ( X  X.  Y )  ->  ( 2nd `  s )  e.  Y )
2221ad2antll 488 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  s
)  e.  Y )
23 xmetcl 13146 . . . . . 6  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  r
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  e. 
RR* )
2418, 20, 22, 23syl3anc 1233 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  e. 
RR* )
25 xrmaxcl 11215 . . . . 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 2552 . . 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 5496 . . . . . . . . 9  |-  ( u  =  r  ->  ( 1st `  u )  =  ( 1st `  r
) )
3029oveq1d 5868 . . . . . . . 8  |-  ( u  =  r  ->  (
( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  r
) M ( 1st `  v ) ) )
31 fveq2 5496 . . . . . . . . 9  |-  ( u  =  r  ->  ( 2nd `  u )  =  ( 2nd `  r
) )
3231oveq1d 5868 . . . . . . . 8  |-  ( u  =  r  ->  (
( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  r
) N ( 2nd `  v ) ) )
3330, 32preq12d 3668 . . . . . . 7  |-  ( u  =  r  ->  { ( ( 1st `  u
) M ( 1st `  v ) ) ,  ( ( 2nd `  u
) N ( 2nd `  v ) ) }  =  { ( ( 1st `  r ) M ( 1st `  v
) ) ,  ( ( 2nd `  r
) N ( 2nd `  v ) ) } )
3433supeq1d 6964 . . . . . 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 5496 . . . . . . . . 9  |-  ( v  =  s  ->  ( 1st `  v )  =  ( 1st `  s
) )
3635oveq2d 5869 . . . . . . . 8  |-  ( v  =  s  ->  (
( 1st `  r
) M ( 1st `  v ) )  =  ( ( 1st `  r
) M ( 1st `  s ) ) )
37 fveq2 5496 . . . . . . . . 9  |-  ( v  =  s  ->  ( 2nd `  v )  =  ( 2nd `  s
) )
3837oveq2d 5869 . . . . . . . 8  |-  ( v  =  s  ->  (
( 2nd `  r
) N ( 2nd `  v ) )  =  ( ( 2nd `  r
) N ( 2nd `  s ) ) )
3936, 38preq12d 3668 . . . . . . 7  |-  ( v  =  s  ->  { ( ( 1st `  r
) M ( 1st `  v ) ) ,  ( ( 2nd `  r
) N ( 2nd `  v ) ) }  =  { ( ( 1st `  r ) M ( 1st `  s
) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } )
4039supeq1d 6964 . . . . . 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 5933 . . . . 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 2191 . . . 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 6180 . . 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 526 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
r  e.  ( X  X.  Y ) )
46 simprr 527 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
s  e.  ( X  X.  Y ) )
4734, 40, 28ovmpog 5987 . . . . . . . 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 1233 . . . . . . 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 2247 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( r P s )  e.  RR* )
50 0xr 7966 . . . . . . 7  |-  0  e.  RR*
5150a1i 9 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  e.  RR* )
52 xrletri3 9761 . . . . . 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 13159 . . . . . . . . 9  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  r
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
0  <_  ( ( 1st `  r ) M ( 1st `  s
) ) )
5511, 13, 15, 54syl3anc 1233 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  <_  ( ( 1st `  r ) M ( 1st `  s
) ) )
56 xrmax1sup 11216 . . . . . . . . 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 9769 . . . . . . 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 4017 . . . . . 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 3999 . . . 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 11222 . . . . 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 1233 . . . 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 9761 . . . . . 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 13159 . . . . . . 7  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  r
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
0  <_  ( ( 2nd `  r ) N ( 2nd `  s
) ) )
7118, 20, 22, 70syl3anc 1233 . . . . . 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 9761 . . . . . 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 470 . . 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 13153 . . . . . 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 1233 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  r ) M ( 1st `  s ) )  =  0  <->  ( 1st `  r )  =  ( 1st `  s
) ) )
79 xmeteq0 13153 . . . . . 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 1233 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 2nd `  r ) N ( 2nd `  s ) )  =  0  <->  ( 2nd `  r )  =  ( 2nd `  s
) ) )
8178, 80anbi12d 470 . . . 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 6155 . . . . 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 1153 . . 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 1153 . . . . 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 1000 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
t  e.  ( X  X.  Y ) )
90 xp1st 6144 . . . . . . . 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 998 . . . . . . . 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 13146 . . . . . . 7  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  t
)  e.  X  /\  ( 1st `  r )  e.  X )  -> 
( ( 1st `  t
) M ( 1st `  r ) )  e. 
RR* )
9588, 91, 93, 94syl3anc 1233 . . . . . 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 1153 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 1st `  s
)  e.  X )
97 xmetcl 13146 . . . . . . 7  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  t
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
( ( 1st `  t
) M ( 1st `  s ) )  e. 
RR* )
9888, 91, 96, 97syl3anc 1233 . . . . . 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 9841 . . . . 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 6145 . . . . . . . . . . 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 13146 . . . . . . . . . 10  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  t
)  e.  Y  /\  ( 2nd `  r )  e.  Y )  -> 
( ( 2nd `  t
) N ( 2nd `  r ) )  e. 
RR* )
105100, 102, 103, 104syl3anc 1233 . . . . . . . . 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 11215 . . . . . . . . 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 5496 . . . . . . . . . . . 12  |-  ( u  =  t  ->  ( 1st `  u )  =  ( 1st `  t
) )
109 fveq2 5496 . . . . . . . . . . . 12  |-  ( v  =  r  ->  ( 1st `  v )  =  ( 1st `  r
) )
110108, 109oveqan12d 5872 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  r )  ->  ( ( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  t
) M ( 1st `  r ) ) )
111 fveq2 5496 . . . . . . . . . . . 12  |-  ( u  =  t  ->  ( 2nd `  u )  =  ( 2nd `  t
) )
112 fveq2 5496 . . . . . . . . . . . 12  |-  ( v  =  r  ->  ( 2nd `  v )  =  ( 2nd `  r
) )
113111, 112oveqan12d 5872 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  r )  ->  ( ( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  t
) N ( 2nd `  r ) ) )
114110, 113preq12d 3668 . . . . . . . . . 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 6964 . . . . . . . . 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 5982 . . . . . . . 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 1233 . . . . . . 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 2247 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( t P r )  e.  RR* )
119 simpr2 999 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
s  e.  ( X  X.  Y ) )
120223adantr3 1153 . . . . . . . . . 10  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  s
)  e.  Y )
121 xmetcl 13146 . . . . . . . . . 10  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  t
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
( ( 2nd `  t
) N ( 2nd `  s ) )  e. 
RR* )
122100, 102, 120, 121syl3anc 1233 . . . . . . . . 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 11215 . . . . . . . . 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 5872 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  s )  ->  ( ( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  t
) M ( 1st `  s ) ) )
126111, 37oveqan12d 5872 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  s )  ->  ( ( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  t
) N ( 2nd `  s ) ) )
127125, 126preq12d 3668 . . . . . . . . . 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 6964 . . . . . . . . 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 5982 . . . . . . . 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 1233 . . . . . . 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 2247 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( t P s )  e.  RR* )
132118, 131xaddcld 9841 . . . . 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 13155 . . . . . 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 1235 . . . . 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 11216 . . . . . . . 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 4017 . . . . . 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 11216 . . . . . . . 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 4017 . . . . . 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 9836 . . . . . . 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 1234 . . . . . 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 431 . . . . 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 9769 . . . 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 1153 . . . . 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 9841 . . . . 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 13155 . . . . . 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 1235 . . . . 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 11217 . . . . . . . 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 4017 . . . . . 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 11217 . . . . . . . 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 4017 . . . . . 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 9836 . . . . . . 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 1234 . . . . . 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 431 . . . . 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 9769 . . . 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 11222 . . . . 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 1233 . . . 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 939 . . 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 4011 . 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 13141 1  |-  ( ph  ->  P  e.  ( *Met `  ( X  X.  Y ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    /\ w3a 973    = wceq 1348    e. wcel 2141   A.wral 2448   _Vcvv 2730   {cpr 3584   class class class wbr 3989    X. cxp 4609   -->wf 5194   ` cfv 5198  (class class class)co 5853    e. cmpo 5855   1stc1st 6117   2ndc2nd 6118   supcsup 6959   0cc0 7774   RR*cxr 7953    < clt 7954    <_ cle 7955   +ecxad 9727   *Metcxmet 12774   MetOpencmopn 12779
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-1re 7868  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-mulrcl 7873  ax-addcom 7874  ax-mulcom 7875  ax-addass 7876  ax-mulass 7877  ax-distr 7878  ax-i2m1 7879  ax-0lt1 7880  ax-1rid 7881  ax-0id 7882  ax-rnegex 7883  ax-precex 7884  ax-cnre 7885  ax-pre-ltirr 7886  ax-pre-ltwlin 7887  ax-pre-lttrn 7888  ax-pre-apti 7889  ax-pre-ltadd 7890  ax-pre-mulgt0 7891  ax-pre-mulext 7892  ax-arch 7893  ax-caucvg 7894
This theorem depends on definitions:  df-bi 116  df-stab 826  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rmo 2456  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-po 4281  df-iso 4282  df-iord 4351  df-on 4353  df-ilim 4354  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-isom 5207  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-frec 6370  df-map 6628  df-sup 6961  df-inf 6962  df-pnf 7956  df-mnf 7957  df-xr 7958  df-ltxr 7959  df-le 7960  df-sub 8092  df-neg 8093  df-reap 8494  df-ap 8501  df-div 8590  df-inn 8879  df-2 8937  df-3 8938  df-4 8939  df-n0 9136  df-z 9213  df-uz 9488  df-q 9579  df-rp 9611  df-xneg 9729  df-xadd 9730  df-seqfrec 10402  df-exp 10476  df-cj 10806  df-re 10807  df-im 10808  df-rsqrt 10962  df-abs 10963  df-topgen 12600  df-psmet 12781  df-xmet 12782  df-bl 12784  df-mopn 12785  df-top 12790  df-topon 12803  df-bases 12835
This theorem is referenced by:  xmetxpbl  13302  xmettxlem  13303  xmettx  13304  txmetcnp  13312
  Copyright terms: Public domain W3C validator