Skip to content

Commit

Permalink
chore: fix ypothesis
Browse files Browse the repository at this point in the history
  • Loading branch information
luisacicolini committed Jan 21, 2025
1 parent ded2cce commit cfd4639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Init/Data/BitVec/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3796,8 +3796,8 @@ theorem getElem_replicate {n w : Nat} {x : BitVec w} (h : i < w * n) :
by_cases h' : w = 0 <;> simp [h'] <;> omega

@[simp]
theorem replicate_one {w : Nat} {x : BitVec w} (h : w = w * 1 := Nat.mul_one _) :
(x.replicate 1) = x.cast h := by
theorem replicate_one {w : Nat} {x : BitVec w} (h : w = w * 1 := by rw [Nat.mul_one]) :
(x.replicate 1) = x.cast h := by
simp [replicate, h]

@[simp]
Expand Down

0 comments on commit cfd4639

Please sign in to comment.