-
Notifications
You must be signed in to change notification settings - Fork 339
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: Extending convex functions #6339
Conversation
Mathlib/Analysis/Convex/ProjIcc.lean
Outdated
@@ -0,0 +1,99 @@ | |||
/- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is new, right? If so, can you drop it from this PR so that it can be reviewed as a port, not a forward-port?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is a forward-port, though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's only a forward-port if it's a modification of a file that was already ported from the out-of-sync region of https://leanprover-community.github.io/mathlib-port-status; otherwise it's just a sparkling port.
It's best to do this in a separate PR using start_port.sh
so that the review against mathport is possible. Obviously that will have to wait for the rest of this files in this PR to be merged first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you recently change the presentation of out-of-sync
? I swear I copied that code from there 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't touched it...
@@ -64,6 +64,7 @@ variable [Preorder α] [Preorder β] | |||
theorem Monotone.image_Icc_subset (h : Monotone f) : | |||
f '' Icc a b ⊆ Icc (f a) (f b) := | |||
h.mapsTo_Icc.image_subset | |||
#align monotone.image_Icc_subset Monotone.image_Icc_subset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are the other three lemmas, MonotoneOn.image_Icc_subset
, AntitoneOn.image_Icc_subset
, and Antitone.image_Icc_subset
? I'm a bit confused, because your previous version had maybe 20 new lemmas, but this one is now missing 3 lemmas.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two approaches come to mind:
- Add
#noalign
s for the other three lemmas with a TODO comment - Make a separate PR that adds this whole family of lemmas (first), then update this one to just add the aligns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went for the second because it's less work for me: #7146.
bors d+ I think I finished this us, please merge if it looks good to you and CI. |
✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with |
Thank you for the merge. bors merge |
Forward-ports leanprover-community/mathlib3#18797 The changes to `Mathlib.Data.Set.Intervals.Basic` were independently added to mathlib4 in `Mathlib.Data.Set.Intervals.Image`, so the `#align`s have been added there instead of the original file. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Build failed: |
"No space left on device". I'll rerun bors once this is fixed: https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/No.20space.20left.20on.20device |
Hopefully fixed now. bors merge |
Forward-ports leanprover-community/mathlib3#18797 The changes to `Mathlib.Data.Set.Intervals.Basic` were independently added to mathlib4 in `Mathlib.Data.Set.Intervals.Image`, so the `#align`s have been added there instead of the original file. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
This PR was included in a batch that was canceled, it will be automatically retried |
Forward-ports leanprover-community/mathlib3#18797 The changes to `Mathlib.Data.Set.Intervals.Basic` were independently added to mathlib4 in `Mathlib.Data.Set.Intervals.Image`, so the `#align`s have been added there instead of the original file. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
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. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Forward-ports leanprover-community/mathlib3#18797
The changes to
Mathlib.Data.Set.Intervals.Basic
were independently added to mathlib4 inMathlib.Data.Set.Intervals.Image
, so the#align
s have been added there instead of the original file.This does not quite match the mathlib PR since Scott independently proved
Monotone.image_Icc_subset
in a new file. So instead of porting those changes, I'm integrating them to Scott's new file.