Skip to content

Commit 946fd7e

Browse files
committed
chore: wip
1 parent f931670 commit 946fd7e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Init/Data/BitVec/Lemmas.lean

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6349,8 +6349,9 @@ theorem cpopNatRec_le {x : BitVec w} (n : Nat) :
63496349
simp
63506350
omega
63516351

6352-
theorem cpopNatRec_eq_of_le {x : BitVec w} (n : Nat) (hn : w ≤ n) :
6353-
x.cpopNatRec n acc = x.cpopNatRec (n + k) acc := by
6352+
@[simp]
6353+
theorem cpopNatRec_eq_of_le {x : BitVec w} (k n : Nat) (hn : w ≤ n) :
6354+
x.cpopNatRec (n + k) acc = x.cpopNatRec n acc := by
63546355
induction k
63556356
· simp
63566357
· case _ k ihk =>

0 commit comments

Comments
 (0)