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

Theorem xmetxp 12878
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 2157 . . . . 5  |-  ( MetOpen `  M )  =  (
MetOpen `  M )
32mopnm 12819 . . . 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 2157 . . . . 5  |-  ( MetOpen `  N )  =  (
MetOpen `  N )
76mopnm 12819 . . . 4  |-  ( N  e.  ( *Met `  Y )  ->  Y  e.  ( MetOpen `  N )
)
85, 7syl 14 . . 3  |-  ( ph  ->  Y  e.  ( MetOpen `  N ) )
9 xpexg 4699 . . 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 6110 . . . . . . 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 6110 . . . . . . 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 12723 . . . . . 6  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  r
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
( ( 1st `  r
) M ( 1st `  s ) )  e. 
RR* )
1711, 13, 15, 16syl3anc 1220 . . . . 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 6111 . . . . . . 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 6111 . . . . . . 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 12723 . . . . . 6  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  r
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  e. 
RR* )
2418, 20, 22, 23syl3anc 1220 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( 2nd `  r
) N ( 2nd `  s ) )  e. 
RR* )
25 xrmaxcl 11142 . . . . 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 2539 . . 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 5467 . . . . . . . . 9  |-  ( u  =  r  ->  ( 1st `  u )  =  ( 1st `  r
) )
3029oveq1d 5836 . . . . . . . 8  |-  ( u  =  r  ->  (
( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  r
) M ( 1st `  v ) ) )
31 fveq2 5467 . . . . . . . . 9  |-  ( u  =  r  ->  ( 2nd `  u )  =  ( 2nd `  r
) )
3231oveq1d 5836 . . . . . . . 8  |-  ( u  =  r  ->  (
( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  r
) N ( 2nd `  v ) ) )
3330, 32preq12d 3644 . . . . . . 7  |-  ( u  =  r  ->  { ( ( 1st `  u
) M ( 1st `  v ) ) ,  ( ( 2nd `  u
) N ( 2nd `  v ) ) }  =  { ( ( 1st `  r ) M ( 1st `  v
) ) ,  ( ( 2nd `  r
) N ( 2nd `  v ) ) } )
3433supeq1d 6927 . . . . . 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 5467 . . . . . . . . 9  |-  ( v  =  s  ->  ( 1st `  v )  =  ( 1st `  s
) )
3635oveq2d 5837 . . . . . . . 8  |-  ( v  =  s  ->  (
( 1st `  r
) M ( 1st `  v ) )  =  ( ( 1st `  r
) M ( 1st `  s ) ) )
37 fveq2 5467 . . . . . . . . 9  |-  ( v  =  s  ->  ( 2nd `  v )  =  ( 2nd `  s
) )
3837oveq2d 5837 . . . . . . . 8  |-  ( v  =  s  ->  (
( 2nd `  r
) N ( 2nd `  v ) )  =  ( ( 2nd `  r
) N ( 2nd `  s ) ) )
3936, 38preq12d 3644 . . . . . . 7  |-  ( v  =  s  ->  { ( ( 1st `  r
) M ( 1st `  v ) ) ,  ( ( 2nd `  r
) N ( 2nd `  v ) ) }  =  { ( ( 1st `  r ) M ( 1st `  s
) ) ,  ( ( 2nd `  r
) N ( 2nd `  s ) ) } )
4039supeq1d 6927 . . . . . 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 5898 . . . . 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 2178 . . . 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 6146 . . 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 5952 . . . . . . . 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 1220 . . . . . . 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 2234 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( r P s )  e.  RR* )
50 0xr 7918 . . . . . . 7  |-  0  e.  RR*
5150a1i 9 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  e.  RR* )
52 xrletri3 9702 . . . . . 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 12736 . . . . . . . . 9  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  r
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
0  <_  ( ( 1st `  r ) M ( 1st `  s
) ) )
5511, 13, 15, 54syl3anc 1220 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
0  <_  ( ( 1st `  r ) M ( 1st `  s
) ) )
56 xrmax1sup 11143 . . . . . . . . 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 9709 . . . . . . 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 3992 . . . . . 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 3975 . . . 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 11149 . . . . 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 1220 . . . 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 9702 . . . . . 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 12736 . . . . . . 7  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  r
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
0  <_  ( ( 2nd `  r ) N ( 2nd `  s
) ) )
7118, 20, 22, 70syl3anc 1220 . . . . . 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 9702 . . . . . 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 12730 . . . . . 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 1220 . . . . 5  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
) ) )  -> 
( ( ( 1st `  r ) M ( 1st `  s ) )  =  0  <->  ( 1st `  r )  =  ( 1st `  s
) ) )
79 xmeteq0 12730 . . . . . 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 1220 . . . . 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 6121 . . . . 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 1143 . . 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 1143 . . . . 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 990 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
t  e.  ( X  X.  Y ) )
90 xp1st 6110 . . . . . . . 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 988 . . . . . . . 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 12723 . . . . . . 7  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  t
)  e.  X  /\  ( 1st `  r )  e.  X )  -> 
( ( 1st `  t
) M ( 1st `  r ) )  e. 
RR* )
9588, 91, 93, 94syl3anc 1220 . . . . . 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 1143 . . . . . . 7  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 1st `  s
)  e.  X )
97 xmetcl 12723 . . . . . . 7  |-  ( ( M  e.  ( *Met `  X )  /\  ( 1st `  t
)  e.  X  /\  ( 1st `  s )  e.  X )  -> 
( ( 1st `  t
) M ( 1st `  s ) )  e. 
RR* )
9888, 91, 96, 97syl3anc 1220 . . . . . 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 9781 . . . . 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 6111 . . . . . . . . . . 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 12723 . . . . . . . . . 10  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  t
)  e.  Y  /\  ( 2nd `  r )  e.  Y )  -> 
( ( 2nd `  t
) N ( 2nd `  r ) )  e. 
RR* )
105100, 102, 103, 104syl3anc 1220 . . . . . . . . 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 11142 . . . . . . . . 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 5467 . . . . . . . . . . . 12  |-  ( u  =  t  ->  ( 1st `  u )  =  ( 1st `  t
) )
109 fveq2 5467 . . . . . . . . . . . 12  |-  ( v  =  r  ->  ( 1st `  v )  =  ( 1st `  r
) )
110108, 109oveqan12d 5840 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  r )  ->  ( ( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  t
) M ( 1st `  r ) ) )
111 fveq2 5467 . . . . . . . . . . . 12  |-  ( u  =  t  ->  ( 2nd `  u )  =  ( 2nd `  t
) )
112 fveq2 5467 . . . . . . . . . . . 12  |-  ( v  =  r  ->  ( 2nd `  v )  =  ( 2nd `  r
) )
113111, 112oveqan12d 5840 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  r )  ->  ( ( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  t
) N ( 2nd `  r ) ) )
114110, 113preq12d 3644 . . . . . . . . . 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 6927 . . . . . . . . 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 5947 . . . . . . . 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 1220 . . . . . . 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 2234 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( t P r )  e.  RR* )
119 simpr2 989 . . . . . . . 8  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
s  e.  ( X  X.  Y ) )
120223adantr3 1143 . . . . . . . . . 10  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( 2nd `  s
)  e.  Y )
121 xmetcl 12723 . . . . . . . . . 10  |-  ( ( N  e.  ( *Met `  Y )  /\  ( 2nd `  t
)  e.  Y  /\  ( 2nd `  s )  e.  Y )  -> 
( ( 2nd `  t
) N ( 2nd `  s ) )  e. 
RR* )
122100, 102, 120, 121syl3anc 1220 . . . . . . . . 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 11142 . . . . . . . . 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 5840 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  s )  ->  ( ( 1st `  u
) M ( 1st `  v ) )  =  ( ( 1st `  t
) M ( 1st `  s ) ) )
126111, 37oveqan12d 5840 . . . . . . . . . . 11  |-  ( ( u  =  t  /\  v  =  s )  ->  ( ( 2nd `  u
) N ( 2nd `  v ) )  =  ( ( 2nd `  t
) N ( 2nd `  s ) ) )
127125, 126preq12d 3644 . . . . . . . . . 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 6927 . . . . . . . . 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 5947 . . . . . . . 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 1220 . . . . . . 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 2234 . . . . . 6  |-  ( (
ph  /\  ( r  e.  ( X  X.  Y
)  /\  s  e.  ( X  X.  Y
)  /\  t  e.  ( X  X.  Y
) ) )  -> 
( t P s )  e.  RR* )
132118, 131xaddcld 9781 . . . . 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 12732 . . . . . 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 1222 . . . . 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 11143 . . . . . . . 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 3992 . . . . . 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 11143 . . . . . . . 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 3992 . . . . . 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 9776 . . . . . . 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 1221 . . . . . 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 9709 . . . 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 1143 . . . . 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 9781 . . . . 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 12732 . . . . . 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 1222 . . . . 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 11144 . . . . . . . 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 3992 . . . . . 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 11144 . . . . . . . 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 3992 . . . . . 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 9776 . . . . . . 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 1221 . . . . . 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 9709 . . . 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 11149 . . . . 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 1220 . . . 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 929 . . 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 3986 . 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 12718 1  |-  ( ph  ->  P  e.  ( *Met `  ( X  X.  Y ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    /\ w3a 963    = wceq 1335    e. wcel 2128   A.wral 2435   _Vcvv 2712   {cpr 3561   class class class wbr 3965    X. cxp 4583   -->wf 5165   ` cfv 5169  (class class class)co 5821    e. cmpo 5823   1stc1st 6083   2ndc2nd 6084   supcsup 6922   0cc0 7726   RR*cxr 7905    < clt 7906    <_ cle 7907   +ecxad 9670   *Metcxmet 12351   MetOpencmopn 12356
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 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-13 2130  ax-14 2131  ax-ext 2139  ax-coll 4079  ax-sep 4082  ax-nul 4090  ax-pow 4135  ax-pr 4169  ax-un 4393  ax-setind 4495  ax-iinf 4546  ax-cnex 7817  ax-resscn 7818  ax-1cn 7819  ax-1re 7820  ax-icn 7821  ax-addcl 7822  ax-addrcl 7823  ax-mulcl 7824  ax-mulrcl 7825  ax-addcom 7826  ax-mulcom 7827  ax-addass 7828  ax-mulass 7829  ax-distr 7830  ax-i2m1 7831  ax-0lt1 7832  ax-1rid 7833  ax-0id 7834  ax-rnegex 7835  ax-precex 7836  ax-cnre 7837  ax-pre-ltirr 7838  ax-pre-ltwlin 7839  ax-pre-lttrn 7840  ax-pre-apti 7841  ax-pre-ltadd 7842  ax-pre-mulgt0 7843  ax-pre-mulext 7844  ax-arch 7845  ax-caucvg 7846
This theorem depends on definitions:  df-bi 116  df-stab 817  df-dc 821  df-3or 964  df-3an 965  df-tru 1338  df-fal 1341  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ne 2328  df-nel 2423  df-ral 2440  df-rex 2441  df-reu 2442  df-rmo 2443  df-rab 2444  df-v 2714  df-sbc 2938  df-csb 3032  df-dif 3104  df-un 3106  df-in 3108  df-ss 3115  df-nul 3395  df-if 3506  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-uni 3773  df-int 3808  df-iun 3851  df-br 3966  df-opab 4026  df-mpt 4027  df-tr 4063  df-id 4253  df-po 4256  df-iso 4257  df-iord 4326  df-on 4328  df-ilim 4329  df-suc 4331  df-iom 4549  df-xp 4591  df-rel 4592  df-cnv 4593  df-co 4594  df-dm 4595  df-rn 4596  df-res 4597  df-ima 4598  df-iota 5134  df-fun 5171  df-fn 5172  df-f 5173  df-f1 5174  df-fo 5175  df-f1o 5176  df-fv 5177  df-isom 5178  df-riota 5777  df-ov 5824  df-oprab 5825  df-mpo 5826  df-1st 6085  df-2nd 6086  df-recs 6249  df-frec 6335  df-map 6592  df-sup 6924  df-inf 6925  df-pnf 7908  df-mnf 7909  df-xr 7910  df-ltxr 7911  df-le 7912  df-sub 8042  df-neg 8043  df-reap 8444  df-ap 8451  df-div 8540  df-inn 8828  df-2 8886  df-3 8887  df-4 8888  df-n0 9085  df-z 9162  df-uz 9434  df-q 9522  df-rp 9554  df-xneg 9672  df-xadd 9673  df-seqfrec 10338  df-exp 10412  df-cj 10735  df-re 10736  df-im 10737  df-rsqrt 10891  df-abs 10892  df-topgen 12343  df-psmet 12358  df-xmet 12359  df-bl 12361  df-mopn 12362  df-top 12367  df-topon 12380  df-bases 12412
This theorem is referenced by:  xmetxpbl  12879  xmettxlem  12880  xmettx  12881  txmetcnp  12889
  Copyright terms: Public domain W3C validator