Improved Upper Bounds and First Lean 4 Formalization for the Ramsey Multiplicity of K_4 and K_5 via Orthogonal Graphons
Admitted after checks by named AI models and editor approval. Not peer reviewed. Screening record
For a simple graph G on N vertices, let k_t(G) denote the number of t-cliques in G and define the Ramsey multiplicity constant c_t := lim_{N->infty} min_{|V(G)|=N} (k_t(G) + k_t(G^c)) / C(N, t). Following Erdos's 1962 conjecture (c_t = 2^{1 - C(t,2)}), disproved for all t >= 4 by Thomason (1989), every previous upper-bound record for c_4 and c_5 relied on blow-ups of discrete {0,1}-valued graphs, culminating in the Cayley-graph bounds of Parczyk, Pokutta, Spiegel, and Szabo (Found. Comput. Math. 2025): c_4 <= 4551721 * 2^{-24} * 3^{-2} (0.030144857, 768 vertices) and c_5 <= 2320651 * 2^{-24} * 3^{-4} (0.001707674, 192 vertices), together with Brendan McKay's 2024 asymmetric local-search refinement c_4 <= 10486266368 / 768^4 (0.030142273). We relax discrete blow-ups to continuous [0,1]-valued O^+(6,2)-invariant orthogonal step graphons on Z_r x F_2^6 governed by the hyperbolic quadratic form Q(x) = x_0 x_1 + x_2 x_3 + x_4 x_5. Using an elementary finite first-moment argument (requiring no measure theory or graph-limit machinery), we establish new all-time upper bounds for both c_4 and c_5: c_4 <= 388048538463899272265489 / 12874603271484375000000000 = 0.0301406210569127... < 0.030140622 (via a single-parameter 192-vertex graphon W_4(p) on Z_3 x F_2^6 with exact closed-form degree-6 polynomial Phi_4(p) evaluated at p = 343/3125), and c_5 <= 97723856789653747 / 59096234310355648512 = 0.00165363932118648... < 0.00165364 (via a two-parameter 256-vertex graphon W_5(x,y) on Z_4 x F_2^6 at (7/24, 1/24), unlocking the K_5-free 4-class Turan base, improving the previous record by 5.403 x 10^{-5} — over 4.3x larger than Parczyk et al.'s improvement over Thomason 1997 — and closing 29.4% of the remaining gap to the flag-algebra lower bound 0.001524). Both theorems, including the finite first-moment framework, the algebraic O^+(6,2) reflection-word orbit reduction (64^3 -> 135 orbits), and the exact rational evaluations, are formally verified end-to-end in Lean 4 (v4.31.0) + Mathlib with zero sorry, zero admit, zero native_decide, zero warnings, and only the three standard axioms [propext, Classical.choice, Quot.sound] at https://github.com/lluiseriksson/ramsey-multiplicity-k4-k5 (tag v1.0.0).
Structure & key results
Manuscript structure
- Introduction and Main Results
- Finite First-Moment Framework for Step Graphons
- The Hyperbolic Orthogonal Space (F₂⁶, Q)F26 and Reflection-Word Orbit Reduction
- Proof of Theorem the stated relation (K₄K4 Ramsey Multiplicity)
- Proof of Theorem the stated relation (K₅K5 Ramsey Multiplicity)
- Formal Verification in Lean 4 and Independent Checks
- Concluding Remarks and Open Questions
- AI Assistance Disclosure and Code Availability
Selected results from the manuscript source
Theorem 1 — Improved K₄ Ramsey Multiplicity Bound
For the 192-vertex 1-parameter Op-invariant symmetric graphon W₄(p) on Z₃ × F₂⁶ defined in Section the stated relation, the monochromatic K₄ density is given identically by the degree-6 polynomial Φ₄(p) = 3389/110592 - 7/768p + 1505/36864p² + 35/13824p³ + 427/36864p⁴ + 7/12288p⁶. Evaluating at p = 343/3125 = 0.10976 yields c₄ ≤ 388048538463899272265489/12874603271484375000000000 = 0.0301406210569127… < 0.030140622.
Theorem 2 — Improved K₅ Ramsey Multiplicity Bound
Evaluating the 256-vertex 2-parameter Op-invariant symmetric graphon W₅(x,y) on Z₄ × F₂⁶ defined in Section the stated relation at (x,y) = (7/24, 1/24) yields c₅ ≤ 97723856789653747/59096234310355648512 = 0.00165363932118648… < 0.00165364.
Proposition 3 — Finite First-Moment Existence Bound
Let U be a finite nonempty set of size m ≥ 1, let W colon U × U → [0,1] be symmetric, and let t, N ∈ N. Then there exists a simple graph G on vertex set V = 0,1,…,N-1 such that t! (k_t(G) + k_t(G)) ≤ ⌈ N/m ⌉^t S_t(W).
Corollary 4 — Asymptotic Upper Bound
Under the hypotheses of Proposition the stated relation, for every N > t there exists a simple graph G on N vertices satisfying (k_t(G) + k_t(G))/(C(N,t)) ≤ ((N + m)/(N - t))^t Φ_t(W). Consequently, for every ε > 0 there exists N₀ ∈ N such that for all N ≥ N₀ there is an N-vertex simple graph G with (k_t(G) + k_t(G))/C(N,t) ≤ Φ_t(W) + ε; in particular, c_t ≤ Φ_t(W).
Lemma 5 — Orthogonal Reflections
For any anisotropic vector w ∈ F₂⁶ with Q(w) = 1, define the reflection r_w(x):= x ⊕ B(x, w) w (x ∈ F₂⁶). Then r_w is an involutive F₂-linear isometry of (F₂⁶, Q): for all x, y ∈ F₂⁶, · r_w(r_w(x)) = x, · r_w(x ⊕ y) = r_w(x) ⊕ r_w(y) and r_w(0) = 0, · Q(r_w(x)) = Q(x).
Proposition 6 — Hierarchical Op Orbit Reduction
Let F colon (F₂⁶)³ → N be any function that is Op-invariant in the sense that F(r_w(v₁), r_w(v₂), r_w(v₃)) = F(v₁, v₂, v₃) for all w with Q(w)=1 and all v₁, v₂, v₃ ∈ F₂⁶. Then there exists an explicit list O₃ = (r_(1,k), r_(2,k), r_(3,k), μ_k)_(k=1)¹³⁵ of 135 canonical orbit representatives and positive integer multiplicities with ∑_(k=1)¹³⁵ μ_k = 262,144 such that ∑_(v₁, v₂, v₃ ∈ F₂⁶) F(v₁, v₂, v₃) = ∑_(k=1)¹³⁵ μ_k F(r_(1,k), r_(2,k), r_(3,k)).
Key contributions noted in exact-version screening
- Continuous [0,1] relaxation of O+(6,2)-invariant orthogonal step graphons W4(p) on Z3 x F2^6 and W5(x,y) on Z4 x F2^6, enabling rational-weight balancing of monochromatic K4 and K5 densities beyond the binary {0,1} Cayley barrier.
- Unlocking the K5-free 4-class base Z4 x F2^6 for c5 by perturbing only the two inter-block isotropic orbits to (7/24, 1/24), yielding c5 < 0.00165364 (a 29.42% closure of the cited remaining gap).
- All-time improved upper bound c4 < 0.030140622 via a 1-parameter 192-vertex graphon W4(343/3125), improving upon cited 768-vertex records [7,8] with 4x fewer blocks.
Excerpted from published exact-version model assessment reports (not peer review). Full reports below →
Preview PDF on this page v1
Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.
Cite this paper
Lluis Eriksson (2026). Improved Upper Bounds and First Lean 4 Formalization for the Ramsey Multiplicity of K_4 and K_5 via Orthogonal Graphons. AIRR.SCIENCE, ARR-2026-2C4QWMJXCK971VNZ, v1. https://airr.science/papers/ARR-2026-2C4QWMJXCK971VNZ/versions/v1/ DOI: 10.5281/zenodo.24731667.
Use the DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.
Version history
The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.
- v1 · source snapshot available · viewing
Verification record
- Frontier-model screening
- Pass · 2 models
- Source integrity
- Pass
- Bibliographic integrity
- Pass
- Reproducibility
- Pass
- Lean 4
- L2
Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.
AI assistance statement
Authored by Lluis Eriksson with AI-assisted orthogonal graphon parameter sweeps, O+(6,2) reflection-word synthesis, Lean 4 proof engineering, and mathematical drafting (Google Antigravity). Public MIT verification repository: https://github.com/lluiseriksson/ramsey-multiplicity-k4-k5 (v1.0.0). Author owns and administers AIRR; evaluated blind on the exact canonical PDF by two distinct isolated cross-provider frontier models under AIRR-FOUNDER-1.0, ARR-ASSESS-1.0, and ARR-CALIB-2026.
Frontier-model screening
Status: pass. Any listed reports correspond to this exact version under ARR-SCREEN-1.0; no absent assessment is represented as a pass.
- claude-opus-5.5Anthropic · pass
- hydrogenGoogle · pass
Model assessments and review context
- Distinct models
- 2
- Range
- 3.80–4.40
- Method
- bounded capability-weighted mean · exact version only
Limited evidence · 0/2 benchmark matches. This is an evidence description, not a probability of correctness.
Fresh blinded review context not documented for every model; Benchmark match incomplete; Adverse reports or unresolved objections require editorial disposition
Google · hydrogen · involved in manuscript · review context: unknown4.40
Recommendation: Minor Revision · Material objections: 0
This paper improves upper bounds on the Ramsey multiplicity constants c4 <= 388048538463899272265489/12874603271484375000000000 (< 0.030140622) and c5 <= 97723856789653747/59096234310355648512 (< 0.00165364) by relaxing {0,1} blow-ups to [0,1]-valued O+(6,2)-invariant step graphons W4(p) on Z3 x F2^6 and W5(x,y) on Z4 x F2^6. An elementary finite first-moment argument (Prop 2.2, Cor 2.3) avoids graph-limit machinery, and an algebraic reflection-word stabilizer chain (Prop 3.2) reduces 64^3 triples to 135 orbits. Fractional weights fix the red/blue imbalance on the 4-class base for c5, closing 29.42% of the cited gap above 0.001524, while beating McKay's 768-vertex c4 bound with 192 blocks. Core proofs, orbit counts, edge densities, partial checks of Eq (1), Sigma5 arithmetic, and q6Mask verify by hand from the PDF; external Lean 4/Python artifacts were not inspected or run. Minor slips in Prop 3.2's codomain, unprinted Eq (1) interpolation values, and formal coverage of general Eq (1) warrant minor revision.
- Correctness confidence
- Core proofs (Prop 2.2, Cor 2.3, Lem 3.1, Prop 3.2 orbit counts 3/15/135, S3 15 color orbits), edge densities, Eq (1) checks (p=0, 1, p^5=0, p^6, p=343/3125), Table 2 sum, Sigma5 fraction, and q6Mask match hand checks from the PDF. Full Sigma4, Table 2 chunk sums, 7 interpolation points, and external Lean 4/Python repo execution were not independently verified.
- Rigor
- Finite probability space and stabilizer-chain reduction avoid measure-theoretic or native_decide trust gaps, with explicit axiom accounting in CheckAxioms.lean. Minor rigor slips: Prop 3.2 is stated for N-valued functions but applied to real/polynomial summands in Sec 4.1; Sec 4.1 omits the 7 interpolation values for Eq (1); and Table 3 does not clearly confirm whether general Eq (1) or only the p=343/3125 bound is formalized in EvalC4.lean.
- Novelty
- While fractional step graphons and inhomogeneous random graphs are standard in extremal combinatorics, applying continuous relaxation to O+(6,2)-invariant orthogonal Cayley constructions resolves the red/blue imbalance that blocked the K4 Turan base for c5 in {0,1} searches and simplifies c4 to 192 vertices with 1 parameter. Novelty claims vs [6,7,8] rest on cited records not externally checked.
- Significance
- Establishes improved upper bounds on two classical Ramsey multiplicity constants (c4 < 0.030140622 and c5 < 0.00165364) relative to cited 2024-2025 records [7,8]. The c5 reduction (5.403e-5, closing 29.42% of the gap above 0.001524) is substantial; the c4 gain over McKay (1.652e-6, 0.30% of gap) is modest but uses 4x fewer blocks. Exact values of c4, c5 remain open and c6 is not improved.
- Reproducibility
- Graphons W4(p) and W5(x,y), exact rational parameters, scaling constants, Sigma4, Table 2 chunk totals, and bitmask q6Mask are explicitly specified, alongside an MIT-licensed GitHub release (tag v1.0.0) with Lean 4.31.0 and zero-dependency Python verification. Reproducibility from the PDF alone is partial because the 135 orbits, 1,216 reflection words, and 7 polynomial interpolation values reside in the external repo, which was not run here.
Strengths
- Self-contained, elementary finite first-moment framework (Definition 2.1, Proposition 2.2, Corollary 2.3) rigorously converts any finite symmetric [0,1]-matrix W (including W(u,u)=1 complete blocks) into an asymptotic c_t <= Phi_t(W) upper bound without measure theory.
- Conceptual identification of why continuous fractional weights break the discrete Cayley barrier: lifting two inter-block isotropic orbits on Z4 x F2^6 to (7/24, 1/24) balances red/blue K5 densities and unlocks the K5-free 4-class base, closing 29.42% of the cited c5 gap.
- Clever 3-level O+(6,2) reflection-word stabilizer reduction (Lemma 3.1, Proposition 3.2) collapsing 64^3 triples to 135 orbits (verified structurally as 3 -> 15 -> 135 orbits) and commuting S3 color reduction (64 -> 15 orbits), making exact integer summation tractable inside Lean 4's kernel.
- Substantial quantitative record for c5 (5.403e-5 reduction over [8]) and structural simplification for c4 (192 blocks, 1 parameter beating 768-vertex records [7,8]), with honest reporting of the negative c6 exploratory result.
- High arithmetic consistency in the PDF: hand checks match edge densities, Phi4(0)=3389/110592, Phi4(1)=355/4608, vanishing p^5 and 7/12288 p^6 terms, Phi4(343/3125) vs Sigma4, Table 2 sum Sigma5, reduced fraction for c5, and the 64-bit lookup mask q6Mask=0x8777788878887888.
Weaknesses
- External verification artifacts (the Lean 4 repository and verify_records.py) were not inspected or executed under this PDF-only assessment, so the exact integer values of Sigma4, the five Table 2 subtotals, the 135 orbit weights mu_k, and the 1,216 reflection words remain unverified beyond structural/spot checks.
- In Theorem 1 / Section 4.1, the closed-form polynomial Phi4(p) in Eq (1) is justified by citing an external Python script at 7 interpolation points without printing those 7 rational values or the Lagrange interpolation algebra in the manuscript.
- Exact values of c4 and c5 remain open, the quantitative improvement on c4 over McKay [7] is small (1.652e-6, 0.30% of the gap above 0.0296), and the method does not improve the best known c6 bound.
- All historical benchmark comparisons and novelty assertions against [6,7,8] depend on cited figures not independently verified against external literature.
Potential errors
- Type/codomain mismatch in Proposition 3.2 vs Section 4.1: Proposition 3.2 is explicitly stated for F: (F2^6)^3 -> N, whereas Section 4.1 invokes it on real-valued / polynomial summands in Phi4(p) prior to clearing denominators at p = 343/3125 (trivial to fix by stating Prop 3.2 for real- or monoid-valued functions).
- Potential scope mismatch between Theorem 1 and Section 6 / Table 3: the abstract and Section 6 state that both theorems are verified end-to-end in Lean 4, yet Table 3 for EvalC4.lean lists only W4Real, Sigma4, ramsey_multiplicity_k4_exact, and ramsey_multiplicity_k4_record, without explicitly naming a Lean theorem proving Eq (1) for general p in [0,1].
- Minor notation imprecisions: Sec 1.1 calls W5(0,0) the tensor product K4 x G_Q although intra-block edges in (5) are the complement of G_Q with 1s on the diagonal (complement of XOR product K4 oplus G_Q), and p. 2 writes G_Q's edge set as {u oplus v : Q(u oplus v)=1} rather than the generator set.
- Minor wording slips: Prop 2.2's proof evaluates P(g_i, g_j) symmetrically after defining P on E_N = {(x,y): x<y} (harmless since W is symmetric), and Sec 7(3) writes that Cor 2.3 guarantees 'explicit' N-vertex graphs whereas Prop 2.2 provides probabilistic existence.
Strong novelty candidates
- Continuous [0,1] relaxation of O+(6,2)-invariant orthogonal step graphons W4(p) on Z3 x F2^6 and W5(x,y) on Z4 x F2^6, enabling rational-weight balancing of monochromatic K4 and K5 densities beyond the binary {0,1} Cayley barrier.
- Unlocking the K5-free 4-class base Z4 x F2^6 for c5 by perturbing only the two inter-block isotropic orbits to (7/24, 1/24), yielding c5 < 0.00165364 (a 29.42% closure of the cited remaining gap).
- All-time improved upper bound c4 < 0.030140622 via a 1-parameter 192-vertex graphon W4(343/3125), improving upon cited 768-vertex records [7,8] with 4x fewer blocks.
Unresolved material objections
None reported.
arr:assessment:e821ee4f-4eeb-4cfa-8071-fd1bc56b3c77 · prompt ARR-ASSESS-1.0 · response SHA-256 c97d7895b922e2e6f7a4dc22bcd5a5efbb6cdc7334051f3063102c789ac8d974 · canonical PDF SHA-256 42c383b0ae3ce109ab2c06275c83df63aee19f28cfe75ef1e7157d182970a659
Anthropic · claude-opus-5.5 · not involved in manuscript · review context: unknown3.80
Recommendation: Minor Revision · Material objections: 0
The paper constructs O+(6,2)-invariant [0,1]-valued step graphons on Z3xF2^6 (one parameter) and Z4xF2^6 (two parameters). Via an elementary first-moment lemma it claims c4 <= 0.0301406211 and c5 <= 0.0016536394, improving the Parczyk et al. and McKay records, with an end-to-end Lean 4 formalization. The framework (Prop 2.2, Cor 2.3) is correct. The reflection lemma and the group and SRG facts are correct. Edge densities, polynomial consistency, the minimizer, the red/blue splits, the chunk total and the final fraction magnitudes all pass my spot checks. I found no counterexample or error capable of invalidating either theorem. The remaining risk lies in the unexecuted orbit sums and in the unseen Lean definitions, which the formal proof claims to cover. Revisions requested: display the Lean headline statements and the definition of IsRamseyMultUpperBound in the paper; give a fuller proof or orbit table for Prop 3.2; temper or substantiate the priority claims; and qualify the vertex-count comparisons and the claimed Python runtime.
- Correctness confidence
- Prop 2.2 and Cor 2.3 are correct standard first-moment arguments, including the diagonal W(u,u)=1 convention. The edge densities, the Phi4 polynomial values, the stationary point, the Table 2 chunk sum and the final K5 magnitude all pass spot checks. However, the 135-orbit sums, Sigma4 and the subtotals were not recomputed, and the Lean repository was not inspected.
- Rigor
- Elementary framework with explicit quantifiers, correct handling of non-injective tuples, and a valid degree-6 interpolation from 7 points. The claimed kernel-only Lean proof and an independent Python cross-check are strong. The proof of Prop 3.2 is only outlined in the PDF, and the Lean statements of the headline theorems are not displayed, so a reader cannot check definitional faithfulness from the paper.
- Novelty
- Fractional-valued O+(6,2)-invariant step graphons are a natural but apparently unexploited relaxation. Priority claims ('every previous record used {0,1} blow-ups', 'first Lean 4 formalization') depend on citations and literature that I did not verify. This includes possible 2025-2026 work not cited.
- Significance
- New upper bounds on classical constants: c5 improves by about 5.4e-5, a substantial step; c4 improves by about 1.7e-6 over McKay, an incremental step. Neither determines c4 or c5, and the method is a refinement of Thomason-type quadratic-form constructions.
- Reproducibility
- The paper gives exact rationals, integer orbit subtotals, explicit graphon definitions, the bitmask (checked: 28 set bits), and claims a public Lean and Python repository at tag v1.0.0. I did not access or run it. Lean v4.31.0 availability and CI logs remain unverified.
Strengths
- Correct, self-contained finite first-moment bound (Prop 2.2) avoiding graph-limit machinery; non-injective tuples and diagonal terms are handled properly.
- Exact rational certificates checked: the Table 2 subtotals sum exactly to Sigma5 = 450311532086724466176, and Sigma5/(256^4*24^10) is about 0.0016536, consistent with Theorem 2.
- The Phi4 polynomial is internally consistent: Phi4'(343/3125) is about 0, Phi4(p*) is about 0.0301406, the convexity claim follows from the coefficient signs, and 7 interpolation points suffice for degree <= 6.
- Group-theoretic inputs are correct: |O+(6,2)| = 40320, there are 28 anisotropic and 35 nonzero isotropic vectors, GQ is SRG(64,28,12,12), and the q6Mask has 28 set bits.
- Claimed kernel-only Lean verification (no native_decide) with an axiom audit, plus an independent exact-arithmetic Python check of the K4 polynomial.
Weaknesses
- The Lean theorem statements (e.g. ramsey_multiplicity_k4_record and IsRamseyMultUpperBound) are not reproduced in the PDF. Faithfulness to the mathematical c_t therefore cannot be checked from the artifact.
- Prop 3.2 is only outlined. The 15 pair and 135 triple representatives and the multiplicities mu_k are not listed, so the hand-checkable route depends entirely on the repository.
- Comparisons such as '192-vertex graphon beats 768-vertex records with 4x fewer blocks' conflate fractional step graphons with finite {0,1} constructions; the derived simple graphs are large random graphs, not 192-vertex graphs.
- The '4.38x the improvement over Thomason' ratio uses Thomason's '< 0.001720', which is a stated upper bound rather than an exact value, so the ratio is only approximate.
- The claim that the pure-Python Fraction script evaluates 192^3 triples at 7 points in under 10 seconds seems optimistic and should be documented with timings or method details.
Potential errors
- Novelty assertions ('every previous record relied on {0,1} blow-ups', 'first Lean 4 formalization') are unverified against the literature through 2026; recent constructions using weighted or fractional graphons may exist.
- The attribution of c4 > 0.0296 to Grzesik-Lee-Lidicky-Volec ('On tripartite common graphs') should be double-checked against the original source.
- The Section 4 description of W4(0) as 'the complement of the XOR product K3 ⊕ GQ' should be checked against definition (4) and Thomason's product conventions to avoid misattributing the base construction.
Strong novelty candidates
- A fractional relaxation of a two-orbit edge weighting on the K5-free 4-class base K4 ⊗ GQ, yielding c5 <= 0.00165364. If priority holds, this closes about 29% of the remaining gap to the flag-algebra bound.
Unresolved material objections
None reported.
arr:assessment:5d4aa177-49e7-4e65-8ea7-940b60448b8f · prompt ARR-ASSESS-1.0 · response SHA-256 669882756607e5dec22990e193ae443c2809c014fa2e8c59f9c5617103a58fdc · canonical PDF SHA-256 42c383b0ae3ce109ab2c06275c83df63aee19f28cfe75ef1e7157d182970a659
A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.
Editorial disclosure
Accepted under AIRR-FOUNDER-1.0 author-editor governance following two distinct cross-provider isolated frontier-model assessments (Anthropic/claude-opus-5.5 3.80/10 minor_revision and Google/hydrogen 4.40/10 minor_revision) with zero unresolved material objections and verified Lean 4 (v4.31.0) + Mathlib formalization (https://github.com/lluiseriksson/ramsey-multiplicity-k4-k5, v1.0.0; green GitHub Actions CI run #46496235614).