Skip to content

[Merged by Bors] - feat: forward-port PR 18990#4328

Closed
urkud wants to merge 1 commit intomasterfrom
forward-port-18990
Closed

[Merged by Bors] - feat: forward-port PR 18990#4328
urkud wants to merge 1 commit intomasterfrom
forward-port-18990

Conversation

@urkud
Copy link
Copy Markdown
Member

@urkud urkud commented 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


Open in Gitpod

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
@urkud urkud added awaiting-review mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged labels May 25, 2023
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 🎉

bors merge

@kim-em kim-em added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels May 25, 2023
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
@bors
Copy link
Copy Markdown

bors bot commented May 25, 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 feat: forward-port PR 18990 [Merged by Bors] - feat: forward-port PR 18990 May 25, 2023
@bors bors bot closed this May 25, 2023
@bors bors bot deleted the forward-port-18990 branch May 25, 2023 13:40
@eric-wieser
Copy link
Copy Markdown
Member

You didn't update any of the SHAs!

urkud added a commit that referenced this pull request May 25, 2023
The actual forward-porting was done in #4327 and #4328
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`. -/
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser May 25, 2023

Choose a reason for hiding this comment

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

ennreal should be ENNReal, right?

bors bot pushed a commit that referenced this pull request May 25, 2023
The actual forward-porting was done in #4327 and #4328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants