Lemma minusNonnegativeRationals_ltcompat_r': ∏ x y z : NonnegativeRationals, z - y < z - x -> x < y. Proof. intros x y z H. apply notge_ltNonnegativeRationals. intro H0 ; revert H. change (neg (z - y < z - x)). apply notlt_geNonnegativeRationals. now apply minusNonnegativeRationals_lecompat_r, H0. 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.