(*****************************************************************)
(** * Using series definitions of cos and sin                    *)
(*****************************************************************)
Definition sin_ub (a:R) : R := sin_approx a 4.
Definition cos_lb (a:R) : R := cos_approx a 3.
Definition cos_ub (a:R) : R := cos_approx a 4.

Lemma cos_eq_0_2PI_0 (x:R) :
0 <= x -> x <= 2 * PI -> cos x = 0 ->
x = PI / 2 \/ x = 3 * (PI / 2).