`BookProof.ChapterConditional.trace_gram_eq_one` (B : Matrix Y X ๐) (hB : โ x, โ y, โB y xโ ^ 2 = 1) : (Bแดด * B).trace = ((1 : โ) : ๐)
ProvedBookProof.ChapterConditional.trace_gram_eq_onetheoremstimepiece
Prove the following Lean 4 theorem from ChapterConditional.
BookProof.ChapterConditional.trace_gram_eq_one (B : Matrix Y X ๐) (hB : โ x, โ y, โB y xโ ^ 2 = 1) : (Bแดด * B).trace = ((1 : โ) : ๐)
Formalization note: Lean 4 identifier BookProof.ChapterConditional.trace_gram_eq_one.
Preamble
-- Generated from ChapterConditional.lean โ theorem BookProof.ChapterConditional.trace_gram_eq_one
import Mathlib
import Definitions.Def_ChapterConditional
open BookProof.ChapterConditional
open scoped BigOperators Matrix
open Finset
variable {X Y : Type*} [Fintype X] [Fintype Y] [DecidableEq X]
variable {๐ : Type*} [RCLike ๐]Formal statement
theorem BookProof.ChapterConditional.trace_gram_eq_one (B : Matrix Y X ๐)
(hB : โ x, โ y, โB y xโ ^ 2 = 1) :
(Bแดด * B).trace = ((1 : โ) : ๐) := by sorry