R : Type u
S : Type v
a b : R
n✝ m : ℕ
inst✝ : Semiring R
p q r : R[X]
n : ℕ
hp : p ≠ 0
H : ↑n ≤ ↑(natTrailingDegree p)
⊢ n ≤ natTrailingDegree p
R : Type u
S : Type v
a b : R
n✝ m : ℕ
inst✝ : Semiring R
p q r : R[X]
n : ℕ
hp : p ≠ 0
H : ↑n ≤ trailingDegree p
⊢ n ≤ natTrailingDegree p
rw [trailingDegree_eq_natTrailingDegree hp] at H
no goals
R : Type u
S : Type v
a b : R
n✝ m : ℕ
inst✝ : Semiring R
p q r : R[X]
n : ℕ
hp : p ≠ 0
H : ↑n ≤ ↑(natTrailingDegree p)
⊢ n ≤ natTrailingDegree p
exact WithTop.coe_le_coe.mp H