AFTD Auto-Formalizing Theoretical Domains

multigraph_is_locally_bounded

def

An 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, v).

Statement

def multigraph_is_locally_bounded {V : Type*} [Fintype V] (G : Multigraph V) (c : V → V → Finset ℕ) : Prop
Defined in
scout/2611-29111-when-do-local-bounds-permit-optimal-edge-colorings.md:95
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_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)…
Used by 3

Read back from the Lean

Given a finite type V, a multigraph G on V (with symmetric edge multiplicity function G.mult : V → V → ℕ and no self-loops), and a function c : V → V → Finset ℕ assigning a finite set of natural numbers to each pair of vertices, multigraph_is_locally_bounded G c asserts that for all vertices u, v : V, every element x ∈ c u v satisfies x ≤ multigraph_local_bound G u v, where multigraph_local_bound G u v is the maximum of (deg(u) + μ(u)) and (deg(v) + μ(v)), with deg(w) = ∑ z, G.mult w z being the degree of vertex w and μ(w) = Finset.univ.sup (fun z => G.mult w z) being the maximum multiplicity of any edge incident to w.

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 each edge between u and v receives a color at most b_G(u, v). -/
def multigraph_is_locally_bounded {V : Type*} [Fintype V] (G : Multigraph V) (c : V → V → Finset ℕ) : Prop := ∀ u v, ∀ x ∈ c u v, x ≤ multigraph_local_bound G u v
See it in the graphDiscuss this resultChallenge it