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(linear_algebra/sesquilinear_form): Use similar definition as used in bilinear_map
#10443
Conversation
While the definition is for general noncommutative rings, it is basically useless due to https://leanprover-community.github.io/mathlib_docs/algebra/star/module.html#todo The easiest way would be to restrict the definition to commutative (semi)rings for now and generalize it later. |
@mcdoll Sorry I didn't see this when you first submitted it (feel free to ping me on future PRs). I wonder, what do you think of redoing both Also, when |
You are totally right about using In the end, we should not need both About the old version of |
@hrmacbeth (do you get notified automatically by new comments once you replied in a PR?) there might be a reason not to combine it with |
Yes, I do get notified automatically! To your points:
Regarding the plan for the refactor: Are you planning to do If (B) I will think a little more about what the plan should be, but if (A) is your priority, I can make a proposal from my own experience (see #9539 for example). Here is a sequence of PRs which each do "only one change at once":
Regarding deprecating vs deleting: delete. It's saved in the GitHub version history so can always be brought back. |
I wanted to do (A) and (B) together. For |
Hi @mcdoll thanks for this proposal and sorry the review process has dragged on for so long. I am in favour of your approach but I am concerned about introducing a divergence between the definitions of I note that you have already sketched out a plan of action, namely:
This looks like quite a lot of work but if you have the appetite I believe it would work. Are you still interesting in doing all this? |
I agree that it will be quite a bit of work, but I think that it is better if we do this sooner than later otherwise it will get even worse. I would like to do that, but I will most likely need some help when it comes to matrix and later the inner_product stuff. |
@mcdoll OK great, thanks for taking this on. Let's go for it! bors merge |
… used in `bilinear_map` (#10443) Define sesquilinear forms as `M →ₗ[R] M →ₛₗ[I] R`.
Pull request successfully merged into master. Build succeeded: |
bilinear_map
bilinear_map
Define sesquilinear forms as
M →ₗ[R] M →ₛₗ[I] R
.