AFTD Auto-Formalizing Theoretical Domains

multigraph_is_simple

def

A multigraph G is simple if every edge multiplicity is at most one.

Statement

def multigraph_is_simple {V : Type*} (G : Multigraph V) : Prop
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.

Read back from the Lean

Given a type $V$ and a multigraph $G$ on $V$, multigraph_is_simple G is the proposition that for all vertices $u, v : V$, the edge multiplicity $G.\mathrm{mult}(u, v)$ is less than or equal to $1$.

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 a multigraph is simple (all multiplicities at most 1). -/
def multigraph_is_simple {V : Type*} (G : Multigraph V) : Prop := ∀ u v, G.mult u v ≤ 1
See it in the graphDiscuss this resultChallenge it