-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(ring_theory/power_basis): minpoly_gen is always the minimal polynomial #18117
Conversation
@Paul-Lez since you're working on minimal polynomials, maybe you'd be interested in the new developments here. I'm also planning to introduce a |
Oh nice, thanks for keeping me posted! Hopefully #18021 will be merged soon so mathlib will know that the kernel of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! It should be good to merge if you un@[simp]
aeval_minpoly_gen
, degree_minpoly_gen
and nat_degree_minpoly_gen
, and add a @[simp] lemma degree_minpoly [nontrivial A] (pb : power_basis A S) : (minpoly A pb.gen).degree = pb.dim
.
bors d+
✌️ alreadydone can now approve this pull request. To approve and merge a pull request, simply reply with |
@Vierkantor Thanks for quick approval! I did some more golfs at this commit, removing the |
simp only at hg, | ||
simp_rw [algebra.smul_def, ← aeval_monomial, ← map_sum] at hg, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird that we need simp only
before simp_rw
...
No comments apparently. Let me merge this then! bors r+ |
…nomial (#18117) + add `minpoly.unique'`, a characterization for being the minimal polynomial. + golf various proofs and remove some unnecessary typeclass assumptions.
Pull request successfully merged into master. Build succeeded: |
add
minpoly.unique'
, a characterization for being the minimal polynomial.golf various proofs and remove some unnecessary typeclass assumptions.