Lemma isdeceq_NonnegativeRationals : ∏ x y : NonnegativeRationals, (x = y) ⨿ (x != y). Proof. intros x y. generalize (isdeceqhq (pr1 x) (pr1 y)) ; apply sumofmaps ; intros H. - left. apply subtypePath_prop. exact H. - right. intros H0 ; apply H. revert H0. apply base_paths. Qed.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.MoreFoundations.PartA. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders. Require Import UniMath.RealNumbers.Sets. Require Import UniMath.RealNumbers.Fields. Require Import UniMath.OrderTheory.Lattice.Lattice. Require Import UniMath.RealNumbers.Prelim.