Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-13
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Mantel's theorem: ex⁡(n,K3)=⌊n2/4⌋, uniquely attained by Tn,2

Statement

For every n∈N,

ex⁡(n,K3)=⌊n24⌋=e(Tn,2).

Every triangle-free graph on n vertices has at most this many edges, and equality holds exactly for a graph isomorphic to the balanced complete bipartite graph Tn,2.

Facts & Assumptions

Given: The hypotheses and notation of the statement above.

[F1]

ex⁡(n,H) is the maximum edge count of an n-vertex graph with no ordinary copy of H (Ordinary-subgraph extremal number ex⁡(n,H), Turán graph Tn,r, and balanced blowup H[s]).

[F2]

The open neighbourhood is NG(v)={u:{u,v}∈E} and deg⁡G(v)=∣NG(v)∣ (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).

[F3]

Writing n=qr+a with 0≤a<r, e(Tn,r)=(n2)−a(q+12)−(r−a)(q2); among complete r-partite graphs on n vertices this is the maximum edge count, and equality holds exactly when all part sizes differ by at most 1 (The exact edge count of Tn,r and the unique balancing maximum among complete r-partite graphs).

Proof

technique · induction after deleting the ends of an edge
1.1

The assertion is immediate for n=0,1,2. Assume it, including uniqueness, for n−2, and let G be a triangle-free n-vertex graph. If G has no edge its bound is immediate. Otherwise choose an edge uv. No vertex other than u,v is adjacent to both ends, so d(u)+d(v)≤n.

givenF1F2
2.1

Delete u,v to obtain a triangle-free graph G′. The removed edges number d(u)+d(v)−1, so e(G)≤⌊(n−2)2/4⌋+n−1=⌊n2/4⌋. The graph Tn,2 is triangle-free and has the last edge count, proving the exact maximum.

step 1.1givenF1F3
3.1

Suppose equality holds. Then G′≅Tn−2,2, d(u)+d(v)=n, and every other vertex is adjacent to exactly one of u,v. In each part of G′, triangle-freeness forces all vertices to choose the same endpoint: two vertices in opposite parts choosing the same endpoint would form a triangle with their cross edge. Hence adjoining u to one part and v to the other makes G complete bipartite.

step 1.1step 2.1
4.1

Its two part sizes sum to n and its product is ⌊n2/4⌋; the balancing equality in the preceding lemma forces them to differ by at most 1. Thus G≅Tn,2. Conversely that graph has equality, completing the induction and the uniqueness proof.

step 3.1givenF3
5.1

Steps 1.1-4.1 prove Mantel's theorem independently of Turán's theorem, for all n and with equality fully characterized.

step 1.1step 2.1step 3.1step 4.1∎

Depends on

Used by

Dependency tree · two levels

10 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources