@@ -39,6 +39,7 @@ variable {G v} in
3939theorem edegree_eq_zero_iff_isIsolated : G.edegree v = 0 ↔ G.IsIsolated v := by
4040 simp [← encard_neighborSet]
4141
42+ @[simp]
4243alias ⟨_, IsIsolated.edegree_eq⟩ := edegree_eq_zero_iff_isIsolated
4344
4445variable {G u v} in
@@ -53,10 +54,9 @@ variable {G v} in
5354theorem nontrivial_of_edegree_ne_zero (h : G.edegree v ≠ 0 ) : Nontrivial V :=
5455 nontrivial_of_not_isIsolated <| edegree_eq_zero_iff_isIsolated.not.mp h
5556
56- @[simp]
5757theorem edegree_eq_zero_of_subsingleton [Subsingleton V] (G : SimpleGraph V) (v : V) :
58- G.edegree v = 0 :=
59- edegree_eq_zero_iff_isIsolated.mpr <| .of_subsingleton G v
58+ G.edegree v = 0 := by
59+ simp
6060
6161variable {G v} in
6262theorem edegree_eq_one_iff_existsUnique_adj : G.edegree v = 1 ↔ ∃! u, G.Adj v u := by
@@ -119,9 +119,8 @@ theorem edegree_top : edegree ⊤ v = ENat.card V - 1 := by
119119 rw [← encard_neighborSet, neighborSet_top, ← Set.encard_ne_add_one v, ← Set.compl_singleton_eq]
120120 cases Set.encard {v}ᶜ <;> norm_cast
121121
122- @[simp]
123122theorem edegree_bot : edegree ⊥ v = 0 := by
124- simp [← encard_neighborSet]
123+ simp
125124
126125variable {G} in
127126theorem IsRegularOfDegree.edegree_eq [G.LocallyFinite] {d : ℕ} (h : G.IsRegularOfDegree d) (v : V) :
@@ -147,6 +146,10 @@ variable {G} in
147146theorem maxEDegree_eq_zero_iff_eq_bot : G.maxEDegree = 0 ↔ G = ⊥ := by
148147 simp [maxEDegree_eq_iSup, eq_bot_iff_isIsolated]
149148
149+ variable {G} in
150+ theorem minEDegree_eq_zero_iff_isIsolated : G.minEDegree = 0 ↔ ∃ v, G.IsIsolated v := by
151+ simp [minEDegree_eq_iInf]
152+
150153variable {G} in
151154theorem minEDegree_eq_zero_iff_support_ne : G.minEDegree = 0 ↔ G.support ≠ .univ := by
152155 simp [minEDegree_eq_iInf, Set.ne_univ_iff_exists_notMem, notMem_support_iff_isIsolated]
0 commit comments