I'm stuck with this very simple lemma, and wonder what is the best way to proceed.
From mathcomp Require Import ssrint rat ssralg ssrnum.
Import GRing.Theory.
Import Num.Theory.
Import Num.Def.
Open Scope ring_scope.
Lemma X (n m : nat) : (n <= m)%N -> n%:Q <= m%:Q.
Proof.
rewrite -lez_nat.
So,
_%:Qis a notation for_%:Ras documented inrat.vThen doingSearch _ Num.le _%:RorSearch _ (_%:R <= _%:R)leads toler_natwhich is the right lemma to apply, as in: