Lemma plusNonnegativeRationals_eqcompat_r: ∏ k x y : NonnegativeRationals, (x + k = y + k) -> (x = y). Proof. intros k x y. rewrite !(iscomm_plusNonnegativeRationals _ k). now apply plusNonnegativeRationals_eqcompat_l. 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.