-
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(field_theory/separable): a separable polynomial is squarefree #5039
Conversation
@@ -8,6 +8,7 @@ import algebra.polynomial.big_operators | |||
import field_theory.minimal_polynomial | |||
import field_theory.splitting_field | |||
import field_theory.tower | |||
import algebra.squarefree |
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.
I made algebra.squarefree
a pretty big import. It might be preferable to put this lemma on the file algebra.squarefree
instead to accomodate that, idk.
(This is still fine with me, just wanted to make sure a maintainer checks this)
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.
Ah yes, that's also possible. Just let me know which one is better.
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.
I feel like this is the more natural location. Maybe we can minimize the imports in algebra.squarefree
in a future PR.
What happens with |
I haven't checked, but it could have to do with the fact that you added an import to |
Yes, the problem is that Lean is trying to use |
In both PRs you add some imports so that the file The best solution is to make |
Co-authored-by: Yakov Pechersky <pechersky@users.noreply.github.com>
Co-authored-by: Yakov Pechersky <pechersky@users.noreply.github.com>
Alternative: write But it is of course a bit more brittle, compared to Floris's suggestion. |
As you prefer, I put |
Ooh, just leave it like it is then. I just wanted to tell you about the other option 😃 |
The file only contains |
In any case this is now resolved since I merged my other PR #5006 |
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.
Thanks 🎉
bors merge
@@ -8,6 +8,7 @@ import algebra.polynomial.big_operators | |||
import field_theory.minimal_polynomial | |||
import field_theory.splitting_field | |||
import field_theory.tower | |||
import algebra.squarefree |
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.
I feel like this is the more natural location. Maybe we can minimize the imports in algebra.squarefree
in a future PR.
…5039) I prove that a separable polynomial is squarefree.
Pull request successfully merged into master. Build succeeded: |
I prove that a separable polynomial is squarefree.