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): add maps and subgraphs #8223

Closed
wants to merge 36 commits into from

Conversation

hmonroe
Copy link
Collaborator

@hmonroe hmonroe commented Jul 8, 2021

Add graph homomorphisms, isomorphisms, and embeddings. Define subgraphs and supporting lemmas and definitions. Also renamed edge_symm to adj_comm.


Open in Gitpod

@pechersky
Copy link
Collaborator

I think the PR would be easier to evaluate if the documentation/non-math changes were PR'd separate from the mathematical changes. The way it is now, it is difficult to find places in the diff that have the mathematical content, since there are so many lines that have been modified.

@hmonroe hmonroe added the awaiting-review The author would like community review of the PR label Jul 8, 2021
@bors
Copy link

bors bot commented Jul 13, 2021

✌️ hmonroe 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 Jul 13, 2021
@hmonroe
Copy link
Collaborator Author

hmonroe commented Jul 13, 2021 via email

bors bot pushed a commit that referenced this pull request Jul 13, 2021
Add graph homomorphisms, isomorphisms, and embeddings.  Define subgraphs and supporting lemmas and definitions.  Also renamed `edge_symm` to `adj_comm`.



Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@b-mehta
Copy link
Collaborator

b-mehta commented Jul 13, 2021

bors r-

To be clear @hmonroe, I meant that I'm happy for this to be merged once the unresolved comments have been addressed, and at that point you are free to hit merge.

@bors
Copy link

bors bot commented Jul 13, 2021

Canceled.

@kmill
Copy link
Collaborator

kmill commented Jul 13, 2021

@hmonroe I'm making a couple changes

@hmonroe
Copy link
Collaborator Author

hmonroe commented Jul 13, 2021

bors r-

To be clear @hmonroe, I meant that I'm happy for this to be merged once the unresolved comments have been addressed, and at that point you are free to hit merge.

Apologies, I think @kmill should have the final say

@kmill
Copy link
Collaborator

kmill commented Jul 13, 2021

Thanks everyone for reviewing!

bors r+

@bors
Copy link

bors bot commented Jul 13, 2021

🔒 Permission denied

Existing reviewers: click here to make kmill a reviewer

@kmill
Copy link
Collaborator

kmill commented Jul 13, 2021

@hmonroe I forgot I've not been delegated to do the merge -- I'll leave it to you.

@hmonroe
Copy link
Collaborator Author

hmonroe commented Jul 13, 2021 via email

bors bot pushed a commit that referenced this pull request Jul 13, 2021
Add graph homomorphisms, isomorphisms, and embeddings.  Define subgraphs and supporting lemmas and definitions.  Also renamed `edge_symm` to `adj_comm`.



Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@bors
Copy link

bors bot commented Jul 13, 2021

Build failed (retrying...):

@eric-wieser
Copy link
Member

bors r-

This needs a merge of master I think

@bors
Copy link

bors bot commented Jul 13, 2021

Canceled.

@@ -97,21 +106,29 @@ instance complete_graph_adj_decidable (V : Type u) [decidable_eq V] :
decidable_rel (complete_graph V).adj :=
λ v w, not.decidable

/-- The graph with no edges on a given vertex type `V`. -/
def empty_graph (V : Type u) : simple_graph V :=
{ adj := λ i j, false }
Copy link
Member

Choose a reason for hiding this comment

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

Should this be a has_bot instance?

Copy link
Collaborator

Choose a reason for hiding this comment

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

can also be has_top with complete_graph

Copy link
Collaborator

Choose a reason for hiding this comment

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

@eric-wieser @ericrbg Yeah, and simple_graph can be a bounded_lattice. Would you mind if we held this off for another PR and merge this one?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I've pushed a todo to remind us to do the work.

@hmonroe I think we're free to merge it now

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

bors r+

bors bot pushed a commit that referenced this pull request Jul 14, 2021
Add graph homomorphisms, isomorphisms, and embeddings.  Define subgraphs and supporting lemmas and definitions.  Also renamed `edge_symm` to `adj_comm`.



Co-authored-by: Kyle Miller <kmill31415@gmail.com>
@bors
Copy link

bors bot commented Jul 14, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(combinatorics/simple_graph): add maps and subgraphs [Merged by Bors] - feat(combinatorics/simple_graph): add maps and subgraphs Jul 14, 2021
@bors bors bot closed this Jul 14, 2021
@bors bors bot deleted the ramsey_theory branch July 14, 2021 18:22
b-mehta pushed a commit that referenced this pull request Jul 20, 2021
Add graph homomorphisms, isomorphisms, and embeddings.  Define subgraphs and supporting lemmas and definitions.  Also renamed `edge_symm` to `adj_comm`.



Co-authored-by: Kyle Miller <kmill31415@gmail.com>
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

8 participants