63,505Β $π•š traded in the last 7 days

All numbers

Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_Ramsey55Types.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source β†—

16 lines Β· 573 Braw
/-From Prove2Me, definition `Ramsey55Types` (https://prove2.me/definitions/85c8b3d8-b89f-4394-9ea6-8655dd56ef4b). Apache-2.0 per Prove2Me's terms.-/import Mathlib.Data.Finset.Card namespace Ramsey55 /-- A 2-coloring of K_n edges (Red=true, Blue=false) -/def Coloring (n : β„•) := Fin n β†’ Fin n β†’ Bool /-- Check if all edges in a set have the same color -/def isMonochromatic {n : β„•} (Ο‡ : Coloring n) (S : Finset (Fin n)) : Prop :=  (βˆ€ i ∈ S, βˆ€ j ∈ S, i < j β†’ Ο‡ i j = true) ∨  (βˆ€ i ∈ S, βˆ€ j ∈ S, i < j β†’ Ο‡ i j = false) end Ramsey55

download (.tar)