Commit 2025-05-14 23:43 d6c3a2d2
View on Github →feat(Combinatorics): multigraphs (#24122)
This PR defines multigraphs via a structure Graph a b consisting of a vertex set, an edge set, and a 'binary incidence' predicate describing which edges are incident with which vertices. The definition uses the same 'embedded set' design as Matroid: the vertex and edge sets are modelled as Sets rather than types.
We give basic API for incidence, adjacency and extensionality.
Zulip discussion.