Theorems · Theorem · combinatorics
Graph.ext
∀ {α : Type u_1} {β : Type u_2} {G₁ G₂ : Graph α β},
G₁.vertexSet = G₂.vertexSet → (∀ (e : β) (x y : α), G₁.IsLink e x y ↔ G₂.IsLink e x y) → G₁ = G₂Two graphs with the same vertex set and binary incidences are equal.
(We use this as the default extensionality lemma rather than adding @[ext]
to the definition of Graph, so it doesn't require equality of the edge sets.)
- Defined in
- Mathlib.Combinatorics.Graph.Basic
- Cited by
- 10 results in Mathlib
- Foundations
- Depth 20 from the axioms · uses propext, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites11
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
- Set.ofPredproof · cited by 6,101
- Graphstatement and proof · cited by 242
- Graph.IsLinkstatement and proof · cited by 124
- Graph.vertexSetstatement and proof · cited by 87
- Graph.edgeSetproof · cited by 79
- Graph.IsLink.left_memproof · cited by 14
- Graph.IsLink.left_eq_or_eqproof · cited by 7
- Graph.edge_mem_iff_exists_isLinkproof · cited by 5
- Graph.edgeSet_eq_setOfPred_exists_isLinkproof · cited by 3
- Graph.mk_eq_selfproof · cited by 1
Cited by10
Results whose statement or proof uses this declaration.
- Graph.ext_incproof · cited by 2
- Graph.banana_emptyproof · cited by 1
- Graph.copy_eqproof · cited by 1
- Graph.map_eq_of_eqOnproof · cited by 0
- Graph.edgeSet_eq_emptyproof · cited by 0
- Graph.map_idproof · cited by 0
- Graph.map_mapproof · cited by 0
- Graph.eq_bot_or_vertexSet_nonemptyproof · cited by 0
- Graph.ext_iffproof · cited by 0
- Graph.IsSubgraph.antisymmproof · cited by 0