We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f9895 commit 82c9de4Copy full SHA for 82c9de4
src/Init/Data/BitVec/Lemmas.lean
@@ -2747,7 +2747,7 @@ theorem smod_zero {x : BitVec n} : x.smod 0#n = x := by
2747
2748
/--`rotateLeft` is defined in terms of left and right shifts. -/
2749
theorem rotateLeft_def {x : BitVec w} {r : Nat} :
2750
- x.rotateLeft r = (x <<< (r % w)) ||| (x >>> (w - r % w)) := by
+ x.rotateLeft r = (x <<< (r % w)) ||| (x >>> (w - r % w)) := by
2751
simp only [rotateLeft, rotateLeftAux]
2752
2753
/-- `rotateLeft` is invariant under `mod` by the bitwidth. -/
0 commit comments