`BookProof.ChapterScaledDotProduct.sum_sgn_mul_self` (i : Fin d) : ∑ x : (Fin d → Bool), sgn (x i) * sgn (x i) = 2 ^ d
ProvedBookProof.ChapterScaledDotProduct.sum_sgn_mul_selftheoremstimepiece
Prove the following Lean 4 theorem from ChapterScaledDotProduct.
BookProof.ChapterScaledDotProduct.sum_sgn_mul_self (i : Fin d) : ∑ x : (Fin d → Bool), sgn (x i) * sgn (x i) = 2 ^ d
Formalization note: Lean 4 identifier BookProof.ChapterScaledDotProduct.sum_sgn_mul_self.
Preamble
-- Generated from ChapterScaledDotProduct.lean — theorem BookProof.ChapterScaledDotProduct.sum_sgn_mul_self
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.sum_sgn_mul_self (i : Fin d) :
∑ x : (Fin d → Bool), sgn (x i) * sgn (x i) = 2 ^ d := by sorry