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(order/sup_indep): Finite supremum independence #9867
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YaelDillies
added
awaiting-review
The author would like community review of the PR
and removed
WIP
Work in progress
labels
Oct 24, 2021
jcommelin
reviewed
Oct 25, 2021
2 tasks
Can we add this lemma or a variant of it somewhere? lemma sup_indep_iff {α} [complete_distrib_lattice α] (s : finset ι) (f : ι → α) :
complete_lattice.independent (f ∘ (coe : s → ι)) ↔ sup_indep s f :=
begin
rw complete_lattice.independent, rw sup_indep,
refine subtype.forall.trans _,
refine forall_congr _,
intros a,
refine forall_congr _,
intros b,
rw finset.sup_eq_supr,
apply iff_of_eq,
congr' 1,
refine supr_subtype.trans _,
congr' 1 with x,
simp [supr_and],
rw supr_comm,
end |
eric-wieser
reviewed
Oct 27, 2021
eric-wieser
reviewed
Oct 28, 2021
eric-wieser
reviewed
Oct 28, 2021
bors bot
pushed a commit
that referenced
this pull request
Nov 4, 2021
…se_disjoint` (#9898) This will allow to express the bind operation: you can't currently express that the pairwise disjoint union of pairwise disjoint sets pairwise disjoint. Here's the corresponding statement with `finset.sup_indep` (defined in #9867): ```lean lemma sup_indep.sup {s : finset ι'} {g : ι' → finset ι} {f : ι → α} (hs : s.sup_indep (λ i, (g i).sup f)) (hg : ∀ i' ∈ s, (g i').sup_indep f) : (s.sup g).sup_indep f := ``` You currently can't do `set.pairwise_disjoint s (λ i, ⋃ x ∈ g i, f x)`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
bors bot
pushed a commit
that referenced
this pull request
Nov 4, 2021
…se_disjoint` (#9898) This will allow to express the bind operation: you can't currently express that the pairwise disjoint union of pairwise disjoint sets pairwise disjoint. Here's the corresponding statement with `finset.sup_indep` (defined in #9867): ```lean lemma sup_indep.sup {s : finset ι'} {g : ι' → finset ι} {f : ι → α} (hs : s.sup_indep (λ i, (g i).sup f)) (hg : ∀ i' ∈ s, (g i').sup_indep f) : (s.sup g).sup_indep f := ``` You currently can't do `set.pairwise_disjoint s (λ i, ⋃ x ∈ g i, f x)`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
fpvandoorn
reviewed
Nov 9, 2021
ericrbg
pushed a commit
that referenced
this pull request
Nov 9, 2021
…se_disjoint` (#9898) This will allow to express the bind operation: you can't currently express that the pairwise disjoint union of pairwise disjoint sets pairwise disjoint. Here's the corresponding statement with `finset.sup_indep` (defined in #9867): ```lean lemma sup_indep.sup {s : finset ι'} {g : ι' → finset ι} {f : ι → α} (hs : s.sup_indep (λ i, (g i).sup f)) (hg : ∀ i' ∈ s, (g i').sup_indep f) : (s.sup g).sup_indep f := ``` You currently can't do `set.pairwise_disjoint s (λ i, ⋃ x ∈ g i, f x)`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
eric-wieser
reviewed
Nov 13, 2021
LGTM bors merge |
github-actions
bot
added
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
and removed
awaiting-review
The author would like community review of the PR
labels
Nov 15, 2021
bors bot
pushed a commit
that referenced
this pull request
Nov 15, 2021
This defines supremum independence of indexed finsets.
Pull request successfully merged into master. Build succeeded: |
bors
bot
changed the title
feat(order/sup_indep): Finite supremum independence
[Merged by Bors] - feat(order/sup_indep): Finite supremum independence
Nov 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This defines supremum independence of indexed finsets.
Note, this is currently very redundant with
set.pairwise_disjoint
, both notions being equivalent in distributive lattices. The expectation is that we'll be able to talk about disjointness and sup (simultaneously!) in non distributive lattices sometimes soon.