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(algebra/module/linear_map): Move elementwise structure from linear_algebra/basic #9331

Closed
wants to merge 9 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Sep 22, 2021

This helps reduce the size of linear_algebra/basic, and by virtue of being a smaller file makes it easier to spot typeclasses which can be relaxed.
As an example, linear_map.endomorphism_ring now requires only semiring R not ring R.

Having instances available as early as possible is generally good, as otherwise it is hard to even state things elsewhere.


Open in Gitpod

…linear_algebra/basic

This helps reduce the size of linear_algebra/basic, and by virtue of being a smaller file makes it easier to spot typeclasses which can be relaxed.
In particular, `linear_map.endomorphism_ring` now requires only `semiring R` not `ring R`.
@eric-wieser eric-wieser added the awaiting-CI The author would like to see what CI has to say before doing more work. label Sep 22, 2021
@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR and removed awaiting-CI The author would like to see what CI has to say before doing more work. labels Sep 22, 2021
@dupuisf
Copy link
Collaborator

dupuisf commented Sep 22, 2021

I wouldn't normally do this, but is there any chance this could wait until after #9272 is merged? It looks like it won't be too long now, and having to keep up with major refactors in linear_algebra/basic and algebra/module/linear_map is really time consuming.

@eric-wieser
Copy link
Member Author

I've split out the non-major-refactor part of this PR as #9335

@github-actions github-actions bot added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Sep 22, 2021
@dupuisf
Copy link
Collaborator

dupuisf commented Sep 22, 2021

I've split out the non-major-refactor part of this PR as #9335

Thanks a lot!

@github-actions github-actions bot added merge-conflict Please `git merge origin/master` then a bot will remove this label. and removed blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. labels Sep 24, 2021
@github-actions github-actions bot removed the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Sep 27, 2021
@github-actions github-actions bot added blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. merge-conflict Please `git merge origin/master` then a bot will remove this label. labels Sep 27, 2021
…_map-arithmetic

# Conflicts:
#	src/algebra/module/linear_map.lean
#	src/linear_algebra/basic.lean
@github-actions github-actions bot removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Sep 29, 2021
@github-actions
Copy link

🎉 Great news! Looks like all the dependencies have been resolved:

💡 To add or remove a dependency please update this issue/PR description.

Brought to you by Dependent Issues (:robot: ). Happy coding!

@github-actions github-actions bot removed the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Sep 29, 2021
@semorrison
Copy link
Collaborator

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 30, 2021
@github-actions github-actions bot removed the awaiting-review The author would like community review of the PR label Sep 30, 2021
bors bot pushed a commit that referenced this pull request Sep 30, 2021
…linear_algebra/basic (#9331)

This helps reduce the size of linear_algebra/basic, and by virtue of being a smaller file makes it easier to spot typeclasses which can be relaxed.
As an example, `linear_map.endomorphism_ring` now requires only `semiring R` not `ring R`.

Having instances available as early as possible is generally good, as otherwise it is hard to even state things elsewhere.
@bors
Copy link

bors bot commented Sep 30, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Sep 30, 2021
…linear_algebra/basic (#9331)

This helps reduce the size of linear_algebra/basic, and by virtue of being a smaller file makes it easier to spot typeclasses which can be relaxed.
As an example, `linear_map.endomorphism_ring` now requires only `semiring R` not `ring R`.

Having instances available as early as possible is generally good, as otherwise it is hard to even state things elsewhere.
@bors
Copy link

bors bot commented Sep 30, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(algebra/module/linear_map): Move elementwise structure from linear_algebra/basic [Merged by Bors] - refactor(algebra/module/linear_map): Move elementwise structure from linear_algebra/basic Sep 30, 2021
@bors bors bot closed this Sep 30, 2021
@bors bors bot deleted the eric-wieser/linear_map-arithmetic branch September 30, 2021 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

3 participants