63,505 $𝕚 traded in the last 7 days

All numbers

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 ↗

15 lines · 654 Braw
/-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

download (.tar)