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,
_%:Q
is a notation for_%:R
as documented inrat.v
Then doingSearch _ Num.le _%:R
orSearch _ (_%:R <= _%:R)
leads toler_nat
which is the right lemma to apply, as in: