Lemmas about size.
shiftLeft and shiftRight #
theorem
Nat.shiftLeft'_ne_zero_left
(b : Bool)
{m : ℕ}
(h : m ≠ 0)
(n : ℕ)
:
Nat.shiftLeft' b m n ≠ 0
size #
@[simp]
theorem
Nat.size_shiftLeft'
{b : Bool}
{m : ℕ}
{n : ℕ}
(h : Nat.shiftLeft' b m n ≠ 0)
:
(Nat.shiftLeft' b m n).size = m.size + n