Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 026e692

Browse files
committed
chore(combinatorics/simple_graph): fix name mixup (#10785)
Fixes the name mixup from #10778 and reorders lemmas to make the difference more clear.
1 parent 204aa7e commit 026e692

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/combinatorics/simple_graph/subgraph.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,13 @@ instance : bounded_order (subgraph G) :=
254254
bot_le := λ x, ⟨set.empty_subset _, (λ v w h, false.rec _ h)⟩ }
255255

256256
-- TODO simp lemmas for the other lattice operations on subgraphs
257-
@[simp] lemma top_adj_iff {v w : V} : (⊤ : subgraph G).adj v w ↔ G.adj v w := iff.rfl
258-
259257
@[simp] lemma top_verts : (⊤ : subgraph G).verts = set.univ := rfl
260258

261-
@[simp] lemma bot_adj_iff : (⊥ : subgraph G).verts = ∅ := rfl
259+
@[simp] lemma top_adj_iff {v w : V} : (⊤ : subgraph G).adj v w ↔ G.adj v w := iff.rfl
260+
261+
@[simp] lemma bot_verts : (⊥ : subgraph G).verts = ∅ := rfl
262262

263-
@[simp] lemma bot_verts {v w : V} : ¬(⊥ : subgraph G).adj v w := not_false
263+
@[simp] lemma not_bot_adj {v w : V} : ¬(⊥ : subgraph G).adj v w := not_false
264264

265265
@[simp] lemma spanning_coe_top : (⊤ : subgraph G).spanning_coe = G :=
266266
by { ext, refl }

0 commit comments

Comments
 (0)