now let r1,
r2 be
Real;
:: thesis: ( r1 in [.PI ,(2 * PI ).] /\ (dom cos ) & r2 in [.PI ,(2 * PI ).] /\ (dom cos ) & r1 < r2 implies cos . r2 > cos . r1 )assume that A1:
r1 in [.PI ,(2 * PI ).] /\ (dom cos )
and A2:
r2 in [.PI ,(2 * PI ).] /\ (dom cos )
and A3:
r1 < r2
;
:: thesis: cos . r2 > cos . r1A4:
(
r1 in [.PI ,(2 * PI ).] &
r1 in dom cos &
r2 in [.PI ,(2 * PI ).] &
r2 in dom cos )
by A1, A2, XBOOLE_0:def 4;
then A5:
(
PI <= r1 &
r1 <= 2
* PI &
PI <= r2 &
r2 <= 2
* PI )
by XXREAL_1:1;
set r3 =
(r1 + r2) / 2;
abs (cos ((r1 + r2) / 2)) <= 1
by SIN_COS:30;
then
abs (cos . ((r1 + r2) / 2)) <= 1
by SIN_COS:def 23;
then A6:
(
cos . ((r1 + r2) / 2) >= - 1 &
cos . ((r1 + r2) / 2) <= 1 )
by ABSVALUE:12;
abs (cos r2) <= 1
by SIN_COS:30;
then
abs (cos . r2) <= 1
by SIN_COS:def 23;
then A7:
cos . r2 >= - 1
by ABSVALUE:12;
A8:
(
r1 < (r1 + r2) / 2 &
(r1 + r2) / 2
< r2 )
by A3, XREAL_1:228;
then
(
PI < (r1 + r2) / 2 &
(r1 + r2) / 2
< 2
* PI )
by A5, XXREAL_0:2;
then
(
(r1 + r2) / 2
in ].PI ,(2 * PI ).[ &
(r1 + r2) / 2
in dom cos )
by SIN_COS:27, XXREAL_1:4;
then A9:
(r1 + r2) / 2
in ].PI ,(2 * PI ).[ /\ (dom cos )
by XBOOLE_0:def 4;
now per cases
( PI < r1 or PI = r1 )
by A5, XXREAL_0:1;
suppose A10:
PI < r1
;
:: thesis: cos . r2 > cos . r1then A11:
PI < r2
by A3, XXREAL_0:2;
now per cases
( r2 < 2 * PI or r2 = 2 * PI )
by A5, XXREAL_0:1;
suppose A12:
r2 < 2
* PI
;
:: thesis: cos . r2 > cos . r1then
r1 < 2
* PI
by A3, XXREAL_0:2;
then
(
r1 in ].PI ,(2 * PI ).[ &
r2 in ].PI ,(2 * PI ).[ )
by A10, A11, A12, XXREAL_1:4;
then
(
r1 in ].PI ,(2 * PI ).[ /\ (dom cos ) &
r2 in ].PI ,(2 * PI ).[ /\ (dom cos ) )
by A4, XBOOLE_0:def 4;
hence
cos . r2 > cos . r1
by A3, Th38, RFUNCT_2:43;
:: thesis: verum end; suppose A13:
r2 = 2
* PI
;
:: thesis: not cos . r2 <= cos . r1then
r1 in ].PI ,(2 * PI ).[
by A3, A10, XXREAL_1:4;
then
r1 in ].PI ,(2 * PI ).[ /\ (dom cos )
by A4, XBOOLE_0:def 4;
then A14:
cos . ((r1 + r2) / 2) > cos . r1
by A8, A9, Th38, RFUNCT_2:43;
assume
cos . r2 <= cos . r1
;
:: thesis: contradictionhence
contradiction
by A6, A13, A14, SIN_COS:81, XXREAL_0:2;
:: thesis: verum end; end; end; hence
cos . r2 > cos . r1
;
:: thesis: verum end; suppose A15:
PI = r1
;
:: thesis: cos . r2 > cos . r1now per cases
( r2 < 2 * PI or r2 = 2 * PI )
by A5, XXREAL_0:1;
suppose
r2 < 2
* PI
;
:: thesis: not cos . r2 <= cos . r1then
r2 in ].PI ,(2 * PI ).[
by A3, A15, XXREAL_1:4;
then
r2 in ].PI ,(2 * PI ).[ /\ (dom cos )
by A4, XBOOLE_0:def 4;
then A16:
cos . r2 > cos . ((r1 + r2) / 2)
by A8, A9, Th38, RFUNCT_2:43;
assume
cos . r2 <= cos . r1
;
:: thesis: contradictionhence
contradiction
by A6, A7, A15, A16, SIN_COS:81, XXREAL_0:1;
:: thesis: verum end; end; end; hence
cos . r2 > cos . r1
;
:: thesis: verum end; end; end; hence
cos . r2 > cos . r1
;
:: thesis: verum end;
hence
cos | [.PI ,(2 * PI ).] is increasing
by RFUNCT_2:43; :: thesis: verum