A number and its decimal digit sum agree modulo nine
ProvedWorkbookRestored.plus_15734lean-workbookrestored-importssource-checked
For every natural , the sum of its decimal digits is congruent to modulo nine.
This restores the missing imports or namespaces of the original node, retaining its formal proposition. Source: Lean-Workbook row lean_workbook_plus_15734 (Apache-2.0).
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.Data.Nat.Digits.Lemmas open Nat
Formal statement
theorem WorkbookRestored.plus_15734 (n : ℕ) : (Nat.digits 10 n).sum % 9 = n % 9 := by sorry
Source