Theorems · Definition · combinatorics
Graph.copy
{α : Type u_1} →
{β : Type u_2} →
(G : Graph α β) →
{vertexSet : Set α} →
{edgeSet : Set β} →
{IsLink : β → α → α → Prop} →
G.vertexSet = vertexSet →
G.edgeSet = edgeSet → (∀ (e : β) (x y : α), G.IsLink e x y ↔ IsLink e x y) → Graph α βGraph.copy produces a graph equal to G but with provided definitional choices
for vertexSet, edgeSet, and IsLink. This is mainly useful for improving
definitional equalities while keeping the same underlying graph.
- Defined in
- Mathlib.Combinatorics.Graph.Basic
- Cited by
- 4 results in Mathlib
- Foundations
- Depth 17 from the axioms · uses propext, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites5
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Setstatement and proof · cited by 53,352
- Graphstatement and proof · cited by 242
- Graph.IsLinkstatement and proof · cited by 124
- Graph.vertexSetstatement and proof · cited by 87
- Graph.edgeSetstatement and proof · cited by 79
Cited by5
Results whose statement or proof uses this declaration.
- Graph.deleteEdgesproof · cited by 12
- Graph.copy_eqstatement · cited by 1
- Graph.vertexSet_copystatement and proof · cited by 0
- Graph.edgeSet_copystatement and proof · cited by 0
- Graph.copy_isLinkstatement and proof · cited by 0