Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Mathlib/Combinatorics/SimpleGraph/Walk/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ lemma not_nil_iff {p : G.Walk v w} :
lemma nil_iff_eq_nil : ∀ {p : G.Walk v v}, p.Nil ↔ p = nil
| .nil | .cons _ _ => by simp

lemma not_nil_iff_ne_nil {p : G.Walk v v} : ¬ p.Nil ↔ p ≠ nil := by rw [nil_iff_eq_nil]

alias ⟨Nil.eq_nil, _⟩ := nil_iff_eq_nil

lemma nil_of_subsingleton [Subsingleton V] (p : G.Walk v w) : p.Nil :=
Expand Down
Loading