`BookProof.ChapterScaledDotProduct.rademacherMean_scaledDot_sq_of_unit_entries` (hd : 0 < d) {k : Fin d → ℝ} (hk : ∀ i, (k i) ^ 2 = 1) : rademacherMean (fun x => (scaledDot (signVe
ProvedBookProof.ChapterScaledDotProduct.rademacherMean_scaledDot_sq_of_unit_entriestheoremstimepiece
Prove the following Lean 4 theorem from ChapterScaledDotProduct.
BookProof.ChapterScaledDotProduct.rademacherMean_scaledDot_sq_of_unit_entries (hd : 0 < d) {k : Fin d → ℝ} (hk : ∀ i, (k i) ^ 2 = 1) : rademacherMean (fun x => (scaledDot (signVec x) k) ^ 2) = 1
Formalization note: Lean 4 identifier BookProof.ChapterScaledDotProduct.rademacherMean_scaledDot_sq_of_unit_entries.
Preamble
-- Generated from ChapterScaledDotProduct.lean — theorem BookProof.ChapterScaledDotProduct.rademacherMean_scaledDot_sq_of_unit_entries
import Definitions.Def_ChapterSoftmaxSharpness
import Mathlib
import Definitions.Def_ChapterScaledDotProduct
open BookProof.ChapterScaledDotProduct
open scoped BigOperators
noncomputable section
open BookProof.ChapterSoftmaxSharpness
variable {d : ℕ}Formal statement
theorem BookProof.ChapterScaledDotProduct.rademacherMean_scaledDot_sq_of_unit_entries (hd : 0 < d) {k : Fin d → ℝ}
(hk : ∀ i, (k i) ^ 2 = 1) :
rademacherMean (fun x => (scaledDot (signVec x) k) ^ 2) = 1 := by sorry