`BookProof.ChapterScaledDotProduct.sgn_not` (b : Bool) : sgn (!b) = -sgn b
ProvedBookProof.ChapterScaledDotProduct.sgn_nottheoremstimepiece
Prove the following Lean 4 theorem from ChapterScaledDotProduct.
BookProof.ChapterScaledDotProduct.sgn_not (b : Bool) : sgn (!b) = -sgn b
Formalization note: Lean 4 identifier BookProof.ChapterScaledDotProduct.sgn_not.
Preamble
-- Generated from ChapterScaledDotProduct.lean — theorem BookProof.ChapterScaledDotProduct.sgn_not
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.sgn_not (b : Bool) : sgn (!b) = -sgn b := by sorry