/- Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ import FormalConjecturesUtil

Erdős Problem 183

References:

    erdosproblems.com/183

    [Er61] Erdős, P., Graph theory and probability. II. Canad. J. Math. (1961), 346-352.

    [OpenAI26] OpenAI, Ten advances in mathematics and theoretical computer science. (2026).

open Filteropen scoped Topologynamespace Erdos183

n forces a monochromatic triangle on k colours when every k-colouring of the edges of K_n has a colour class containing a triangle.

def ForcesMonochromaticTriangle (n k : ) : Prop := C : SimpleGraph.TopEdgeLabeling (Fin n) (Fin k), ¬ C.CliqueFree 3

$R(3;k)$, the minimal n such that every k-colouring of the edges of K_n contains a monochromatic triangle.

noncomputable def multicolourTriangleRamsey (k : ) : := sInf {n : | ForcesMonochromaticTriangle n k}

Let $R(3;k)$ be the minimal $n$ such that if the edges of $K_n$ are coloured with $k$ colours then there must exist a monochromatic triangle. Determine $$\lim_{k\to \infty}R(3;k)^{1/k}.$$

There is no finite limit: $R(3;k)^{1/k}\to\infty$. This was established by OpenAI [OpenAI26] along with the explicit superexponential lower bound in erdos_183.variants.explicit_lower_bound.

@[category research solved, AMS 5, formal_proof using lean4 at "https://github.com/openai/ten-proofs/blob/94bc0feb6a9ff12c7d31d6de640a725c9d43d2b6/MulticolorTriangleRamsey.lean"] theorem erdos_183 : Tendsto (fun k : => (multicolourTriangleRamsey k : ) ^ ((1 : ) / (k : ))) atTop atTop := Tendsto (fun k (multicolourTriangleRamsey k) ^ (1 / k)) atTop atTop All goals completed! 🐙

The explicit bound behind erdos_183: for every $k\geq 2$, $$R(3;k)\geq \left(\frac{k^{1/3}}{6e^{38}\log k}\right)^k.$$

@[category research solved, AMS 5, formal_proof using lean4 at "https://github.com/openai/ten-proofs/blob/94bc0feb6a9ff12c7d31d6de640a725c9d43d2b6/MulticolorTriangleRamsey.lean"] theorem erdos_183.variants.explicit_lower_bound : k : , 2 k (((1 : ) / (6 * Real.exp 38)) * (k : ) ^ ((1 : ) / 3) / Real.log (k : )) ^ k (multicolourTriangleRamsey k : ) := (k : ), 2 k (1 / (6 * Real.exp 38) * k ^ (1 / 3) / Real.log k) ^ k (multicolourTriangleRamsey k) All goals completed! 🐙end Erdos183