no goals
n m : ℕ
⊢ last 0 + 1 = 0
simp only
case h
n✝ m n : ℕ
⊢ ↑(last (n + 1) + 1) = ↑0
n✝ m n : ℕ
⊢ last (n + 1) + 1 = 0
ext
no goals
case h
n✝ m n : ℕ
⊢ ↑(last (n + 1) + 1) = ↑0
rw [val_add, val_zero, val_last, val_one, Nat.mod_self]