Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Aug 25, 2024
1 parent a37f19c commit 74dc3f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mathlib/Data/List/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ lemma getLast_filter {p : α → Bool} :

/-! ### getLast? -/

@[simp]
-- This is a duplicate of `getLast?_eq_none_iff`.
-- We should remove one of them.
theorem getLast?_eq_none : ∀ {l : List α}, getLast? l = none ↔ l = []
| [] => by simp
| [a] => by simp
Expand Down

0 comments on commit 74dc3f9

Please sign in to comment.