Repository navigation
[Merged by Bors] - refactor: Deduplicate monotonicity of • lemmas - #9179
Closed
YaelDillies wants to merge 14 commits into
Closed
YaelDillies wants to merge 14 commits into
YaelDillies wants to merge 14 commits into
Conversation
Remove the duplicates introduced in #8869 by sorting the lemmas in `Algebra.Order.SMul` into three files: * `Algebra.Order.Module.Defs` for the order isomorphism induced by scalar multiplication by a positivity element * `Algebra.Order.Module.Pointwise` for the order properties of scalar multiplication of sets. This file is new. I credit myself for leanprover-community/mathlib3#9078 * `Algebra.Order.Module.OrderedSMul`: The material about `OrderedSMul` per se. Inherits the copyright header from `Algebra.Order.SMul`. This file should eventually be deleted. I move each `#align` to the correct file. On top of that, I delete unused redundant `OrderedSMul` instances (they were useful in Lean 3, but not anymore) and `eq_of_smul_eq_smul_of_pos_of_le`/`eq_of_smul_eq_smul_of_neg_of_le` since those lemmas are weird and unused.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
jcommelin
reviewed
Dec 23, 2023
|
|
||
| ## TODO | ||
|
|
||
| This file is now mostly useless. We should try deleting `OrderedSMul` |
Contributor
Author
There was a problem hiding this comment.
The PosSMulMono and friends mixins. OrderedSMul is a mixin that effectively combinesPosSMulStrictMono and PosSMulReflectLT together.
jcommelin
approved these changes
Dec 23, 2023
jcommelin
left a comment
Member
There was a problem hiding this comment.
Thanks 🎉
If CI passes, please remove the label awaiting-CI and merge this yourself, by adding a comment bors r+.
bors d+
Contributor
|
✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with |
Contributor
Author
|
bors merge |
mathlib-bors Bot
pushed a commit
that referenced
this pull request
Dec 23, 2023
Remove the duplicates introduced in #8869 by sorting the lemmas in `Algebra.Order.SMul` into three files: * `Algebra.Order.Module.Defs` for the order isomorphism induced by scalar multiplication by a positivity element * `Algebra.Order.Module.Pointwise` for the order properties of scalar multiplication of sets. This file is new. I credit myself for leanprover-community/mathlib3#9078 * `Algebra.Order.Module.OrderedSMul`: The material about `OrderedSMul` per se. Inherits the copyright header from `Algebra.Order.SMul`. This file should eventually be deleted. I move each `#align` to the correct file. On top of that, I delete unused redundant `OrderedSMul` instances (they were useful in Lean 3, but not anymore) and `eq_of_smul_eq_smul_of_pos_of_le`/`eq_of_smul_eq_smul_of_neg_of_le` since those lemmas are weird and unused.
Contributor
|
Build failed: |
Contributor
Author
|
bors merge |
mathlib-bors Bot
pushed a commit
that referenced
this pull request
Dec 23, 2023
Remove the duplicates introduced in #8869 by sorting the lemmas in `Algebra.Order.SMul` into three files: * `Algebra.Order.Module.Defs` for the order isomorphism induced by scalar multiplication by a positivity element * `Algebra.Order.Module.Pointwise` for the order properties of scalar multiplication of sets. This file is new. I credit myself for leanprover-community/mathlib3#9078 * `Algebra.Order.Module.OrderedSMul`: The material about `OrderedSMul` per se. Inherits the copyright header from `Algebra.Order.SMul`. This file should eventually be deleted. I move each `#align` to the correct file. On top of that, I delete unused redundant `OrderedSMul` instances (they were useful in Lean 3, but not anymore) and `eq_of_smul_eq_smul_of_pos_of_le`/`eq_of_smul_eq_smul_of_neg_of_le` since those lemmas are weird and unused.
Contributor
|
Pull request successfully merged into master. Build succeeded: |
• lemmas• lemmas
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.
Remove the duplicates introduced in #8869 by sorting the lemmas in
Algebra.Order.SMulinto three files:Algebra.Order.Module.Defsfor the order isomorphism induced by scalar multiplication by a positivity elementAlgebra.Order.Module.Pointwisefor the order properties of scalar multiplication of sets. This file is new. I credit myself for [Merged by Bors] - feat(algebra/bounds):smulof upper/lower bounds mathlib3#9078Algebra.Order.Module.OrderedSMul: The material aboutOrderedSMulper se. Inherits the copyright header fromAlgebra.Order.SMul. This file should eventually be deleted.I move each
#alignto the correct file. On top of that, I delete unused redundantOrderedSMulinstances (they were useful in Lean 3, but not anymore) andeq_of_smul_eq_smul_of_pos_of_le/eq_of_smul_eq_smul_of_neg_of_lesince those lemmas are weird and unused.