Relabelling the edges of a multigraph #
Mathlib's Graph.map changes vertex names and deliberately leaves edge names fixed. The ear
construction needs the complementary operation: give the finitely many edges of an ambient path
fresh abstract cell names while retaining every vertex and every incidence.
The relabelling map only has to be injective on the graph's edge set. Walks, paths, and path graphs then push forward by mapping their edge lists.
Relabel every edge of G by a map injective on E(G), without changing its vertices.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A walk pushes forward along an injective relabelling of its edges.
A path pushes forward along an injective relabelling of its edges.
A graph which is exactly a path remains so after an injective edge relabelling.
A walk surviving a vertex deletion still survives that deletion after edge relabelling.
Edge relabelling preserves 2-connectivity, including connectedness after deleting any one vertex.
Relabelling a drawing #
The drawing with its edge argument translated back through an injective relabelling.
Equations
- G.relabelDrawing f drawing d = drawing (Function.invFunOn f G.edgeSet d)
Instances For
Edge relabelling changes neither the occupied point set nor any geometric edge arc.
Injectively changing edge names preserves a plane drawing and all of its drawn arcs.