Graph products #
This file defines the box product of graphs and other product constructions. The box product of G
and H is the graph on the product of the vertices such that x and y are related iff they agree
on one component and the other one is related via either G or H. For example, the box product of
two edges is a square.
Main declarations #
SimpleGraph.boxProd: The box product.
Notation #
G □ H: The box product ofGandH.
TODO #
Define all other graph products!
Box product of simple graphs. It relates (a₁, b) and (a₂, b) if G relates a₁ and a₂,
and (a, b₁) and (a, b₂) if H relates b₁ and b₂.
Equations
Instances For
Box product of simple graphs. It relates (a₁, b) and (a₂, b) if G relates a₁ and a₂,
and (a, b₁) and (a, b₂) if H relates b₁ and b₂.
Equations
Instances For
The box product is commutative up to isomorphism. Equiv.prodComm as a graph isomorphism.
Equations
Instances For
The box product is associative up to isomorphism. Equiv.prodAssoc as a graph isomorphism.
Equations
Instances For
The embedding of G into G □ H given by b.
Equations
Instances For
The embedding of H into G □ H given by a.
Equations
Instances For
The box product distributes over the disjoint sum of graphs.
Equations
Instances For
The box product distributes over the disjoint sum of graphs.
Equations
Instances For
Turn a walk on G into a walk on G □ H.
Equations
Instances For
Turn a walk on H into a walk on G □ H.
Equations
Instances For
Project a walk on G □ H to a walk on G by discarding the moves in the direction of H.
Equations
Instances For
Project a walk on G □ H to a walk on H by discarding the moves in the direction of G.