AFTD Auto-Formalizing Theoretical Domains

multigraph_chromatic_index

def

The chromatic index chi'(G) of a multigraph G is the minimum number of colors in a proper edge-coloring of G.

Statement

noncomputable def multigraph_chromatic_index {V : Type*} (G : Multigraph V) : ℕ
Defined in
scout/2611-29111-when-do-local-bounds-permit-optimal-edge-colorings.md:84
Verified
24 Nov 2026
Axioms
none listed
Built on 2
  • MultigraphA loopless multigraph on a vertex type V, represented by a symmetric edge-multiplicity function mult with mult v v = 0.
  • multigraph_is_proper_edge_coloringA proper k-edge-coloring of a multigraph G assigns each pair of vertices u and v a finset of colors in {1, ..., k} of cardinality mult u v…
Used by 2

Read back from the Lean

The function multigraph_chromatic_index takes a multigraph G on a vertex type V and returns the infimum (in ℕ, via sInf) of the set of natural numbers k for which there exists a proper edge coloring c : V → V → Finset ℕ using colors in {1, ..., k}.

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 chromatic index chi'(G) of a multigraph G. -/
noncomputable def multigraph_chromatic_index {V : Type*} (G : Multigraph V) : ℕ := sInf {k : ℕ | ∃ c : V → V → Finset ℕ, multigraph_is_proper_edge_coloring G k c}
See it in the graphDiscuss this resultChallenge it