Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(Analysis/Asymptotics/Asymptotics): generalize smul lemmas to normed rings #9811

Closed
wants to merge 9 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jan 17, 2024

Using BoundedSMul instead of NormedSpace makes these true more generally. The old proofs do not generalize, so are replaced with copies of the mul proofs.

The const_smul_self lemmas match the existing const_mul_self ones.

shake then reports that the imports can be reduced.


Open in Gitpod

@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR awaiting-CI t-analysis Analysis (normed *, calculus) labels Jan 17, 2024
@urkud
Copy link
Member

urkud commented Feb 12, 2024

Should we allow NormedDivisionRings (or even SeminormedRings) in NormedSpace?

@eric-wieser
Copy link
Member Author

eric-wieser commented Feb 12, 2024

Possibly; though arguably with that change it should be renamed to NormedModule. I'm not convinced we really care about the typeclass at all; we have no single typeclass for TVS, and instead use a mixin like we do here for BoundedSMul.

@urkud
Copy link
Member

urkud commented Feb 13, 2024

Thanks! 🎉
bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Feb 13, 2024
mathlib-bors bot pushed a commit that referenced this pull request Feb 13, 2024
…med rings (#9811)

Using `BoundedSMul` instead of `NormedSpace` makes these true more generally. The old proofs do not generalize, so are replaced with copies of the `mul` proofs.

The `const_smul_self` lemmas match the existing `const_mul_self` ones.
@mathlib-bors
Copy link

mathlib-bors bot commented Feb 13, 2024

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Feb 13, 2024
…med rings (#9811)

Using `BoundedSMul` instead of `NormedSpace` makes these true more generally. The old proofs do not generalize, so are replaced with copies of the `mul` proofs.

The `const_smul_self` lemmas match the existing `const_mul_self` ones.
@mathlib-bors
Copy link

mathlib-bors bot commented Feb 13, 2024

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Feb 13, 2024
…med rings (#9811)

Using `BoundedSMul` instead of `NormedSpace` makes these true more generally. The old proofs do not generalize, so are replaced with copies of the `mul` proofs.

The `const_smul_self` lemmas match the existing `const_mul_self` ones.
@mathlib-bors
Copy link

mathlib-bors bot commented Feb 13, 2024

Build failed (retrying...):

@jcommelin
Copy link
Member

This might be causing bors failure...

bors r-

bors d+

@mathlib-bors
Copy link

mathlib-bors bot commented Feb 13, 2024

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

@mathlib-bors
Copy link

mathlib-bors bot commented Feb 13, 2024

Canceled.

@eric-wieser
Copy link
Member Author

bors merge

@urkud
Copy link
Member

urkud commented Feb 14, 2024

It has a merge conflict now. Please merge master and put it back on the queue.
bors r-
bors d+

@mathlib-bors
Copy link

mathlib-bors bot commented Feb 14, 2024

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

@mathlib-bors
Copy link

mathlib-bors bot commented Feb 14, 2024

Canceled.

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Feb 14, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Feb 14, 2024
@eric-wieser
Copy link
Member Author

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Feb 14, 2024
…med rings (#9811)

Using `BoundedSMul` instead of `NormedSpace` makes these true more generally. The old proofs do not generalize, so are replaced with copies of the `mul` proofs.

The `const_smul_self` lemmas match the existing `const_mul_self` ones.

`shake` then reports that the imports can be reduced.
@mathlib-bors
Copy link

mathlib-bors bot commented Feb 14, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Analysis/Asymptotics/Asymptotics): generalize smul lemmas to normed rings [Merged by Bors] - feat(Analysis/Asymptotics/Asymptotics): generalize smul lemmas to normed rings Feb 14, 2024
@mathlib-bors mathlib-bors bot closed this Feb 14, 2024
@mathlib-bors mathlib-bors bot deleted the eric-wieser/asymptotics-boundedsmul branch February 14, 2024 10:22
riccardobrasca pushed a commit that referenced this pull request Feb 18, 2024
…med rings (#9811)

Using `BoundedSMul` instead of `NormedSpace` makes these true more generally. The old proofs do not generalize, so are replaced with copies of the `mul` proofs.

The `const_smul_self` lemmas match the existing `const_mul_self` ones.

`shake` then reports that the imports can be reduced.
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
…med rings (#9811)

Using `BoundedSMul` instead of `NormedSpace` makes these true more generally. The old proofs do not generalize, so are replaced with copies of the `mul` proofs.

The `const_smul_self` lemmas match the existing `const_mul_self` ones.

`shake` then reports that the imports can be reduced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated ready-to-merge This PR has been sent to bors. t-analysis Analysis (normed *, calculus)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants