Skip to content

[Merged by Bors] - feat(ENNReal): Scalar multiplication by NNReal is finite - #16319

Closed
YaelDillies wants to merge 4 commits into
masterfrom
nnreal_smul_lt_top
Closed

YaelDillies wants to merge 4 commits into
masterfrom
nnreal_smul_lt_top

Conversation

@YaelDillies

Copy link
Copy Markdown
Contributor

From LeanAPAP

Co-authored-by: Bhavik Mehta [email protected]


Open in Gitpod

@github-actions

github-actions Bot commented Aug 30, 2024 •

Copy link
Copy Markdown

PR summary ede1a90bb0

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Data.ENNReal.Operations 760 761 +1 (+0.13%)
Import changes for all files
Files Import difference
9 files Mathlib.Data.ENNReal.Inv Mathlib.Data.Real.ConjExponents Mathlib.Topology.EMetricSpace.Defs Mathlib.Topology.MetricSpace.Defs Mathlib.Data.ENNReal.Real Mathlib.Data.ENNReal.Operations Mathlib.Data.Real.EReal Mathlib.Topology.MetricSpace.Pseudo.Defs Mathlib.Topology.MetricSpace.MetricSeparated
1

Declarations diff

+ mk_one
+ mk_zero
+ nnreal_smul_lt_top
+ nnreal_smul_lt_top_iff
+ nnreal_smul_ne_top
+ nnreal_smul_ne_top_iff

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.

@YaelDillies YaelDillies added the t-data Data (lists, quotients, numbers, etc) label Aug 30, 2024

@b-mehta b-mehta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wrote part of this so I won't merge, but LGTM.

Comment on lines +158 to +159
@[simp] lemma mk_zero : (⟨0, le_rfl⟩ : ℝ≥0) = 0 := rfl
@[simp] lemma mk_one : (⟨1, zero_le_one⟩ : ℝ≥0) = 1 := rfl

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe these should be protected

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Other similarly named lemmas are not protected, so I don't think so

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 31, 2024
@urkud

urkud commented Aug 31, 2024

Copy link
Copy Markdown
Member

Thanks! 🎉
bors merge

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Aug 31, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Aug 31, 2024
@mathlib-bors

mathlib-bors Bot commented Aug 31, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(ENNReal): Scalar multiplication by NNReal is finite [Merged by Bors] - feat(ENNReal): Scalar multiplication by NNReal is finite Aug 31, 2024
@mathlib-bors mathlib-bors Bot closed this Aug 31, 2024
@mathlib-bors
mathlib-bors Bot deleted the nnreal_smul_lt_top branch August 31, 2024 14:14
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors. t-data Data (lists, quotients, numbers, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants