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: Extra sups lemmas #7382

Closed
wants to merge 5 commits into from
Closed

Conversation

YaelDillies
Copy link
Collaborator


Open in Gitpod

@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR t-order Order theory labels Sep 26, 2023
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
subset_sups_self.le.le_iff_eq.symm.trans sups_self_subset

lemma sep_sups_le (s t : Set α) (a : α) :
{b ∈ s ⊻ t | b ≤ a} = {b ∈ s | b ≤ a} ⊻ {b ∈ t | b ≤ a} := by ext; aesop
Copy link
Member

Choose a reason for hiding this comment

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

Would it make sense to state this as (s ⊻ t) \inter Iic a = ...? Or is that less useful to you?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For the Finset version, I must use filter since my order isn't locally finite. For the Set version, I don't really mind, except that using sep is more consistent than intersecting with Iic a.

What do you think? (I don't think it's too important so I'll merge the PR as is, but I'll modify that file quite a lot in the next few weeks so I'm happy to change later)

Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors d+

Thanks!

@bors
Copy link

bors bot commented Sep 27, 2023

✌️ 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.

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Sep 27, 2023
@YaelDillies
Copy link
Collaborator Author

Thanks. That was quick!

bors merge

bors bot pushed a commit that referenced this pull request Sep 28, 2023
@bors
Copy link

bors bot commented Sep 28, 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: Extra sups lemmas [Merged by Bors] - feat: Extra sups lemmas Sep 28, 2023
@bors bors bot closed this Sep 28, 2023
@bors bors bot deleted the sup_closed_sups branch September 28, 2023 06:20
bors bot pushed a commit that referenced this pull request Nov 1, 2023
Match leanprover-community/mathlib#18612.

The lemmas were already added in #7382, though a slight difference in the statement means that we need a new `decidableExistsAndFinsetCoe` instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants