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

Theorem evth 18976
Description: The Extreme Value Theorem. A continuous function from a nonempty compact topological space to the reals attains its maximum at some point in the domain. (Contributed by Mario Carneiro, 12-Aug-2014.)
Hypotheses
Ref Expression
bndth.1  |-  X  = 
U. J
bndth.2  |-  K  =  ( topGen `  ran  (,) )
bndth.3  |-  ( ph  ->  J  e.  Comp )
bndth.4  |-  ( ph  ->  F  e.  ( J  Cn  K ) )
evth.5  |-  ( ph  ->  X  =/=  (/) )
Assertion
Ref Expression
evth  |-  ( ph  ->  E. x  e.  X  A. y  e.  X  ( F `  y )  <_  ( F `  x ) )
Distinct variable groups:    x, y, F    y, K    ph, x, y   
x, X, y    x, J, y
Allowed substitution hint:    K( x)

Proof of Theorem evth
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 bndth.1 . . . . 5  |-  X  = 
U. J
2 bndth.2 . . . . 5  |-  K  =  ( topGen `  ran  (,) )
3 bndth.3 . . . . . 6  |-  ( ph  ->  J  e.  Comp )
43adantr 452 . . . . 5  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  J  e.  Comp )
5 cmptop 17450 . . . . . . . . . 10  |-  ( J  e.  Comp  ->  J  e. 
Top )
64, 5syl 16 . . . . . . . . 9  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  J  e.  Top )
71toptopon 16990 . . . . . . . . 9  |-  ( J  e.  Top  <->  J  e.  (TopOn `  X ) )
86, 7sylib 189 . . . . . . . 8  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  J  e.  (TopOn `  X )
)
9 eqid 2435 . . . . . . . . . . 11  |-  ( TopOpen ` fld )  =  ( TopOpen ` fld )
109cnfldtopon 18809 . . . . . . . . . 10  |-  ( TopOpen ` fld )  e.  (TopOn `  CC )
1110a1i 11 . . . . . . . . 9  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  ( TopOpen
` fld
)  e.  (TopOn `  CC ) )
12 ax-1cn 9040 . . . . . . . . . 10  |-  1  e.  CC
1312a1i 11 . . . . . . . . 9  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  1  e.  CC )
148, 11, 13cnmptc 17686 . . . . . . . 8  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  1 )  e.  ( J  Cn  ( TopOpen ` fld ) ) )
15 bndth.4 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  F  e.  ( J  Cn  K ) )
16 uniretop 18788 . . . . . . . . . . . . . . . . . . 19  |-  RR  =  U. ( topGen `  ran  (,) )
172unieqi 4017 . . . . . . . . . . . . . . . . . . 19  |-  U. K  =  U. ( topGen `  ran  (,) )
1816, 17eqtr4i 2458 . . . . . . . . . . . . . . . . . 18  |-  RR  =  U. K
191, 18cnf 17302 . . . . . . . . . . . . . . . . 17  |-  ( F  e.  ( J  Cn  K )  ->  F : X --> RR )
2015, 19syl 16 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  F : X --> RR )
21 frn 5589 . . . . . . . . . . . . . . . 16  |-  ( F : X --> RR  ->  ran 
F  C_  RR )
2220, 21syl 16 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ran  F  C_  RR )
23 fdm 5587 . . . . . . . . . . . . . . . . . 18  |-  ( F : X --> RR  ->  dom 
F  =  X )
2420, 23syl 16 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  dom  F  =  X )
25 evth.5 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  X  =/=  (/) )
2624, 25eqnetrd 2616 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  dom  F  =/=  (/) )
27 dm0rn0 5078 . . . . . . . . . . . . . . . . 17  |-  ( dom 
F  =  (/)  <->  ran  F  =  (/) )
2827necon3bii 2630 . . . . . . . . . . . . . . . 16  |-  ( dom 
F  =/=  (/)  <->  ran  F  =/=  (/) )
2926, 28sylib 189 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ran  F  =/=  (/) )
301, 2, 3, 15bndth 18975 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  E. x  e.  RR  A. y  e.  X  ( F `  y )  <_  x )
31 ffn 5583 . . . . . . . . . . . . . . . . . . 19  |-  ( F : X --> RR  ->  F  Fn  X )
3220, 31syl 16 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  F  Fn  X )
33 breq1 4207 . . . . . . . . . . . . . . . . . . 19  |-  ( z  =  ( F `  y )  ->  (
z  <_  x  <->  ( F `  y )  <_  x
) )
3433ralrn 5865 . . . . . . . . . . . . . . . . . 18  |-  ( F  Fn  X  ->  ( A. z  e.  ran  F  z  <_  x  <->  A. y  e.  X  ( F `  y )  <_  x
) )
3532, 34syl 16 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( A. z  e. 
ran  F  z  <_  x  <->  A. y  e.  X  ( F `  y )  <_  x ) )
3635rexbidv 2718 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( E. x  e.  RR  A. z  e. 
ran  F  z  <_  x  <->  E. x  e.  RR  A. y  e.  X  ( F `  y )  <_  x ) )
3730, 36mpbird 224 . . . . . . . . . . . . . . 15  |-  ( ph  ->  E. x  e.  RR  A. z  e.  ran  F  z  <_  x )
3822, 29, 373jca 1134 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( ran  F  C_  RR  /\  ran  F  =/=  (/)  /\  E. x  e.  RR  A. z  e. 
ran  F  z  <_  x ) )
39 suprcl 9960 . . . . . . . . . . . . . 14  |-  ( ( ran  F  C_  RR  /\ 
ran  F  =/=  (/)  /\  E. x  e.  RR  A. z  e.  ran  F  z  <_  x )  ->  sup ( ran  F ,  RR ,  <  )  e.  RR )
4038, 39syl 16 . . . . . . . . . . . . 13  |-  ( ph  ->  sup ( ran  F ,  RR ,  <  )  e.  RR )
4140recnd 9106 . . . . . . . . . . . 12  |-  ( ph  ->  sup ( ran  F ,  RR ,  <  )  e.  CC )
4241adantr 452 . . . . . . . . . . 11  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  sup ( ran  F ,  RR ,  <  )  e.  CC )
438, 11, 42cnmptc 17686 . . . . . . . . . 10  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  sup ( ran  F ,  RR ,  <  ) )  e.  ( J  Cn  ( TopOpen ` fld ) ) )
4420feqmptd 5771 . . . . . . . . . . . 12  |-  ( ph  ->  F  =  ( z  e.  X  |->  ( F `
 z ) ) )
459cnfldtop 18810 . . . . . . . . . . . . . 14  |-  ( TopOpen ` fld )  e.  Top
46 cnrest2r 17343 . . . . . . . . . . . . . 14  |-  ( (
TopOpen ` fld )  e.  Top  ->  ( J  Cn  ( (
TopOpen ` fld )t  RR ) )  C_  ( J  Cn  ( TopOpen
` fld
) ) )
4745, 46ax-mp 8 . . . . . . . . . . . . 13  |-  ( J  Cn  ( ( TopOpen ` fld )t  RR ) )  C_  ( J  Cn  ( TopOpen ` fld ) )
489tgioo2 18826 . . . . . . . . . . . . . . . 16  |-  ( topGen ` 
ran  (,) )  =  ( ( TopOpen ` fld )t  RR )
492, 48eqtri 2455 . . . . . . . . . . . . . . 15  |-  K  =  ( ( TopOpen ` fld )t  RR )
5049oveq2i 6084 . . . . . . . . . . . . . 14  |-  ( J  Cn  K )  =  ( J  Cn  (
( TopOpen ` fld )t  RR ) )
5115, 50syl6eleq 2525 . . . . . . . . . . . . 13  |-  ( ph  ->  F  e.  ( J  Cn  ( ( TopOpen ` fld )t  RR ) ) )
5247, 51sseldi 3338 . . . . . . . . . . . 12  |-  ( ph  ->  F  e.  ( J  Cn  ( TopOpen ` fld ) ) )
5344, 52eqeltrrd 2510 . . . . . . . . . . 11  |-  ( ph  ->  ( z  e.  X  |->  ( F `  z
) )  e.  ( J  Cn  ( TopOpen ` fld )
) )
5453adantr 452 . . . . . . . . . 10  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  ( F `  z ) )  e.  ( J  Cn  ( TopOpen ` fld ) ) )
559subcn 18888 . . . . . . . . . . 11  |-  -  e.  ( ( ( TopOpen ` fld )  tX  ( TopOpen ` fld ) )  Cn  ( TopOpen
` fld
) )
5655a1i 11 . . . . . . . . . 10  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  -  e.  ( ( ( TopOpen ` fld )  tX  ( TopOpen ` fld ) )  Cn  ( TopOpen
` fld
) ) )
578, 43, 54, 56cnmpt12f 17690 . . . . . . . . 9  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )  e.  ( J  Cn  ( TopOpen ` fld ) ) )
5840ad2antrr 707 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  sup ( ran  F ,  RR ,  <  )  e.  RR )
59 ffvelrn 5860 . . . . . . . . . . . . . . . . . 18  |-  ( ( F : X --> ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } )  /\  z  e.  X )  ->  ( F `  z
)  e.  ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } ) )
6059adantll 695 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( F `  z
)  e.  ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } ) )
61 eldifsn 3919 . . . . . . . . . . . . . . . . 17  |-  ( ( F `  z )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } )  <->  ( ( F `  z )  e.  RR  /\  ( F `
 z )  =/= 
sup ( ran  F ,  RR ,  <  )
) )
6260, 61sylib 189 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( ( F `  z )  e.  RR  /\  ( F `  z
)  =/=  sup ( ran  F ,  RR ,  <  ) ) )
6362simpld 446 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( F `  z
)  e.  RR )
6458, 63resubcld 9457 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) )  e.  RR )
6564recnd 9106 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) )  e.  CC )
6658recnd 9106 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  sup ( ran  F ,  RR ,  <  )  e.  CC )
6763recnd 9106 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( F `  z
)  e.  CC )
6862simprd 450 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( F `  z
)  =/=  sup ( ran  F ,  RR ,  <  ) )
6968necomd 2681 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  sup ( ran  F ,  RR ,  <  )  =/=  ( F `  z
) )
7066, 67, 69subne0d 9412 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) )  =/=  0 )
71 eldifsn 3919 . . . . . . . . . . . . 13  |-  ( ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) )  e.  ( CC  \  {
0 } )  <->  ( ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) )  e.  CC  /\  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) )  =/=  0 ) )
7265, 70, 71sylanbrc 646 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) )  e.  ( CC  \  { 0 } ) )
73 eqid 2435 . . . . . . . . . . . 12  |-  ( z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )  =  ( z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )
7472, 73fmptd 5885 . . . . . . . . . . 11  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) : X --> ( CC 
\  { 0 } ) )
75 frn 5589 . . . . . . . . . . 11  |-  ( ( z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) : X --> ( CC 
\  { 0 } )  ->  ran  ( z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )  C_  ( CC  \  { 0 } ) )
7674, 75syl 16 . . . . . . . . . 10  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  ran  ( z  e.  X  |->  ( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) ) )  C_  ( CC  \  { 0 } ) )
77 difssd 3467 . . . . . . . . . 10  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  ( CC  \  { 0 } )  C_  CC )
78 cnrest2 17342 . . . . . . . . . 10  |-  ( ( ( TopOpen ` fld )  e.  (TopOn `  CC )  /\  ran  ( z  e.  X  |->  ( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) ) )  C_  ( CC  \  { 0 } )  /\  ( CC  \  { 0 } ) 
C_  CC )  -> 
( ( z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 z ) ) )  e.  ( J  Cn  ( TopOpen ` fld ) )  <->  ( z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )  e.  ( J  Cn  ( (
TopOpen ` fld )t  ( CC  \  {
0 } ) ) ) ) )
7911, 76, 77, 78syl3anc 1184 . . . . . . . . 9  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
( z  e.  X  |->  ( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) ) )  e.  ( J  Cn  ( TopOpen ` fld ) )  <->  ( z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )  e.  ( J  Cn  ( (
TopOpen ` fld )t  ( CC  \  {
0 } ) ) ) ) )
8057, 79mpbid 202 . . . . . . . 8  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )  e.  ( J  Cn  ( ( TopOpen ` fld )t  ( CC  \  { 0 } ) ) ) )
81 eqid 2435 . . . . . . . . . 10  |-  ( (
TopOpen ` fld )t  ( CC  \  {
0 } ) )  =  ( ( TopOpen ` fld )t  ( CC  \  { 0 } ) )
829, 81divcn 18890 . . . . . . . . 9  |-  /  e.  ( ( ( TopOpen ` fld )  tX  ( ( TopOpen ` fld )t  ( CC  \  { 0 } ) ) )  Cn  ( TopOpen
` fld
) )
8382a1i 11 . . . . . . . 8  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  /  e.  ( ( ( TopOpen ` fld )  tX  ( ( TopOpen ` fld )t  ( CC  \  { 0 } ) ) )  Cn  ( TopOpen
` fld
) ) )
848, 14, 80, 83cnmpt12f 17690 . . . . . . 7  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) )  e.  ( J  Cn  ( TopOpen
` fld
) ) )
8564, 70rereccld 9833 . . . . . . . . . 10  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  z  e.  X )  ->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )  e.  RR )
86 eqid 2435 . . . . . . . . . 10  |-  ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 z ) ) ) )  =  ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) )
8785, 86fmptd 5885 . . . . . . . . 9  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) ) : X --> RR )
88 frn 5589 . . . . . . . . 9  |-  ( ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) ) : X --> RR  ->  ran  ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) )  C_  RR )
8987, 88syl 16 . . . . . . . 8  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  ran  ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) )  C_  RR )
90 ax-resscn 9039 . . . . . . . . 9  |-  RR  C_  CC
9190a1i 11 . . . . . . . 8  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  RR  C_  CC )
92 cnrest2 17342 . . . . . . . 8  |-  ( ( ( TopOpen ` fld )  e.  (TopOn `  CC )  /\  ran  ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) )  C_  RR  /\  RR  C_  CC )  ->  ( ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 z ) ) ) )  e.  ( J  Cn  ( TopOpen ` fld )
)  <->  ( z  e.  X  |->  ( 1  / 
( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) ) ) )  e.  ( J  Cn  ( (
TopOpen ` fld )t  RR ) ) ) )
9311, 89, 91, 92syl3anc 1184 . . . . . . 7  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) )  e.  ( J  Cn  ( TopOpen
` fld
) )  <->  ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 z ) ) ) )  e.  ( J  Cn  ( (
TopOpen ` fld )t  RR ) ) ) )
9484, 93mpbid 202 . . . . . 6  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) )  e.  ( J  Cn  (
( TopOpen ` fld )t  RR ) ) )
9594, 50syl6eleqr 2526 . . . . 5  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  (
z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) )  e.  ( J  Cn  K
) )
961, 2, 4, 95bndth 18975 . . . 4  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  E. x  e.  RR  A. y  e.  X  ( ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 z ) ) ) ) `  y
)  <_  x )
9740ad2antrr 707 . . . . . . . 8  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  sup ( ran  F ,  RR ,  <  )  e.  RR )
98 simpr 448 . . . . . . . . . . 11  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  x  e.  RR )
99 1re 9082 . . . . . . . . . . 11  |-  1  e.  RR
100 ifcl 3767 . . . . . . . . . . 11  |-  ( ( x  e.  RR  /\  1  e.  RR )  ->  if ( 1  <_  x ,  x , 
1 )  e.  RR )
10198, 99, 100sylancl 644 . . . . . . . . . 10  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  if ( 1  <_  x ,  x , 
1 )  e.  RR )
102 0re 9083 . . . . . . . . . . . . 13  |-  0  e.  RR
103102a1i 11 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  0  e.  RR )
10499a1i 11 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  1  e.  RR )
105 0lt1 9542 . . . . . . . . . . . . 13  |-  0  <  1
106105a1i 11 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  0  <  1 )
107 max1 10765 . . . . . . . . . . . . 13  |-  ( ( 1  e.  RR  /\  x  e.  RR )  ->  1  <_  if (
1  <_  x ,  x ,  1 ) )
10899, 98, 107sylancr 645 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  1  <_  if (
1  <_  x ,  x ,  1 ) )
109103, 104, 101, 106, 108ltletrd 9222 . . . . . . . . . . 11  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  0  <  if ( 1  <_  x ,  x ,  1 ) )
110109gt0ne0d 9583 . . . . . . . . . 10  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  if ( 1  <_  x ,  x , 
1 )  =/=  0
)
111101, 110rereccld 9833 . . . . . . . . 9  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( 1  /  if ( 1  <_  x ,  x ,  1 ) )  e.  RR )
112101, 109recgt0d 9937 . . . . . . . . 9  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  0  <  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )
113111, 112elrpd 10638 . . . . . . . 8  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( 1  /  if ( 1  <_  x ,  x ,  1 ) )  e.  RR+ )
11497, 113ltsubrpd 10668 . . . . . . 7  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( sup ( ran 
F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <  sup ( ran  F ,  RR ,  <  ) )
11597, 111resubcld 9457 . . . . . . . 8  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( sup ( ran 
F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  e.  RR )
116115, 97ltnled 9212 . . . . . . 7  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <  sup ( ran  F ,  RR ,  <  )  <->  -.  sup ( ran  F ,  RR ,  <  )  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
117114, 116mpbid 202 . . . . . 6  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  -.  sup ( ran 
F ,  RR ,  <  )  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) ) )
118 simprl 733 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  x  e.  RR )
119 max2 10767 . . . . . . . . . . . 12  |-  ( ( 1  e.  RR  /\  x  e.  RR )  ->  x  <_  if (
1  <_  x ,  x ,  1 ) )
12099, 118, 119sylancr 645 . . . . . . . . . . 11  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  x  <_  if ( 1  <_  x ,  x ,  1 ) )
12140ad2antrr 707 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  sup ( ran  F ,  RR ,  <  )  e.  RR )
122 ffvelrn 5860 . . . . . . . . . . . . . . . . 17  |-  ( ( F : X --> ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } )  /\  y  e.  X )  ->  ( F `  y
)  e.  ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } ) )
123122ad2ant2l 727 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( F `  y )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )
124 eldifsn 3919 . . . . . . . . . . . . . . . 16  |-  ( ( F `  y )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } )  <->  ( ( F `  y )  e.  RR  /\  ( F `
 y )  =/= 
sup ( ran  F ,  RR ,  <  )
) )
125123, 124sylib 189 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( ( F `  y )  e.  RR  /\  ( F `
 y )  =/= 
sup ( ran  F ,  RR ,  <  )
) )
126125simpld 446 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( F `  y )  e.  RR )
127121, 126resubcld 9457 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y )
)  e.  RR )
12838adantr 452 . . . . . . . . . . . . . . . . . 18  |-  ( (
ph  /\  y  e.  X )  ->  ( ran  F  C_  RR  /\  ran  F  =/=  (/)  /\  E. x  e.  RR  A. z  e. 
ran  F  z  <_  x ) )
129 fnfvelrn 5859 . . . . . . . . . . . . . . . . . . 19  |-  ( ( F  Fn  X  /\  y  e.  X )  ->  ( F `  y
)  e.  ran  F
)
13032, 129sylan 458 . . . . . . . . . . . . . . . . . 18  |-  ( (
ph  /\  y  e.  X )  ->  ( F `  y )  e.  ran  F )
131 suprub 9961 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ran  F  C_  RR  /\  ran  F  =/=  (/)  /\  E. x  e.  RR  A. z  e. 
ran  F  z  <_  x )  /\  ( F `
 y )  e. 
ran  F )  -> 
( F `  y
)  <_  sup ( ran  F ,  RR ,  <  ) )
132128, 130, 131syl2anc 643 . . . . . . . . . . . . . . . . 17  |-  ( (
ph  /\  y  e.  X )  ->  ( F `  y )  <_  sup ( ran  F ,  RR ,  <  )
)
133132ad2ant2rl 730 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( F `  y )  <_  sup ( ran  F ,  RR ,  <  ) )
134125simprd 450 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( F `  y )  =/=  sup ( ran  F ,  RR ,  <  ) )
135134necomd 2681 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  sup ( ran  F ,  RR ,  <  )  =/=  ( F `
 y ) )
136126, 121ltlend 9210 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( ( F `  y )  <  sup ( ran  F ,  RR ,  <  )  <->  ( ( F `  y
)  <_  sup ( ran  F ,  RR ,  <  )  /\  sup ( ran  F ,  RR ,  <  )  =/=  ( F `
 y ) ) ) )
137133, 135, 136mpbir2and 889 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( F `  y )  <  sup ( ran  F ,  RR ,  <  ) )
138126, 121posdifd 9605 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( ( F `  y )  <  sup ( ran  F ,  RR ,  <  )  <->  0  <  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 y ) ) ) )
139137, 138mpbid 202 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  0  <  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) )
140139gt0ne0d 9583 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y )
)  =/=  0 )
141127, 140rereccld 9833 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 y ) ) )  e.  RR )
142118, 99, 100sylancl 644 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  if (
1  <_  x ,  x ,  1 )  e.  RR )
143 letr 9159 . . . . . . . . . . . 12  |-  ( ( ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) )  e.  RR  /\  x  e.  RR  /\  if ( 1  <_  x ,  x ,  1 )  e.  RR )  -> 
( ( ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 y ) ) )  <_  x  /\  x  <_  if ( 1  <_  x ,  x ,  1 ) )  ->  ( 1  / 
( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 y ) ) )  <_  if (
1  <_  x ,  x ,  1 ) ) )
144141, 118, 142, 143syl3anc 1184 . . . . . . . . . . 11  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( (
( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) )  <_  x  /\  x  <_  if ( 1  <_  x ,  x ,  1 ) )  ->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 y ) ) )  <_  if (
1  <_  x ,  x ,  1 ) ) )
145120, 144mpan2d 656 . . . . . . . . . 10  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( (
1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) )  <_  x  ->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) )  <_  if ( 1  <_  x ,  x ,  1 ) ) )
146 fveq2 5720 . . . . . . . . . . . . . . 15  |-  ( z  =  y  ->  ( F `  z )  =  ( F `  y ) )
147146oveq2d 6089 . . . . . . . . . . . . . 14  |-  ( z  =  y  ->  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) )  =  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) )
148147oveq2d 6089 . . . . . . . . . . . . 13  |-  ( z  =  y  ->  (
1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) )  =  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) ) )
149 ovex 6098 . . . . . . . . . . . . 13  |-  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 y ) ) )  e.  _V
150148, 86, 149fvmpt 5798 . . . . . . . . . . . 12  |-  ( y  e.  X  ->  (
( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) ) `  y )  =  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) ) )
151150breq1d 4214 . . . . . . . . . . 11  |-  ( y  e.  X  ->  (
( ( z  e.  X  |->  ( 1  / 
( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 z ) ) ) ) `  y
)  <_  x  <->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 y ) ) )  <_  x )
)
152151ad2antll 710 . . . . . . . . . 10  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( (
( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) ) `  y )  <_  x  <->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) )  <_  x
) )
153111adantrr 698 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( 1  /  if ( 1  <_  x ,  x ,  1 ) )  e.  RR )
154109adantrr 698 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  0  <  if ( 1  <_  x ,  x ,  1 ) )
155142, 154recgt0d 9937 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  0  <  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )
156 lerec 9884 . . . . . . . . . . . 12  |-  ( ( ( ( 1  /  if ( 1  <_  x ,  x ,  1 ) )  e.  RR  /\  0  <  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  /\  (
( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 y ) )  e.  RR  /\  0  <  ( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 y ) ) ) )  ->  (
( 1  /  if ( 1  <_  x ,  x ,  1 ) )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y )
)  <->  ( 1  / 
( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 y ) ) )  <_  ( 1  /  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
157153, 155, 127, 139, 156syl22anc 1185 . . . . . . . . . . 11  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( (
1  /  if ( 1  <_  x ,  x ,  1 ) )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y )
)  <->  ( 1  / 
( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 y ) ) )  <_  ( 1  /  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
158 lesub 9499 . . . . . . . . . . . 12  |-  ( ( ( 1  /  if ( 1  <_  x ,  x ,  1 ) )  e.  RR  /\  sup ( ran  F ,  RR ,  <  )  e.  RR  /\  ( F `
 y )  e.  RR )  ->  (
( 1  /  if ( 1  <_  x ,  x ,  1 ) )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y )
)  <->  ( F `  y )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
159153, 121, 126, 158syl3anc 1184 . . . . . . . . . . 11  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( (
1  /  if ( 1  <_  x ,  x ,  1 ) )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y )
)  <->  ( F `  y )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
160142recnd 9106 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  if (
1  <_  x ,  x ,  1 )  e.  CC )
161110adantrr 698 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  if (
1  <_  x ,  x ,  1 )  =/=  0 )
162160, 161recrecd 9779 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( 1  /  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  =  if ( 1  <_  x ,  x ,  1 ) )
163162breq2d 4216 . . . . . . . . . . 11  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( (
1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  y ) ) )  <_  (
1  /  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <->  ( 1  / 
( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 y ) ) )  <_  if (
1  <_  x ,  x ,  1 ) ) )
164157, 159, 1633bitr3d 275 . . . . . . . . . 10  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( ( F `  y )  <_  ( sup ( ran 
F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <->  ( 1  / 
( sup ( ran 
F ,  RR ,  <  )  -  ( F `
 y ) ) )  <_  if (
1  <_  x ,  x ,  1 ) ) )
165145, 152, 1643imtr4d 260 . . . . . . . . 9  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  ( x  e.  RR  /\  y  e.  X ) )  ->  ( (
( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) ) `  y )  <_  x  ->  ( F `  y
)  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
166165anassrs 630 . . . . . . . 8  |-  ( ( ( ( ph  /\  F : X --> ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  /\  y  e.  X
)  ->  ( (
( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) ) `  y )  <_  x  ->  ( F `  y
)  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
167166ralimdva 2776 . . . . . . 7  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( A. y  e.  X  ( ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 z ) ) ) ) `  y
)  <_  x  ->  A. y  e.  X  ( F `  y )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
16838ad2antrr 707 . . . . . . . . 9  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( ran  F  C_  RR  /\  ran  F  =/=  (/)  /\  E. x  e.  RR  A. z  e. 
ran  F  z  <_  x ) )
169 suprleub 9964 . . . . . . . . 9  |-  ( ( ( ran  F  C_  RR  /\  ran  F  =/=  (/)  /\  E. x  e.  RR  A. z  e. 
ran  F  z  <_  x )  /\  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  e.  RR )  ->  ( sup ( ran  F ,  RR ,  <  )  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <->  A. z  e.  ran  F  z  <_ 
( sup ( ran 
F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
170168, 115, 169syl2anc 643 . . . . . . . 8  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( sup ( ran 
F ,  RR ,  <  )  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <->  A. z  e.  ran  F  z  <_ 
( sup ( ran 
F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
17132ad2antrr 707 . . . . . . . . 9  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  F  Fn  X )
172 breq1 4207 . . . . . . . . . 10  |-  ( z  =  ( F `  y )  ->  (
z  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <->  ( F `  y )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
173172ralrn 5865 . . . . . . . . 9  |-  ( F  Fn  X  ->  ( A. z  e.  ran  F  z  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <->  A. y  e.  X  ( F `  y )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
174171, 173syl 16 . . . . . . . 8  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( A. z  e. 
ran  F  z  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <->  A. y  e.  X  ( F `  y )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
175170, 174bitrd 245 . . . . . . 7  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( sup ( ran 
F ,  RR ,  <  )  <_  ( sup ( ran  F ,  RR ,  <  )  -  (
1  /  if ( 1  <_  x ,  x ,  1 ) ) )  <->  A. y  e.  X  ( F `  y )  <_  ( sup ( ran  F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
176167, 175sylibrd 226 . . . . . 6  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  ( A. y  e.  X  ( ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 z ) ) ) ) `  y
)  <_  x  ->  sup ( ran  F ,  RR ,  <  )  <_ 
( sup ( ran 
F ,  RR ,  <  )  -  ( 1  /  if ( 1  <_  x ,  x ,  1 ) ) ) ) )
177117, 176mtod 170 . . . . 5  |-  ( ( ( ph  /\  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  /\  x  e.  RR )  ->  -.  A. y  e.  X  ( ( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `
 z ) ) ) ) `  y
)  <_  x )
178177nrexdv 2801 . . . 4  |-  ( (
ph  /\  F : X
--> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )  ->  -.  E. x  e.  RR  A. y  e.  X  (
( z  e.  X  |->  ( 1  /  ( sup ( ran  F ,  RR ,  <  )  -  ( F `  z ) ) ) ) `  y )  <_  x
)
17996, 178pm2.65da 560 . . 3  |-  ( ph  ->  -.  F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) )
180132ralrimiva 2781 . . . . . . . . 9  |-  ( ph  ->  A. y  e.  X  ( F `  y )  <_  sup ( ran  F ,  RR ,  <  )
)
181 breq2 4208 . . . . . . . . . 10  |-  ( ( F `  x )  =  sup ( ran 
F ,  RR ,  <  )  ->  ( ( F `  y )  <_  ( F `  x
)  <->  ( F `  y )  <_  sup ( ran  F ,  RR ,  <  ) ) )
182181ralbidv 2717 . . . . . . . . 9  |-  ( ( F `  x )  =  sup ( ran 
F ,  RR ,  <  )  ->  ( A. y  e.  X  ( F `  y )  <_  ( F `  x
)  <->  A. y  e.  X  ( F `  y )  <_  sup ( ran  F ,  RR ,  <  )
) )
183180, 182syl5ibrcom 214 . . . . . . . 8  |-  ( ph  ->  ( ( F `  x )  =  sup ( ran  F ,  RR ,  <  )  ->  A. y  e.  X  ( F `  y )  <_  ( F `  x )
) )
184183necon3bd 2635 . . . . . . 7  |-  ( ph  ->  ( -.  A. y  e.  X  ( F `  y )  <_  ( F `  x )  ->  ( F `  x
)  =/=  sup ( ran  F ,  RR ,  <  ) ) )
185184adantr 452 . . . . . 6  |-  ( (
ph  /\  x  e.  X )  ->  ( -.  A. y  e.  X  ( F `  y )  <_  ( F `  x )  ->  ( F `  x )  =/=  sup ( ran  F ,  RR ,  <  )
) )
18620ffvelrnda 5862 . . . . . . 7  |-  ( (
ph  /\  x  e.  X )  ->  ( F `  x )  e.  RR )
187 eldifsn 3919 . . . . . . . 8  |-  ( ( F `  x )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } )  <->  ( ( F `  x )  e.  RR  /\  ( F `
 x )  =/= 
sup ( ran  F ,  RR ,  <  )
) )
188187baib 872 . . . . . . 7  |-  ( ( F `  x )  e.  RR  ->  (
( F `  x
)  e.  ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } )  <->  ( F `  x )  =/=  sup ( ran  F ,  RR ,  <  ) ) )
189186, 188syl 16 . . . . . 6  |-  ( (
ph  /\  x  e.  X )  ->  (
( F `  x
)  e.  ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } )  <->  ( F `  x )  =/=  sup ( ran  F ,  RR ,  <  ) ) )
190185, 189sylibrd 226 . . . . 5  |-  ( (
ph  /\  x  e.  X )  ->  ( -.  A. y  e.  X  ( F `  y )  <_  ( F `  x )  ->  ( F `  x )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) ) )
191190ralimdva 2776 . . . 4  |-  ( ph  ->  ( A. x  e.  X  -.  A. y  e.  X  ( F `  y )  <_  ( F `  x )  ->  A. x  e.  X  ( F `  x )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) ) )
192 ffnfv 5886 . . . . . 6  |-  ( F : X --> ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } )  <->  ( F  Fn  X  /\  A. x  e.  X  ( F `  x )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) ) )
193192baib 872 . . . . 5  |-  ( F  Fn  X  ->  ( F : X --> ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } )  <->  A. x  e.  X  ( F `  x )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) ) )
19432, 193syl 16 . . . 4  |-  ( ph  ->  ( F : X --> ( RR  \  { sup ( ran  F ,  RR ,  <  ) } )  <->  A. x  e.  X  ( F `  x )  e.  ( RR  \  { sup ( ran  F ,  RR ,  <  ) } ) ) )
195191, 194sylibrd 226 . . 3  |-  ( ph  ->  ( A. x  e.  X  -.  A. y  e.  X  ( F `  y )  <_  ( F `  x )  ->  F : X --> ( RR 
\  { sup ( ran  F ,  RR ,  <  ) } ) ) )
196179, 195mtod 170 . 2  |-  ( ph  ->  -.  A. x  e.  X  -.  A. y  e.  X  ( F `  y )  <_  ( F `  x )
)
197 dfrex2 2710 . 2  |-  ( E. x  e.  X  A. y  e.  X  ( F `  y )  <_  ( F `  x
)  <->  -.  A. x  e.  X  -.  A. y  e.  X  ( F `  y )  <_  ( F `  x )
)
198196, 197sylibr 204 1  |-  ( ph  ->  E. x  e.  X  A. y  e.  X  ( F `  y )  <_  ( F `  x ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725    =/= wne 2598   A.wral 2697   E.wrex 2698    \ cdif 3309    C_ wss 3312   (/)c0 3620   ifcif 3731   {csn 3806   U.cuni 4007   class class class wbr 4204    e. cmpt 4258   dom cdm 4870   ran crn 4871    Fn wfn 5441   -->wf 5442   ` cfv 5446  (class class class)co 6073   supcsup 7437   CCcc 8980   RRcr 8981   0cc0 8982   1c1 8983    < clt 9112    <_ cle 9113    - cmin 9283    / cdiv 9669   (,)cioo 10908   ↾t crest 13640   TopOpenctopn 13641   topGenctg 13657  ℂfldccnfld 16695   Topctop 16950  TopOnctopon 16951    Cn ccn 17280   Compccmp 17441    tX ctx 17584
This theorem is referenced by:  evth2  18977  evthicc  19348  evthf  27665  cncmpmax  27670
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-inf2 7588  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059  ax-pre-sup 9060  ax-mulf 9062
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-int 4043  df-iun 4087  df-iin 4088  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-se 4534  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-isom 5455  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-of 6297  df-1st 6341  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-1o 6716  df-2o 6717  df-oadd 6720  df-er 6897  df-map 7012  df-ixp 7056  df-en 7102  df-dom 7103  df-sdom 7104  df-fin 7105  df-fi 7408  df-sup 7438  df-oi 7471  df-card 7818  df-cda 8040  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-div 9670  df-nn 9993  df-2 10050  df-3 10051  df-4 10052  df-5 10053  df-6 10054  df-7 10055  df-8 10056  df-9 10057  df-10 10058  df-n0 10214  df-z 10275  df-dec 10375  df-uz 10481  df-q 10567  df-rp 10605  df-xneg 10702  df-xadd 10703  df-xmul 10704  df-ioo 10912  df-icc 10915  df-fz 11036  df-fzo 11128  df-seq 11316  df-exp 11375  df-hash 11611  df-cj 11896  df-re 11897  df-im 11898  df-sqr 12032  df-abs 12033  df-struct 13463  df-ndx 13464  df-slot 13465  df-base 13466  df-sets 13467  df-ress 13468  df-plusg 13534  df-mulr 13535  df-starv 13536  df-sca 13537  df-vsca 13538  df-tset 13540  df-ple 13541  df-ds 13543  df-unif 13544  df-hom 13545  df-cco 13546  df-rest 13642  df-topn 13643  df-topgen 13659  df-pt 13660  df-prds 13663  df-xrs 13718  df-0g 13719  df-gsum 13720  df-qtop 13725  df-imas 13726  df-xps 13728  df-mre 13803  df-mrc 13804  df-acs 13806  df-mnd 14682  df-submnd 14731  df-mulg 14807  df-cntz 15108  df-cmn 15406  df-psmet 16686  df-xmet 16687  df-met 16688  df-bl 16689  df-mopn 16690  df-cnfld 16696  df-top 16955  df-bases 16957  df-topon 16958  df-topsp 16959  df-cn 17283  df-cnp 17284  df-cmp 17442  df-tx 17586  df-hmeo 17779  df-xms 18342  df-ms 18343  df-tms 18344
  Copyright terms: Public domain W3C validator