Skip to content

Commit

Permalink
chore(combinatorics/simple_graph): remove bad simp attribute (#6736)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-mehta committed Mar 17, 2021
1 parent ce8a6ca commit 6e1143a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/combinatorics/simple_graph/basic.lean
Expand Up @@ -174,7 +174,9 @@ fintype.card_of_subtype G.edge_finset (mem_edge_finset _)

@[simp] lemma irrefl {v : V} : ¬G.adj v v := G.loopless v

@[symm] lemma edge_symm (u v : V) : G.adj u v ↔ G.adj v u := ⟨λ x, G.sym x, λ x, G.sym x⟩
lemma edge_symm (u v : V) : G.adj u v ↔ G.adj v u := ⟨λ x, G.sym x, λ x, G.sym x⟩

@[symm] lemma edge_symm' {u v : V} (h : G.adj u v) : G.adj v u := G.sym h

@[simp] lemma mem_neighbor_set (v w : V) : w ∈ G.neighbor_set v ↔ G.adj v w :=
iff.rfl
Expand Down

0 comments on commit 6e1143a

Please sign in to comment.