Graph Orientation #
This module introduces conversion operations between Digraph
s and SimpleGraph
s, by forgetting
the edge orientations of Digraph
.
Main Definitions #
Digraph.toSimpleGraphInclusive
: Converts aDigraph
to aSimpleGraph
by creating an undirected edge if either orientation exists in the digraph.Digraph.toSimpleGraphStrict
: Converts aDigraph
to aSimpleGraph
by creating an undirected edge only if both orientations exist in the digraph.
TODO #
- Show that there is an isomorphism between loopless complete digraphs and oriented graphs.
- Define more ways to orient a
SimpleGraph
. - Provide lemmas on how
toSimpleGraphInclusive
andtoSimpleGraphStrict
relate to other lattice structures onSimpleGraph
s andDigraph
s.
Tags #
digraph, simple graph, oriented graphs
Orientation-forgetting maps on digraphs #
Orientation-forgetting map from Digraph
to SimpleGraph
that gives an unoriented edge if
either orientation is present.
Equations
- G.toSimpleGraphInclusive = SimpleGraph.fromRel G.Adj
Instances For
Orientation-forgetting map from Digraph
to SimpleGraph
that gives an unoriented edge if
both orientations are present.
Equations
Instances For
theorem
Digraph.toSimpleGraphStrict_subgraph_toSimpleGraphInclusive
{V : Type u_1}
(G : Digraph V)
:
G.toSimpleGraphStrict ≤ G.toSimpleGraphInclusive