Skip to content

Commit 062c21b

Browse files
committed
deprecate functions
1 parent 743a58b commit 062c21b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Init/Data/BitVec/Lemmas.lean

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,6 @@ theorem not_eq_comm {x y : BitVec w} : ~~~ x = y ↔ x = ~~~ y := by
10611061
@[simp] theorem toFin_shiftLeft {n : Nat} (x : BitVec w) :
10621062
BitVec.toFin (x <<< n) = Fin.ofNat' (2^w) (x.toNat <<< n) := rfl
10631063

1064-
-- deprecate?
10651064
@[simp]
10661065
theorem shiftLeft_zero (x : BitVec w) : x <<< 0 = x := by
10671066
apply eq_of_toNat_eq
@@ -3193,4 +3192,10 @@ abbrev and_one_eq_zeroExtend_ofBool_getLsbD := @and_one_eq_setWidth_ofBool_getLs
31933192
@[deprecated msb_sshiftRight (since := "2024-10-03")]
31943193
abbrev sshiftRight_msb_eq_msb := @msb_sshiftRight
31953194

3195+
@[deprecated shiftLeft_zero (since := "2024-10-27")]
3196+
abbrev shiftLeft_zero_eq := @shiftLeft_zero
3197+
3198+
@[deprecated ushiftRight_zero (since := "2024-10-27")]
3199+
abbrev ushiftRight_zero_eq := @ushiftRight_zero
3200+
31963201
end BitVec

0 commit comments

Comments
 (0)