[Merged by Bors] - feat(Topology/CWComplex): 1-skeleton Graph of CWComplex#37915
[Merged by Bors] - feat(Topology/CWComplex): 1-skeleton Graph of CWComplex#37915Jun2M wants to merge 4 commits intoleanprover-community:masterfrom
Graph of CWComplex#37915Conversation
PR summary ade87df682Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
scholzhannah
left a comment
There was a problem hiding this comment.
Thank you for your PR! This looks fun. Purely out of interest: are you planning to use this for anything?
|
|
||
| variable {C : Set X} [CWComplex C] | ||
|
|
||
| lemma OneSkeletonGraph.isLink_iff_pair (e : cell C 1) (x y : cell C 0) : |
There was a problem hiding this comment.
Do you maybe want this to be a simp lemma?
There was a problem hiding this comment.
There is a simps tag to the def of OneSkeletonGraph which auto-creates (OneSkeletonGraph C).IsLink e x y = (cellFrontier 1 e = closedCell 0 x ∪ closedCell 0 y) as a simp lemma. Do you think this lemma is preferable as simp lemma than the other?
There was a problem hiding this comment.
Ah, I see. Then I guess whichever you think will be more useful. I cannot really judge that.
|
Thank you for your review, @scholzhannah!
I am currently working with Graph planarity. One way to define that is to say R^2 is a CW-complex with the given graph as 1-skeleton. Also, topological minor of a graph come from existence of one graph embedding to another, it would be good to formalize that. The big milestone for me is to prove Kuratowski's theorem. |
|
Nice work. Regarding planar graphs, are you aware of the notion of combinatorial hypermap? It seems that was a very useful concept in the formalization of the four colour theorem. See https://www.ams.org/notices/200811/tx081101382p.pdf |
|
Thank you, @jcommelin! I am aware of combinatorial hypermap. However, Peter and I think that the planarity of a graph should "be" about ability to draw a graph on a plane, that is either defined as that property or explicitly shown equivalence to it, rather than contending with just the combinatorial side. I believe this should not be too difficult. Combinatorial hypermap will probably act as a steping stone/ an interface between the combinatorial description and analytical description of planarity. |
|
Pull request successfully merged into master. Build succeeded:
|
Graph of CWComplexGraph of CWComplex
This PR introduces
CWComplex.OneSkeletonGraph, a graph with 0-dim cells as vertices and 1-dim cells as edges.