Skip to content
Closed
Prev Previous commit
Last tweak
  • Loading branch information
vbeffara committed Mar 5, 2026
commit 04e10edc45f0975a7569a0ae9899e705555ae0e3
5 changes: 1 addition & 4 deletions Mathlib/Combinatorics/SimpleGraph/Maps.lean
Original file line number Diff line number Diff line change
Expand Up @@ -595,10 +595,7 @@ lemma comap_symm_apply (f : V ≃ W) (G : SimpleGraph W) (w : W) :

/-- Given a bijective function, there is an isomorphism from a graph into the mapped graph. -/
protected def map (f : V ≃ W) (G : SimpleGraph V) : G ≃g G.map f.toEmbedding :=
{ f with map_rel_iff' := by {
rw [Equiv.coe_toEmbedding]
grind [Equiv.apply_eq_iff_eq, map_adj', Adj.ne]
} }
{ f with map_rel_iff' := by aesop (add simp map_adj') }

@[simp]
lemma map_apply (f : V ≃ W) (G : SimpleGraph V) (v : V) :
Expand Down
Loading