let r be Real; ( 0 <= r & r <= 2 * PI & r / PI is rational & cos r is rational implies cos r in {0,1,(- 1),(1 / 2),(- (1 / 2))} )
assume A1:
( 0 <= r & r <= 2 * PI )
; ( not r / PI is rational or not cos r is rational or cos r in {0,1,(- 1),(1 / 2),(- (1 / 2))} )
assume A2:
( r / PI is rational & cos r is rational )
; cos r in {0,1,(- 1),(1 / 2),(- (1 / 2))}
per cases
( ( 0 <= r & r <= PI / 2 ) or ( PI / 2 <= r & r <= PI ) or ( PI <= r & r <= (3 * PI) / 2 ) or ( (3 * PI) / 2 <= r & r <= 2 * PI ) )
by A1;
suppose
(
0 <= r &
r <= PI / 2 )
;
cos r in {0,1,(- 1),(1 / 2),(- (1 / 2))}then
r in {0,(PI / 3),(PI / 2)}
by A2, Th53;
then
(
r = 0 or
r = PI / 3 or
r = PI / 2 )
by ENUMSET1:def 1;
hence
cos r in {0,1,(- 1),(1 / 2),(- (1 / 2))}
by ENUMSET1:def 3, SIN_COS:31, SIN_COS:77, EUCLID10:14;
verum end; end;