multigraph_is_proper_edge_coloring
A 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 such that color sets of adjacent pairs sharing a vertex are disjoint.
Statement
def multigraph_is_proper_edge_coloring {V : Type*} (G : Multigraph V) (k : ℕ) (c : V → V → Finset ℕ) : Prop
- Defined in
- scout/2611-29111-when-do-local-bounds-permit-optimal-edge-colorings.md:83
- Verified
- 24 Nov 2026
- Axioms
- none listed
- Built on 1
- MultigraphA loopless multigraph on a vertex type V, represented by a symmetric edge-multiplicity function mult with mult v v = 0.
- Used by 4
- multigraph_local_to_ordinary_chromatic_index_gap_ge_two_existsThere exists a multigraph G on Fin n such that its local chromatic index exceeds its ordinary chromatic index by at least two: chi'_loc(G)…
- 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_chromatic_index_le_local_chromatic_indexFor any multigraph G on a finite vertex type V admitting a locally bounded proper edge-coloring, its chromatic index is at most its local…
Read back from the Lean
Given a type V, a multigraph G : Multigraph V, a natural number k : ℕ, and a function c : V → V → Finset ℕ, multigraph_is_proper_edge_coloring G k c asserts the conjunction of the following four conditions:
1. For all u v : V, c u v = c v u (the color assignment is symmetric with respect to endpoints).
2. For all u v : V, the cardinality of the finset c u v equals G.mult u v (the number of distinct colors assigned between u and v equals the edge multiplicity between u and v).
3. For all u v : V and every x ∈ c u v, 1 ≤ x and x ≤ k (every color used is an integer between 1 and k, inclusive).
4. For all u : V and all v₁ v₂ : V, if v₁ ≠ v₂, then c u v₁ and c u v₂ are disjoint (edges incident to u going to distinct vertices share no colors).
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
/-- Predicate that c is a proper k-edge-coloring of G using colors in {1, ..., k}. -/ def multigraph_is_proper_edge_coloring {V : Type*} (G : Multigraph V) (k : ℕ) (c : V → V → Finset ℕ) : Prop := (∀ u v, c u v = c v u) ∧ (∀ u v, (c u v).card = G.mult u v) ∧ (∀ u v, ∀ x ∈ c u v, 1 ≤ x ∧ x ≤ k) ∧ (∀ u, ∀ v₁ v₂, v₁ ≠ v₂ → Disjoint (c u v₁) (c u v₂))