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: port Data.Matrix.DMatrix #1605
Conversation
casavaca
commented
Jan 16, 2023
Update: Lint errors fixed.
|
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.
Just a few cosmetic things, otherwise LGTM!
bors d+
Mathlib/Data/Matrix/DMatrix.lean
Outdated
(M.map f).map g = M.map fun i j x => g (f x) := | ||
by | ||
ext | ||
simp |
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.
(M.map f).map g = M.map fun i j x => g (f x) := | |
by | |
ext | |
simp | |
(M.map f).map g = M.map fun i j x => g (f x) := by ext; simp |
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.
There are a few other instances of this in the file as well.
Mathlib/Data/Matrix/DMatrix.lean
Outdated
#align add_monoid_hom.map_dmatrix AddMonoidHom.mapDMatrix | ||
|
||
@[simp] | ||
theorem AddMonoidHom.map_DMatrix_apply [∀ i j, AddMonoid (α i j)] {β : m → n → Type w} |
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.
theorem AddMonoidHom.map_DMatrix_apply [∀ i j, AddMonoid (α i j)] {β : m → n → Type w} | |
theorem AddMonoidHom.mapDMatrix_apply [∀ i j, AddMonoid (α i j)] {β : m → n → Type w} |
✌️ casavaca can now approve this pull request. To approve and merge a pull request, simply reply with |
e.g. 'by' in a seperate line
bors r+ |
Pull request successfully merged into master. Build succeeded:
|