Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated


Claim. Let μ(n)\mu(n) be the largest number of edges of a finite simple graph on nn vertices containing no cycle of length four. Then

lim⁡n→∞μ(n)n3/2=12,\lim_{n\to\infty}\frac{\mu(n)}{n^{3/2}}=\frac12,

that is, ex⁡(n;C4)=(12+o(1))n3/2\operatorname{ex}(n;C_4)=(\tfrac12+o(1))n^{3/2} as n→∞n\to\infty through all positive integers. This is Corollary 2 (printed p. 219) of P. Erdős, A. Rényi and V. T. Sós, On a problem of graph theory, Studia Sci. Math. Hungar. 1 (1966), 215--235 (received 1 February 1966; the volume carries the year only, so this page's name uses its first day). The paper's source card records it and pages the statement at Corollary 2. The lower bound comes from the polarity graph of a finite projective plane, Theorem 1, whose graph has at least 12q(q2+q+1)\tfrac12q(q^2+q+1) edges for every prime power qq (display (1.6), p. 218) and exactly 12q(q+1)2\tfrac12q(q+1)^2 for prime qq (the footnote on p. 218), so that ex⁡(q2+q+1;C4)≥12q(q2+q+1)\operatorname{ex}(q^2+q+1;C_4)\ge\tfrac12q(q^2+q+1), carried to every large nn by the monotonicity of μ\mu and a prime in a short interval just below n\sqrt n (n−n/log⁡n≤p≤n−1\sqrt n-\sqrt n/\log n\le p\le\sqrt n-1, the paper's (1.15), so that p2+p+1≤np^2+p+1\le n); the upper bound is the common-neighbor count, Reiman's inequality ∑v(d(v)2)≤(n2)\sum_v\binom{d(v)}2\le\binom n2, with Cauchy--Schwarz. The paper's footnote on p. 219 records Brown's independent proof of the same asymptotic by the same construction (Canad. Math. Bull. 9 (1966), 281--285), recorded on Brown's claim page, and cites Reiman (1958) for the upper asymptotic.

For Problem 765, which asks for an asymptotic formula for ex⁡(n;C4)\operatorname{ex}(n;C_4), this is the formula: the leading term with an o(n3/2)o(n^{3/2}) remainder. It asserts no second-order term; Erdős's later conjecture of a second term n/4n/4 with an O(n1/2)O(n^{1/2}) remainder is false by Ma and Yang (2023), as the problem page records, and no replacement second-order asymptotic is known.

Acceptance. Refereed: Studia Scientiarum Mathematicarum Hungarica. Reviewed: the site's curator, Thomas Bloom, labels the problem solved and records the asymptotic ex⁡(n;C4)∼12n3/2\operatorname{ex}(n;C_4)\sim\tfrac12n^{3/2} as the answer in the problem's commentary, crediting the construction to Erdős and Rényi and to Brown and the upper bound to Reiman; Füredi (1983) and Ma and Yang (2023), in refereed papers, credit the asymptotic to Erdős, Rényi and Sós by name, with Brown's independent proof beside it. The result page records Corollary 2 and its proof pointers at the author level; this corpus has not audited the prime-distribution input and supplies no independent whole-proof review.

Formalization. A Lean 4 development proving this asymptotic was posted on 2026-05-16 in the site's discussion thread by Jeremy Tan Jie Rui (the forum account parclytaxel), who describes it as a proof found with the prover Aristotle following the exposition in Aigner and Ziegler's Proofs from THE BOOK (Chapter 28.5 of the sixth edition). The gist (Erdos765.lean, 492 lines, for the Mathlib v4.28.0 project of the online Lean editor; its version of 2026-05-16 is its only revision) proves erdos765: the function n↦ex⁡(n;C4)n\mapsto\operatorname{ex}(n;C_4), as Mathlib's SimpleGraph.extremalNumber of the development's own four-cycle C4 : SimpleGraph (Fin 4) cast to the reals, is asymptotically equivalent (~[atTop]) to n↦n3/2/2n\mapsto n^{3/2}/2, by the polarity-graph lower bound at prime-power orders, Reiman's inequality for the upper bound, and the passage to all nn through one axiom, prime_between, which asserts that for every ϵ>0\epsilon>0 and all large real xx there is a prime in (x,(1+ϵ)x)(x,(1+\epsilon)x) and stands in for a statement of the PNT+ library. The copy hosted in Boris Alexeev's lean-proofs repository (plby/lean-proofs; the file src/latest/ErdosProblems/Erdos765.lean, Lean v4.33.0, Mathlib v4.33.0, added 2026-08-26, 52 lines at the pinned commit of 2026-09-15, importing the repository's Erdos765.Asymptotics development) is the same proof adapted to that repository; its header names Reiman, Erdős, Rényi and Brown as the informal authors (so the file is also linked on Brown's claim page) and Aristotle and Jeremy Tan Jie Rui as the formal authors, says that the original axiom is discharged by the repository's PNT+ library, and closes with #print axioms erdos_765 and a comment reporting propext, Classical.choice and Quot.sound. The formal-conjectures statement of the problem, FormalConjectures/ErdosProblems/765.lean (added 2026-09-18; linked at its revision of 2026-09-27), states the asymptotic as erdos_765 for Mathlib's SimpleGraph.cycleGraph 4, tags it research solved and names the repository copy in its formal_proof attribute; this corpus has not checked the identification of that graph with the development's C4. This corpus has built, replayed and audited none of these artifacts, the axiom output is the file's own comment, and no outside reviewer has published an examination of the statement's fidelity, so the page lists no formalized evidence.