Coordinate regrouping gives a product tensor restriction
Provedmme_profiled_CW_regroup_product_restrictmatrix-multiplicationtensor-extraction
A bijection between two partitions of elementary CW coordinates gives a restriction from the target region product to the source part product whenever the target predicates imply the source predicates in a common tensor mode. The root exponent bound remains a separate obligation.
Preamble
import Theorems.Thm_mme_profiled_CW_region_product_restrict import Theorems.Thm_mme_profiled_CW_joint_projection_restrict open MME MME.TensorObj MME.ProfiledCW universe u
Formal statement
theorem mme_profiled_CW_regroup_product_restrict {K : Type u} [Field K]
{a b : ℕ} (sizeA : Fin a → ℕ) (sizeB : Fin b → ℕ)
(e : (Σ j : Fin a, Fin (sizeA j)) ≃ (Σ r : Fin b, Fin (sizeB r)))
(P : ∀ j, Predicate (sizeA j)) (Q : ∀ r, Predicate (sizeB r))
(inside : ∀ i (x : ∀ r, FineWord (sizeB r)),
(∀ r, Q r i (x r)) →
∀ j, P j i (fun q => x (e ⟨j,q⟩).1 (e ⟨j,q⟩).2)) :
Restrict (kronFin b (fun r => tensor K (Q r)))
(kronFin a (fun j => tensor K (P j))) := by sorrySource
Checked tensor restrictions and released global histogram extraction.