-
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(data/matrix/basic): provide equiv versions of matrix.map
, linear_map.map_matrix
, and ring_hom.map_matrix
.
#8468
Conversation
…ear_map.map_matrix`, and `ring_hom.map_matrix`. This moves all of these definitions to be adjacent, adds the standard family of functorial simp lemmas, and relaxes some typeclass requirements.
If we merge #8486 before this one, then I'll update this with the alg_hom versions too |
These can already be found by `simp` since `matrix.map_zero` is a `simp` lemma, and we can manually use `foo_hom.map_matrix.map_zero` introduced by #8468 instead.
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 r+
Oops, missed the build failure. bors r- |
Canceled. |
bors d+ |
✌️ eric-wieser can now approve this pull request. To approve and merge a pull request, simply reply with |
What build failure? |
It looks like by pushing your branch you confused github, but https://github.com/leanprover-community/mathlib/actions/runs/1082117908 seems happy. |
Ah, that's why I didn't notice the build failure :P Nevermind then! bors r+ |
I'll do the alg_hom versions in a follow-up PR instead. |
…ear_map.map_matrix`, and `ring_hom.map_matrix`. (#8468) This moves all of these definitions to be adjacent, adds the standard family of functorial simp lemmas, and relaxes some typeclass requirements. This also renames `matrix.one_map` to `matrix.map_one` to match `matrix.map_zero`.
Pull request successfully merged into master. Build succeeded: |
matrix.map
, linear_map.map_matrix
, and ring_hom.map_matrix
.matrix.map
, linear_map.map_matrix
, and ring_hom.map_matrix
.
These can already be found by `simp` since `matrix.map_zero` is a `simp` lemma, and we can manually use `foo_hom.map_matrix.map_zero` introduced by #8468 instead.
These can already be found by `simp` since `matrix.map_zero` is a `simp` lemma, and we can manually use `foo_hom.map_matrix.map_zero` introduced by #8468 instead. They also don't seem to be used anywhere in mathlib, given that deleting them with no replacement causes no build errors. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
This moves all of these definitions to be adjacent, adds the standard family of functorial simp lemmas, and relaxes some typeclass requirements.
This also renames
matrix.one_map
tomatrix.map_one
to matchmatrix.map_zero
.