Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
theorem
USize.toBitVec_shiftLeft
(a b : USize)
:
(a <<< b).toBitVec = a.toBitVec <<< (b.toBitVec % ↑System.Platform.numBits)
@[simp]
theorem
USize.toBitVec_shiftRight
(a b : USize)
:
(a >>> b).toBitVec = a.toBitVec >>> (b.toBitVec % ↑System.Platform.numBits)
@[simp]
theorem
USize.toNat_shiftRight
(a b : USize)
:
(a >>> b).toNat = a.toNat >>> (b.toNat % System.Platform.numBits)
@[simp]
theorem
USize.toNat_shiftLeft
(a b : USize)
:
(a <<< b).toNat = a.toNat <<< (b.toNat % System.Platform.numBits) % 2 ^ System.Platform.numBits