End Double_round_plus_FLX.
Section Double_round_plus_FLT.
Variable emin prec : Z.
Variable emin' prec' : Z.
Context { prec_gt_0_ : Prec_gt_0 prec }.
Context { prec_gt_0_' : Prec_gt_0 prec' }.

(* Specifications: *)
Lemma FLT_double_round_plus_hyp :
(emin' <= emin)%Z -> (2 * prec + 1 <= prec')%Z ->
double_round_plus_hyp (FLT_exp emin prec) (FLT_exp emin' prec').
Theorem double_round_plus_FLT :
forall choice1 choice2,
(emin' <= emin)%Z -> (2 * prec + 1 <= prec')%Z ->
forall x y,
FLT_format beta emin prec x -> FLT_format beta emin prec y ->
double_round_eq (FLT_exp emin prec) (FLT_exp emin' prec')
choice1 choice2 (x + y).
Theorem double_round_minus_FLT :
forall choice1 choice2,
(emin' <= emin)%Z -> (2 * prec + 1 <= prec')%Z ->
forall x y,
FLT_format beta emin prec x -> FLT_format beta emin prec y ->
double_round_eq (FLT_exp emin prec) (FLT_exp emin' prec')
choice1 choice2 (x - y).