Commit 2022-06-21 00:01 87f47580
View on Github →feat(polynomial/ring_division): strengthen/generalize various lemmas (#14839)
- Generalize the assumption
function.injective f
inle_root_multiplicity_map
tomap f p ≠ 0
. Strictly speaking this is not a generalization because the trivial casep = 0
is excluded. If one do want to apply the lemma without assumingp ≠ 0
, they can use the newly introducedeq_root_multiplicity_map
, which is a strengthening of the original lemma (with the same hypothesisfunction.injective f
). - Extract some common
variables
from four lemmas. - Generalize
eq_of_monic_of_dvd_of_nat_degree_le
toeq_leading_coeff_mul_of_monic_of_dvd_of_nat_degree_le
: if a polynomialq
is divisible by a monic polynomialp
and has degree no greater thanp
, thenq = p
. Also remove theis_domain
hypothesis and golf the proof. Zulip