Skip to content

Commit 8723af5

Browse files
committed
fix StronglyRegular.lean
1 parent d9c6ac2 commit 8723af5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Mathlib/Combinatorics/SimpleGraph/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ theorem exists_adj_iff_not_isIsolated : (∃ u, G.Adj v u) ↔ ¬G.IsIsolated v
953953
@[simp]
954954
theorem IsIsolated.of_subsingleton [Subsingleton V] (G : SimpleGraph V) (v : V) :
955955
G.IsIsolated v :=
956-
fun _ hadj ↦ not_nontrivial V <| hadj.nontrivial
956+
fun _ hadj ↦ not_nontrivial V hadj.nontrivial
957957

958958
variable {G} in
959959
theorem nontrivial_of_not_isIsolated (h : ¬G.IsIsolated v) : Nontrivial V :=

Mathlib/Combinatorics/SimpleGraph/StronglyRegular.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ theorem bot_strongly_regular : (⊥ : SimpleGraph V).IsSRGWith (Fintype.card V)
6464
of_not_adj v w _ := by
6565
simp only [card_eq_zero, Fintype.card_ofFinset, forall_true_left, not_false_iff, bot_adj]
6666
ext
67-
simp [mem_commonNeighbors]
67+
simp
6868

6969
theorem IsSRGWith.ediam_eq_two [Nontrivial V] (h : G.IsSRGWith n k ℓ μ) (ht : G ≠ ⊤) (hm : μ ≠ 0) :
7070
G.ediam = 2 := by

0 commit comments

Comments
 (0)