[Merged by Bors] - feat: forward-port PR 18990#4328
Closed
Conversation
Forward-port of leanprover-community/mathlib3#18990 Original title: feat(analysis/normed_space/basic): scaling a set scales its diameter, translating it leaves it unchanged
bors bot
pushed a commit
that referenced
this pull request
May 25, 2023
Forward-port of leanprover-community/mathlib3#18990 Original title: feat(analysis/normed_space/basic): scaling a set scales its diameter, translating it leaves it unchanged
|
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. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Member
|
You didn't update any of the SHAs! |
eric-wieser
reviewed
May 25, 2023
Comment on lines
+1643
to
+1648
| /-- A variant of `le_inv_smul_iff` that holds for `ennreal`. -/ | ||
| protected theorem le_inv_smul_iff {a b : ℝ≥0∞} {r : ℝ≥0} (hr₀ : r ≠ 0) : a ≤ r⁻¹ • b ↔ r • a ≤ b := | ||
| by simpa [hr₀, ENNReal.smul_def] using (mul_le_iff_le_inv (coe_ne_zero.mpr hr₀) coe_ne_top).symm | ||
| #align ennreal.le_inv_smul_iff ENNReal.le_inv_smul_iff | ||
|
|
||
| /-- A variant of `inv_smul_le_iff` that holds for `ennreal`. -/ |
Member
There was a problem hiding this comment.
ennreal should be ENNReal, right?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forward-port of leanprover-community/mathlib3#18990
Original title:
feat(analysis/normed_space/basic): scaling a set scales its diameter, translating it leaves it unchanged