AFTD Auto-Formalizing Theoretical Domains

multicolor_ramsey_property

def

For a simple graph H on vertex type V and natural numbers r and N, multicolor_ramsey_property H r N asserts that every r-edge-coloring of the complete graph on Fin N contains a monochromatic copy of H.

Statement

def multicolor_ramsey_property {V : Type*} (H : SimpleGraph V) (r N : ℕ) : Prop
Defined in
arXiv:2611.19312 Section 1
Verified
22 Nov 2026
Axioms
none listed
Built on 1
  • mono_color_subgraphFor a simple graph G and an edge colouring c with colours in C, the monochromatic subgraph mono_color_subgraph G c col is the spanning…
Used by 2

Read back from the Lean

For a simple graph H on a type V and natural numbers r and N, multicolor_ramsey_property H r N asserts that for every edge-coloring c of the complete graph on Fin N with r colors (represented as a function from the edge set of (⊤ : SimpleGraph (Fin N)) to Fin r), there exists a color col : Fin r such that H is contained (SimpleGraph.IsContained) in the monochromatic subgraph on Fin N formed by the edges assigned color col under c.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Multicolor Ramsey property: every r-edge-coloring of K_N contains a monochromatic copy of H. -/
def multicolor_ramsey_property {V : Type*} (H : SimpleGraph V) (r N : ℕ) : Prop :=
  ∀ c : (⊤ : SimpleGraph (Fin N)).edgeSet → Fin r,
    ∃ col : Fin r, SimpleGraph.IsContained H (mono_color_subgraph ⊤ c col)
See it in the graphDiscuss this resultChallenge it