Cuckoo analysis for the regime-switched Word-RAM hash family #
This bridge applies the machine-independent cuckoo graph analysis to the concrete hash pair
from WordRAM.CuckooHashing.HashFamily. It combines the trinomial-polynomial instance in the
small-capacity regime with Thorup's double-tabulation instance in the large-capacity regime.
Main results #
isCuckooHashPair_provableFamily: for every capacityn_max, underU ≤ max n_max 4 ^ c_expand32 * max n_max 4 ≤ 2 ^ M, the concrete seed law satisfiesIsCuckooHashPairwithC_walk = 3,C_reh = 4, and capmaxEvictions n_max.
This is a specialization of the sufficient cuckoo interface; it retains the graph analysis's uniformity over valid placements and insertion orders, and the Word-RAM implementation's polynomial-universe and table-load conditions.
References #
- R. Pagh and F. F. Rodler, "Cuckoo hashing" (8 December 2003 author manuscript, Section 2.3, pp. 6–10).
- M. Thorup, "Simple Tabulation, Fast Expanders, Double Tabulation, and High
Independence" (FOCS 2013, Theorem 1(a), pp. 4–5 of
arXiv:1311.3121v2).
Unconditional IsCuckooHashPair for the regime-switched Word-RAM hash family
(trinomialPolyHash + doubleTabHash) across all capacities n_max : ℕ and polynomial universes
U ≤ max n_max 4 ^ c_exp:
Whenever U ≤ max n_max 4 ^ c_exp and 32 * max n_max 4 ≤ 2 ^ M, the uniform distribution
seedLaw c_exp n_max U M on Seed c_exp n_max U M with (evalHash1, evalHash2) satisfies
IsCuckooHashPair (seedLaw c_exp n_max U M) evalHash1 evalHash2 n_max (maxEvictions n_max) 3 4.