`BookProof.ChapterCoherentOccupation.coherentOccupation_second_moment` (lam : ℝ) : ∑' n : ℕ, (n : ℝ) ^ 2 * coherentOccupation lam n = lam ^ 2 + lam
ProvedBookProof.ChapterCoherentOccupation.coherentOccupation_second_momenttheoremstimepiece
Prove the following Lean 4 theorem from ChapterCoherentOccupation.
BookProof.ChapterCoherentOccupation.coherentOccupation_second_moment (lam : ℝ) : ∑' n : ℕ, (n : ℝ) ^ 2 * coherentOccupation lam n = lam ^ 2 + lam
Formalization note: Lean 4 identifier BookProof.ChapterCoherentOccupation.coherentOccupation_second_moment.
Preamble
-- Generated from ChapterCoherentOccupation.lean — theorem BookProof.ChapterCoherentOccupation.coherentOccupation_second_moment import Mathlib import Definitions.Def_ChapterCoherentOccupation open BookProof.ChapterCoherentOccupation noncomputable section open Real Nat ProbabilityTheory
Formal statement
theorem BookProof.ChapterCoherentOccupation.coherentOccupation_second_moment (lam : ℝ) :
∑' n : ℕ, (n : ℝ) ^ 2 * coherentOccupation lam n = lam ^ 2 + lam := by sorry