{
  "id": "1228",
  "ident": "NS.01228",
  "slug": "erdos-183",
  "title": "Erdős Problem 183",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $R(3;k)$ be the minimal $n$ such that if the edges of $K_n$ are coloured with $k$ colours\nthen there must exist a monochromatic triangle. Determine\n$$\\lim_{k\\to \\infty}R(3;k)^{1/k}.$$\n\nThere is no finite limit: $R(3;k)^{1/k}\\to\\infty$. This was established by OpenAI [OpenAI26]\nalong with the explicit superexponential lower bound in\n`erdos_183.variants.explicit_lower_bound`.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos183.erdos_183",
  "statement_lean": "theorem erdos_183 :\n    Tendsto (fun k : ℕ => (multicolourTriangleRamsey k : ℝ) ^ ((1 : ℝ) / (k : ℝ)))\n      atTop atTop",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 183\n\n*References:*\n- [erdosproblems.com/183](https://www.erdosproblems.com/183)\n- [Er61] Erdős, P., *Graph theory and probability. II*. Canad. J. Math. (1961), 346-352.\n- [OpenAI26] OpenAI, *Ten advances in mathematics and theoretical computer science*. (2026).\n-/\n\n@[expose] public section\n\nopen Filter\n\nopen scoped Topology\n\nnamespace Erdos183\n\n/-- `n` forces a monochromatic triangle on `k` colours when every `k`-colouring of the edges\nof `K_n` has a colour class containing a triangle. -/\ndef ForcesMonochromaticTriangle (n k : ℕ) : Prop :=\n  ∀ C : SimpleGraph.TopEdgeLabeling (Fin n) (Fin k), ¬ C.CliqueFree 3\n\n/-- $R(3;k)$, the minimal `n` such that every `k`-colouring of the edges of `K_n` contains a\nmonochromatic triangle. -/\nnoncomputable def multicolourTriangleRamsey (k : ℕ) : ℕ :=\n  sInf {n : ℕ | ForcesMonochromaticTriangle n k}\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $R(3;k)$ be the minimal $n$ such that if the edges of $K_n$ are coloured with $k$ colours\nthen there must exist a monochromatic triangle. Determine\n$$\\lim_{k\\to \\infty}R(3;k)^{1/k}.$$\n\nThere is no finite limit: $R(3;k)^{1/k}\\to\\infty$. This was established by OpenAI [OpenAI26]\nalong with the explicit superexponential lower bound in\n`erdos_183.variants.explicit_lower_bound`.\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at\n  \"https://github.com/openai/ten-proofs/blob/94bc0feb6a9ff12c7d31d6de640a725c9d43d2b6/MulticolorTriangleRamsey.lean\"]\ntheorem erdos_183 :\n    Tendsto (fun k : ℕ => (multicolourTriangleRamsey k : ℝ) ^ ((1 : ℝ) / (k : ℝ)))\n      atTop atTop := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nThe explicit bound behind `erdos_183`: for every $k\\geq 2$,\n$$R(3;k)\\geq \\left(\\frac{k^{1/3}}{6e^{38}\\log k}\\right)^k.$$\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at\n  \"https://github.com/openai/ten-proofs/blob/94bc0feb6a9ff12c7d31d6de640a725c9d43d2b6/MulticolorTriangleRamsey.lean\"]\ntheorem erdos_183.variants.explicit_lower_bound :\n    ∀ k : ℕ, 2 ≤ k →\n      (((1 : ℝ) / (6 * Real.exp 38)) * (k : ℝ) ^ ((1 : ℝ) / 3) / Real.log (k : ℝ)) ^ k ≤\n        (multicolourTriangleRamsey k : ℝ) := by\n  sorry\n\nend Erdos183\n",
  "statement_hash": "1e6df2229fc33d1a47c0756b3b3fe55136301e9b45115b50adb9bc2872e4c594",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}