Inclusion-exclusion power-of-two count equals 196
ProvedWorkbookCorrected.plus_71753arithmeticcorrectedelementaryworkbook
The natural-number identity records a standard inclusion-exclusion count of binary strings.
Formalization Note: This corrects Lean-Workbook record lean_workbook_plus_71753, 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_71753 (Apache-2.0).
Preamble
import Mathlib.Data.Nat.Basic import Mathlib.Tactic.NormNum
Formal statement
theorem WorkbookCorrected.plus_71753 : (2 : ℕ) ^ 8 - 2 ^ 5 - 2 ^ 5 + 2 ^ 2 = 196 := by sorry
Source