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] - refactor(ring_theory/algebra): re-bundle subalgebra #4180

Closed
wants to merge 5 commits into from

Conversation

Vierkantor
Copy link
Collaborator

This PR makes subalgebra extend subsemiring instead of using subsemiring as a field in its definition. The refactor is needed because intermediate_field should simultaneously extend subalgebra and subfield, and so the type of the carrier fields should match.

I added some copies of definitions that use subring instead of is_subring if I needed to change these definitions anyway.


This PR makes `subalgebra` extend `subsemiring` instead of using
`subsemiring` as a field in its definition. The refactor is needed because
`intermediate_field` should simultaneously extend `subalgebra` and `subfield`,
and so the type of the `carrier` fields should match.

I added some copies of definitions that use `subring` instead of `is_subring`
if I needed to change these definitions anyway.
@Vierkantor Vierkantor added the awaiting-review The author would like community review of the PR label Sep 18, 2020
Copy link
Member

@fpvandoorn fpvandoorn left a comment

Choose a reason for hiding this comment

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

LGTM

bors d+

src/ring_theory/algebra.lean Show resolved Hide resolved
src/ring_theory/algebra.lean Show resolved Hide resolved
@bors
Copy link

bors bot commented Sep 20, 2020

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

@fpvandoorn fpvandoorn 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 Sep 20, 2020
…s_subring`

Co-Authored-By: Floris van Doorn <fpvdoorn@gmail.com>
@Vierkantor
Copy link
Collaborator Author

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Sep 22, 2020
@bors
Copy link

bors bot commented Sep 22, 2020

Canceled.

@Vierkantor
Copy link
Collaborator Author

Let's try that again:

bors merge

bors bot pushed a commit that referenced this pull request Sep 22, 2020
This PR makes `subalgebra` extend `subsemiring` instead of using `subsemiring` as a field in its definition. The refactor is needed because `intermediate_field` should simultaneously extend `subalgebra` and `subfield`, and so the type of the `carrier` fields should match.

I added some copies of definitions that use `subring` instead of `is_subring` if I needed to change these definitions anyway.
@bors
Copy link

bors bot commented Sep 22, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(ring_theory/algebra): re-bundle subalgebra [Merged by Bors] - refactor(ring_theory/algebra): re-bundle subalgebra Sep 22, 2020
@bors bors bot closed this Sep 22, 2020
@bors bors bot deleted the rebundle_subalgebra branch September 22, 2020 14:19
bors bot pushed a commit that referenced this pull request Sep 24, 2020
Define `intermediate_field K L` as a structure extending `subalgebra K L` and `subfield L`.

This definition required some changes in `subalgebra`, which I added in #4180.



Co-authored-by: Vierkantor <Vierkantor@users.noreply.github.com>
bors bot pushed a commit that referenced this pull request Sep 24, 2020
Define `intermediate_field K L` as a structure extending `subalgebra K L` and `subfield L`.

This definition required some changes in `subalgebra`, which I added in #4180.



Co-authored-by: Vierkantor <Vierkantor@users.noreply.github.com>
bors bot pushed a commit that referenced this pull request Sep 24, 2020
Define `intermediate_field K L` as a structure extending `subalgebra K L` and `subfield L`.

This definition required some changes in `subalgebra`, which I added in #4180.



Co-authored-by: Vierkantor <Vierkantor@users.noreply.github.com>
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. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants