Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Basis-preserving restrictions descend through coordinate masks

Proved
mme_basis_preserving_restriction_mask_descent

by Robertboy18 · Sep 22, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

tensor-producttensor-restriction

Let XXX and YYY be finite-dimensional tensors of order ddd over a field, and let modewise linear maps FiF_iFi​ take XXX to YYY. Suppose FiF_iFi​ sends each chosen source basis vector bi,ab_{i,a}bi,a​ to the equally indexed target basis vector ci,ac_{i,a}ci,a​. Choose any predicate PiP_iPi​ on the common index set in each mode. Let pip_ipi​ and qiq_iqi​ be the respective basis projections retaining precisely the indices satisfying PiP_iPi​. Then

(⨂iqi)Y⪯(⨂ipi)X.(\bigotimes_i q_i)Y\preceq(\bigotimes_i p_i)X.(i⨂​qi​)Y⪯(i⨂​pi​)X.

The predicates may describe arbitrary sets of tensor-power words. Thus the same allowed-word conditions can be retained while transporting a tensor restriction.

Preamble
import Definitions.Def_mme_tensor_rank
import Mathlib.LinearAlgebra.Basis.Defs

open MME Module PiTensorProduct
universe u
set_option autoImplicit false
Formal statement
theorem mme_basis_preserving_restriction_mask_descent
    {K : Type u} [Field K] {d : ℕ} {X Y : TensorObj K d}
    (F : ∀ i, X.V i →ₗ[K] Y.V i)
    (hF : PiTensorProduct.map F X.t = Y.t)
    {ι : Fin d → Type u}
    (b : ∀ i, Basis (ι i) K (X.V i)) (c : ∀ i, Basis (ι i) K (Y.V i))
    (hb : ∀ i a, F i (b i a) = c i a)
    (keep : ∀ i, ι i → Prop) [∀ i, DecidablePred (keep i)] :
    let p : ∀ i, X.V i →ₗ[K] X.V i :=
      fun i => (b i).constr K (fun a => if keep i a then b i a else 0)
    let q : ∀ i, Y.V i →ₗ[K] Y.V i :=
      fun i => (c i).constr K (fun a => if keep i a then c i a else 0)
    TensorObj.Restrict { Y with t := PiTensorProduct.map q Y.t }
      { X with t := PiTensorProduct.map p X.t } := by sorry
Source
Naturality of tensor mode reindexing under Kronecker products and modewise linear maps.

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me