Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Tensor products of subspaces intersect factorwise: (A⊗B)∩(A′⊗B′)=(A∩A′)⊗(B∩B′)(A \otimes B) \cap (A' \otimes B') = (A \cap A') \otimes (B \cap B')(A⊗B)∩(A′⊗B′)=(A∩A′)⊗(B∩B′)

Proved
QLLL.TensorProduct.range_mapIncl_inf_range_mapIncl

by sattath · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-algebraquantum-llltensor-product

Let K\mathbb{K}K be a field and let V,WV, WV,W be vector spaces over K\mathbb{K}K. For subspaces A⊆VA \subseteq VA⊆V and B⊆WB \subseteq WB⊆W write A⊗BA \otimes BA⊗B for the subspace of V⊗KWV \otimes_{\mathbb{K}} WV⊗K​W spanned by the pure tensors a⊗ba \otimes ba⊗b with a∈Aa \in Aa∈A, b∈Bb \in Bb∈B. In Lean this subspace is Mathlib's LinearMap.range (TensorProduct.mapIncl A B), the image of the map A⊗B→V⊗WA \otimes B \to V \otimes WA⊗B→V⊗W induced by the two inclusions. For subspaces A,A′⊆VA, A' \subseteq VA,A′⊆V and B,B′⊆WB, B' \subseteq WB,B′⊆W,

(A⊗B)∩(A′⊗B′) = (A∩A′)⊗(B∩B′).(A \otimes B) \cap (A' \otimes B') \ =\ (A \cap A') \otimes (B \cap B').(A⊗B)∩(A′⊗B′) = (A∩A′)⊗(B∩B′).

This is the linear-algebra fact behind the tensor-product computation in Lemma 11 of Ambainis, Kempe and Sattath, where constraints acting on disjoint qubits are shown to be mutually R-independent. It is the intersection counterpart of the standard identity for sums of tensor products of subspaces, and is a candidate for Mathlib.

Formalization Note No finite-dimensionality is assumed. On the platform the name carries a QLLL. prefix so that it cannot clash with Mathlib if an equivalent lemma is added there later.

Preamble
import Mathlib

open TensorProduct LinearMap Function
variable {K V W : Type*} [Field K]
  [AddCommGroup V] [Module K V] [AddCommGroup W] [Module K W]
open _root_.TensorProduct
variable (A A' : Submodule K V) (B B' : Submodule K W)
Formal statement
theorem QLLL.TensorProduct.range_mapIncl_inf_range_mapIncl :
    LinearMap.range (TensorProduct.mapIncl A B)
        ⊓ LinearMap.range (TensorProduct.mapIncl A' B')
      = LinearMap.range (TensorProduct.mapIncl (A ⊓ A') (B ⊓ B')) := by sorry
Source
Not in the paper; general linear algebra used in the tensor-product computation of Lemma 11. formalization companion to Ambainis, Kempe and Sattath, A Quantum Lovász Local Lemma, arXiv:0911.1696; see the blueprint https://sattath.github.io/Quantum-Lovasz-Local-Lemma/blueprint/

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me