Skip to content

Commit

Permalink
Update SSA/Projects/InstCombine/ForLean.lean
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Grosser <[email protected]>
  • Loading branch information
eurquhart1 and tobiasgrosser authored Sep 26, 2024
1 parent ca7b0c3 commit 3fa90d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SSA/Projects/InstCombine/ForLean.lean
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ theorem allOnes_shiftLeft_or_shiftLeft {x : BitVec w} (n : Nat) :
simp [← BitVec.shiftLeft_or_distrib]

@[simp]
theorem neg_eq_sub_zero (x : BitVec w) : - x = 0 - x := by
theorem zero_sub (x : BitVec w) : 0 - x = - x = := by
simp [bv_toNat]

end BitVec
Expand Down

0 comments on commit 3fa90d0

Please sign in to comment.