Skip to content

Commit

Permalink
chore: proof of bitvec_290__292 (#601)
Browse files Browse the repository at this point in the history
PR solving [issue
598](#598)

---------

Co-authored-by: Tobias Grosser <[email protected]>
  • Loading branch information
luisacicolini and tobiasgrosser authored Sep 8, 2024
1 parent a9c1590 commit a938776
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SSA/Projects/InstCombine/ForLean.lean
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,11 @@ theorem two_mul {x : BitVec w} :
rw [ssr]
omega

@[simp]
theorem one_shiftLeft_mul {x y : BitVec w} :
1#w <<< x.toNat * y = y <<< x.toNat := by
simp [←BitVec.mul_twoPow_eq_shiftLeft, BitVec.mul_comm]

end BitVec

namespace Bool
Expand Down

0 comments on commit a938776

Please sign in to comment.