Graphs with edge reversal #
A Serre graph has directed edges paired by a fixed-point-free reversal. In particular, a loop still has two distinct directions, and parallel edges remain distinct. The quiver associated to a Serre graph keeps those directed edge identities, so its paths can be used for reduced paths, graph groups, and labelled-graph arguments.
The geometric edges of a Serre graph are the reversal pairs {e, rev e}; data attached to an
unoriented edge, such as the edge groups of a graph of groups, is indexed by them.
For a reversal-closed set S of darts, the subgraph Γ.restrict S hS keeps every vertex of Γ
and the darts in S.
The simple-graph construction takes its edge set from Mathlib's darts. It provides the familiar loopless example while retaining the reversal structure used for general graphs.
References #
- J.-P. Serre, Trees, Chapter I, §2.1.
A graph in Serre's sense: every directed edge has a distinct reverse edge. Loops and parallel edges are permitted.
- V : Type u
Vertices.
- E : Type v
Directed edges, or darts.
Initial vertex of a dart.
Reverse dart.
Reversing twice does nothing.
A dart differs from its reverse, even when it is a loop.
Instances For
Terminal vertex of a dart. The body is exposed so that families indexed by vertices, such as
the vertex groups of a graph of groups, can be evaluated at Γ.tgt e without a cast.
Instances For
A dart ends where its reverse starts.
The geometric edges of a Serre graph: the pairs {e, rev e} of mutually reverse darts.
Instances For
The geometric edge underlying a dart.
Instances For
A dart and its reverse have the same underlying geometric edge.
Two darts have the same geometric edge exactly when they are equal or mutually reverse.
A function on darts taking the same value on mutually reverse darts descends to geometric edges.
Instances For
An orientation chooses one dart from each reverse pair.
Instances For
The quiver whose arrows are the actual darts from their source to their target.
Reversal on the quiver associated to a Serre graph.
A dart as an arrow of the associated quiver.
Instances For
An indexed path in a Serre graph is a path of its associated quiver.
Instances For
A Serre graph is preconnected when any two vertices are joined by a path.
Instances For
Preconnectivity is pairwise Serre path reachability.
A Serre graph is preconnected as soon as one vertex is joined by a path to every vertex: paths can be reversed.
In a Serre graph all of whose darts are loops, a path never leaves its starting vertex.
A Serre graph is connected when it is nonempty and path-connected.
Instances For
Connectedness requires a vertex as well as preconnectivity.
A morphism of Serre graphs maps vertices and darts and preserves incidence and reversal.
Vertex map.
Dart map.
Sources are preserved.
Reversal is preserved.
Instances For
The quiver prefunctor underlying a Serre-graph morphism.
Instances For
A vertex-surjective graph morphism carries preconnectedness to its target.
A vertex-surjective graph morphism carries connectedness to its target.
Identity morphism of a Serre graph.
Instances For
Compose Serre-graph morphisms.
Instances For
The subgraph of Γ with all vertices of Γ and the darts of a reversal-closed set S. The
vertex type reduces to that of Γ, so vertices of Γ are vertices of the subgraph.
Instances For
The inclusion of a restriction into the ambient graph.
Instances For
The rose on a type of petals. Each petal is a loop with two distinct darts.
Instances For
Each dart of a rose is a loop.
The Serre graph with one vertex and no edges.
Instances For
The darts of a rose, being pairs of a petal and a direction, have decidable equality when the petals do.
Every rose is connected, including the rose without petals.
The segment: two vertices joined by a single pair of darts. The dart b runs from the
vertex b to the vertex !b.
Instances For
The darts of the segment, being Booleans, have decidable equality.
The segment has a single geometric edge.
The Serre graph of a simple graph has its darts as directed edges.