aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/field/algebraics_fundamentals.v
diff options
context:
space:
mode:
Diffstat (limited to 'mathcomp/field/algebraics_fundamentals.v')
-rw-r--r--mathcomp/field/algebraics_fundamentals.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/mathcomp/field/algebraics_fundamentals.v b/mathcomp/field/algebraics_fundamentals.v
index 0a759e8..d8ad524 100644
--- a/mathcomp/field/algebraics_fundamentals.v
+++ b/mathcomp/field/algebraics_fundamentals.v
@@ -505,8 +505,8 @@ have add_Rroot xR p c: {yR | extendsR xR yR & has_Rroot xR p c -> root_in yR p}.
have /(find_root r.1)[n ub_rp] := xab0; exists n.
have [M Mgt0 ubM]: {M | 0 < M & {in Iab_ n, forall a, `|r.2.[a]| <= M}}.
have [M ubM] := poly_itv_bound r.2 (ab_ n).1 (ab_ n).2.
- exists (Num.max 1 M) => [|s /ubM vM]; first by rewrite ltxU ltr01.
- by rewrite lexU orbC vM.
+ exists (Num.max 1 M) => [|s /ubM vM]; first by rewrite lt_maxr ltr01.
+ by rewrite le_maxr orbC vM.
exists (h2 / M) => [|a xn_a]; first by rewrite divr_gt0 ?invr_gt0 ?ltr0n.
rewrite ltr_pdivr_mulr // -(ltr_add2l h2) -mulr2n -mulr_natl divff //.
rewrite -normr1 -(hornerC 1 a) -[1%:P]r_pq_1 hornerD.