Skip to content

Commit

Permalink
chore: implicit args
Browse files Browse the repository at this point in the history
Co-authored-by: Siddharth <[email protected]>
  • Loading branch information
luisacicolini and bollu authored Feb 20, 2025
1 parent 701c47b commit 0a4678b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Init/Data/BitVec/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ protected theorem extractLsb_ofNat (x n : Nat) (hi lo : Nat) :
(extractLsb hi lo x).toInt = ((x.toNat >>> lo) : Int).bmod (2 ^ (hi - lo + 1)) := by
simp [extractLsb, toInt_ofNat]

@[simp] theorem extractLsb'_toFin (s m : Nat) (x : BitVec n) :
@[simp] theorem extractLsb'_toFin {s m : Nat} {x : BitVec n} :
(extractLsb' s m x).toFin = Fin.ofNat' (2 ^ m) (x.toNat >>> s) := by
simp [extractLsb', toInt_ofNat]

Expand Down

0 comments on commit 0a4678b

Please sign in to comment.