`BookProof.ChapterAttentionPrior.priorSoftmax_sum_one` {w : Fin m → ℝ} (hw : ∀ j, 0 < w j) (beta : ℝ) (s : Fin m → ℝ) (i : Fin m) : ∑ j, priorSoftmax w beta s j = 1
ProvedBookProof.ChapterAttentionPrior.priorSoftmax_sum_onetheoremstimepiece
Prove the following Lean 4 theorem from ChapterAttentionPrior.
BookProof.ChapterAttentionPrior.priorSoftmax_sum_one {w : Fin m → ℝ} (hw : ∀ j, 0 < w j) (beta : ℝ) (s : Fin m → ℝ) (i : Fin m) : ∑ j, priorSoftmax w beta s j = 1
Formalization note: Lean 4 identifier BookProof.ChapterAttentionPrior.priorSoftmax_sum_one.
Preamble
-- Generated from ChapterAttentionPrior.lean — theorem BookProof.ChapterAttentionPrior.priorSoftmax_sum_one
import Definitions.Def_ChapterSoftmaxSharpness
import Definitions.Def_ChapterSoftmaxOrder
import Mathlib
import Definitions.Def_ChapterAttentionPrior
open BookProof.ChapterAttentionPrior
open scoped BigOperators
noncomputable section
open BookProof.ChapterSoftmaxSharpness BookProof.ChapterSoftmaxOrder
variable {m : ℕ}Formal statement
theorem BookProof.ChapterAttentionPrior.priorSoftmax_sum_one {w : Fin m → ℝ} (hw : ∀ j, 0 < w j) (beta : ℝ)
(s : Fin m → ℝ) (i : Fin m) : ∑ j, priorSoftmax w beta s j = 1 := by sorry