Inclusion-exclusion count equals 1806
ProvedWorkbookCorrected.plus_80286arithmeticcorrectedelementaryworkbook
The elementary natural-number identity
holds by direct arithmetic evaluation.
Formalization Note: This corrects Lean-Workbook record lean_workbook_plus_80286, which omitted the colon after the theorem name and used a preamble of only Mathlib.Analysis.Complex.Basic.
Source: InternLM Lean-Workbook, record lean_workbook_plus_80286 (Apache-2.0).
Preamble
import Mathlib.Data.Nat.Basic import Mathlib.Tactic.NormNum
Formal statement
theorem WorkbookCorrected.plus_80286 : (1 : ℕ) * 3 ^ 7 - 3 * 2 ^ 7 + 3 * 1 ^ 7 = 1806 := by sorry
Source