The areas / V30. Combinatorics
Mathlib.Combinatorics.Digraph.Orientation
9 declarations. Mathlib docs · Source
Graph Orientation
This module introduces conversion operations between Digraphs and SimpleGraphs, by forgetting
the edge orientations of Digraph.
Main Definitions
Digraph.toSimpleGraphInclusive: Converts aDigraphto aSimpleGraphby creating an undirected edge if either orientation exists in the digraph.Digraph.toSimpleGraphStrict: Converts aDigraphto aSimpleGraphby 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
toSimpleGraphInclusiveandtoSimpleGraphStrictrelate to other lattice structures onSimpleGraphs andDigraphs.
Tags
digraph, simple graph, oriented graphs
Orientation-forgetting maps on digraphs
def Digraph.toSimpleGraphInclusive E3 #
{V : Type u_1} → Digraph V → SimpleGraph V
Orientation-forgetting map from Digraph to SimpleGraph that gives an unoriented edge if
either orientation is present.
def Digraph.toSimpleGraphStrict E3 #
{V : Type u_1} → Digraph V → SimpleGraph V
Orientation-forgetting map from Digraph to SimpleGraph that gives an unoriented edge if
both orientations are present.
theorem Digraph.toSimpleGraphStrict_subgraph_toSimpleGraphInclusive E1 #
∀ {V : Type u_1} (G : Digraph V), G.toSimpleGraphStrict ≤ G.toSimpleGraphInclusive
theorem Digraph.toSimpleGraphInclusive_mono E1 #
∀ {V : Type u_1}, Monotone Digraph.toSimpleGraphInclusive
theorem Digraph.toSimpleGraphStrict_mono E1 #
∀ {V : Type u_1}, Monotone Digraph.toSimpleGraphStrict
theorem Digraph.toSimpleGraphInclusive_top E0 #
∀ {V : Type u_1}, ⊤.toSimpleGraphInclusive = ⊤
theorem Digraph.toSimpleGraphStrict_top E0 #
∀ {V : Type u_1}, ⊤.toSimpleGraphStrict = ⊤
theorem Digraph.toSimpleGraphInclusive_bot E0 #
∀ {V : Type u_1}, ⊥.toSimpleGraphInclusive = ⊥
theorem Digraph.toSimpleGraphStrict_bot E0 #
∀ {V : Type u_1}, ⊥.toSimpleGraphStrict = ⊥