AFTD Auto-Formalizing Theoretical Domains

multigraph_chromatic_index_le_local_chromatic_index

theoremverifiedformalization

For any multigraph G on a finite vertex type V admitting a locally bounded proper edge-coloring, its chromatic index is at most its local chromatic index: chi'(G) <= chi'_loc(G).

Statement

theorem multigraph_chromatic_index_le_local_chromatic_index {V : Type*} [Fintype V] (G : Multigraph V) (h : ∃ k, ∃ c : V → V → Finset ℕ, multigraph_is_proper_edge_coloring G k c ∧ multigraph_is_locally_bounded G c) : multigraph_chromatic_index G ≤ multigraph_local_chromatic_index G
Formalizes
scout/2611-29111-when-do-local-bounds-permit-optimal-edge-colorings.md:76
Verified
25 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 5
  • MultigraphA loopless multigraph on a vertex type V, represented by a symmetric edge-multiplicity function mult with mult v v = 0.
  • multigraph_chromatic_indexThe chromatic index chi'(G) of a multigraph G is the minimum number of colors in a proper edge-coloring of G.
  • multigraph_local_chromatic_indexThe local chromatic index chi'_loc(G) of a multigraph G is the minimum number of colors in a locally bounded proper edge-coloring of G.
  • 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…
  • multigraph_is_locally_boundedAn edge-coloring c of a multigraph G is locally bounded if for all vertices u and v, each color in c u v is at most the local bound b_G(u,…

Read back from the Lean

For any finite type $V$ and any multigraph $G$ on $V$, if there exists an integer $k \in \mathbb{N}$ and an edge coloring $c : V \to V \to \mathrm{Finset\ } \mathbb{N}$ such that $c$ is a proper edge coloring of $G$ with at most $k$ colors and $c$ is locally bounded on $G$, then the multigraph chromatic index of $G$ is less than or equal to the multigraph local chromatic index of $G$.

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

The proof, explained

The ordinary chromatic index and local chromatic index of a multigraph are defined as the infima in ℕ of the number of colors in a proper edge-coloring and a locally bounded proper edge-coloring, respectively. Given that a locally bounded proper edge-coloring exists, the set of admissible color counts is non-empty, so by the well-ordering of ℕ the local chromatic index is realized by an actual coloring. Because any locally bounded proper coloring is in particular a proper coloring, the local chromatic index belongs to the set defining the ordinary chromatic index, and therefore bounds it from above.

  1. The set of color counts admitting a locally bounded proper edge-coloring is non-empty.

    Unfolding the definitions of `multigraph_chromatic_index` and `multigraph_local_chromatic_index` expresses each quantity as the infimum of the number of colors admitting the respective type of edge-coloring. Unpacking the hypothesis provides a color count $k$ and a coloring $c$ that is both proper and locally bounded, showing that the set defining the local chromatic index is non-empty.

    lines 3–6

      unfold multigraph_chromatic_index multigraph_local_chromatic_index
      obtain ⟨k, c, hc, hb⟩ := h
      have hS : ({k | ∃ c, multigraph_is_proper_edge_coloring G k c ∧ multigraph_is_locally_bounded G c} : Set ℕ).Nonempty :=
        ⟨k, c, hc, hb⟩
  2. The local chromatic index belongs to the set of color counts admitting a locally bounded proper edge-coloring.

    Because any non-empty set of natural numbers contains its infimum (`Nat.sInf_mem`), the local chromatic index belongs to the set of valid color counts, meaning it is realized by some locally bounded proper edge-coloring.

    line 7

    uses Nat.sInf_mem

      have hmem := Nat.sInf_mem hS
  3. It suffices to show that the local chromatic index admits a proper edge-coloring.

    By `Nat.sInf_le`, the infimum of a set of natural numbers is less than or equal to any element in that set. Applying this to the set defining the ordinary chromatic index reduces the goal inequality to showing that the local chromatic index belongs to that set.

    line 8

    uses Nat.sInf_le

      apply Nat.sInf_le
  4. The local chromatic index admits a proper edge-coloring.

    From the fact that the local chromatic index belongs to the set of locally bounded color counts, we obtain an edge-coloring $c'$ that is proper using that many colors. Forgetting the local boundedness condition, this coloring witnesses that the local chromatic index belongs to the set of proper color counts.

    lines 9–10

      obtain ⟨c', hc', -⟩ := hmem
      exact ⟨c', hc'⟩
Nat.sInf_mem
A non-empty set of natural numbers contains its infimum (its least element).
Nat.sInf_le
The infimum of a set of natural numbers is less than or equal to any element in the set.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- The ordinary chromatic index of a multigraph is at most its local chromatic index. -/theorem multigraph_chromatic_index_le_local_chromatic_index {V : Type*} [Fintype V] (G : Multigraph V) (h : ∃ k, ∃ c : V → V → Finset ℕ, multigraph_is_proper_edge_coloring G k c ∧ multigraph_is_locally_bounded G c) : multigraph_chromatic_index G ≤ multigraph_local_chromatic_index G := by  unfold multigraph_chromatic_index multigraph_local_chromatic_index  obtain ⟨k, c, hc, hb⟩ := h  have hS : ({k | ∃ c, multigraph_is_proper_edge_coloring G k c ∧ multigraph_is_locally_bounded G c} : Set ℕ).Nonempty :=    ⟨k, c, hc, hb⟩  have hmem := Nat.sInf_mem hS  apply Nat.sInf_le  obtain ⟨c', hc', -⟩ := hmem  exact ⟨c', hc'⟩
See it in the graphDiscuss this resultChallenge it