Inclusion-style factorial alternating sum
ProvedWorkbookCorrected.plus_64443arithmeticcorrectedelementaryworkbook
The elementary natural-number / rational identity
holds by direct arithmetic evaluation.
Formalization Note: This corrects Lean-Workbook record lean_workbook_plus_64443, 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_64443 (Apache-2.0).
Preamble
import Mathlib.Data.Nat.Factorial.Basic import Mathlib.Tactic.NormNum
Formal statement
theorem WorkbookCorrected.plus_64443 : Nat.factorial 10 / (Nat.factorial 2) ^ 3 - 3 * Nat.factorial 9 / (Nat.factorial 2) ^ 2 + 3 * Nat.factorial 8 / Nat.factorial 2 - Nat.factorial 7 = 236880 := by sorry
Source