Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Tensor restriction by selecting allowed basis coefficients

Proved
mme_basisAllAllowedSubtensor_restrict_of_selected_coefficients

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

linear-algebratensor-complexity

Let T and S be three-mode tensors over a field, with chosen mode bases b and c, and finite target basis index sets J_i. Let P_i specify the allowed source coordinates. Suppose maps e_i from target indices to source indices select allowed coordinates, and every coefficient of S equals the corresponding selected coefficient of T. Then S is a restriction of the simultaneous P-allowed basis subtensor of T. The coordinate maps e_i need not be injective.

Preamble
import Theorems.Thm_mme_restrict_basisAllAllowedSubtensor_of_vanishes
import Mathlib.LinearAlgebra.PiTensorProduct.Basis

open MME MME.TensorObj Module PiTensorProduct
universe u
set_option autoImplicit false
Formal statement
theorem mme_basisAllAllowedSubtensor_restrict_of_selected_coefficients
    {K : Type u} [Field K] (T S : TensorObj K 3)
    {I : Fin 3 → Type u} {J : Fin 3 → Type u}
    [∀ i, Fintype (J i)]
    (b : ∀ i, Basis (I i) K (T.V i)) (c : ∀ i, Basis (J i) K (S.V i))
    (allowed : ∀ i, I i → Prop) (e : ∀ i, J i → I i)
    (he : ∀ i j, allowed i (e i j))
    (hc : ∀ w, (Basis.piTensorProduct b).repr T.t (fun i ↦ e i (w i)) =
      (Basis.piTensorProduct c).repr S.t w) :
    Restrict S (T.basisAllAllowedSubtensor b allowed) := by sorry
Source
Coordinate linear maps and descent through the allowed-coordinate projection; extracted and generalized from the accepted boundary extraction proof.

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