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] - feat(analysis/normed_space/inner_product): Cauchy-Schwarz equality case and other lemmas #4571

Closed
wants to merge 7 commits into from

Conversation

dupuisf
Copy link
Collaborator

@dupuisf dupuisf commented Oct 11, 2020


This PR generalizes the Cauchy-Schwarz equality case to the complex case via is_R_or_C. It also adds a few other lemmas related to orthogonal subspaces, and fixes a few bugs.

@dupuisf
Copy link
Collaborator Author

dupuisf commented Oct 11, 2020

Note that #4379 depends on this PR.

Copy link
Member

@PatrickMassot PatrickMassot left a comment

Choose a reason for hiding this comment

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

I left some comments, especially aiming at gettind rid of @... _ _ _ _ which I always find not good looking.

src/analysis/normed_space/inner_product.lean Outdated Show resolved Hide resolved
src/analysis/normed_space/inner_product.lean Outdated Show resolved Hide resolved
src/analysis/normed_space/inner_product.lean Outdated Show resolved Hide resolved
src/analysis/normed_space/inner_product.lean Outdated Show resolved Hide resolved
src/analysis/normed_space/inner_product.lean Outdated Show resolved Hide resolved
@PatrickMassot PatrickMassot added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Oct 11, 2020
dupuisf and others added 6 commits October 11, 2020 13:37
Co-authored-by: Patrick Massot <patrickmassot@free.fr>
Co-authored-by: Patrick Massot <patrickmassot@free.fr>
Co-authored-by: Patrick Massot <patrickmassot@free.fr>
Co-authored-by: Patrick Massot <patrickmassot@free.fr>
@dupuisf
Copy link
Collaborator Author

dupuisf commented Oct 11, 2020

Thanks! I've also thrown in the warning about of_core that was discussed on Zulip.

@dupuisf dupuisf added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Oct 11, 2020
@PatrickMassot
Copy link
Member

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Oct 11, 2020
@@ -118,6 +118,9 @@ scalar product. This is what we implement in this paragraph, starting from a str
Our goal here is not to develop a whole theory with all the supporting API, as this will be done
below for `inner_product_space`. Instead, we implement the bare minimum to go as directly as
possible to the construction of the norm and the proof of the triangular inequality.

Warning: Do not use this `core` structure if the space you are interested in already has a norm
instance defined on it, otherwise this will create a second non-defeq norm instance!
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the suggestion was for the warning to go on the of_core constructor itself. Of course, it's good to warn in as many places as possible.

bors bot pushed a commit that referenced this pull request Oct 11, 2020
…se and other lemmas (#4571)

Co-authored-by: Frédéric Dupuis <31101893+dupuisf@users.noreply.github.com>
@bors
Copy link

bors bot commented Oct 11, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(analysis/normed_space/inner_product): Cauchy-Schwarz equality case and other lemmas [Merged by Bors] - feat(analysis/normed_space/inner_product): Cauchy-Schwarz equality case and other lemmas Oct 11, 2020
@bors bors bot closed this Oct 11, 2020
@bors bors bot deleted the cauchy-schwarz-equality branch October 11, 2020 20:09
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