Skip to content

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

Closed
YaelDillies wants to merge 4 commits intomasterfrom
nnreal_smul_lt_top
Closed

[Merged by Bors] - feat(ENNReal): Scalar multiplication by NNReal is finite#16319
YaelDillies wants to merge 4 commits intomasterfrom
nnreal_smul_lt_top

Conversation

@YaelDillies
Copy link
Copy Markdown
Contributor

From LeanAPAP

Co-authored-by: Bhavik Mehta bhavik.mehta8@gmail.com


Open in Gitpod

From LeanAPAP

Co-authored-by: Bhavik Mehta <bhavik.mehta8@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 30, 2024

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
Copy link
Copy Markdown
Contributor

@b-mehta b-mehta left a comment

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

Copy link
Copy Markdown
Contributor

@Ruben-VandeVelde Ruben-VandeVelde left a comment

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
Copy link
Copy Markdown
Member

urkud commented Aug 31, 2024

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
From LeanAPAP

Co-authored-by: Bhavik Mehta <bhavik.mehta8@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Aug 31, 2024

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
From LeanAPAP

Co-authored-by: Bhavik Mehta <bhavik.mehta8@gmail.com>
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
From LeanAPAP

Co-authored-by: Bhavik Mehta <bhavik.mehta8@gmail.com>
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 12, 2024
From LeanAPAP

Co-authored-by: Bhavik Mehta <bhavik.mehta8@gmail.com>
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