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(combinatorics/double_counting): Double-counting the edges of a bipartite graph #11372

Closed
wants to merge 1 commit into from

Conversation

YaelDillies
Copy link
Collaborator

This proves a classic of double-counting arguments: If each element of the |α| elements on the left is connected to at least m elements on the right and each of the |β| elements on the right is connected to at most n elements on the left, then |α| * m ≤ |β| * n because the LHS is less than the number of edges which is less than the RHS.

This is put in a new file combinatorics.double_counting with the idea that we could gather double counting arguments here, much as is done with combinatorics.pigeonhole.


Open in Gitpod

@YaelDillies YaelDillies added this to In progress in Graph Theory and Combinatorics via automation Jan 11, 2022
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@leanprover-community-bot-assistant leanprover-community-bot-assistant 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 Jan 11, 2022
bors bot pushed a commit that referenced this pull request Jan 11, 2022
…ipartite graph (#11372)

This proves a classic of double-counting arguments: If each element of the `|α|` elements on the left is connected to at least `m` elements on the right and each of the `|β|` elements on the right is connected to at most `n` elements on the left, then `|α| * m ≤ |β| * n` because the LHS is less than the number of edges which is less than the RHS.

This is put in a new file `combinatorics.double_counting` with the idea that we could gather double counting arguments here, much as is done with `combinatorics.pigeonhole`.
bors bot pushed a commit that referenced this pull request Jan 11, 2022
…ipartite graph (#11372)

This proves a classic of double-counting arguments: If each element of the `|α|` elements on the left is connected to at least `m` elements on the right and each of the `|β|` elements on the right is connected to at most `n` elements on the left, then `|α| * m ≤ |β| * n` because the LHS is less than the number of edges which is less than the RHS.

This is put in a new file `combinatorics.double_counting` with the idea that we could gather double counting arguments here, much as is done with `combinatorics.pigeonhole`.
@bors
Copy link

bors bot commented Jan 11, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(combinatorics/double_counting): Double-counting the edges of a bipartite graph [Merged by Bors] - feat(combinatorics/double_counting): Double-counting the edges of a bipartite graph Jan 11, 2022
@bors bors bot closed this Jan 11, 2022
Graph Theory and Combinatorics automation moved this from In progress to Done Jan 11, 2022
@bors bors bot deleted the double_counting_bipartite branch January 11, 2022 23:41
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+`.)
Development

Successfully merging this pull request may close these issues.

None yet

3 participants