proposition: Lemma NQmax_case : ∏ (P : NonnegativeRationals -> UU), ∏ x y : NonnegativeRationals, P x -> P y -> P (NQmax x y).
proof: Proof. intros P x y Hx Hy. unfold NQmax. generalize (isdecrel_leNonnegativeRationals x y). now apply coprod_rect. Qed.
imports: UniMath.MoreFoundations.Tactics UniMath.MoreFoundations.PartA UniMath.MoreFoundations.Sets UniMath.MoreFoundations.Orders UniMath.RealNumbers.Sets UniMath.RealNumbers.Fields UniMath.Algebra.DivisionRig UniMath.OrderTheory.Lattice.Lattice UniMath.RealNumbers.Prelim