Skip to content
This repository was archived by the owner on Nov 6, 2026. It is now read-only.

[Merged by Bors] - feat(combinatorics/simple_graph/basic): add definition of common neighbors and lemmas - #5718

Closed
agusakov wants to merge 5 commits into
masterfrom
graph_common_neighbors
Closed

agusakov wants to merge 5 commits into
masterfrom
graph_common_neighbors

Conversation

@agusakov

Copy link
Copy Markdown
Contributor

Part of #5698 in order to prove facts about strongly regular graphs


@agusakov
agusakov requested review from bryangingechen, jalex-stark and kmill and removed request for kmill January 12, 2021 23:39
@kmill kmill added the awaiting-review The author would like community review of the PR label Jan 12, 2021

@kmill kmill left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍

@agusakov
agusakov requested review from b-mehta and removed request for jalex-stark January 13, 2021 00:22
@awainverse

Copy link
Copy Markdown
Collaborator

The finset version of common_neighbors is defined as common_friends in archive/100-theorems-list/83_friendship_graphs.lean. It'd be great if we can move as much of the theory as is relevant from the archive to src.

@agusakov

Copy link
Copy Markdown
Contributor Author

The finset version of common_neighbors is defined as common_friends in archive/100-theorems-list/83_friendship_graphs.lean. It'd be great if we can move as much of the theory as is relevant from the archive to src.

Would it be a good idea to make a new definition for the finset version of common_neighbors and start moving the friendship theorem over in a new PR?

@kmill

kmill commented Jan 13, 2021

Copy link
Copy Markdown
Collaborator

The finset version of common_neighbors is defined as common_friends in archive/100-theorems-list/83_friendship_graphs.lean. It'd be great if we can move as much of the theory as is relevant from the archive to src.

Would it be a good idea to make a new definition for the finset version of common_neighbors and start moving the friendship theorem over in a new PR?

Long-term, I think it's good to try to find ways to remove all the finset versions if possible, since it causes code duplication. This is contingent on finding a way to upgrade things like big operators to sum over finite objects in general. (I'm right now seeing how hard it is to put 83_friendship_graphs in terms of common_neighbors directly. It seems mostly ok so far.)

@bryangingechen

Copy link
Copy Markdown
Collaborator

Let's merge this now and fix up 83_friendship_graphs in a separate PR (if one doesn't come within a few days then remember to make an issue for it).

Thanks!
bors r+

@github-actions 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 Jan 13, 2021
@kmill

kmill commented Jan 13, 2021

Copy link
Copy Markdown
Collaborator

I just created #5727. Feel free to pull out more lemmas @awainverse

bors Bot pushed a commit that referenced this pull request Jan 13, 2021
…hbors and lemmas (#5718)

Part of #5698 in order to prove facts about strongly regular graphs



Co-authored-by: agusakov <[email protected]>
@bors

bors Bot commented Jan 13, 2021

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat(combinatorics/simple_graph/basic): add definition of common neighbors and lemmas [Merged by Bors] - feat(combinatorics/simple_graph/basic): add definition of common neighbors and lemmas Jan 13, 2021
@bors bors Bot closed this Jan 13, 2021
@bors
bors Bot deleted the graph_common_neighbors branch January 13, 2021 21:36
b-mehta pushed a commit that referenced this pull request Jan 16, 2021
…hbors and lemmas (#5718)

Part of #5698 in order to prove facts about strongly regular graphs



Co-authored-by: agusakov <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants