(** Conversions from 64-bit integers can be expressed in terms of conversions from their 32-bit halves. *)

(* Specifications: *)
Theorem of_longu_decomp:
forall l,
of_longu l = add (mul (of_intu (Int64.hiword l)) (BofZ 53 1024 __ __ (2^32)))
(of_intu (Int64.loword l)).
Theorem of_long_decomp:
forall l,
of_long l = add (mul (of_int (Int64.hiword l)) (BofZ 53 1024 __ __ (2^32)))
(of_intu (Int64.loword l)).
Theorem of_longu_decomp:
forall l,
of_longu l = add (mul (of_intu (Int64.hiword l)) (BofZ 53 1024 __ __ (2^32)))
(of_intu (Int64.loword l)).
Theorem of_long_decomp:
forall l,
of_long l = add (mul (of_int (Int64.hiword l)) (BofZ 53 1024 __ __ (2^32)))
(of_intu (Int64.loword l)).