Skip to content
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] - chore({ring_theory, field_theory}/*): fix imports to make #18021 less messy #18065

Closed
wants to merge 9 commits into from

Conversation

Paul-Lez
Copy link
Collaborator

@Paul-Lez Paul-Lez commented Jan 5, 2023

PR #18021 makes some changes to the theory of minpoly, which has the net effect that the structure of imports has to be changed for some files. This is a bit painful so I've decided to open a new PR instead of doing it in #18021. This PR also moves the following definitions from ring_theory/adjoin_root.lean to field_theory/minpoly/gcd_monoid.lean:

  • minpoly.to_adjoin.injective
  • minpoly.equiv_adjoin
  • algebra.adjoin.power_basis'
  • power_basis.of_gen_mem_adjoin'

Open in Gitpod

@Paul-Lez Paul-Lez added the awaiting-CI The author would like to see what CI has to say before doing more work. label Jan 5, 2023
@jcommelin jcommelin added the awaiting-author A reviewer has asked the author a question or requested changes label Jan 5, 2023
@Vierkantor Vierkantor self-assigned this Jan 5, 2023
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Jan 5, 2023
@Paul-Lez Paul-Lez added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jan 5, 2023
Copy link
Collaborator

@Vierkantor Vierkantor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So if I read the changes correctly, apart from adjusting the imports, all other changes are moving the following definitions from ring_theory/adjoin_root.lean to field_theory/minpoly/gcd_monoid.lean:

  • minpoly.to_adjoin.injective
  • minpoly.equiv_adjoin
  • algebra.adjoin.power_basis'
  • power_basis.of_gen_mem_adjoin'

Could you add this information to the PR description, for future reference?

Looks good to me otherwise, thanks!

bors d+

src/field_theory/minpoly/gcd_monoid.lean Outdated Show resolved Hide resolved
src/number_theory/number_field/embeddings.lean Outdated Show resolved Hide resolved
src/field_theory/minpoly/field.lean Outdated Show resolved Hide resolved
@bors
Copy link

bors bot commented Jan 6, 2023

✌️ Paul-Lez can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Jan 6, 2023
Paul-Lez and others added 3 commits January 6, 2023 18:33
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
@Paul-Lez
Copy link
Collaborator Author

Paul-Lez commented Jan 6, 2023

bors r+

bors bot pushed a commit that referenced this pull request Jan 6, 2023
… messy (#18065)

PR #18021 makes some changes to the theory of `minpoly`, which has the net effect that the structure of imports has to be changed for some files. This is a bit painful so I've decided to open a new PR instead of doing it in #18021. This PR also moves the following definitions from `ring_theory/adjoin_root.lean` to `field_theory/minpoly/gcd_monoid.lean`:
- minpoly.to_adjoin.injective
- minpoly.equiv_adjoin
- algebra.adjoin.power_basis'
- power_basis.of_gen_mem_adjoin'



Co-authored-by: Paul Lezeau <paul.lezeau@gmail.com>
@bors
Copy link

bors bot commented Jan 7, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore({ring_theory, field_theory}/*): fix imports to make #18021 less messy [Merged by Bors] - chore({ring_theory, field_theory}/*): fix imports to make #18021 less messy Jan 7, 2023
@bors bors bot closed this Jan 7, 2023
@bors bors bot deleted the import_fix_PR branch January 7, 2023 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants