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/simple_graph/adj_matrix): more lemmas #9021

Closed
wants to merge 25 commits into from

Conversation

l534zhan
Copy link
Collaborator

@l534zhan l534zhan commented Sep 6, 2021


Open in Gitpod

@l534zhan
Copy link
Collaborator Author

l534zhan commented Sep 6, 2021

This PR is a part of my project. See https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/Contribute.20a.20project.20on.20Hadamard.20matrices.

This PR weakens the conditions for adjacency matrices and adds more lemmas, as discussed in https://leanprover.zulipchat.com/#narrow/stream/252551-graph-theory/topic/adj_matrix.

Some variable names used in the original file can be confusing and are inconsistent with other parts of mathlib. I changed such names.

@l534zhan l534zhan requested a review from kmill September 6, 2021 00:12
Copy link
Collaborator

@kmill kmill left a comment

Choose a reason for hiding this comment

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

Some comments so far

src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
l534zhan and others added 5 commits September 6, 2021 16:03
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Copy link
Collaborator

@kmill kmill left a comment

Choose a reason for hiding this comment

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

Some more comments and some shortened proofs.

src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
src/combinatorics/simple_graph/adj_matrix.lean Outdated Show resolved Hide resolved
l534zhan and others added 10 commits September 6, 2021 19:12
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@l534zhan l534zhan requested a review from kmill September 6, 2021 18:39
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@l534zhan l534zhan added the awaiting-review The author would like community review of the PR label Sep 8, 2021
@jcommelin
Copy link
Member

bors d=kmill

@bors
Copy link

bors bot commented Sep 8, 2021

✌️ kmill 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 Sep 8, 2021
@l534zhan
Copy link
Collaborator Author

l534zhan commented Sep 8, 2021

@kmill Hi, Kyle. Any further suggestions? If not, how about approving this PR?

Copy link
Collaborator

@kmill kmill left a comment

Choose a reason for hiding this comment

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

I think renaming loopless is the last thing I'd like to ask of you before merging. Thanks for your PR!

l534zhan and others added 2 commits September 10, 2021 18:11
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@l534zhan
Copy link
Collaborator Author

@kmill HI! I have changed accordingly! How about approving this PR now?

@l534zhan l534zhan requested a review from kmill September 10, 2021 17:13
@kmill
Copy link
Collaborator

kmill commented Sep 10, 2021

Thanks @l534zhan 🎉

bors r+

(By the way, you usually don't need to request a review from someone more than once -- anyone who interacts with a PR gets e-mails whenever there are messages or new commits.)

bors bot pushed a commit that referenced this pull request Sep 10, 2021


Co-authored-by: l534zhan <84618936+l534zhan@users.noreply.github.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@bors
Copy link

bors bot commented Sep 10, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Sep 10, 2021


Co-authored-by: l534zhan <84618936+l534zhan@users.noreply.github.com>
Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@bors
Copy link

bors bot commented Sep 10, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(combinatorics/simple_graph/adj_matrix): more lemmas [Merged by Bors] - feat(combinatorics/simple_graph/adj_matrix): more lemmas Sep 10, 2021
@bors bors bot closed this Sep 10, 2021
@bors bors bot deleted the adj_lz branch September 10, 2021 20:31
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants