`BookProof.ChapterWeakValue.weakValue_linear` (c d : ℂ) (i f : Fin n → ℂ) (A B : Matrix (Fin n) (Fin n) ℂ) : weakValue i f (c • A + d • B) = c * weakValue i f A + d * weakValue i f
ProvedBookProof.ChapterWeakValue.weakValue_lineartheoremstimepiece
Prove the following Lean 4 theorem from ChapterWeakValue.
BookProof.ChapterWeakValue.weakValue_linear (c d : ℂ) (i f : Fin n → ℂ) (A B : Matrix (Fin n) (Fin n) ℂ) : weakValue i f (c • A + d • B) = c * weakValue i f A + d * weakValue i f B
Formalization note: Lean 4 identifier BookProof.ChapterWeakValue.weakValue_linear.
Preamble
-- Generated from ChapterWeakValue.lean — theorem BookProof.ChapterWeakValue.weakValue_linear
import Mathlib
import Definitions.Def_ChapterWeakValue
open BookProof.ChapterWeakValue
open scoped BigOperators Matrix
variable {n : ℕ}Formal statement
theorem BookProof.ChapterWeakValue.weakValue_linear (c d : ℂ) (i f : Fin n → ℂ)
(A B : Matrix (Fin n) (Fin n) ℂ) :
weakValue i f (c • A + d • B) =
c * weakValue i f A + d * weakValue i f B := by sorry