proposition: Lemma Qdlog2_nonpos (x : Q) : x ≤ 1 → Qdlog2 x ≤ 0.
proof: Proof. intros E. unfold Qdlog2. case (decide_rel _); intros. apply Z.opp_nonpos_nonneg. now apply Z.log2_up_nonneg. contradiction. Qed.
imports: Coq.ZArith.ZArith Coq.QArith.QArith Coq.QArith.Qround CoRN.stdlib_omissions.Q MathClasses.interfaces.abstract_algebra MathClasses.interfaces.additional_operations MathClasses.interfaces.orders MathClasses.theory.int_pow MathClasses.orders.rationals MathClasses.implementations.stdlib_rationals MathClasses.implementations.positive_semiring_elements