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 ofG
andH
.
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
- SimpleGraph.«term_□_» = Lean.ParserDescr.trailingNode `SimpleGraph.term_□_ 70 70 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " □ ") (Lean.ParserDescr.cat `term 71))
Instances For
The box product is commutative up to isomorphism. Equiv.prodComm
as a graph isomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The box product is associative up to isomorphism. Equiv.prodAssoc
as a graph isomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The embedding of G
into G □ H
given by b
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The embedding of H
into G □ H
given by a
.
Equations
- One or more equations did not get rendered due to their size.
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
- One or more equations did not get rendered due to their size.
- SimpleGraph.Walk.ofBoxProdLeft SimpleGraph.Walk.nil = SimpleGraph.Walk.nil
Instances For
Project a walk on G □ H
to a walk on H
by discarding the moves in the direction of G
.
Equations
- One or more equations did not get rendered due to their size.
- SimpleGraph.Walk.ofBoxProdRight SimpleGraph.Walk.nil = SimpleGraph.Walk.nil
Instances For
Equations
- One or more equations did not get rendered due to their size.