Skip to content

Commit

Permalink
remove all nonterm simp
Browse files Browse the repository at this point in the history
  • Loading branch information
luisacicolini committed Dec 9, 2024
1 parent a8c65d6 commit 523af29
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 @@ -3260,8 +3260,8 @@ theorem mod_sub_eq_sub_mod {w n i : Nat} (hwn : i < w * n) (hn : 0 < n) :

@[simp]
theorem getMsbD_replicate {n w : Nat} (x : BitVec w) :
(x.replicate n).getMsbD i =
(decide (i < w * n) && x.getMsbD (i % w)) := by
(x.replicate n).getMsbD i
= (decide (i < w * n) && x.getMsbD (i % w)) := by
simp only [getMsbD_eq_getLsbD, getLsbD_replicate]
cases w
case zero => simp
Expand Down

0 comments on commit 523af29

Please sign in to comment.