Index of theproofnetwork/open-problems@860a535/FormalConjectures/ErdosProblems/Erdos183.lean
qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗
/-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, softwaredistributed 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 andlimitations under the License.-/module public import FormalConjecturesUtil /-!# Erdős Problem 183 *References:*- [erdosproblems.com/183](https://www.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).-/ @[expose] public section open Filter open scoped Topology namespace Erdos183 /-- `n` forces a monochromatic triangle on `k` colours when every `k`-colouring of the edgesof `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 amonochromatic triangle. -/noncomputable def multicolourTriangleRamsey (k : ℕ) : ℕ := sInf {n : ℕ | ForcesMonochromaticTriangle n k} set_option linter.style.formal_proof_palomar false in/--Let $R(3;k)$ be the minimal $n$ such that if the edges of $K_n$ are coloured with $k$ coloursthen 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 := by sorry set_option linter.style.formal_proof_palomar false in/--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 : ℝ) := by sorry end Erdos183