Multigraph
structure
A loopless multigraph on a vertex type V, represented by a symmetric edge-multiplicity function mult with mult v v = 0.
Statement
structure Multigraph (V : Type*)
- Defined in
- scout/2611-29111-when-do-local-bounds-permit-optimal-edge-colorings.md:87
- Verified
- 24 Nov 2026
- Axioms
- none listed
- Used by 11
- 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_max_mult_atThe maximum edge multiplicity mu_G(u) at vertex u in a multigraph G on a finite vertex type V.
- multigraph_degreeThe degree of a vertex u in a multigraph G on a finite vertex type V is the sum of edge multiplicities of edges incident to u.
- multigraph_local_boundThe local Vizing bound b_G(u, v) for vertices u and v in a multigraph G on a finite vertex type V, defined as max(d_G(u) + mu_G(u), d_G(v)…
- 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_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_simpleA multigraph G is simple if every edge multiplicity is at most one.
- 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,…
- multigraph_max_degreeThe maximum degree Delta(G) of a multigraph G on a finite vertex type V is the maximum over all vertices u of the degree of u.
- 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
A structure Multigraph parameterized by a type V : Type*, defining an undirected, loopless multigraph on vertex type V. An instance consists of:
1. mult : V → V → ℕ, an edge multiplicity function assigning a natural number to each pair of vertices;
2. symm : ∀ u v : V, mult u v = mult v u, requiring edge multiplicity to be symmetric;
3. loopless : ∀ v : V, mult v v = 0, requiring that there are no self-loops (the multiplicity of an edge from any vertex to itself is 0).
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
/-- A loopless multigraph represented by a symmetric edge multiplicity function mult. -/ structure Multigraph (V : Type*) where mult : V → V → ℕ symm : ∀ u v, mult u v = mult v u loopless : ∀ v, mult v v = 0