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: Siddharth <[email protected]>
  • Loading branch information
tobiasgrosser and bollu authored May 28, 2024
1 parent 0a686ba commit b1321e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Init/Data/BitVec/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,8 @@ theorem and_assoc (a b c : BitVec w) :

theorem xor_assoc (a b c : BitVec w) :
a ^^^ b ^^^ c = a ^^^ (b ^^^ c) := by
ext i; simp [Bool.xor_assoc]

ext i
simp [Bool.xor_assoc]
/-! ### not -/

theorem not_def {x : BitVec v} : ~~~x = allOnes v ^^^ x := rfl
Expand Down

0 comments on commit b1321e6

Please sign in to comment.