-
Notifications
You must be signed in to change notification settings - Fork 399
[Merged by Bors] - feat (RingTheory/PowerSeries/Order) : compute order of power and generalize #23993
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
Conversation
PR summary a61bad53f5Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Since I'm here, I'll also prove that |
LGTM, thanks! |
theorem divided_by_X_pow_order_of_X_eq_one : | ||
divided_by_X_pow_order X_ne_zero = (1 : R⟦X⟧) := by |
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.
Followup: divided_by_X_pow_order should be using camelCase
@@ -303,30 +311,58 @@ theorem order_X_pow (n : ℕ) : order ((X : R⟦X⟧) ^ n) = n := by | |||
rw [X_pow_eq, order_monomial_of_ne_zero] | |||
exact one_ne_zero | |||
|
|||
@[simp] | |||
theorem divided_by_X_pow_order_of_X_eq_one : |
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.
The name suggests the theorem says X = 1 → divided_by_X_pow_order ...something...
. Probably you should just drop the of_
. Oh, but you're only moving it. Followup, then.
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.
Indeed, I was just moving this from one section to another with less assumptions.
Also, @ADedecker is now rewriting part of it, so I'll wait a little bit for that.
@Ruben-VandeVelde you might be interested in #24072 which does a preliminary cleanup of these files. |
Which one should be reviewed first? Or they're independent? |
We don't mind. We can coordinate. |
Sorry this wasn't very clear. As I said in our DM on Zulip (sorry for the lack of transparency) my ultimate plan was to nuke the direct proof of
But indeed a choice needs to be made. |
Thanks! bors d+ |
✌️ AntoineChambert-Loir can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ |
…ralize (#23993) * compute order of power of power series * generalize `order_mul` * generalize lemmas at the end to `[Semiring R] [NoZeroDivisors R]` by proving (`PowerSeries.X_pow_mul_cancel`) that one can divide out by powers on `X` on both sides of an equality.
Pull request successfully merged into master. Build succeeded: |
order_mul
[Semiring R] [NoZeroDivisors R]
by proving (PowerSeries.X_pow_mul_cancel
) that one can divide out by powers onX
on both sidesof an equality.