AFTD Auto-Formalizing Theoretical Domains

simple_graph_local_chromatic_index

def

For a finite simple graph G with decidable adjacency on a finite vertex type V with decidable equality, the local chromatic index chi'_loc(G) is the infimum of all k such that G admits a proper edge-coloring c : G.edgeSet → ℕ with colors in {1, ..., k} that is locally bounded.

Statement

noncomputable def simple_graph_local_chromatic_index {V : Type*} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) [DecidableRel G.Adj] : ℕ
Defined in
arXiv:2611.29111, Section 1
Verified
28 Nov 2026
Axioms
none listed
Built on 2
  • simple_graph_is_proper_edge_coloringA function c on the edge set of a simple graph G is a proper edge-coloring with colors in {1, ..., k} if each edge receives a color…
  • simple_graph_is_locally_boundedGiven a finite vertex type V with decidable equality and a simple graph G on V with decidable adjacency, an edge-coloring c : G.edgeSet →…

Read back from the Lean

For a finite type V with decidable equality and a simple graph G on V with decidable adjacency, simple_graph_local_chromatic_index G is defined as the infimum (sInf) in ℕ of the set of all k : ℕ for which there exists an edge coloring c : G.edgeSet → ℕ such that c is a proper edge coloring of G using colors between 1 and k (simple_graph_is_proper_edge_coloring G k c) and c is locally bounded (simple_graph_is_locally_bounded G 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

/-- The local chromatic index chi'_loc(G) of a simple graph G. -/
noncomputable def simple_graph_local_chromatic_index {V : Type*} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) [DecidableRel G.Adj] : ℕ := sInf {k : ℕ | ∃ c : G.edgeSet → ℕ, simple_graph_is_proper_edge_coloring G k c ∧ simple_graph_is_locally_bounded G c}
See it in the graphDiscuss this resultChallenge it