Section cond_Ropp.
Definition cond_Ropp (b : bool) m := if b then Ropp m else m.
End cond_Ropp.
(** LPO taken from Coquelicot *)

Lemma LPO_Z : forall P : Z -> Prop, (forall n, P n \/ ~P n) ->
{n : Z| P n} + {forall n, ~ P n}.