Skip to content

Commit

Permalink
fix: Vector lemma
Browse files Browse the repository at this point in the history
  • Loading branch information
fgdorais committed Jun 17, 2024
1 parent bc3b9cf commit 40cc54e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Batteries/Data/Vector/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ namespace Vector

/-- An `empty` vector maps to a `empty` vector. -/
@[simp]
theorem map_empty (f : α → β) : map f empty = empty :=
rfl
theorem map_empty (f : α → β) : map f empty = empty := by with_unfolding_all rfl


theorem eq : ∀ v w : Vector α n, v.toArray = w.toArray → v = w
Expand Down

0 comments on commit 40cc54e

Please sign in to comment.