`BookProof.ChapterAttentionMasking.maskedSoftmax_odds` (beta : ℝ) (s : Fin m → ℝ) {S : Finset (Fin m)} {i j : Fin m} (hi : i ∈ S) (hj : j ∈ S) : maskedSoftmax beta s S j * scoreSof
ProvedBookProof.ChapterAttentionMasking.maskedSoftmax_oddstheoremstimepiece
Prove the following Lean 4 theorem from ChapterAttentionMasking.
BookProof.ChapterAttentionMasking.maskedSoftmax_odds (beta : ℝ) (s : Fin m → ℝ) {S : Finset (Fin m)} {i j : Fin m} (hi : i ∈ S) (hj : j ∈ S) : maskedSoftmax beta s S j * scoreSoftmax beta s i = maskedSoftmax beta s S i * scoreSoftmax beta s j
Formalization note: Lean 4 identifier BookProof.ChapterAttentionMasking.maskedSoftmax_odds.
Preamble
-- Generated from ChapterAttentionMasking.lean — theorem BookProof.ChapterAttentionMasking.maskedSoftmax_odds
import Definitions.Def_ChapterSoftmaxOrder
import Mathlib
import Definitions.Def_ChapterAttentionMasking
import Definitions.Def_ChapterSoftmaxSharpness
open BookProof.ChapterSoftmaxSharpness
open BookProof.ChapterAttentionMasking
open scoped BigOperators
noncomputable section
open BookProof.ChapterSoftmaxSharpness BookProof.ChapterSoftmaxOrder
variable {m : ℕ}Formal statement
theorem BookProof.ChapterAttentionMasking.maskedSoftmax_odds (beta : ℝ) (s : Fin m → ℝ) {S : Finset (Fin m)} {i j : Fin m}
(hi : i ∈ S) (hj : j ∈ S) :
maskedSoftmax beta s S j * scoreSoftmax beta s i
= maskedSoftmax beta s S i * scoreSoftmax beta s j := by sorry