set cos1 = cos | [.0 ,PI .];
now let y be
set ;
( ( y in [.(- 1),1.] implies ex x being set st
( x in dom (cos | [.0 ,PI .]) & y = (cos | [.0 ,PI .]) . x ) ) & ( ex x being set st
( x in dom (cos | [.0 ,PI .]) & y = (cos | [.0 ,PI .]) . x ) implies y in [.(- 1),1.] ) )thus
(
y in [.(- 1),1.] implies ex
x being
set st
(
x in dom (cos | [.0 ,PI .]) &
y = (cos | [.0 ,PI .]) . x ) )
( ex x being set st
( x in dom (cos | [.0 ,PI .]) & y = (cos | [.0 ,PI .]) . x ) implies y in [.(- 1),1.] )proof
PI in [.0 ,PI .]
by XXREAL_1:1;
then A1:
(cos | [.0 ,PI .]) . PI = cos . PI
by FUNCT_1:72;
assume A2:
y in [.(- 1),1.]
;
ex x being set st
( x in dom (cos | [.0 ,PI .]) & y = (cos | [.0 ,PI .]) . x )
then reconsider y1 =
y as
Real ;
A3:
dom (cos | [.0 ,PI .]) =
[.0 ,PI .] /\ REAL
by RELAT_1:90, SIN_COS:27
.=
[.0 ,PI .]
by XBOOLE_1:28
;
0 in [.0 ,PI .]
by XXREAL_1:1;
then
(cos | [.0 ,PI .]) . 0 = cos . 0
by FUNCT_1:72;
then
(
(cos | [.0 ,PI .]) | [.0 ,PI .] is
continuous &
y1 in [.((cos | [.0 ,PI .]) . 0 ),((cos | [.0 ,PI .]) . PI ).] \/ [.((cos | [.0 ,PI .]) . PI ),((cos | [.0 ,PI .]) . 0 ).] )
by A2, A1, SIN_COS:33, SIN_COS:81, XBOOLE_0:def 3;
then consider x being
Real such that A4:
x in [.0 ,PI .]
and A5:
y1 = (cos | [.0 ,PI .]) . x
by A3, FCONT_2:16;
take
x
;
( x in dom (cos | [.0 ,PI .]) & y = (cos | [.0 ,PI .]) . x )
x in REAL /\ [.0 ,PI .]
by A4, XBOOLE_0:def 4;
hence
(
x in dom (cos | [.0 ,PI .]) &
y = (cos | [.0 ,PI .]) . x )
by A5, RELAT_1:90, SIN_COS:27;
verum
end; thus
( ex
x being
set st
(
x in dom (cos | [.0 ,PI .]) &
y = (cos | [.0 ,PI .]) . x ) implies
y in [.(- 1),1.] )
verum end;
hence
rng (cos | [.0 ,PI .]) = [.(- 1),1.]
by FUNCT_1:def 5; verum