Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - chore(analysis/inner_product_space/basic): golf the proof of Cauchy-Schwarz#18938

Closed
urkud wants to merge 3 commits intomasterfrom
YK-cauchy-golf
Closed

[Merged by Bors] - chore(analysis/inner_product_space/basic): golf the proof of Cauchy-Schwarz#18938
urkud wants to merge 3 commits intomasterfrom
YK-cauchy-golf

Conversation

@urkud
Copy link
Copy Markdown
Member

@urkud urkud commented May 4, 2023

API changes

  • Add inner_product_space.to_core.
  • Make inner_product_space.core extend has_inner.
  • Rename namespace from inner_product_space.of_core to inner_product_space.core.
  • Rename inner_product_space.of_core.inner_norm_sq_eq_inner_self to
    inner_product_space.core.coe_norm_sq_eq_inner_self.
  • Add inner_product_space.core.norm_inner_symm.
  • Add inner_product_space.core.cauchy_schwarz_aux, use it to golf
    the proof of the Cauchy-Schwarz inequality and its versions.
  • Use norm instead of is_R_or_C.abs here and there, the rest will
    migrate in [Merged by Bors] - refactor(data/is_R_or_C,analysis/inner_product_space): review API #18919.
  • Rename inner_product_space.of_core.abs_inner_le_norm to
    inner_product_space.core.norm_inner_le_norm, use norm.
  • Add norm_inner_eq_norm_tfae and inner_eq_norm_mul_iff_div.
  • Rename abs_inner_div_norm_mul_norm_eq_one_iff to
    norm_inner_div_norm_mul_norm_eq_one_iff, use norm.
  • Rename inner_eq_norm_mul_iff_of_norm_one to
    inner_eq_one_iff_of_norm_one.

Open in Gitpod

Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

If CI passes, please remove the label awaiting-CI and merge this yourself, by adding a comment bors r+.

bors d+

@bors
Copy link
Copy Markdown

bors bot commented May 4, 2023

✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@jcommelin jcommelin added the awaiting-CI The author would like to see what CI has to say before doing more work. label May 4, 2023
@leanprover-community-bot-assistant leanprover-community-bot-assistant added the delegated The PR author may merge after reviewing final suggestions. label May 4, 2023
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label May 4, 2023
@jcommelin
Copy link
Copy Markdown
Member

Thanks 🎉

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 May 4, 2023
bors bot pushed a commit that referenced this pull request May 4, 2023
…chwarz (#18938)

## API changes

- Add `inner_product_space.to_core`.
- Make `inner_product_space.core` extend `has_inner`.
- Rename namespace from `inner_product_space.of_core` to `inner_product_space.core`.
- Rename `inner_product_space.of_core.inner_norm_sq_eq_inner_self` to
  `inner_product_space.core.coe_norm_sq_eq_inner_self`.
- Add `inner_product_space.core.norm_inner_symm`.
- Add `inner_product_space.core.cauchy_schwarz_aux`, use it to golf
  the proof of the Cauchy-Schwarz inequality and its versions.
- Use norm instead of `is_R_or_C.abs` here and there, the rest will
  migrate in #18919.
- Rename `inner_product_space.of_core.abs_inner_le_norm` to
  `inner_product_space.core.norm_inner_le_norm`, use norm.
- Add `norm_inner_eq_norm_tfae` and `inner_eq_norm_mul_iff_div`.
- Rename `abs_inner_div_norm_mul_norm_eq_one_iff` to
  `norm_inner_div_norm_mul_norm_eq_one_iff`, use norm.
- Rename `inner_eq_norm_mul_iff_of_norm_one` to
  `inner_eq_one_iff_of_norm_one`.



Co-authored-by: Johan Commelin <johan@commelin.net>
@bors
Copy link
Copy Markdown

bors bot commented May 4, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title chore(analysis/inner_product_space/basic): golf the proof of Cauchy-Schwarz [Merged by Bors] - chore(analysis/inner_product_space/basic): golf the proof of Cauchy-Schwarz May 4, 2023
@bors bors bot closed this May 4, 2023
@bors bors bot deleted the YK-cauchy-golf branch May 4, 2023 11:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

delegated The PR author may merge after reviewing final suggestions. 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.

3 participants