Skip to content

Commit 89f5529

Browse files
refactor(Combinatorics/SimpleGraph/Metric): inline ext in ball_top
1 parent 1f367e9 commit 89f5529

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Mathlib/Combinatorics/SimpleGraph/Metric.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,7 @@ theorem ball_two : G.ball c 2 = insert c (G.neighborSet c) := by
431431
/-- The ball of radius `⊤` is the connected component of the center. -/
432432
theorem ball_top :
433433
G.ball c ⊤ = (G.connectedComponentMk c).supp := by
434-
ext v
435-
simp [lt_top_iff_ne_top, edist_ne_top_iff_reachable]
434+
simp [Set.ext_iff, lt_top_iff_ne_top, edist_ne_top_iff_reachable]
436435

437436
/-- A vertex is in the ball of radius `⊤` iff it is reachable from the center. -/
438437
theorem mem_ball_top : v ∈ G.ball c ⊤ ↔ G.Reachable v c := by

0 commit comments

Comments
 (0)