/- 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. -/ module public import FormalConjecturesUtil /-! # Erdős Problem 546 *References:* - [erdosproblems.com/546](https://www.erdosproblems.com/546) - [Su11] Sudakov, B., A conjecture of Erdős on graph Ramsey numbers. Adv. Math. (2011), 3148-3155. - [AKS03] Alon, N., Krivelevich, M. and Sudakov, B., Turán numbers of bipartite graphs and Ramsey graphs of bounded degree. Combin. Probab. Comput. (2003), 477-483. - [PALOMAR-2026-10-04-000010](https://palomar-registry.org/entry.html?id=PALOMAR-2026-10-04-000010&version=1) -/ @[expose] public section namespace Erdos546 set_option linter.style.formal_proof_palomar false in /-- Let $G$ be a graph with no isolated vertices and $m$ edges. Is it true that $$R(G) \leq 2^{O(m^{1/2})}?$$ This is true, and was proved by Sudakov [Su11]. This problem is #11 in Ramsey Theory in the graphs problem collection. -/ @[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/linrock/math-proofs/blob/7caa4144741e10f96cf79d6f7313a0efd9a18b67/erdos-546/Proofs/OriginalStatement546.lean#L33"] theorem erdos_546 : ∃ C > (0 : ℝ), ∀ (m : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj], (∀ v, 0 < G.degree v) → G.edgeSet.ncard = m → (SimpleGraph.diagonalGraphRamsey G : ℝ) ≤ 2 ^ (C * Real.sqrt m) := by sorry -- TODO: Add variants of the problem. end Erdos546