AFTD Auto-Formalizing Theoretical Domains

simple_graph_is_iumo_coloring

def

A vertex colouring of a graph G is an iUMo-colouring (unique-maximum colouring with respect to open neighbourhoods) if, for every vertex v, the maximum colour in the open neighbourhood N(v) is attained by exactly one vertex.

Statement

def simple_graph_is_iumo_coloring {V α : Type*} [LinearOrder α] (G : SimpleGraph V) (c : V → α) : Prop
Defined in
arXiv:2611.23478, Section 1
Verified
19 Nov 2026
Axioms
none listed
Built on 2
  • LinearOrder.toTotalPreorderEvery LinearOrder is a TotalPreorder.
  • TotalPreorderA total preorder: a preorder where ≤ is total (complete). This is weaker than LinearOrder — it does NOT require antisymmetry or…
Used by 1

Read back from the Lean

For a type V, a linearly ordered type α, a simple graph G on V, and a coloring function c : V → α, simple_graph_is_iumo_coloring G c asserts that for every vertex v : V, there exists a neighbor u of v such that for every neighbor w of v, if w ≠ u, then c(w) < c(u) (i.e., every vertex has a neighbor whose color is strictly greater than the color of all its other neighbors).

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

/-- A colouring of the vertices of a graph is an iUMo-colouring if in the open neighbourhood of every vertex, the maximum colour appears on exactly one vertex. -/
def simple_graph_is_iumo_coloring {V α : Type*} [LinearOrder α] (G : SimpleGraph V) (c : V → α) : Prop := ∀ v : V, ∃ u ∈ G.neighborSet v, ∀ w ∈ G.neighborSet v, w ≠ u → c w < c u
See it in the graphDiscuss this resultChallenge it