Recursive Y/Z filtering: finite bound on compatible competitors
Provedmme_recursive_yz_compatible_competitor_boundFix the prescribed recursive split counts, one mode , and one coarse word in that mode. Let be the exact-profile target addresses whose mode- word is . Fix joint full-parent fine-word counts within the coarse-word cells, and let be their type class. The full parent word is an ordered pair of child words, so both halves remain coupled.
For a fine word , let be the number of addresses in compatible with . If the prescribed fine cell counts sum to , then
where is the exact boundary/interior multinomial compatibility count. The boundary and grouping may be chosen as the physical Y filter (, grouped by Y grade) or the physical Z filter ( or , grouped by Z grade).
This is the finite double-counting bound underlying Claims 6.18 and 6.20. It retains the full joint parent-type denominator. No entropy asymptotics, hash survival estimate, or tensor extraction is asserted.
import Definitions.Def_mme_recursive_yz_physical_words import Definitions.Def_mme_recursive_x_hash_families open BigOperators MME.RecursiveYZ open scoped Classical set_option autoImplicit false
theorem mme_recursive_yz_compatible_competitor_bound {half R : ℕ} {W G : Type*} [Fintype W] [Fintype G]
(parent : Fin R → Fin 3 → ℕ) (n : Fin R → ℕ)
(htotal : ∀ r, parent r 0 + parent r 1 + parent r 2 = 2 * half)
(m : ∀ r, MME.RecursiveThinSplit.Split half (parent r) → ℕ)
(i : Fin 3) (y : ∀ r, Fin (n r) → Fin (half + 1))
(eta : Fin R → Fin (half + 1) → (Fin 2 → W) → ℕ)
(boundary : Cell half R parent → Prop) (group : Cell half R parent → G)
(mu : Cell half R parent → W → ℕ)
(hmass : ∀ c, ∑ w, mu c w = m c.1 c.2 + m c.1 (complement (htotal c.1) c.2))
(f : Position n → W) (hf : ParentType y eta f) :
((MME.RecursiveXHash.target (n := n) m).filter (fun a ↦
MME.RecursiveXHash.block i a = y ∧
Compatible (fullCell htotal a) boundary group mu f)).card *
Nat.card {g : Position n → W // ParentType y eta g} ≤
((MME.RecursiveXHash.target (n := n) m).filter
(fun a ↦ MME.RecursiveXHash.block i a = y)).card *
compatibilityNumber boundary group mu := by sorry