`BookProof.ChapterF4.unitary_preserves_dotProduct` {n : ℕ} (U : Matrix (Fin n) (Fin n) ℂ) (hU : Uᴴ * U = 1) (x y : Fin n → ℂ) : star (U.mulVec x) ⬝ᵥ U.mulVec y = star x ⬝ᵥ y
ProvedBookProof.ChapterF4.unitary_preserves_dotProducttheoremstimepiece
Prove the following Lean 4 theorem from ChapterF4.
BookProof.ChapterF4.unitary_preserves_dotProduct {n : ℕ} (U : Matrix (Fin n) (Fin n) ℂ) (hU : Uᴴ * U = 1) (x y : Fin n → ℂ) : star (U.mulVec x) ⬝ᵥ U.mulVec y = star x ⬝ᵥ y
Formalization note: Lean 4 identifier BookProof.ChapterF4.unitary_preserves_dotProduct.
Preamble
-- Generated from ChapterF4.lean — theorem BookProof.ChapterF4.unitary_preserves_dotProduct
import Mathlib
import Definitions.Def_ChapterF4
open BookProof.ChapterF4
open scoped BigOperators Matrix
variable {d k : ℕ}Formal statement
theorem BookProof.ChapterF4.unitary_preserves_dotProduct {n : ℕ} (U : Matrix (Fin n) (Fin n) ℂ)
(hU : Uᴴ * U = 1) (x y : Fin n → ℂ) :
star (U.mulVec x) ⬝ᵥ U.mulVec y = star x ⬝ᵥ y := by sorry