The tensor product of a family of idempotents is idempotent
ProvedMIPRE.tensorFamily_mul_selfA statement of the module MIPRE.Foundations.TensorFamily of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). The Kronecker product of a family of matrices. The k-fold tensor product M₁ ⊗ ⋯ ⊗ M_k of matrices on ℂ^ι, as a matrix on ℂ^{Fin k → ι}: (⊗ᵢ Mᵢ) v w = ∏ᵢ Mᵢ (v i) (w i). This is what the k-fold tensor power of a strategy measures with (MIPRE.SyncStrategy.tensorPow, Background/Repetition/TensorPower.lean), and the four facts about it that the value and PCC computations use: it is multiplicative (tensorFamily_mul), compatible with the adjoint (tensorFamily_conjTranspose), sends the constant family 1 to 1 (tensorFamily_one), sums coordinatewise (sum_tensorFamily) and…
The tensor product of a family of idempotents is idempotent.
Formal statement. In Lean, with the scope shown:
open MIPRE
open Matrix
variable {k : ℕ} {ι : Type*}
theorem MIPRE.tensorFamily_mul_self [Fintype ι] {M : Fin k → Matrix ι ι ℂ} (h : ∀ i, M i * M i = M i) :
tensorFamily M * tensorFamily M = tensorFamily M
Formalization Note MIPRE.tensorFamily_mul_self is declared in MIPRE/Foundations/TensorFamily.lean, lines 74–77. The binders, hypotheses and conclusion are exactly those of the Lean statement above; the uploaded statement elaborates to the same type as the declaration in the repository. The definitions it mentions are those of the published definition bundles of the module's import closure.
import Mathlib.Algebra.BigOperators.Pi
import Mathlib.Algebra.Star.BigOperators
import Mathlib.Analysis.Complex.Basic
import Mathlib.Data.Complex.Basic
import Mathlib.LinearAlgebra.Matrix.Hermitian
import Mathlib.LinearAlgebra.Matrix.Reindex
import Mathlib.LinearAlgebra.Matrix.Trace
import Definitions.Def_MIPRE_Foundations_TensorFamily
open MIPRE
open Matrix
variable {k : ℕ} {ι : Type*}theorem MIPRE.tensorFamily_mul_self [Fintype ι] {M : Fin k → Matrix ι ι ℂ} (h : ∀ i, M i * M i = M i) :
tensorFamily M * tensorFamily M = tensorFamily M := by sorry