Thousand minus digit-place sum equals 2893
ProvedWorkbookCorrected.plus_54975arithmeticcorrectedelementaryworkbook
The elementary natural-number identity
holds by direct arithmetic evaluation.
Formalization Note: This corrects Lean-Workbook record lean_workbook_plus_54975, which omitted a compilable colon/type annotation and/or used a preamble of only Mathlib.Analysis.Complex.Basic.
Source: InternLM Lean-Workbook, record lean_workbook_plus_54975 (Apache-2.0).
Preamble
import Mathlib.Data.Nat.Basic import Mathlib.Tactic.NormNum
Formal statement
theorem WorkbookCorrected.plus_54975 : (1000 : ℕ) + (1000 - 9) + (1000 - 99) + (1000 - 999) = 2893 := by sorry
Source