Skip to content

Commit

Permalink
rename a b c -> x y z
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgrosser committed May 28, 2024
1 parent b3ec4c0 commit 84a4f4f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Init/Data/BitVec/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,8 @@ protected theorem extractLsb_ofNat (x n : Nat) (hi lo : Nat) :
ext
simp

theorem or_assoc (a b c : BitVec w) :
a ||| b ||| c = a ||| (b ||| c) := by
theorem or_assoc (x y z : BitVec w) :
x ||| y ||| z = x ||| (y ||| z) := by
ext i
simp [Bool.or_assoc]

Expand Down Expand Up @@ -492,8 +492,8 @@ theorem or_assoc (a b c : BitVec w) :
ext
simp

theorem and_assoc (a b c : BitVec w) :
a &&& b &&& c = a &&& (b &&& c) := by
theorem and_assoc (x y z : BitVec w) :
x &&& y &&& z = x &&& (y &&& z) := by
ext i
simp [Bool.and_assoc]

Expand All @@ -517,8 +517,8 @@ theorem and_assoc (a b c : BitVec w) :
ext
simp

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

Expand Down

0 comments on commit 84a4f4f

Please sign in to comment.