A good hash state from a star-degree bound
Provedmme_stothers_general_hash_budget_of_degreeOne good hash state exists, at any profile.
Fix an integral ten-class profile , a scale , an odd prime , and a progression-free below . Suppose the exact-profile targets number , that every completion star in the ambient family has at most members, and that the margin condition
holds for a loss factor . Then some affine hash state retains a vertex-closed family with
This is the probabilistic heart of Davie--Stothers Lemma 3.3, in its deterministic averaging form. The two incidence identities say that summed over all states the targets contribute exactly and the collisions at most , with from the star-degree hypothesis. The margin condition is exactly what makes the average of at least , so some state beats the average; and every retained family is vertex-closed, because on a supported mixed edge the three hashes form a three-term progression in .
The retained family is then handed to the deterministic pruning step, which turns it into an induced mode-disjoint family of exact-profile addresses.
import Definitions.Def_mme_stothers_general_affine_hash import Mathlib.Combinatorics.Additive.AP.Three.Defs open MME BigOperators set_option autoImplicit false
theorem mme_stothers_general_hash_budget_of_degree
(base : Fin 10 → ℕ) (hbase : ∀ r, 0 < base r) (m p D Dstar : ℕ) (hm : 0 < m) [Fact p.Prime]
(hp9 : 9 ≤ p) (hpodd : Odd p)
(S : Finset ℕ) (hSrange : S ⊆ Finset.range (p / 2))
(hSfree : ThreeAPFree (S : Set ℕ))
(V loss : ℝ) (hV : 0 ≤ V)
(hT : ((MME.StothersFourth.genHashAllTargetEdges base m).card : ℝ) =
V * (Dstar : ℝ))
(hdeg : ∀ i : Fin 3, ∀ a ∈ MME.StothersFourth.genHashAllTargetEdges base m,
((MME.StothersFourth.genHashMarginalUniverse base m).filter
(fun b ↦ b.1 i = a.1 i)).card ≤ D)
(hmargin :
(p : ℝ) ^ 2 * loss + 3 * (Dstar : ℝ) * (D : ℝ) ≤
(Dstar : ℝ) * (S.card : ℝ)) :
∃ E : Finset (MME.StothersFourth.GenMarginalSupportedAddress base m),
MME.StothersFourth.GenMarginalVertexClosed E ∧
((MME.StothersFourth.genTargetAmbientCollisions E).card : ℝ) + V * loss ≤
((MME.StothersFourth.genExactTargetEdges E).card : ℝ) := by
sorry