Imagine hosting a party where no three people all mutually know each other. In graph theory, that is a triangle-free graph. Now ask a deceptively simple question posed by Paul Erdős, Ralph Faudree, János Pach, and Joel Spencer: if you split the guests into two halves and pick the quieter half, how crowded can the connections inside that sparser half still be?

The famous Erdős Problem #128 conjectures that no matter how cleverly you wire a triangle-free network of n vertices, there is always an induced half-sized subset containing at most n²/50 edges — an edge-density ratio of β(G) ≤ 1/50 = 0.020000. For decades, the best published universal upper bound stood at 0.024842 (Balogh–Clemen–Lidický). At BeaconLight Research, we built an exact-arithmetic pipeline that beats that published record unconditionally and shows exactly where the remaining gap hides.

1. The Scoreboard on a Single Number Line #

Every decimal digit on this problem is hard-won because you are fighting every possible triangle-free graph of every possible size at once. Here is the exact progression from the published record down through our unbinned baseline, our unconditional universal theorem, and our refined 20/20 dense-box certificate.

ERDŐS #128 SPARSE-HALF UPPER BOUND β(G) — LOWER IS SHARPER 0.020000 Open target (1/50) 0.024842 Balogh–Clemen–Lidický Prior published record 0.024600 (123/5000) Unbinned exact baseline Zero-float rational check 0.024490 (2449/100000) Universal Unconditional Bound 52,230 exact cases 0.024320 (76/3125) All 20/20 Dense Boxes Closed 3-colored N=5 exact Cholesky SDP
Figure 1: Exact rational progression on Erdős #128 from the published 0.024842 record down to 2449/100000 (universal) and 76/3125 (dense branch). Exact fractions · zero rounding

2. Zooming Into the Hardest Corner: The 7-Sub-Box Kill Grid #

Why didn’t a single giant formula beat the record in one shot? Because triangle-free graphs behave very differently depending on their overall edge density x. In the dense regime, almost all of the resistance piles up inside one tiny bottleneck slice: x ∈ [0.370, 0.405].

Instead of asking one semidefinite program to cover that whole corner at once (where numerical tolerances blur together), we sliced [0.370, 0.405] into 7 razor-thin sub-boxes of width 0.005. Each sub-box received its own 3-colored, 5-vertex (N = 5) flag-algebra certificate, rounded to exact integers and verified with an exact rational Cholesky factorization. Together with the remaining 13 dense boxes, all 20/20 dense boxes cleared the 76/3125 = 0.024320 bar.

REFINED CORNER BOTTLENECK: x ∈ [0.370, 0.405] (7 OF 20 DENSE BOXES) CAP: 76/3125 = 0.024320 0.02432 0.02420 0.02405 PASS Cholesky > 0 [.370, .375] PASS Cholesky > 0 [.375, .380] PASS Cholesky > 0 [.380, .385] PASS Peak slice < 76/3125 [.385, .390] PASS Cholesky > 0 [.390, .395] PASS Cholesky > 0 [.395, .400] PASS Cholesky > 0 [.400, .405] Graph edge density slice x — every sub-box certified by an exact rational positive-definite matrix
Figure 2: Slicing the stubborn corner x ∈ [0.370, 0.405] into 7 exact sub-boxes closed all 20/20 dense boxes below 76/3125 = 0.024320. 3-colored N=5 flag algebra

3. How the Unfoolable Referee Works (4 Steps) #

Standard numerical solvers use 64-bit floating-point arithmetic. That is fast for exploration, but a tiny 10−9 rounding drift can make an invalid proof look valid. Our pipeline treats the floating-point solver strictly as a hint generator — never as a referee.

STEP 01 · HINT Float SDP Search Finds candidate dual matrices quickly. Untrusted output STEP 02 · EXACT Fraction Cholesky Converts to exact Q L D L^T with D > 0. 0 floating-point ops STEP 03 · AUDIT Exhaustive Leaves 52,230 exact cases + mutant rejection. SHA-256 receipts STEP 04 · KERNEL Lean 4.33.1 Erdos128Witness checked by kernel. 0 sorry · 0 axioms
Figure 3: Untrusted numerical search produces a rational witness; exact Fraction Cholesky and Lean 4.33.1 verify every inequality without floats. 4-Layer Verification Standard
01

Explore with Floating-Point Semidefinite Programming

A fast numerical SDP solver searches for positive-semidefinite matrices that bound the sparse-half edge count across each density slice. We discard its claim of “optimal” and keep only the raw matrix entries as a draft.

02

Round to Exact Fractions & Run Rational Cholesky

Every matrix entry is converted into an exact Python Fraction (numerator/denominator integer pair). We compute an exact L D LT Cholesky factorization in arbitrary-precision rational arithmetic. If every pivot in D is strictly positive, the matrix is mathematically positive definite — zero floating-point tolerance anywhere.

03

Close All 52,230 Branch-and-Bound Cases

For the universal theorem, our branch-and-bound verifier checks every sparse and dense region exhaustively — 52,230 exact cases in total — confirming β(G) ≤ 2449/100000 for every finite simple triangle-free graph, with zero overlap gaps.

04

Lock the Witness Inside Lean 4.33.1

The core arithmetic witnesses are formalized in Erdos128Witness.lean (6 public theorems, 0 sorry, 0 native_decide, standard kernel axioms only). Even if our Python code had a subtle bug, the Lean kernel independently enforces every algebraic step.

4. Inspect the PDF, Lean 4.33.1 Files & MCP Server #

Every number in this walkthrough is backed by open-source code, a compiled LaTeX preprint, and a standalone Lean 4.33.1 file you can re-verify on your own machine or query programmatically through our open-access Math MCP server.

Artifact Details Direct Link
2027 Preprint & Lean 4.33.1 Module 2027-02-erdos-128 · Erdos128Witness.lean (6 theorems, 0 sorry) GitHub Archive
Zenodo Permanent Release 10.5281/zenodo.24702709 · Universal 2449/100000 PDF Read PDF
Open-Access Math MCP Server Query theorems, receipts & BibTeX directly from AI agents beaconlight-math-mcp
Drew Garman, Founder BeaconLight Research iDirect Ships · Garman Unified Systems
Next: 11D Marbles & 600-Cell → All LightBeams Research Ledger