Deletion of edges and vertices #
This file defines the deletion of edges and vertices from a graph.
Main definitions #
restrict: the subgraph ofGrestricted to the edges inFwithout removing verticesdeleteEdges: the subgraph ofGwith the edges inFdeletedinduce: the subgraph ofGinduced by the setXof verticesdeleteVerts: the graph obtained fromGby deleting the setXof vertices
Tags #
graphs, edge deletion, vertex deletion
Delete a set F of edges from G. This is a special case of restrict,
but we define it with copy so that the edge set is definitionally equal to E(G) \ F.
Instances For
@[simp]
@[simp]
@[simp]
@[simp]
theorem
Graph.deleteEdges_deleteEdges
{α : Type u_1}
{β : Type u_2}
(G : Graph α β)
(F₁ F₂ : Set β)
:
The subgraph of G induced by a set X of vertices.
The edges are the edges of G with both ends in X.
(X is not required to be a subset of V(G) for this definition to work,
even though this is the standard use case)
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
@[simp]