`BookProof.ChapterSoftmaxFluctuation.hasDerivAt_partition` (beta : ℝ) (s : Fin m → ℝ) : HasDerivAt (fun b : ℝ => partition b s) (∑ l, s l * Real.exp (beta * s l)) beta
ProvedBookProof.ChapterSoftmaxFluctuation.hasDerivAt_partitiontheoremstimepiece
Prove the following Lean 4 theorem from ChapterSoftmaxFluctuation.
BookProof.ChapterSoftmaxFluctuation.hasDerivAt_partition (beta : ℝ) (s : Fin m → ℝ) : HasDerivAt (fun b : ℝ => partition b s) (∑ l, s l * Real.exp (beta * s l)) beta
Formalization note: Lean 4 identifier BookProof.ChapterSoftmaxFluctuation.hasDerivAt_partition.
Preamble
-- Generated from ChapterSoftmaxFluctuation.lean — theorem BookProof.ChapterSoftmaxFluctuation.hasDerivAt_partition
import Definitions.Def_ChapterSoftmaxSharpness
import Definitions.Def_ChapterSoftmaxOrder
import Mathlib
import Definitions.Def_ChapterSoftmaxFluctuation
open BookProof.ChapterSoftmaxFluctuation
open scoped BigOperators
noncomputable section
open BookProof.ChapterSoftmaxSharpness BookProof.ChapterSoftmaxOrder
variable {m : ℕ}Formal statement
theorem BookProof.ChapterSoftmaxFluctuation.hasDerivAt_partition (beta : ℝ) (s : Fin m → ℝ) :
HasDerivAt (fun b : ℝ => partition b s)
(∑ l, s l * Real.exp (beta * s l)) beta := by sorry