AFTD Auto-Formalizing Theoretical Domains

simple_graph_diagonal_chromatic_number

def

Given a simple graph G on Fin n and a permutation σ on the darts of G, simple_graph_diagonal_chromatic_number G σ is the infimum in ℕ of the set of natural numbers k such that simple_graph_diagonal_conflict_graph G σ is k-colorable.

Statement

noncomputable def simple_graph_diagonal_chromatic_number {n : ℕ} (G : SimpleGraph (Fin n))
    (σ : Equiv.Perm G.Dart) : ℕ
Defined in
arXiv:2611.18384 Section 1.1 and line 300
Verified
17 Nov 2026
Axioms
none listed
Built on 1

Read back from the Lean

Given a natural number n, a simple graph G on the vertex set Fin n, and a permutation σ of the darts of G, simple_graph_diagonal_chromatic_number G σ is defined as the chromatic number (the minimum number of colors k : ℕ such that the graph is k-colorable) of the "diagonal conflict graph" on Fin n. In this conflict graph, two distinct vertices x ≠ y are adjacent if and only if they are adjacent in G, or there exists a dart d of G such that x is the source vertex of f(f(d)) and y is the source vertex of f(f(d.symm)), where f is the dart permutation defined by f(e) = σ(e.symm).

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

/-- The diagonal chromatic number χ_d(T) is the chromatic number of the diagonal conflict graph D(T). -/
noncomputable def simple_graph_diagonal_chromatic_number {n : ℕ} (G : SimpleGraph (Fin n))
    (σ : Equiv.Perm G.Dart) : ℕ :=
  sInf {k : ℕ | (simple_graph_diagonal_conflict_graph G σ).Colorable k}
See it in the graphDiscuss this resultChallenge it