Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_Erdos77_diagonal_ramsey.lean
qedmarketβs copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source β
/-From Prove2Me, definition `Erdos77_diagonal_ramsey` (https://prove2.me/definitions/0575e252-a9f4-4ec8-9d5a-9573f97affb4). Apache-2.0 per Prove2Me's terms.-/import Mathlib namespace Erdos77 /-- The diagonal Ramsey number `R(k)`: the least `n` such that every graph `G` on `n`vertices contains a `k`-clique or its complement contains a `k`-clique (equivalently, everyred/blue colouring of the edges of `K_n` has a monochromatic `K_k`). -/noncomputable def diagonalRamsey (k : β) : β := sInf {n : β | β G : SimpleGraph (Fin n), (β s : Finset (Fin n), G.IsNClique k s) β¨ (β s : Finset (Fin n), GαΆ.IsNClique k s)} end Erdos77