multigraph_max_mult_at
def
The maximum edge multiplicity mu_G(u) at vertex u in a multigraph G on a finite vertex type V.
Statement
def multigraph_max_mult_at {V : Type*} [Fintype V] (G : Multigraph V) (u : V) : ℕ
- Defined in
- scout/2611-29111-when-do-local-bounds-permit-optimal-edge-colorings.md:87
- 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 1
- 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)…
Read back from the Lean
Given a finite type V, a multigraph G on V (a structure with edge multiplicity function G.mult : V → V → ℕ that is symmetric and zero on loops), and a vertex u : V, multigraph_max_mult_at G u is the maximum (supremum in ℕ) of G.mult u v over all vertices v : V in Finset.univ.
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 maximum edge multiplicity incident to vertex u in G. -/ def multigraph_max_mult_at {V : Type*} [Fintype V] (G : Multigraph V) (u : V) : ℕ := Finset.univ.sup (fun v => G.mult u v)