`BookProof.SmCar.sum_apply_fock` (f : Fin n → FermiFock n) (S : Finset (Fin n)) : (∑ i : Fin n, f i) S = ∑ i : Fin n, (f i) S
ProvedBookProof.SmCar.sum_apply_focktheoremstimepiece
Prove the following Lean 4 theorem from ChapterSmCarAlgebra.
BookProof.SmCar.sum_apply_fock (f : Fin n → FermiFock n) (S : Finset (Fin n)) : (∑ i : Fin n, f i) S = ∑ i : Fin n, (f i) S
Formalization note: Lean 4 identifier BookProof.SmCar.sum_apply_fock.
Preamble
-- Generated from ChapterSmCarAlgebra.lean — theorem BookProof.SmCar.sum_apply_fock
import Mathlib
import Definitions.Def_ChapterSmCarAlgebra
open BookProof.SmCar
open Finset
variable {n : ℕ}Formal statement
theorem BookProof.SmCar.sum_apply_fock (f : Fin n → FermiFock n) (S : Finset (Fin n)) :
(∑ i : Fin n, f i) S = ∑ i : Fin n, (f i) S := by sorry