Parent mixtures agree exactly with rational arithmetic
Provedmme_parent_mixture_rational_identitymatrix-multiplicationtensor-extraction
Integer parent and child histograms determine the same parent distribution in rational and real arithmetic, including zero masses. The root exponent bound remains a separate obligation.
Preamble
import Definitions.Def_mme_recursive_region_parent_profiles import Mathlib.Tactic open scoped BigOperators open MME MME.RegionRealization MME.RecursiveYZ
Formal statement
theorem mme_parent_mixture_rational_identity
{half R : ℕ} {W : Type*} [Fintype W]
{parent : Fin R → Fin 3 → ℕ}
(htotal : ∀ r, parent r 0 + parent r 1 + parent r 2 = 2 * half)
(n : Fin R → ℕ)
(m : ∀ r, RecursiveThinSplit.Split half (parent r) → ℕ)
(mu : Cell half R parent → W → ℕ) (r : Fin R) (w : Fin 2 → W) :
parentMixture htotal n m mu r w =
(((∑ c, (m r c : ℚ) *
((mu ⟨r, c⟩ (w 0) : ℚ) / (∑ v, mu ⟨r, c⟩ v : ℕ)) *
((mu ⟨r, complement (htotal r) c⟩ (w 1) : ℚ) /
(∑ v, mu ⟨r, complement (htotal r) c⟩ v : ℕ))) / (n r : ℚ) : ℚ) : ℝ) := by sorrySource
Checked tensor restrictions and released global histogram extraction.