Skip to content
This repository was archived by the owner on Nov 6, 2026. It is now read-only.

[Merged by Bors] - feat(data/set/intervals/proj_Icc): Extending from Ici a - #18795

Closed
YaelDillies wants to merge 4 commits into
masterfrom
proj_Ici
Closed

YaelDillies wants to merge 4 commits into
masterfrom
proj_Ici

Conversation

@YaelDillies

@YaelDillies YaelDillies commented Apr 12, 2023 •

Copy link
Copy Markdown
Collaborator

Define the Ici and Iic versions of set.proj_Icc/set.Icc_extend. Slightly reorder the lemmas to allow better overall structure.

This is useful for extending convex functions by a junk value.


Open in Gitpod

@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR t-order Order hierarchy modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. labels Apr 12, 2023
variables [preorder β] {a b : α} (h : a ≤ b) {f : Icc a b → β}
variables [preorder β] {s t : set α} {a b : α} (h : a ≤ b) {f : Icc a b → β}

protected lemma monotone.Ici_extend {f : Ici a → β} (hf : monotone f) : monotone (Ici_extend f) :=

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should these sorts of lemmas be tagged @[mono]?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can @[mono] deal with lemmas that have assumptions?

@YaelDillies YaelDillies Jun 21, 2023 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Really unsure...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Did you try it in some example?

@urkud

urkud commented Jun 21, 2023

Copy link
Copy Markdown
Member

LGTM. Please add a comment about future applications of new definitions to the commit message. Thanks!
bors d+

@bors

bors Bot commented Jun 21, 2023

Copy link
Copy Markdown

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

@urkud urkud added the blocked-by-out-of-sync-queue The #outofsync queue must have at most 20 items label Jun 21, 2023
@github-actions github-actions Bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Jun 21, 2023
@YaelDillies YaelDillies removed the blocked-by-out-of-sync-queue The #outofsync queue must have at most 20 items label Jul 11, 2023
@YaelDillies

Copy link
Copy Markdown
Collaborator Author

Unblocked now

bors merge

bors Bot pushed a commit that referenced this pull request Jul 11, 2023
Define the `Ici` and `Iic` versions of `set.proj_Icc`/`set.Icc_extend`. Slightly reorder the lemmas to allow better overall structure.

This is useful for extending convex functions by a junk value.
@bors

bors Bot commented Jul 11, 2023

Copy link
Copy Markdown

Build failed:

@YaelDillies

Copy link
Copy Markdown
Collaborator Author

bors merge

bors Bot pushed a commit that referenced this pull request Jul 11, 2023
Define the `Ici` and `Iic` versions of `set.proj_Icc`/`set.Icc_extend`. Slightly reorder the lemmas to allow better overall structure.

This is useful for extending convex functions by a junk value.
@bors

bors Bot commented Jul 11, 2023

Copy link
Copy Markdown

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.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors Bot changed the title feat(data/set/intervals/proj_Icc): Extending from Ici a [Merged by Bors] - feat(data/set/intervals/proj_Icc): Extending from Ici a Jul 11, 2023
@bors bors Bot closed this Jul 11, 2023
@bors
bors Bot deleted the proj_Ici branch July 11, 2023 17:46
YaelDillies added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 12, 2023
bors Bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jul 14, 2023
kbuzzard pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jul 15, 2023
kim-em pushed a commit to leanprover-community/mathlib4 that referenced this pull request Aug 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

delegated The PR author may merge after reviewing final suggestions. modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. t-order Order hierarchy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants