Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck 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 nN,

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 degG(v)=NG(v) (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).

[F3]

Writing n=qr+a with 0a<r, e(Tn,r)=(n2)a(q+12)(ra)(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 n2, 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)(n2)2/4+n1=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 GTn2,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 GTn,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 · next 3 levels

Direct dependencies and their dependencies through the next three levels: 23 results over 13 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources