Disjoint sum of graphs #
This file defines the disjoint sum of graphs. The disjoint sum of G : SimpleGraph α
and
H : SimpleGraph β
is a graph on α ⊕ β
where u
and v
are adjacent if and only if they are
both in G
and adjacent in G
, or they are both in H
and adjacent in H
.
Main declarations #
SimpleGraph.Sum
: The disjoint sum of graphs.
Notation #
G ⊕g H
: The disjoint sum ofG
andH
.
Disjoint sum of G
and H
.
Equations
Instances For
Disjoint sum of G
and H
.
Equations
Instances For
The disjoint sum is commutative up to isomorphism. Iso.sumComm
as a graph isomorphism.
Equations
Instances For
The disjoint sum is associative up to isomorphism. Iso.sumAssoc
as a graph isomorphism.
Equations
Instances For
The embedding of G
into G ⊕g H
.
Equations
Instances For
The embedding of H
into G ⊕g H
.
Equations
Instances For
Color G ⊕g H
with colorings of G
and H
Equations
Instances For
Get coloring of G
from coloring of G ⊕g H
Equations
Instances For
Get coloring of H
from coloring of G ⊕g H
Equations
Instances For
Bijection between (G ⊕g H).Coloring γ
and G.Coloring γ × H.Coloring γ
Equations
Instances For
Color G ⊕g H
with Fin (n + m)
given a coloring of G
with Fin n
and a coloring of H
with Fin m