Edge deletion #
This file defines operations deleting the edges of a simple graph and proves theorems in the finite case.
Main definitions #
SimpleGraph.deleteEdges G s
is the simple graphG
with the edgess : Set (Sym2 V)
removed from the edge set.SimpleGraph.deleteIncidenceSet G v
is the simple graphG
with the incidence set ofv
removed from the edge set.SimpleGraph.deleteFar G p r
is the predicate that a graph isr
-delete-far from a propertyp
, that is, at leastr
edges must be deleted to satisfyp
.
Given a set of vertex pairs, remove all of the corresponding edges from the graph's edge set, if present.
See also: SimpleGraph.Subgraph.deleteEdges
.
Equations
- G.deleteEdges s = G \ SimpleGraph.fromEdgeSet s
Instances For
Given a vertex x
, remove the edges incident to x
from the edge set.
Equations
- G.deleteIncidenceSet x = G.deleteEdges (G.incidenceSet x)
Instances For
The edge set of G.deleteIncidenceSet x
is the edge set of G
set difference the incidence
set of the vertex x
.
The support of G.deleteIncidenceSet x
is a subset of the support of G
set difference the
singleton set {x}
.
If the vertex x
is not in the set s
, then the induced subgraph in G.deleteIncidenceSet x
by s
is equal to the induced subgraph in G
by s
.
Equations
Deleting the incidence set of the vertex x
retains the same number of edges as in the induced
subgraph of the vertices {x}ᶜ
.
The finite edge set of G.deleteIncidenceSet x
is the finite edge set of the simple graph G
set difference the finite incidence set of the vertex x
.
Deleting the incident set of the vertex x
deletes exactly G.degree x
edges from the edge
set of the simple graph G
.
Deleting the incident set of the vertex x
is equivalent to filtering the edges of the simple
graph G
that do not contain x
.
The support of G.deleteIncidenceSet x
is at most 1
less than the support of the simple
graph G
.
A graph is r
-delete-far from a property p
if we must delete at least r
edges from it to
get a graph with the property p
.
Equations
- G.DeleteFar p r = ∀ ⦃s : Finset (Sym2 V)⦄, s ⊆ G.edgeFinset → p (G.deleteEdges ↑s) → r ≤ ↑s.card
Instances For
Alias of the forward direction of SimpleGraph.deleteFar_iff
.