A verified partial result (a case, a bound, an exact value)
Verdict: VERIFIED (machine-checked; the mathematics has not been read by a human). The submission proves in Lean 4, against the Formal Conjectures statement of part (i), that f(n) = Θ(n^(3/2)·√(log n)). Reviewed 28–29 November 2026.
The problem, in our words. Erdős #1182 concerns connected graphs G on n vertices whose Ramsey number against a triangle is as small as it can be, 2n − 1. It asks for the order of f(n), the largest number of edges such a graph can have, and of F(n), the largest edge count below which every connected graph has this property. Burr, Erdős, Faudree, Rousseau and Schelp (1980) proved f(n) ≫ n^(3/2)√(log n), and Sudakov's 2007 theorem gives f(n) ≪ n^(3/2) log n. The upper bound with √(log n) is the new part.
The proof. It runs the triangle-free process on 2n − 1 vertices for about 0.0075·N^(3/2)√(log N) steps and shows that any dense, bounded-degree piece of a connected graph with more edges than this is hit in every placement, so such a graph cannot attain the minimum. The mechanism is Bohman's early-phase analysis of the triangle-free process plus a per-copy Bennett/Freedman concentration bound; every estimate is proved in one 9,789-line file (which also yields Kim's bound R(3,k) > ck²/log k). The same plan appears in an anonymous, unrefereed, AI-generated Zenodo preprint (10.5281/zenodo.22697303, September 2026) that assumed the concentration estimates.
What we checked. Main.lean at Liesegang/formal-conjectures commit 66c43b0 (SHA-256 b680af66…17b0) against Formal Conjectures ea8e3e1: erdos_1182_i is FC's part (i) with the answer n^(3/2)√(log n), it uses FC's own f, and the file has no sorry, axiom, native_decide, unsafe code or environment-changing metaprograms (the two elab helpers only read constant types). Our own kernel build (Lean v4.33.1, Mathlib 0df444a from Mathlib's cache, 29 November) compiles it with exit code 0, no errors or warnings, and all 22 #print axioms lines list only propext, Classical.choice and Quot.sound. Controls in the same build: a hand-typed restatement of the theorem passes; the same statement with log n in place of √(log n) fails, and so does the file's own statement-checker given that wrong answer; a planted sorry and a use of one of Formal Conjectures' unproved variant statements both show sorryAx. Lean's checker then re-checked the compiled module's own declarations with no error. Palomar's comparator (entry PALOMAR-2026-11-28-000021) also accepted a 96%-identical port with two kernels. We re-derived the key margins numerically (about 2.98·k·log N for the hitting estimate and 61·k·log N for the edge-set potential, against an N^k union bound) and they are consistent.
Not covered. No human has read the mathematics; the proof and the Lean were written by an AI system (Claude Fable 5.2 in Claude Code, per the submitter); its constants are not explicit, and NOTES/PROOF are in Japanese. Mathlib's cached files were trusted.
The submission
CLAIM. For the function f of Erdős problem 1182 (the largest number of edges of a connected graph G on n vertices with R(K_3, G) = 2n - 1):
f(n) = Θ(n^{3/2} (log n)^{1/2}).
EXACT STATEMENT (Lean 4, definitions of Formal Conjectures at upstream commit ea8e3e1):
theorem Erdos1182.erdos_1182_i : (fun n : ℕ => (f n : ℝ)) =Θ[Filter.atTop] fun n : ℕ => (n : ℝ) ^ (3 / 2 : ℝ) * Real.sqrt (Real.log n)
This is the Formal Conjectures statement erdos_1182.parts.i with its placeholder answer replaced by that function; the file checks this mechanically. It is the first part of the problem ("estimate f(n)", read as the order of magnitude, as Formal Conjectures does). The parts about F(n) are not treated here; Formal Conjectures records them as solved (Brandt; Nikiforov-Rousseau).
WHAT WAS KNOWN (sources opened on 27 Nov 2026).
- Lower bound f(n) >> n^{3/2} (log n)^{1/2}: Burr, Erdős, Faudree, Rousseau, Schelp 1980, Theorem 2 (scan on renyi.hu).
- Upper bound f(n) << n^{3/2} log n: from Sudakov, SIAM J. Discrete Math. 21 (2007), Theorem 1.1 with s = 3 (arXiv:0706.4102). This is also the bound in your working report of 27 July 2026.
- Sudakov's concluding remarks state the belief R(K_3, G) >= c m^{2/3} / (log m)^{1/3}, which would close the gap.
- An unrefereed preprint (Zenodo, DOI 10.5281/zenodo.22697303, 10 Sep 2026, author "Anonymous", AI-generated by its own declaration) claims that bound and the Θ. Its Lean archive takes the concentration estimates for the triangle-free process (Bennett-Bohman) as a hypothesis. That code was not compiled and not used here.
- No refereed proof of the upper bound was found. erdosproblems.com was not read (its robots.txt asks AI agents not to).
WHAT IS CLAIMED AS NEW. A complete Lean proof of the upper bound f(n) = O(n^{3/2} (log n)^{1/2}), including the concentration analysis of the process. The strategy is the one of the preprint above (and, for the process, of Bohman and Bennett-Bohman): run the triangle-free process on K_N for about 0.0075 N^{3/2} (log N)^{1/2} steps; every graph H with k <= N vertices, maximum degree <= N^{9/10} and at least 1000 k (N log N)^{1/2} edges is then hit in each of its copies, by a union bound over at most N^k embeddings; general graphs are reduced to this by degree splitting. Technically: histories are lists and expectations are defined by a finite recursion (no measure theory); a first-failure union bound with nonnegative supermartingale potentials; the trajectory is defined by the discrete recursion itself; errors accumulate without self-correction, which is affordable on this short horizon. Kim's bound R(3, k) > c k^2 / log k follows as a corollary (ramsey3_lower_kim). The lower bound and Sudakov's weaker upper bound are also proved in the file.
LABEL. Proved and machine-checked by the Lean kernel. Not read by any human. Asymptotic only: no explicit constants, and the thresholds for "large N" are astronomically large.
HOW TO CHECK. In a Formal Conjectures checkout at ea8e3e1 (Lean v4.33.1) with the module FormalConjectures.ErdosProblems.«1182» built:
lake env lean Attempts/Erdos1182/Main.lean
Expected: exit code 0, no warnings, and 22 lines "... depends on axioms: [propext, Classical.choice, Quot.sound]", the last one for Erdos1182.erdos_1182_i. Main.lean (9789 lines, a single import) contains no sorry, axiom, native_decide or unsafe. SHA-256 of Main.lean: b680af666acc2bcd23cc6c19bd996e30b0f047bed45d2e4d9aa48be7fc0917b0.
FILES. Main.lean (the proof); NOTES.md (sources, outline of the proof, limits; English); PROOF.md (walk-through of the proof for human readers; Japanese).