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] - refactor(data/set/intervals): Generalize set.interval to lattices #17776

Closed
wants to merge 12 commits into from

Conversation

YaelDillies
Copy link
Collaborator

Replace

def interval (a b : α) := Icc (min a b) (max a b)

by

def interval (a b : α) := Icc (a ⊓ b) (a ⊔ b)

Generalize lemmas accordingly.


This might seem like a weird generality to have, but I actually need it (for finset, precisely). See this proof of the van den Berg-Kesten-Reimer inequality on page 2.

Open in Gitpod

@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR t-order Order hierarchy labels Dec 1, 2022
@eric-wieser eric-wieser added the awaiting-CI The author would like to see what CI has to say before doing more work. label Dec 1, 2022
@YaelDillies YaelDillies requested a review from a team as a code owner December 5, 2022 01:29
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Dec 5, 2022
@eric-wieser eric-wieser added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Dec 12, 2022
@YaelDillies YaelDillies added this to van den Berg-Kesten-Reimer in Correlation inequalities Dec 12, 2022
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Dec 12, 2022
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@eric-wieser
Copy link
Member

bors d+

@bors
Copy link

bors bot commented Dec 13, 2022

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

@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 Dec 13, 2022
@YaelDillies
Copy link
Collaborator Author

bors merge

bors bot pushed a commit that referenced this pull request Dec 14, 2022
…17776)

Replace
```
def interval (a b : α) := Icc (min a b) (max a b)
```
by
```
def interval (a b : α) := Icc (a ⊓ b) (a ⊔ b)
```
Generalize lemmas accordingly.
@bors
Copy link

bors bot commented Dec 14, 2022

This PR was included in a batch that successfully built, but then failed to merge into master (it was a non-fast-forward update). It will be automatically retried.

bors bot pushed a commit that referenced this pull request Dec 14, 2022
…17776)

Replace
```
def interval (a b : α) := Icc (min a b) (max a b)
```
by
```
def interval (a b : α) := Icc (a ⊓ b) (a ⊔ b)
```
Generalize lemmas accordingly.
@bors
Copy link

bors bot commented Dec 14, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(data/set/intervals): Generalize set.interval to lattices [Merged by Bors] - refactor(data/set/intervals): Generalize set.interval to lattices Dec 14, 2022
@bors bors bot closed this Dec 14, 2022
@bors bors bot deleted the interval_lattice branch December 14, 2022 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. t-order Order hierarchy
Projects
Correlation inequalities
van den Berg-Kesten-Reimer
Development

Successfully merging this pull request may close these issues.

None yet

2 participants