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

feat(combinatorics/simple_graph): Mantel's theorem #13758

Closed
wants to merge 10 commits into from

Conversation

kmill
Copy link
Collaborator

@kmill kmill commented Apr 28, 2022

If a graph has more than n^2/4 edges then it contains a triangle (Theorem I.2 of Bollobas, Modern Graph Theory). We should also eventually have Turán's theorem, which generalizes this.


Open in Gitpod

@vihdzp
Copy link
Collaborator

vihdzp commented Apr 28, 2022

Note: this is a special case of Turán's theorem. You could prove the stronger result that a graph with n vertices without a k-clique has at most vertices as the Turán graph.

@b-mehta
Copy link
Collaborator

b-mehta commented Apr 28, 2022

Note: this is a special case of Turán's theorem. You could prove the stronger result that a graph with n vertices without a k-clique has at most vertices as the Turán graph.

Agreed, I had a go at this a while ago but since we didn't have API for cliques at the time it was pretty tricky, it might be more doable now!

@semorrison semorrison added the WIP Work in progress label May 7, 2022
@urkud
Copy link
Member

urkud commented Aug 20, 2022

Could you please change the title to be understandable without a textbook?

@kmill kmill changed the title theorem I.2 of bollobas "modern graph theory" feat(combinatorics/simple_graph): Mantel's theorem Sep 4, 2022
@semorrison semorrison added the too-late This PR was ready too late for inclusion in mathlib3 label Jul 16, 2023
@eric-wieser eric-wieser requested a review from a team as a code owner October 16, 2023 15:12
@YaelDillies
Copy link
Collaborator

I salvaged the code in LeanCamCombi. Note that I am also porting John Talbot's proof of Turan, so I am dropping the proof of Mantel here.

@YaelDillies YaelDillies deleted the kmill_triangle_free branch October 18, 2023 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
too-late This PR was ready too late for inclusion in mathlib3 WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants