Base-six level-profile weights and collision bounds #
This module extracts the shared combinatorial core of Hoza's base-six min-isolation method ([Hoz26], §2.1–2.2, Lemma 2.3 and Theorem 2.4):
- An item at nonnegative scale level
kwith binary codewordword : Fin ℓ → Boolreceives the seeded weight∑ j, 6 ^ (k + (ℓ - (j + 1))) * (word j).toNat * (seed j).toNat. - For a multiset of items with one dominant item at level
mand at most2 ^ (m - k)items at each strictly lower levelk < m, the total contribution of the lower levels is at most half the dominant power of six (two_mul_sum_six_pow_multiset_le), giving the two-sided seed-update derivative bound (multisetWeight_update_bounds). - Taking a pointwise minimum over any nonempty finite family sharing the same dominant level
and codeword preserves the two-sided derivative bound (
minWeight_update_bounds). - For any two seed functions satisfying the two-sided derivative bound at the same level
mwith codewordscandd, at most2 ^ (ℓ - hammingDist c d)seeds equate them (card_tyingSeeds_le_of_update_bounds).
Both paths in layered digraphs (Cslib.Reachability.Hoza) and proof trees in layered
semi-unbounded Boolean circuits (Cslib.Circuits.Boolean.LayeredSemiUnboundedCircuit)
instantiate these lemmas directly.
Main definitions #
Cslib.MinIsolation.BaseSix.levelBitCoeff: the base-six coefficient at a given level and bit.Cslib.MinIsolation.BaseSix.levelWeight: seeded base-six weight of one(level, word)pair.Cslib.MinIsolation.BaseSix.multisetWeight: sum of seeded weights over a multiset of items.
Main results #
Cslib.MinIsolation.BaseSix.two_mul_sum_six_pow_multiset_le: geometric half-bound from a2 ^ (m - k)level profile.Cslib.MinIsolation.BaseSix.multisetWeight_update_bounds: two-sided seed derivative bound for one weighted multiset.Cslib.MinIsolation.BaseSix.minWeight_update_bounds: Hoza's exchange argument preserving the derivative bound under pointwise minimum.Cslib.MinIsolation.BaseSix.card_tyingSeeds_le_of_update_bounds: upper bound2 ^ (ℓ - hammingDist c d)on seeds tying two functions with matching derivative bounds.
Every seeded level weight is strictly below 6 ^ (level + ℓ).
Switching seed bit j from false to true increases levelWeight by the masked
coefficient at j.
If every element of a multiset has level strictly below m and at most 2 ^ (m - k)
elements sit at each level k < m, then all elements together contribute at most half of
6 ^ m.
Adding one item adds its seeded weight.
The weight of a sum of multisets is the sum of their weights.
For a multiset with one dominant item r at level m and a 2 ^ (m - k) level profile on
the remaining items rest, flipping bit j changes multisetWeight by between
levelBitCoeff m j * (code r j).toNat and that quantity plus levelBitCoeff m j / 2.
Hoza's exchange argument: a pointwise minimum over a nonempty finite family of seed functions inherits any common two-sided base-six derivative bound.
If two seed functions satisfy the two-sided base-six derivative bound at the same scale level
m with codewords c and d, then every tying seed is uniquely determined by its bits on
coordinates where c and d agree, so at most 2 ^ (ℓ - hammingDist c d) seeds equate them.