Skip to content

[Merged by Bors] - feat(Data/Set): images of intervals under Subtype.val#7653

Closed
urkud wants to merge 4 commits intomasterfrom
YK-interval-image
Closed

[Merged by Bors] - feat(Data/Set): images of intervals under Subtype.val#7653
urkud wants to merge 4 commits intomasterfrom
YK-interval-image

Conversation

@urkud
Copy link
Copy Markdown
Member

@urkud urkud commented Oct 13, 2023

Add simp lemmas for images of intervals in other intervals
under Subtype.val.


I needed one of these lemmas in an ongoing project, so I added all of them.

Open in Gitpod

Add `simp` lemmas for images of intervals in other intervals
under `Subtype.val`.
@RemyDegenne
Copy link
Copy Markdown
Contributor

Thanks!
bors r+

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Oct 30, 2023
bors bot pushed a commit that referenced this pull request Oct 30, 2023
Add `simp` lemmas for images of intervals in other intervals
under `Subtype.val`.
image_subset_iff.mpr fun _ m => m

@[simp]
lemma image_subtype_val_Ici_Iic {a : α} (b : Ici a) : Subtype.val '' Iic b = Icc a b :=
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.

To make these easier to read, can you make the coercion explicit?

Suggested change
lemma image_subtype_val_Ici_Iic {a : α} (b : Ici a) : Subtype.val '' Iic b = Icc a b :=
lemma image_subtype_val_Ici_Iic {a : α} (b : Ici a) : Subtype.val '' Iic b = Icc a b :=

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.

(or with .1)

@bors
Copy link
Copy Markdown

bors bot commented Oct 30, 2023

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): images of intervals under Subtype.val [Merged by Bors] - feat(Data/Set): images of intervals under Subtype.val Oct 30, 2023
@bors bors bot closed this Oct 30, 2023
@bors bors bot deleted the YK-interval-image branch October 30, 2023 09:40
grunweg pushed a commit that referenced this pull request Nov 1, 2023
Add `simp` lemmas for images of intervals in other intervals
under `Subtype.val`.
fgdorais pushed a commit that referenced this pull request Nov 1, 2023
Add `simp` lemmas for images of intervals in other intervals
under `Subtype.val`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-order Order theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants