Repository navigation
[Merged by Bors] - feat(PerfectRing): roots of Polynomial.expand - #9311
alreadydone wants to merge 33 commits into
Conversation
ce0d3d5 to
8696912
Compare
# Conflicts: # Mathlib/FieldTheory/Perfect.lean
|
Looks like that this PR also depends on #10016. |
|
I have merged #10016 into this branch and it includes some additional material (WIP). |
Oh OK. I have nothing to add into this PR; feel free to push your changes. |
|
|
||
| variable {R} | ||
|
|
||
| theorem expand_eq_comp_X_pow {f : R[X]} : expand R p f = f.comp (X ^ p) := rfl |
There was a problem hiding this comment.
If you tag this lemma with @[simp], then some of the following simp-lemmas can then be untagged: do you think that it is a good idea to make this simp and unsimp the later ones?
There was a problem hiding this comment.
epand R p is defined as an AlgHom and that must be for a purpose; if you simp it to a plain function Polynomial.comp I'm sure there will be downstream troubles ...
|
|
||
| variable {R} | ||
|
|
||
| theorem expand_eq_comp_X_pow {f : R[X]} : expand R p f = f.comp (X ^ p) := rfl |
There was a problem hiding this comment.
| theorem expand_eq_comp_X_pow {f : R[X]} : expand R p f = f.comp (X ^ p) := rfl | |
| theorem expand_eq_comp_X_pow (f : R[X]) : expand R p f = f.comp (X ^ p) := rfl |
| convert ← roots_expand_pow_image_iterateFrobenius_subset p 1 f | ||
| apply pow_one | ||
|
|
||
| variable {p n f} |
There was a problem hiding this comment.
I think at least f should be explicit here, not sure for the other variables.
alreadydone
left a comment
There was a problem hiding this comment.
Thanks for the reviews.
|
|
||
| variable {R} | ||
|
|
||
| theorem expand_eq_comp_X_pow {f : R[X]} : expand R p f = f.comp (X ^ p) := rfl |
There was a problem hiding this comment.
epand R p is defined as an AlgHom and that must be for a purpose; if you simp it to a plain function Polynomial.comp I'm sure there will be downstream troubles ...
|
Thanks! bors merge |
Inspired by #9271 Prove the main theorem `rootMultiplicity_expand` and derive corollaries about `Polynomial.roots`. Refactor `rootsExpand(Pow)EquivRoots` using the new lemmas. Co-authored-by: Junyan Xu <[email protected]> Co-authored-by: acmepjz <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
Polynomial.expandPolynomial.expand
Inspired by #9271 Prove the main theorem `rootMultiplicity_expand` and derive corollaries about `Polynomial.roots`. Refactor `rootsExpand(Pow)EquivRoots` using the new lemmas. Co-authored-by: Junyan Xu <[email protected]> Co-authored-by: acmepjz <[email protected]>
Inspired by #9271 Prove the main theorem `rootMultiplicity_expand` and derive corollaries about `Polynomial.roots`. Refactor `rootsExpand(Pow)EquivRoots` using the new lemmas. Co-authored-by: Junyan Xu <[email protected]> Co-authored-by: acmepjz <[email protected]>
Inspired by #9271
Prove the main theorem
rootMultiplicity_expandand derive corollaries aboutPolynomial.roots. RefactorrootsExpand(Pow)EquivRootsusing the new lemmas.CharP+PrimetoExpCharinfrobenius#10016