(*****************************************************************)
(** * 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_1 (x:R) :
0 <= x -> x <= 2 * PI ->
x = PI / 2 \/ x = 3 * (PI / 2) -> cos x = 0.