[Merged by Bors] - refactor(field_theory/polynomial_galois_group): remove open_locale classical#19184
[Merged by Bors] - refactor(field_theory/polynomial_galois_group): remove open_locale classical#19184eric-wieser wants to merge 1 commit intomasterfrom
open_locale classical#19184Conversation
|
This is clearly an improvement. Can you just update the description of the PR? |
|
Thanks 🎉 bors d+ |
|
✌️ eric-wieser can now approve this pull request. To approve and merge a pull request, simply reply with |
open_locale classical
|
bors merge |
|
👎 Rejected by label |
|
bors merge |
| lemma restrict_dvd_surjective (hpq : p ∣ q) (hq : q ≠ 0) : | ||
| function.surjective (restrict_dvd hpq) := | ||
| by simp only [restrict_dvd, dif_neg hq, restrict_surjective] | ||
| by classical; simp only [restrict_dvd_def, dif_neg hq, restrict_surjective] |
There was a problem hiding this comment.
| by classical; simp only [restrict_dvd_def, dif_neg hq, restrict_surjective] | |
| by { classical, simp only [restrict_dvd_def, dif_neg hq, restrict_surjective] } |
I prefer the original style but I think this is discouraged? I guess it won't matter in Lean4
There was a problem hiding this comment.
oh I see that this PR is already bors'd - pls ignore
…lassical` (#19184) This doesn't actually generalize any lemmas, but it reduces the chance of lemmas added in future being less general. The `restrict_dvd_def` lemma is new, and deals with substituting an arbitray `decidable_eq` instance.
|
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
open_locale classicalopen_locale classical
This doesn't actually generalize any lemmas, but it reduces the chance of lemmas added in future being less general.
The
restrict_dvd_deflemma is new, and deals with substituting an arbitraydecidable_eqinstance.