`BookProof.ChapterE4.basisVec_sq` (k i : ℕ) : (basisVec k i) ^ 2 = if i = k then 1 else 0
ProvedBookProof.ChapterE4.basisVec_sqtheoremstimepiece
Prove the following Lean 4 theorem from ChapterE4.
BookProof.ChapterE4.basisVec_sq (k i : ℕ) : (basisVec k i) ^ 2 = if i = k then 1 else 0
Formalization note: Lean 4 identifier BookProof.ChapterE4.basisVec_sq.
Preamble
-- Generated from ChapterE4.lean — theorem BookProof.ChapterE4.basisVec_sq import Mathlib import Definitions.Def_ChapterE4 open BookProof.ChapterE4 open scoped BigOperators
Formal statement
theorem BookProof.ChapterE4.basisVec_sq (k i : ℕ) : (basisVec k i) ^ 2 = if i = k then 1 else 0 := by sorry