Binomial expansion of (3+3)^3
ProvedWorkbookCorrected.plus_67501arithmeticcorrectedelementaryworkbook
The elementary natural-number / rational identity
holds by direct arithmetic evaluation.
Formalization Note: This corrects Lean-Workbook record lean_workbook_plus_67501, 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_67501 (Apache-2.0).
Preamble
import Mathlib.Data.Nat.Basic import Mathlib.Tactic.NormNum
Formal statement
theorem WorkbookCorrected.plus_67501 : ((3 : ℕ) + 3) ^ 3 = 3 ^ 3 * 3 ^ 0 + 3 * (3 ^ 2 * 3 ^ 1) + 3 * (3 ^ 1 * 3 ^ 2) + 3 ^ 0 * 3 ^ 3 := by sorry
Source