Skip to content

Commit

Permalink
Update src/Init/Data/BitVec/Lemmas.lean
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Böving <[email protected]>
  • Loading branch information
tobiasgrosser and hargoniX authored Aug 11, 2024
1 parent 2d46ca2 commit 7351639
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Init/Data/BitVec/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1265,9 +1265,10 @@ theorem neg_neg {x : BitVec w} : - - x = x := by

theorem neg_ne_iff_ne_neg {x y : BitVec w} : -x ≠ y ↔ x ≠ -y := by
constructor
<;> intro h h'
<;> subst h'
<;> simp [BitVec.neg_neg] at h
all_goals
intro h h'
subst h'
simp at h

/-! ### mul -/

Expand Down

0 comments on commit 7351639

Please sign in to comment.