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 ofGandH.
Disjoint sum of G and H.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Disjoint sum of G and H.
Equations
- SimpleGraph.«term_⊕g_» = Lean.ParserDescr.trailingNode `SimpleGraph.«term_⊕g_» 60 60 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊕g ") (Lean.ParserDescr.cat `term 61))
Instances For
The disjoint sum is commutative up to isomorphism. Iso.sumComm as a graph isomorphism.
Equations
- SimpleGraph.Iso.sumComm = { toEquiv := Equiv.sumComm α β, map_rel_iff' := ⋯ }
Instances For
The disjoint sum is associative up to isomorphism. Iso.sumAssoc as a graph isomorphism.
Equations
- SimpleGraph.Iso.sumAssoc = { toEquiv := Equiv.sumAssoc α β γ, map_rel_iff' := ⋯ }
Instances For
The embedding of G into G ⊕g H.
Equations
- SimpleGraph.Embedding.sumInl = { toFun := fun (u : α) => Sum.inl u, inj' := ⋯, map_rel_iff' := ⋯ }
Instances For
The embedding of H into G ⊕g H.
Equations
- SimpleGraph.Embedding.sumInr = { toFun := fun (u : β) => Sum.inr u, inj' := ⋯, map_rel_iff' := ⋯ }
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
- One or more equations did not get rendered due to their size.
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
Equations
- cG.sumFin cH = ((G.recolorOfEmbedding (Fin.castLEEmb ⋯)) cG).sum ((H.recolorOfEmbedding (Fin.castLEEmb ⋯)) cH)