Walks of a simple graph as directed walks of its adjacency arrow family #
The adjacency arrow family SimpleGraph.AdjHom G of a simple graph G has a single arrow from
v to w exactly when v and w are adjacent, so every edge gives one arrow in each direction.
Directed walks along it (TauCeti.ArrowWalk) are the objects on which the network theory runs,
including the directed forms of Menger's theorem.
This file identifies the walks of G with the directed walks of its adjacency arrow family
(SimpleGraph.Walk.arrowWalkEquiv). The identification preserves the length and the vertex
sequence, hence paths. Deleting a set X of vertices corresponds to avoiding it: reachability in
the subgraph induced on the complement of X is reachability along the adjacency arrow family
through walks visiting no vertex of X. This is what transports the vertex forms of Menger's
theorem from arrow families to simple graphs.
Main definitions #
SimpleGraph.AdjHom G: the adjacency arrow family ofG.SimpleGraph.Walk.toArrowWalk: a walk ofGas a directed walk.TauCeti.ArrowWalk.toWalk: a directed walk of the adjacency arrow family as a walk ofG.SimpleGraph.Walk.arrowWalkEquiv: these maps are inverse equivalences.
Main results #
SimpleGraph.Walk.vertices_toArrowWalkandTauCeti.ArrowWalk.support_toWalk: the identification preserves vertex sequences.SimpleGraph.Walk.isPath_toArrowWalk_iffandTauCeti.ArrowWalk.isPath_toWalk_iff: it preserves and reflects paths.SimpleGraph.reachable_iff_nonempty_arrowWalk: reachability inGis reachability along the adjacency arrow family.SimpleGraph.reachable_induce_iff: two vertices of a vertex setSare reachable in the subgraph induced onSexactly when some walk between them stays inS.SimpleGraph.reachableAvoiding_singleton_adjHom_iff: avoiding one vertex along the adjacency arrow family is witnessed by a simple-graph walk whose support avoids that vertex.TauCeti.ReachableAvoiding.reachable: avoiding vertices still implies ordinary simple-graph reachability.SimpleGraph.reachable_induce_compl_iff: reachability after deleting a setXof vertices is reachability along the adjacency arrow family avoidingX.
The adjacency arrow family of a simple graph: a single arrow from v to w exactly when v
and w are adjacent, so every edge gives one arrow in each direction.
Instances For
A walk of G as a directed walk of the adjacency arrow family, visiting the same vertices in
the same order.
Instances For
The directed walk of a concatenation is the composite of the directed walks.
The directed walk of a walk visits the vertices of its support, in order.
A directed walk of the adjacency arrow family of G, as a walk of G visiting the same
vertices in the same order.
Instances For
The walk of a directed walk has the vertices of the directed walk as its support.
Returning a walk from the adjacency arrow family recovers it.
Every directed walk of the adjacency arrow family is the directed walk of its walk in G.
The walks of G between two vertices are the directed walks of the adjacency arrow family
between them, with the same vertex sequences.
Instances For
Reachability #
Reachability in G is reachability along its adjacency arrow family.
Two vertices of a set S are reachable in the subgraph induced on S exactly when some walk
of G between them visits only vertices of S.
Reachability along the adjacency arrow family avoiding a set X of vertices is the existence
of a walk of G visiting no vertex of X.
Avoiding one vertex along the adjacency arrow family is the existence of a simple-graph walk whose support avoids that vertex.
Reachability while avoiding vertices implies ordinary simple-graph reachability.
Reachability after deleting a set X of vertices, in the subgraph induced on its complement,
is reachability along the adjacency arrow family avoiding X.