Skip to content

Add C_89: Ramsey multiplicity constant of K_4 (with a certified upper bound 0.0301388794) - #255

Merged
teorth merged 2 commits into
teorth:mainfrom
JeetuSK0808:add-ramsey-multiplicity-k4
Oct 26, 2026
Merged

teorth merged 2 commits into
teorth:mainfrom
JeetuSK0808:add-ramsey-multiplicity-k4

Conversation

@JeetuSK0808

@JeetuSK0808 JeetuSK0808 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Adds a page for the Ramsey multiplicity constant of $K_4$: the minimum density of monochromatic $K_4$ over 2-colourings of $K_n$, as $n \to \infty$. It is the smallest complete graph for which the value is unknown (for $K_3$ it is $1/4$, by Goodman). Markdown only: constants/89a.md, the README row and a "Recent progress" line.

I numbered it 89 as a new family. Renumbering (for example into the Ramsey family 17) is fine if you prefer.

Bounds, each checked against its source

side bound source
upper $1/32$ Erdős 1962 (random colouring; conjectured sharp)
upper $1/33$ Thomason 1989 (disproof)
upper $0.030291$ Thomason 1997
upper $0.030285$ Even-Zohar–Linial 2015
upper $4551721 \cdot 2^{-24} \cdot 3^{-2} < 0.030145$ Parczyk–Pokutta–Spiegel–Szabó, FoCM 2024 (arXiv:2206.04036, Thm 1.1)
upper $0.0301388876$* Van Seters–Jothimani 2026, self-hosted repository with a Lean proof (commit 2cf216b); asterisked
lower $1/46$ Giraud 1979 (as reported by Sperfeld and Nieß)
lower $1/35$ Sperfeld 2011 (arXiv:1106.1030)
lower $204603019/7112448000 > 0.0287$ Nieß 2012 (arXiv:1207.4714)
lower $1/33.77 \approx 0.0296$ Grzesik–Lee–Lidický–Volec, CPC 2022 (arXiv:2012.02057)

The README cell is 0.0296 | 0.030145 (0.0301388876*). A float64 re-evaluation of the Van Seters–Jothimani step graphon (3840 blocks of weight 1/3840, red probabilities $n/65536$; one representative per symmetry class) gives $0.03013888757$, matching their exact value $0.030138887566\ldots$. The row stays asterisked until it is replayed exactly. Two further values, McKay's $0.0301423$ and Feinstein's announced $< 0.030139$, appear only as reports, in "Additional comments".

Update (second commit): a new certified upper bound, $C_{89} \le 0.0301388794$ (asterisked).* I refined the Van Seters–Jothimani step graphon by projected gradient descent on its inter-block red probabilities: the same 3840 equal-weight blocks, with the symmetry kept by moving the 16,045 classes of block pairs together. The result is rounded to multiples of $2^{-20}$. Its monochromatic-$K_4$ density is computed exactly over every block: the integer numerator $\sum_i \operatorname{tr}((\mathrm{diag}(R_i)R)^3) + \sum_i \operatorname{tr}((\mathrm{diag}(B_i)B)^3)$ modulo 9 primes, combined by CRT, plus a check prime. The checker shares no code with the search, and on small cases it agrees with brute-force enumeration. The value is

$27220838459434583306277336063848530765605851167/903180180540490237232196590042258640992206848000 = 0.030138879313256\ldots$,

which is $8.25 \times 10^{-9}$ below their $0.030138887566\ldots$. Data, checker and search code are at JeetuSK0808/tao-constants-certificates@3d9431a (python3 exact_eval.py c89_stepgraphon_D20.json.gz, about 10 h on 4 cores). It is a small, incremental improvement on their construction and is credited as such in the row.

AI use: prepared with Claude Code (Anthropic), which located the sources, checked the numbers against them, drafted the page, and wrote the search and the exact checker for the new row. Disclosed in the page's Contribution notes as well.

🤖 Generated with Claude Code

New constant page with the upper bounds of Erdős, Thomason (1989, 1997), Even-Zohar–Linial,
Parczyk–Pokutta–Spiegel–Szabó and (unverified) Van Seters–Jothimani, and the flag-algebra lower
bounds of Giraud, Sperfeld, Nieß and Grzesik–Lee–Lidický–Volec; README row and Recent progress line.
Prepared with Claude Code (Anthropic).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…VSJ step graphon)

Exact density 27220838459434583306277336063848530765605851167/903180180540490237232196590042258640992206848000
over all 3840 blocks; data and checker at JeetuSK0808/tao-constants-certificates@3d9431a.
Prepared with Claude Code (Anthropic).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JeetuSK0808 JeetuSK0808 changed the title Add C_89: Ramsey multiplicity constant of K_4 Add C_89: Ramsey multiplicity constant of K_4 (with a certified upper bound 0.0301388794) Oct 25, 2026
teorth pushed a commit that referenced this pull request Oct 26, 2026
…301388857* (third sign refinement of the VSJ construction)

Stacked on #255, which adds constants/89a.md. Appends a [Kos2026] row after
[VSJ2026] in Known upper bounds, the reference and a contribution note, and
updates the README cell for 89 and Recent progress.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@teorth
teorth merged commit 915416c into teorth:main Oct 26, 2026
@carlostoledo1891

Copy link
Copy Markdown
Contributor

Independent replay of the K4 certificate (a second party, for the asterisk rule in CONTRIBUTING)

@JeetuSK0808, after the K5 and K6 confirmations on #277 and #279, here is the same for C_89 ≤ 0.0301388794 [SK2026]. We decided it from the certificate at 3d9431a (c89_stepgraphon_D20.json.gz, sha256 82c28f77…), using two implementations that share no code with each other or with your evaluators. We read exact_eval.py, float_eval.py and refine.py as text and never ran them.

  • C, every block, no symmetry. For each of the 3,840 blocks i, f(i) = Σ_{j,k} Y_jk Q_jk on the support of row i, modulo nine primes below 2²¹, lifted by CRT over eight with the ninth as a check. It ran on one rented 32-vCPU machine in about two hours of kernel time.
  • JavaScript, exact integers. One term g(i,j) per orbit of ordered block pairs under seven block permutations. Each permutation was proposed separately and verified exactly against all 3840 × 3840 values before use.

The two agree on N_red and N_blue and on every one of the 3,840 blocks at all nine primes. The density is 0.0301388793132559…, which is exactly the fraction 89a.md states, so the printed 0.0301388794 is that value rounded up.

Controls:

  • Perturbing one block value moves the density in both implementations.
  • A printed bound one unit lower fails.
  • W ≡ ½ gives 1/32.
  • The PPSS 768-vertex Cayley graph (Zenodo 6602512), read as a 0/1 graphon, gives its published 4551721·2⁻²⁴·3⁻² in both implementations.
  • Blocks 0 and 3839, re-derived without the symmetry, match.

One small note on the README: the C_89 row lists 0.0301388857 [Kos2026] (#264) as the best upper bound, while 89a.md carries the smaller 0.0301388794 [SK2026].

Record and both deciders: carlostoledo1891/cert-machine @ f4ee2715, certs/graphon-k4.json (the pod's per-block residues verbatim in certs/graphon-k4-blocks.txt), instruments/optq/graphon_k4.c, instruments/optq/graphon-k4-second.js, tools/replay-graphon-k4.js (--check re-lifts the residues and re-derives block 0 in seconds).

@arhancanli

Copy link
Copy Markdown

Independent exact replay of the two 89a rows this pull request added that come with a public step graphon, [VSJ2026] and [SK2026], with our own code. No program of either repository was read or run (lukevs/k4-ramsey's Lean and Python; exact_eval.py, float_eval.py, refine.py).

bound data replayed result
$C_{89} \le 0.0301388876$ [VSJ2026] lukevs/k4-ramsey @ 2cf216b, data/constructions/final3840.json.gz, sha256 d7fd4c92…7370 (the JSON inside is 05302cbc…1a29, as VSJ state) $F = 8450462766487926638466333426306607129/280384030360880691940646801777885184000 = 0.0301388875664972218\ldots$, the page's fraction exactly, $3.4 \cdot 10^{-11}$ below the printed bound. $N_{\rm red} + N_{\rm blue} = 519196432373018212667371525712277942005760$, the integer of VSJ's Lean certificate
$C_{89} \le 0.0301388794$ [SK2026] JeetuSK0808/tao-constants-certificates @ 3d9431a, c89-k4-ramsey-multiplicity/c89_stepgraphon_D20.json.gz, sha256 82c28f77…631a (as in the folder's SHA256SUMS.txt) $F = 27220838459434583306277336063848530765605851167/903180180540490237232196590042258640992206848000 = 0.0301388793132559809\ldots$, the page's fraction exactly, $8.7 \cdot 10^{-11}$ below the printed bound

How. $F = (N_{\rm red} + N_{\rm blue})/(n^4 D^6)$, with $N_X = \sum_a \operatorname{tr}((XD_a)^3)$ over all ordered 4-tuples, repeats included ($X = M$ or $D - M$, $D_a = \operatorname{diag}(X_{a\cdot})$). We did not use the full $n^4$ sum, any symmetry, or a centred expansion:

  • The coarse structure is checked, not assumed. The 3840 classes fall into 192 groups of 20. In both graphons, 34,368 of the 36,864 group blocks are constant at 0 or 1, the 192 diagonal ones among them, and the other 2,496 are general, 13 per group.
  • With $X = PKP^{\mathsf T} + F$ ($K$ the constant blocks, $F$ the general ones), $\operatorname{tr}((XD_a)^3)$ splits into four traces. Three are sums over the 192 groups. The fourth runs over the 1,152 triangles of general blocks, each treated by how many of its groups meet the root's group in a general block.
  • First-level sums are exact in 128-bit integers. The rest is taken modulo $2^{64}$ and five primes; the Chinese remainder theorem uses four moduli, and the other two check it.
  • A second program uses no coarse structure: it computes $\operatorname{tr}((XD_a)^3)$ by dense products modulo $2^{61}-1$ for two sampled roots per colour, and agrees with the first at each.
  • Both programs agree with brute force over all $n^4$ tuples, per root and in total, on eight random block-structured graphons (denominators up to $2^{30}$).

carlostoledo1891's replay above reaches the same [SK2026] fraction.

Red controls, all as expected, for both rows: one general entry raised by $1/D$ (with its mirror) changes the fraction; the same entry changed on one side only is refused (not symmetric); the bound one unit lower in its last printed digit is below the exact value.

Not checked by computation: the realization step $C_{89} \le F(W)$ (random colourings of blow-ups), which we re-derived on paper.

Re-derive from https://github.com/arhancanli/quantavane-replays/tree/3a3662f9056544fa34521a5d25288fe3e933fcde/c89a: ./fetch.sh && ./run_all.sh (Python 3.9+, standard library only, and cc; about 5 minutes for each of these two rows on a loaded 18-core Mac, 45 for the whole folder). We have no connection with the authors. Prepared with AI assistance (Claude, Anthropic).

JeetuSK0808 added a commit to JeetuSK0808/optimizationproblems that referenced this pull request Nov 8, 2026
…h#255; asterisks removed

A. Canli replayed both step graphons exactly with separate code (teorth#255,
7 Nov 2026), and C. Toledo replayed [SK2026] (teorth#255, 27 Oct 2026). Under
CONTRIBUTING's second-party rule both rows lose the asterisk, the README
cell becomes the plain best bound, and the duplicated contribution note is
removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@arhancanli

Copy link
Copy Markdown

Independent replay of three more rows this pull request added to the 89a page, after our replay of [VSJ2026] and [SK2026] above, with our own code: [PPSS2024], [Tho1997] and [EZL2015]. None of the authors' programs was read or run.

row construction (source) exact value printed
[PPSS2024] the 768-vertex graph of Parczyk, Pokutta, Spiegel and Szabó (Zenodo record 6602512, graphs/c4.graph6.txt, sha256 8b4694cb…364b) $\hom(K_4, C) + \hom(K_4, \bar C^{\circ}) = 5185912320 + 5301252864 = 10487165184 = 4551721 \cdot 2304$, so the blow-up density is exactly $4551721 \cdot 2^{-24} \cdot 3^{-2} = 0.030144857035743\ldots$ as stated, $&lt; 0.030145$
[Tho1997] $M_4 \otimes K_4 \otimes G_{18}$, $G_{18} = (K_3 \otimes K_3) \odot K_2$, as Even-Zohar and Linial describe Thomason's product (arXiv 1312.1205v2, section 2) $3769/124416 = 0.0302935314\ldots$, as EZL state $0.030291$: see the note
[EZL2015] the nested blow-up $M_4 \otimes K_4 \otimes (K_3 \otimes K_3)^{\odot n}$ (the same paper) $n = 1, \ldots, 6$: $0.0305721665$, $0.0302877393$, $0.0302842131$, $0.0302841695$, $0.0302841690$, $0.0302841690$; the limit exactly $1411/46592 = 0.030284168956\ldots$ $0.030285$, the limit rounded up

How. $\hom(K_4, C)$ and $\hom(K_4, \bar C^{\circ})$ ($\bar C^{\circ}$ the complement with a loop at every vertex, the colour classes of the blow-ups) are computed by two routes in our C program k4hom.c: $\sum_a \mathrm{tr}((X D_a)^3)$ over all roots (one value per root for this graph), and clique counts with $24c_4$ and $c_1 + 14c_2 + 36c_3 + 24c_4$ (the paper's blow-up lemma). For the two products we use exact labelled 4-point profiles (sampling with replacement), the tensor product as their XOR convolution (Thomason's observation, as EZL state it) and the composition by its definition, checked against direct enumeration on $G_{18}$; k4hom on the explicit 144- and 288-vertex graphs gives $11411/373248$ and $3769/124416$ again. The nested limit is solved level by level (pairs, triples, quadruples), because the term where all four outer coordinates coincide only reproduces the inner pattern.

A note on the [Tho1997] row. The construction as described gives $3769/124416 = 0.0302935\ldots$, and EZL report Thomason's bound as strictly below this value through a perturbation worth less than $10^{-7}$. The row's $0.030291$ is $2.5 \cdot 10^{-6}$ lower, so this construction does not reach it as printed. We could not read Thomason's paper; perhaps $0.030294$ (the value rounded up) was meant.

Red controls, all as expected: one edge of the 768-vertex graph toggled changes the total (the two routes still agree); a $G(768, 1/2)$ random graph gives $0.031967$; counting the complement without loops gives a different number; in $G_{18}$, $K_2$ replaced by its complement, or the composition order reversed, changes the value; a claimed $0.030284$ is below $1411/46592$.

Re-derive from https://github.com/arhancanli/quantavane-replays/tree/55e8eb233505cde123e2eef97aec10a6bbe21333/c89p: ./fetch.sh && ./run_all.sh (Python 3.9+ and a C compiler; about a minute). We have no connection with the authors. Prepared with AI assistance (Claude, Anthropic).

JeetuSK0808 added a commit to JeetuSK0808/optimizationproblems that referenced this pull request Nov 12, 2026
Even-Zohar and Linial (arXiv:1312.1205v2, section 1) describe Thomason's
construction M_4 x K_4 x G_18 with value exactly 3769/124416 = 0.0302935...,
improved by less than 1e-7 by the referee's perturbation, so Thomason's bound is
strictly below 3769/124416 but well above the 0.030291 printed before. A. Canli
recomputed 3769/124416 independently in the thread of teorth#255.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JeetuSK0808

Copy link
Copy Markdown
Contributor Author

Thanks a lot for catching the Thomason row, and for replaying the other rows too. You're right: Even-Zohar and Linial describe that construction as giving exactly $3769/124416$, and say Thomason's bound is only strictly below it through the referee's perturbation, so $0.030291$ was wrong. I've fixed it in #276, which now prints $3769/124416 &lt; 0.030294$ with that explanation and credits your recomputation.

Thanks as well for the confirmation on #276, and for the replays of R(3,33) on #252 and the 5b values on #253. It means a lot to have all of these checked by code that never ran mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants