Maps between graphs #
This file defines vertex map between graphs Graph α β. Morphisms between graphs will also be
defined in this file in the future.
Main definitions #
map: the map on graphs induced by a function on verticesf : α → α'
TODO #
- Morphisms between graphs
def
Graph.map
{α : Type u_1}
{α' : Type u_2}
{β : Type u_4}
(f : α → α')
(G : Graph α β)
:
Graph α' β
Map G : Graph α β to a Graph α' β with the same edge set by applying a function f : α → α'
to each vertex. Edges between identified vertices become loops.
Equations
- One or more equations did not get rendered due to their size.