Realizing jointly supported complete-word histograms
Provedmme_recursive_CW_supported_words_of_joint_histogrammatrix-multiplicationtensor-complexity
Let be a finite set of positions, with a cell map , prescribed grades , and complete-word histograms . Suppose nonnegative integer joint counts have total mass in each cell and marginal counts . Assume every triple of positive joint count has the prescribed grades and satisfies at every elementary position .
Then there exist three word assignments on with the prescribed grades and marginal histograms, satisfying the same pointwise support equation, whose full joint histogram is exactly . No finiteness assumption on the cell-label type is required.
Preamble
import Theorems.Thm_mme_recursive_cellWord_nonempty_iff_mass_and_grade import Theorems.Thm_mme_recursive_CW_unbroken_matrix_extraction_of_supported_words open BigOperators MME MME.TensorObj MME.CompleteSplit MME.RecursiveYZ MME.RecursiveYZ.CWCells MME.ProfiledCW open scoped Classical
Formal statement
theorem mme_recursive_CW_supported_words_of_joint_histogram
{P C : Type*} [Fintype P] {ell : ℕ}
(cell : P → C) (shape : C → Fin 3 → ℕ)
(mu : Fin 3 → C → CompleteWord ell → ℕ)
(joint : C → (Fin 3 → CompleteWord ell) → ℕ)
(hmass : ∀ c, ∑ v, joint c v = Nat.card {p : P // cell p = c})
(hmarginal : ∀ i c s, ∑ v, (if v i = s then joint c v else 0) = mu i c s)
(hgrade : ∀ c v, 0 < joint c v → ∀ i, grade (v i) = shape c i)
(hsupport : ∀ c v, 0 < joint c v →
∀ r, (v 0 r).val + (v 1 r).val + (v 2 r).val = 2) :
∃ w : Fin 3 → P → CompleteWord ell,
(∀ i p, grade (w i p) = shape (cell p) i) ∧
(∀ i, Useful cell (mu i) (w i)) ∧
(∀ p r, (w 0 p r).val + (w 1 p r).val + (w 2 p r).val = 2) ∧
Useful cell joint (fun p i ↦ w i p) := by sorrySource
Integer cell-word realization with mass and grade constraints; supported-word extraction for literal profiled CW blocks.